mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-13 19:50:35 +00:00
build: fix check type
This commit is contained in:
parent
9bfa6b827b
commit
e8f0bb8350
@ -13,7 +13,7 @@ const SchemaData = {
|
|||||||
group_id: { type: 'number' },
|
group_id: { type: 'number' },
|
||||||
no_cache: { type: ['boolean', 'string'] },
|
no_cache: { type: ['boolean', 'string'] },
|
||||||
},
|
},
|
||||||
required: ['group_id', 'user_id']
|
required: ['group_id']
|
||||||
} as const satisfies JSONSchema;
|
} as const satisfies JSONSchema;
|
||||||
|
|
||||||
type Payload = FromSchema<typeof SchemaData>;
|
type Payload = FromSchema<typeof SchemaData>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user