feat: add fnOS packaging, storage workflows and release pipeline
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
namespace dy.net.model.dto
|
||||
{
|
||||
public class WebDavSettingsDto
|
||||
{
|
||||
public StorageType StorageType { get; set; }
|
||||
public string Endpoint { get; set; }
|
||||
public string BasePath { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public bool HasPassword { get; set; }
|
||||
public bool AllowInvalidCertificate { get; set; }
|
||||
public DateTime? LastTestedAt { get; set; }
|
||||
public string LastTestMessage { get; set; }
|
||||
}
|
||||
|
||||
public class WebDavTestRequest
|
||||
{
|
||||
public string Endpoint { get; set; }
|
||||
public string BasePath { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public bool AllowInvalidCertificate { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>统一的存储连接测试请求;新远端存储仅支持 OpenList。</summary>
|
||||
public class StorageTestRequest
|
||||
{
|
||||
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 AllowInvalidCertificate { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>统一的存储配置保存请求;WebDAV 字段仅为数据库升级兼容保留。</summary>
|
||||
public class StorageSettingsDto
|
||||
{
|
||||
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 AllowInvalidCertificate { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user