build: fix check type
This commit is contained in:
1 parent
9bfa6b827b
commit
e8f0bb8350
1 file changed
+1
-1
@@ -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>;
|
||||||
|
|||||||
Reference in new issue
Block a user