bump ImageSharp version vulnerability fix

decouple Loader from Common dll
fix current user url in api
This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-10-02 10:06:45 +03:00
parent 51248edbd3
commit e090f2d093
9 changed files with 76 additions and 27 deletions
+3 -2
View File
@@ -9,8 +9,9 @@ public class Detection : YoloLabel
{
[JsonProperty(PropertyName = "an")][Key("an")] public string AnnotationName { get; set; } = null!;
[JsonProperty(PropertyName = "p")][Key("p")] public double Confidence { get; set; }
[JsonProperty(PropertyName = "dn")][Key("dn")] public string Description { get; set; }
[JsonProperty(PropertyName = "af")][Key("af")] public AffiliationEnum Affiliation { get; set; }
[JsonProperty(PropertyName = "dn")] [Key("dn")] public string Description { get; set; } = null!;
[JsonProperty(PropertyName = "af")] [Key("af")] public AffiliationEnum Affiliation { get; set; }
//For db & serialization
public Detection(){}
+8 -6
View File
@@ -3,16 +3,18 @@ namespace Azaion.Common.Database;
public class MediaFile
{
public string Name { get; set; } = null!;
public string LocalPath { get; set; } = null!;
public DateTime? ProcessedDate { get; set; }
public MediaDetectionStatus MediaDetectionStatus { get; set; } = MediaDetectionStatus.New;
public string MediaUrl { get; set; } = null!;
public DateTime? LastProcessedDate { get; set; }
public MediaStatus Status { get; set; } = MediaStatus.New;
public int? RecognisedObjects { get; set; }
}
public enum MediaDetectionStatus
public enum MediaStatus
{
None,
New,
Processing,
Processed,
AIProcessing,
AIProcessed,
ManualConfirmed,
Error
}