diff options
| author | Marie <marie@kaifa.ch> | 2024-01-22 19:58:43 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2024-01-22 19:58:43 +0100 |
| commit | fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2 (patch) | |
| tree | 4b33fbfff4fd7692eacd9ca93744fb7568604dd5 /packages/backend/src/models/json-schema | |
| parent | chore: rename "Misskey Games" to "Games" (diff) | |
| parent | fix of #13014 (misskey-js publish) (diff) | |
| download | sharkey-fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2.tar.gz sharkey-fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2.tar.bz2 sharkey-fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2.zip | |
merge: upstream
Diffstat (limited to 'packages/backend/src/models/json-schema')
| -rw-r--r-- | packages/backend/src/models/json-schema/reversi-game.ts | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/packages/backend/src/models/json-schema/reversi-game.ts b/packages/backend/src/models/json-schema/reversi-game.ts index 4ac4d165d8..f8a5e7451c 100644 --- a/packages/backend/src/models/json-schema/reversi-game.ts +++ b/packages/backend/src/models/json-schema/reversi-game.ts @@ -34,22 +34,6 @@ export const packedReversiGameLiteSchema = { type: 'boolean', optional: false, nullable: false, }, - form1: { - type: 'any', - optional: false, nullable: true, - }, - form2: { - type: 'any', - optional: false, nullable: true, - }, - user1Ready: { - type: 'boolean', - optional: false, nullable: false, - }, - user2Ready: { - type: 'boolean', - optional: false, nullable: false, - }, user1Id: { type: 'string', optional: false, nullable: false, @@ -149,11 +133,11 @@ export const packedReversiGameDetailedSchema = { optional: false, nullable: false, }, form1: { - type: 'any', + type: 'object', optional: false, nullable: true, }, form2: { - type: 'any', + type: 'object', optional: false, nullable: true, }, user1Ready: { |