Syncshell Public & MCDF Share
This commit is contained in:
@@ -10,6 +10,8 @@ public record GroupInfoDto(GroupData Group, UserData Owner, GroupPermissions Gro
|
||||
{
|
||||
public GroupPermissions GroupPermissions { get; set; } = GroupPermissions;
|
||||
public UserData Owner { get; set; } = Owner;
|
||||
public bool AutoDetectVisible { get; set; }
|
||||
public bool PasswordTemporarilyDisabled { get; set; }
|
||||
|
||||
public string OwnerUID => Owner.UID;
|
||||
public string? OwnerAlias => Owner.Alias;
|
||||
|
||||
15
MareSynchronosAPI/Dto/Group/SyncshellDiscoveryEntryDto.cs
Normal file
15
MareSynchronosAPI/Dto/Group/SyncshellDiscoveryEntryDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace MareSynchronos.API.Dto.Group;
|
||||
|
||||
[MessagePackObject(keyAsPropertyName: true)]
|
||||
public sealed record SyncshellDiscoveryEntryDto
|
||||
{
|
||||
public string GID { get; init; } = string.Empty;
|
||||
public string? Alias { get; init; }
|
||||
public string OwnerUID { get; init; } = string.Empty;
|
||||
public string? OwnerAlias { get; init; }
|
||||
public int MemberCount { get; init; }
|
||||
public bool AutoAcceptPairs { get; init; }
|
||||
public string? Description { get; init; }
|
||||
}
|
||||
11
MareSynchronosAPI/Dto/Group/SyncshellDiscoveryStateDto.cs
Normal file
11
MareSynchronosAPI/Dto/Group/SyncshellDiscoveryStateDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace MareSynchronos.API.Dto.Group;
|
||||
|
||||
[MessagePackObject(keyAsPropertyName: true)]
|
||||
public sealed record SyncshellDiscoveryStateDto
|
||||
{
|
||||
public string GID { get; init; } = string.Empty;
|
||||
public bool AutoDetectVisible { get; init; }
|
||||
public bool PasswordTemporarilyDisabled { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace MareSynchronos.API.Dto.Group;
|
||||
|
||||
[MessagePackObject(keyAsPropertyName: true)]
|
||||
public sealed record SyncshellDiscoveryVisibilityRequestDto
|
||||
{
|
||||
public string GID { get; init; } = string.Empty;
|
||||
public bool AutoDetectVisible { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user