diff --git a/DysonNetwork.Shared/Models/Realm.cs b/DysonNetwork.Shared/Models/Realm.cs index fe9197f..3f341ca 100644 --- a/DysonNetwork.Shared/Models/Realm.cs +++ b/DysonNetwork.Shared/Models/Realm.cs @@ -17,10 +17,6 @@ public class SnRealm : ModelBase, IIdentifiedResource [MaxLength(4096)] public string Description { get; set; } = string.Empty; public bool IsCommunity { get; set; } public bool IsPublic { get; set; } - - // Outdated fields, for backward compability - [MaxLength(32)] public string? PictureId { get; set; } - [MaxLength(32)] public string? BackgroundId { get; set; } [Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Picture { get; set; } [Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Background { get; set; } diff --git a/DysonNetwork.Shared/Proto/realm.proto b/DysonNetwork.Shared/Proto/realm.proto index cf9eb89..e02f6dc 100644 --- a/DysonNetwork.Shared/Proto/realm.proto +++ b/DysonNetwork.Shared/Proto/realm.proto @@ -9,6 +9,7 @@ import "google/protobuf/wrappers.proto"; import "google/protobuf/empty.proto"; import 'account.proto'; +import "file.proto"; // Message Definitions @@ -18,6 +19,11 @@ message Realm { string slug = 3; bool is_community = 4; bool is_public = 5; + string description = 6; + optional CloudFile picture = 7; + optional CloudFile background = 8; + optional VerificationMark verification = 9; + string account_id = 10; } message RealmMember {