Initial Commit ...

This commit is contained in:
2024-01-25 04:49:52 +03:30
commit d26a1c49fd
17 changed files with 1678 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
namespace xStorageService.Models {
public partial class XFileResult {
public string Name { get; set; }
public string FileName { get; set; }
public string FilePath { get; set; }
public string Thmbnail { get; set; }
public string ThmbnailPath { get; set; }
}
}
+15
View File
@@ -0,0 +1,15 @@
using ImageMagick;
namespace xStorageService.Models {
public partial class XImageInfo {
public Interlace Interlace { get; }
public int Height { get; }
public MagickFormat Format { get; }
public string FileName { get; }
public Density Density { get; }
public CompressionMethod Compression { get; }
public ColorSpace ColorSpace { get; }
public int Width { get; }
public int Quality { get; }
}
}
+111
View File
@@ -0,0 +1,111 @@
namespace xStorageService.Models {
public partial class XStorageConfiguration {
/// <summary>
/// Base Path of Identity Host Server
/// </summary>
/// <value></value>
public string IdentityAuthority { get; set; }
/// <summary>
/// Base Path of Host Server
/// </summary>
/// <value></value>
public string Authority { get; set; }
/// <summary>
/// Root Directory Of File Storage
/// </summary>
/// <value></value>
public string RootFolder { get; set; }
/// <summary>
/// Base Root of Usable Folder for Files
/// </summary>
/// <value></value>
public string BaseFolder { get; set; }
/// <summary>
/// Storage Folder Label
/// </summary>
/// <value></value>
public string Storage { get; set; }
/// <summary>
/// Temp Folder Label
/// </summary>
/// <value></value>
public string Temp { get; set; }
/// <summary>
/// Thumb Folder Label
/// </summary>
/// <value></value>
public string Thumb { get; set; }
/// <summary>
/// Uploads Folder Label
/// </summary>
/// <value></value>
public string Uploads { get; set; }
/// <summary>
/// Widgets Folder Label
/// </summary>
/// <value></value>
public string Widgets { get; set; }
/// <summary>
/// Images Folder Label
/// </summary>
/// <value></value>
public string Image { get; set; }
/// <summary>
/// Audios Folder Label
/// </summary>
/// <value></value>
public string Audio { get; set; }
/// <summary>
/// Videos Folder Label
/// </summary>
/// <value></value>
public string Video { get; set; }
/// <summary>
/// Documents Folder Label
/// </summary>
/// <value></value>
public string Document { get; set; }
/// <summary>
/// new Files Prefix
/// </summary>
/// <value></value>
public string FilePrefix { get; set; }
/// <summary>
/// Thumb Files Prefix
/// </summary>
/// <value></value>
public string ThumbPrefix { get; set; }
/// <summary>
/// Thumbnail File Sizes
/// </summary>
/// <value></value>
public int ThumbSize { get; set; }
/// <summary>
/// Thumbnail File Quality
/// </summary>
/// <value></value>
public int ThumbQuality { get; set; }
/// <summary>
/// Max File Size
/// </summary>
/// <value></value>
public long MaxFileSize { get; set; }
}
}