fix(backend): correct invalid JSON schema

This commit is contained in:
zyoshoka 2025-04-18 23:24:38 +09:00
parent b71e299c8f
commit b881a17c2f
No known key found for this signature in database
1 changed files with 8 additions and 8 deletions

View File

@ -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: {