Revert "fix"

This reverts commit 41dccd98a9.
This commit is contained in:
手瓜一十雪 committed 2025-04-19 10:57:28 +08:00
1 parent 3ed5f543e2
commit 7b365367f7
88 files changed
+363 -363

No files matched your search

@@ -6,11 +6,11 @@ import { uriToLocalFile } from '@/common/file';
import { SendMessageContext } from '@/onebot/api';
import { ContextMode, createContext } from '@/onebot/action/msg/SendMsg';
import { z } from 'zod';
import { coerce } from '@/common/coerce';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
user_id: coerce.string(),
file: coerce.string(),
name: coerce.string(),
user_id: actionType.string(),
file: actionType.string(),
name: actionType.string(),
});
type Payload = z.infer<typeof SchemaData>;