Revert "fix: checker"

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

No files matched your search

@@ -4,9 +4,9 @@ import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
const SchemaData = z.object({
flag: z.coerce.string(),
flag: z.union([z.coerce.string(), z.coerce.number()]),
approve: z.coerce.boolean().default(true),
reason: z.coerce.string().nullable().default(' '),
reason: z.union([z.coerce.string(), z.null()]).default(' '),
});
type Payload = z.infer<typeof SchemaData>;