Revert "fix"

This reverts commit 54e6d5c3f2.
This commit is contained in:
手瓜一十雪 committed 2025-04-19 10:57:32 +08:00
1 parent 7b365367f7
commit 30a75bc581
88 files changed
+88 -87

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { ActionName } from '@/onebot/action/router';
import { GetPacketStatusDepends } from '@/onebot/action/packet/GetPacketStatus';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { actionType } from '../type';
const SchemaData = z.object({
user_id: actionType.string()
+1 -1
View File
@@ -1,7 +1,7 @@
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { actionType } from '../type';
interface Response {
cookies: string,
bkn: string
+1 -1
View File
@@ -3,7 +3,7 @@ import { OB11Construct } from '@/onebot/helper/data';
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { actionType } from '../type';
const SchemaData = z.object({
no_cache: actionType.boolean().optional(),
+1 -1
View File
@@ -3,7 +3,7 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { NetworkAdapterConfig } from '@/onebot/config/config';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { actionType } from '../type';
const SchemaData = z.object({
count: actionType.number().default(10),
+1 -1
View File
@@ -1,7 +1,7 @@
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { actionType } from '../type';
const SchemaData = z.object({
times: actionType.number().default(1),
@@ -1,7 +1,7 @@
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '@/common/coerce';
import { actionType } from '../type';
const SchemaData = z.object({
flag: actionType.string(),