implements the file moves ui
This commit is contained in:
parent
f13e1592a3
commit
5692478b77
7 changed files with 351 additions and 172 deletions
23
src/Yavsc/ApiControllers/Blogspot/MoveFileQuery.cs
Normal file
23
src/Yavsc/ApiControllers/Blogspot/MoveFileQuery.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using Yavsc.Attributes.Validation;
|
||||
namespace Yavsc.Models.FileSystem
|
||||
{
|
||||
public class RenameFileQuery {
|
||||
[ValidRemoteUserFilePath]
|
||||
[YaStringLength(1, 512)]
|
||||
public string id { get; set; }
|
||||
|
||||
[YaStringLength(0, 512)]
|
||||
[ValidRemoteUserFilePath]
|
||||
public string to { get; set; }
|
||||
}
|
||||
public class MoveFileQuery {
|
||||
[ValidRemoteUserFilePath]
|
||||
[YaStringLength(1, 512)]
|
||||
public string id { get; set; }
|
||||
|
||||
[YaStringLength(0, 512)]
|
||||
[ValidRemoteUserFilePath]
|
||||
public string to { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue