mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
refactor: 持续重构project结构与定义
This commit is contained in:
parent
bbb4ad7d95
commit
902fe907bd
@ -1,4 +1,4 @@
|
||||
import { ChatType, Peer } from '../types';
|
||||
import { ChatType, Peer } from '@/core/types';
|
||||
import { NodeIKernelRecentContactListener } from '../listeners/NodeIKernelRecentContactListener';
|
||||
import { GeneralCallResult } from './common';
|
||||
import { FSABRecentContactParams } from '../types/contact';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { GetFileListParam, MessageElement, Peer } from '../types';
|
||||
import { GetFileListParam, MessageElement, Peer } from '@/core/types';
|
||||
import { GeneralCallResult } from './common';
|
||||
|
||||
export enum UrlFileDownloadType {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { ChatType } from '../types';
|
||||
import { ChatType } from '@/core/types';
|
||||
import { GeneralCallResult } from './common';
|
||||
|
||||
export interface NodeIKernelSearchService {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MessageElement, Peer } from '../types';
|
||||
import { MessageElement, Peer } from '@/core/types';
|
||||
|
||||
export interface NodeIkernelTestPerformanceService {
|
||||
|
||||
|
@ -8,7 +8,7 @@ import {
|
||||
OB11GroupMemberRole,
|
||||
OB11User,
|
||||
OB11UserSex,
|
||||
} from '../types';
|
||||
} from '@/onebot/types';
|
||||
export class OB11Construct {
|
||||
static selfInfo(selfInfo: SelfInfo): OB11User {
|
||||
return {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { IOB11NetworkAdapter, OB11EmitEventContent, OB11NetworkReloadType } from '@/onebot/network/index';
|
||||
import { createHmac } from 'crypto';
|
||||
import { LogWrapper } from '@/common/log';
|
||||
import { QuickAction, QuickActionEvent } from '../types';
|
||||
import { QuickAction, QuickActionEvent } from '@/onebot/types';
|
||||
import { NapCatCore } from '@/core';
|
||||
import { NapCatOneBot11Adapter } from '..';
|
||||
import { RequestUtil } from '@/common/request';
|
||||
|
Loading…
x
Reference in New Issue
Block a user