7 Commits

Author SHA1 Message Date
0bc7abb274 Merge pull request 'tag-changes' (#10) from tag-changes into main
Reviewed-on: #10
Reviewed-by: defnotken <defnotken@noreply.git.lightless-sync.org>
2025-10-19 21:20:45 +02:00
CakeAndBanana
9ac91682e6 Added tags for DTO on user profiles 2025-10-19 20:57:31 +02:00
CakeAndBanana
01688b27bc Change tag string to int[] 2025-10-19 18:40:20 +02:00
418e647ef8 Change to Group-Dto-Changes
Reviewed-on: #9
2025-10-16 22:29:53 +02:00
7221cd81e4 Merge branch 'main' into group-dto-changes 2025-10-16 22:28:11 +02:00
f6b0b999cf lightfinder-profiles
Reviewed-on: #8
2025-10-16 17:27:09 +02:00
CakeAndBanana
75469f6d5c Changed GroupProfileDTO to include NSFW and Disabled profiles 2025-10-15 23:18:59 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -2,5 +2,5 @@
namespace LightlessSync.API.Dto.Group
{
public record GroupProfileDto(GroupData Group, string? Description, string? Tags, string? PictureBase64) : GroupDto(Group);
public record GroupProfileDto(GroupData Group, string? Description, int[]? Tags, string? PictureBase64, bool? IsNsfw, bool? IsDisabled) : GroupDto(Group);
}

View File

@@ -4,4 +4,4 @@ using MessagePack;
namespace LightlessSync.API.Dto.User;
[MessagePackObject(keyAsPropertyName: true)]
public record UserProfileDto(UserData User, bool Disabled, bool? IsNSFW, string? ProfilePictureBase64, string? Description) : UserDto(User);
public record UserProfileDto(UserData User, bool Disabled, bool? IsNSFW, string? ProfilePictureBase64, string? Description, int[]? Tags) : UserDto(User);