fix: checker
This commit is contained in:
1 parent
971f292b22
commit
875b20ea9e
56 files changed
+93
-93
No files matched your search
@@ -3,8 +3,8 @@ import { ActionName } from '@/onebot/action/router';
|
||||
import { z } from 'zod';
|
||||
|
||||
const SchemaData = z.object({
|
||||
face_id: z.union([z.coerce.number(), z.coerce.string()]),// 参考 face_config.json 的 QSid
|
||||
face_type: z.union([z.coerce.number(), z.coerce.string()]).default('1'),
|
||||
face_id: z.coerce.string(),// 参考 face_config.json 的 QSid
|
||||
face_type: z.coerce.string().default('1'),
|
||||
wording: z.coerce.string().default(' '),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user