fix(backend): correct invalid JSON schema
This commit is contained in:
parent
b71e299c8f
commit
b881a17c2f
|
@ -36,42 +36,42 @@ export const packedMahjongRoomDetailedSchema = {
|
||||||
},
|
},
|
||||||
user1Id: {
|
user1Id: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: false,
|
||||||
format: 'id',
|
format: 'id',
|
||||||
},
|
},
|
||||||
user2Id: {
|
user2Id: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
format: 'id',
|
format: 'id',
|
||||||
},
|
},
|
||||||
user3Id: {
|
user3Id: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
format: 'id',
|
format: 'id',
|
||||||
},
|
},
|
||||||
user4Id: {
|
user4Id: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
format: 'id',
|
format: 'id',
|
||||||
},
|
},
|
||||||
user1: {
|
user1: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
ref: 'User',
|
ref: 'User',
|
||||||
},
|
},
|
||||||
user2: {
|
user2: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
ref: 'User',
|
ref: 'User',
|
||||||
},
|
},
|
||||||
user3: {
|
user3: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
ref: 'User',
|
ref: 'User',
|
||||||
},
|
},
|
||||||
user4: {
|
user4: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
optional: false, nullable: null,
|
optional: false, nullable: true,
|
||||||
ref: 'User',
|
ref: 'User',
|
||||||
},
|
},
|
||||||
user1Ai: {
|
user1Ai: {
|
||||||
|
|
Loading…
Reference in New Issue