🐛 Bug fixes
This commit is contained in:
@@ -18,10 +18,6 @@ public class SnRealm : ModelBase, IIdentifiedResource
|
||||
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; }
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user