update api to include allowedgroups

This commit is contained in:
Stanley Dimant
2025-01-12 12:19:04 +01:00
committed by Loporrit
parent c8cc217d66
commit 4d8c380dab
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ public record CharaDataFullDto(string Id, UserData Uploader) : CharaDataDto(Id,
public string ManipulationData { get; set; } = string.Empty;
public int DownloadCount { get; set; } = 0;
public List<UserData> AllowedUsers { get; set; } = [];
public List<GroupData> AllowedGroups { get; set; } = [];
public List<GamePathEntry> FileGamePaths { get; set; } = [];
public List<GamePathEntry> FileSwaps { get; set; } = [];
public List<GamePathEntry> OriginalFiles { get; set; } = [];

View File

@@ -11,6 +11,7 @@ public record CharaDataUpdateDto(string Id)
public string? CustomizeData { get; set; }
public string? ManipulationData { get; set; }
public List<string>? AllowedUsers { get; set; }
public List<string>? AllowedGroups { get; set; }
public List<GamePathEntry>? FileGamePaths { get; set; }
public List<GamePathEntry>? FileSwaps { get; set; }
public AccessTypeDto? AccessType { get; set; }