🐛 Bug fixes
This commit is contained in:
@@ -17,10 +17,6 @@ public class SnRealm : ModelBase, IIdentifiedResource
|
|||||||
[MaxLength(4096)] public string Description { get; set; } = string.Empty;
|
[MaxLength(4096)] public string Description { get; set; } = string.Empty;
|
||||||
public bool IsCommunity { get; set; }
|
public bool IsCommunity { get; set; }
|
||||||
public bool IsPublic { 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? Picture { get; set; }
|
||||||
[Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Background { 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 "google/protobuf/empty.proto";
|
||||||
|
|
||||||
import 'account.proto';
|
import 'account.proto';
|
||||||
|
import "file.proto";
|
||||||
|
|
||||||
// Message Definitions
|
// Message Definitions
|
||||||
|
|
||||||
@@ -18,6 +19,11 @@ message Realm {
|
|||||||
string slug = 3;
|
string slug = 3;
|
||||||
bool is_community = 4;
|
bool is_community = 4;
|
||||||
bool is_public = 5;
|
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 {
|
message RealmMember {
|
||||||
|
|||||||
Reference in New Issue
Block a user