fix: checker

This commit is contained in:
手瓜一十雪
2025-04-15 12:34:33 +08:00
parent 06538b9122
commit 941978b578
56 changed files with 93 additions and 93 deletions

View File

@@ -6,8 +6,8 @@ import { OB11Construct } from '@/onebot/helper/data';
import { z } from 'zod';
const SchemaData = z.object({
group_id: z.union([z.coerce.number(), z.coerce.string()]),
file_count: z.union([z.coerce.number(), z.coerce.string()]).default(50),
group_id: z.coerce.string(),
file_count: z.coerce.number().default(50),
});
type Payload = z.infer<typeof SchemaData>;