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

@@ -5,16 +5,16 @@ import { ChatType } from '@/core/types';
import { MessageUnique } from '@/common/message-unique';
import { z } from 'zod';
import { NetworkAdapterConfig } from '@/onebot/config/config';
import { coerce } from '@/common/coerce';
import { actionType } from '@/common/coerce';
interface Response {
messages: OB11Message[];
}
const SchemaData = z.object({
user_id: coerce.string(),
message_seq: coerce.string().optional(),
count: coerce.number().default(20),
reverseOrder: coerce.boolean().default(false)
user_id: actionType.string(),
message_seq: actionType.string().optional(),
count: actionType.number().default(20),
reverseOrder: actionType.boolean().default(false)
});