This commit is contained in:
手瓜一十雪 committed 2025-04-17 09:54:12 +08:00
1 parent a2d11a7d7d
commit f3fa3bd25b
88 files changed
+363 -363

No files matched your search

+4 -4
View File
@@ -2,12 +2,12 @@ import { ActionName } from '@/onebot/action/router';
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { MessageUnique } from '@/common/message-unique';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { coerce } from '@/common/coerce';
const SchemaData = z.object({
message_id: actionType.string(),
emoji_id: actionType.string(),
set: actionType.boolean().optional(),
message_id: coerce.string(),
emoji_id: coerce.string(),
set: coerce.boolean().optional(),
});
type Payload = z.infer<typeof SchemaData>;