Revert "fix: checker"

This reverts commit 941978b578.
This commit is contained in:
手瓜一十雪
2025-04-19 10:58:46 +08:00
parent 80a34c82b9
commit 2a4589e268
56 changed files with 93 additions and 93 deletions

View File

@@ -3,8 +3,8 @@ import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
const SchemaData = z.object({
face_id: z.coerce.string(),// 参考 face_config.json 的 QSid
face_type: z.coerce.string().default('1'),
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'),
wording: z.coerce.string().default(' '),
});