This commit is contained in:
手瓜一十雪
2025-04-17 09:54:12 +08:00
parent 54e6d5c3f2
commit 41dccd98a9
88 changed files with 363 additions and 363 deletions

View File

@@ -3,12 +3,12 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { MessageUnique } from '@/common/message-unique';
import { type NTQQMsgApi } from '@/core/apis';
import { actionType } from '@/common/coerce';
import { coerce } from '@/common/coerce';
const SchemaData = z.object({
message_id: actionType.string(),
emojiId: actionType.string(),
emojiType: actionType.string(),
count: actionType.number().default(20),
message_id: coerce.string(),
emojiId: coerce.string(),
emojiType: coerce.string(),
count: coerce.number().default(20),
});
type Payload = z.infer<typeof SchemaData>;