refactor: checkDate

This commit is contained in:
手瓜一十雪
2024-05-30 22:41:51 +08:00
parent 1e0820d613
commit decc5fb3c0
21 changed files with 28 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
type: 'object',
properties: {
user_id: { type: 'number' },
user_id: { type: [ 'number' , 'string' ] },
},
required: ['user_id']
} as const satisfies JSONSchema;