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 { OneBotAction } from '@/onebot/action/OneBotAction';
import { NTGroupRequestOperateTypes } from '@/core/types';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { coerce } from '@/common/coerce';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
flag: coerce.string(),
approve: coerce.boolean().default(true),
reason: coerce.string().nullable().default(' '),
flag: actionType.string(),
approve: actionType.boolean().default(true),
reason: actionType.string().nullable().default(' '),
});
type Payload = z.infer<typeof SchemaData>;