feat: add fnOS packaging, storage workflows and release pipeline
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
namespace dy.net.model.dto
|
||||
{
|
||||
public class OpenListSettingsDto
|
||||
{
|
||||
public StorageType StorageType { get; set; }
|
||||
public string Endpoint { get; set; }
|
||||
public string BasePath { get; set; }
|
||||
public string LocalStagingPath { get; set; }
|
||||
public string SourcePath { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public bool HasPassword { get; set; }
|
||||
public DateTime? LastTestedAt { get; set; }
|
||||
public string LastTestMessage { get; set; }
|
||||
public bool RequiresCutover { get; set; }
|
||||
public int LegacyWebDavRecordCount { get; set; }
|
||||
public bool SuggestedFromLegacy { get; set; }
|
||||
}
|
||||
|
||||
public class OpenListTestRequest
|
||||
{
|
||||
public string Endpoint { get; set; }
|
||||
public string BasePath { get; set; }
|
||||
public string LocalStagingPath { get; set; }
|
||||
public string SourcePath { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
|
||||
public sealed class OpenListDirectoryRequest : OpenListTestRequest
|
||||
{
|
||||
public string Path { get; set; }
|
||||
}
|
||||
|
||||
public sealed class OpenListDirectoryItemDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Path { get; set; }
|
||||
}
|
||||
|
||||
public sealed class OpenListDirectoryListDto
|
||||
{
|
||||
public string Path { get; set; }
|
||||
public bool CanWrite { get; set; }
|
||||
public List<OpenListDirectoryItemDto> Directories { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user