mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 00:00:26 +00:00
fix
This commit is contained in:
@@ -5,10 +5,10 @@ import { MessageUnique } from '@/common/message-unique';
|
||||
import { ChatType, ElementType, MsgSourceType, NTMsgType, RawMessage } from '@/core';
|
||||
import { z } from 'zod';
|
||||
import { isNumeric } from '@/common/helper';
|
||||
import { actionType } from '@/common/coerce';
|
||||
import { coerce } from '@/common/coerce';
|
||||
const SchemaData = z.object({
|
||||
message_id: actionType.string().optional(),
|
||||
id: actionType.string().optional(),
|
||||
message_id: coerce.string().optional(),
|
||||
id: coerce.string().optional(),
|
||||
});
|
||||
type Payload = z.infer<typeof SchemaData>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user