Skip to content

Commit 780a0a4

Browse files
committed
fix: add schema for icon paths
This was supposed to be included in the first commit, but was accidentally removed, which broke some references. Signed-off-by: Sienna "suprstarrd" M. <business@suprstarrd.com>
1 parent 008f91f commit 780a0a4

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

apps/juxtaposition-ui/src/models/communities.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,29 @@ const PermissionsSchema = new Schema({
1919
}
2020
});
2121

22+
const IconPathsSchema = new Schema({
23+
32: {
24+
type: String,
25+
required: true
26+
},
27+
48: {
28+
type: String,
29+
required: true
30+
},
31+
64: {
32+
type: String,
33+
required: true
34+
},
35+
96: {
36+
type: String,
37+
required: true
38+
},
39+
128: {
40+
type: String,
41+
required: true
42+
}
43+
});
44+
2245
export const CommunitySchema = new Schema({
2346
platform_id: {
2447
type: Number,
@@ -81,6 +104,10 @@ export const CommunitySchema = new Schema({
81104
},
82105
ctr_header: { type: String },
83106
wup_header: { type: String },
107+
icon_paths: {
108+
type: IconPathsSchema,
109+
required: true
110+
},
84111
title_ids: {
85112
type: [String],
86113
default: undefined

0 commit comments

Comments
 (0)