This commit is contained in:
手瓜一十雪
2025-04-17 09:52:03 +08:00
parent 3f6249f39c
commit 54e6d5c3f2
88 changed files with 87 additions and 88 deletions

View File

@@ -2,7 +2,7 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { MessageUnique } from '@/common/message-unique';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
message_id: actionType.string(),
});

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
notice_id: actionType.string()

View File

@@ -2,7 +2,7 @@ import { ActionName } from '@/onebot/action/router';
import { GetPacketStatusDepends } from '@/onebot/action/packet/GetPacketStatus';
import { AIVoiceChatType } from '@/core/packet/entities/aiChat';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
character: actionType.string(),
group_id: actionType.string(),

View File

@@ -5,7 +5,7 @@ import { MessageUnique } from '@/common/message-unique';
import crypto from 'crypto';
import { z } from 'zod';
import { NetworkAdapterConfig } from '@/onebot/config/config';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
});

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
});

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
no_cache: actionType.boolean().default(false),

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),

View File

@@ -4,7 +4,7 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { GroupMember } from '@/core';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),

View File

@@ -2,7 +2,7 @@ import { WebApiGroupNoticeFeed } from '@/core';
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
interface GroupNotice {
sender_id: number;
publish_time: number;

View File

@@ -2,7 +2,7 @@ import { ShutUpGroupMember } from '@/core';
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
});

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
user_id: actionType.string(),

View File

@@ -2,7 +2,7 @@ import { ActionName } from '@/onebot/action/router';
import { GetPacketStatusDepends } from '@/onebot/action/packet/GetPacketStatus';
import { AIVoiceChatType } from '@/core/packet/entities/aiChat';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
character: actionType.string(),
group_id: actionType.string(),

View File

@@ -2,7 +2,7 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { MessageUnique } from '@/common/message-unique';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
message_id: actionType.string(),
});

View File

@@ -2,7 +2,7 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { NTGroupRequestOperateTypes } from '@/core/types';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
flag: actionType.string(),

View File

@@ -2,7 +2,7 @@ import { OneBotAction } from '@/onebot/action/OneBotAction';
import { NTGroupMemberRole } from '@/core/types';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
user_id: actionType.string(),

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
user_id: actionType.string(),

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),

View File

@@ -2,7 +2,7 @@
import { OneBotAction } from '@/onebot/action/OneBotAction';
import { ActionName } from '@/onebot/action/router';
import { z } from 'zod';
import { actionType } from '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),
group_name: actionType.string(),

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 '../type';
import { actionType } from '@/common/coerce';
const SchemaData = z.object({
group_id: actionType.string(),