Login settings
This commit is contained in:
parent
164bd928aa
commit
1a0556695c
37 changed files with 504 additions and 190 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using Yavsc.Abstract.FileSystem;
|
||||
|
||||
namespace Yavsc.Models.FileSystem
|
||||
namespace Yavsc.Server.Models.FileSystem
|
||||
{
|
||||
public class FileReceivedInfo : IFileReceivedInfo
|
||||
{
|
||||
|
|
|
|||
15
src/Yavsc.Server/Models/FileSystem/RenameFileQuery.cs
Normal file
15
src/Yavsc.Server/Models/FileSystem/RenameFileQuery.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Yavsc.Attributes.Validation;
|
||||
namespace Yavsc.Server.Models.FileSystem
|
||||
{
|
||||
public class RenameFileQuery
|
||||
{
|
||||
[ValidRemoteUserFilePath]
|
||||
[YaStringLength(1, 512)]
|
||||
public required string Id { get; set; }
|
||||
|
||||
[YaStringLength(0, 512)]
|
||||
[ValidRemoteUserFilePath]
|
||||
public required string To { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue