1 parent
3ed5f543e2
commit
7b365367f7
88 files changed
+363
-363
No files matched your search
@@ -3,10 +3,10 @@ import { OB11Construct } from '@/onebot/helper/data';
|
||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||
import { ActionName } from '@/onebot/action/router';
|
||||
import { z } from 'zod';
|
||||
import { coerce } from '@/common/coerce';
|
||||
import { actionType } from '@/common/coerce';
|
||||
|
||||
const SchemaData = z.object({
|
||||
no_cache: coerce.boolean().default(false),
|
||||
no_cache: actionType.boolean().default(false),
|
||||
});
|
||||
|
||||
type Payload = z.infer<typeof SchemaData>;
|
||||
|
||||
Reference in new issue
Block a user