Revert "fix"

This reverts commit f3fa3bd25b.
This commit is contained in:
手瓜一十雪
2025-04-19 10:57:28 +08:00
parent cc9d12597f
commit ac5df6946c
88 changed files with 363 additions and 363 deletions

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 { coerce } from '@/common/coerce';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
message_id: coerce.string(),
emoji_id: coerce.string(),
set: coerce.boolean().optional(),
message_id: actionType.string(),
emoji_id: actionType.string(),
set: actionType.boolean().optional(),
});
type Payload = z.infer<typeof SchemaData>;