mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 16:20:25 +00:00
@@ -2,7 +2,7 @@ import { ActionName } from '@/onebot/action/router';
|
||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||
import { MessageUnique } from '@/common/message-unique';
|
||||
import { z } from 'zod';
|
||||
import { actionType } from '@/common/coerce';
|
||||
import { actionType } from '../type';
|
||||
|
||||
const SchemaData = z.object({
|
||||
message_id: actionType.string(),
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ChatType, Peer } from '@/core/types';
|
||||
import { ActionName } from '@/onebot/action/router';
|
||||
import { MessageUnique } from '@/common/message-unique';
|
||||
import { z } from 'zod';
|
||||
import { actionType } from '@/common/coerce';
|
||||
import { actionType } from '../type';
|
||||
const SchemaData = z.object({
|
||||
message_id: actionType.string(),
|
||||
group_id: actionType.string().optional(),
|
||||
|
||||
@@ -5,7 +5,7 @@ import { MessageUnique } from '@/common/message-unique';
|
||||
import { RawMessage } from '@/core';
|
||||
import { z } from 'zod';
|
||||
import { NetworkAdapterConfig } from '@/onebot/config/config';
|
||||
import { actionType } from '@/common/coerce';
|
||||
import { actionType } from '../type';
|
||||
export type ReturnDataType = OB11Message
|
||||
|
||||
const SchemaData = z.object({
|
||||
|
||||
@@ -3,7 +3,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 '@/common/coerce';
|
||||
import { actionType } from '../type';
|
||||
const SchemaData = z.object({
|
||||
user_id: actionType.string().optional(),
|
||||
group_id: actionType.string().optional(),
|
||||
|
||||
@@ -2,7 +2,7 @@ import { ActionName } from '@/onebot/action/router';
|
||||
import { OneBotAction } from '@/onebot/action/OneBotAction';
|
||||
import { MessageUnique } from '@/common/message-unique';
|
||||
import { z } from 'zod';
|
||||
import { actionType } from '@/common/coerce';
|
||||
import { actionType } from '../type';
|
||||
|
||||
const SchemaData = z.object({
|
||||
message_id: actionType.string(),
|
||||
|
||||
Reference in New Issue
Block a user