refactor: move Ob11Adapter to index.ts

This commit is contained in:
Wesley F. Young
2024-08-12 10:45:55 +08:00
parent f24e19ee1d
commit 5dcaf67ef2
11 changed files with 420 additions and 411 deletions

View File

@@ -3,10 +3,10 @@ import { WebSocket } from 'ws';
import BaseAction from '@/onebot/action/BaseAction';
import { OB11HeartbeatEvent } from '../event/meta/OB11HeartbeatEvent';
import { NapCatCore } from '@/core';
import { NapCatOneBot11Adapter } from '../main';
import { ActionName } from '@/onebot/action/types';
import { OB11Response } from '@/onebot/action/OB11Response';
import { LogWrapper } from '@/common/utils/log';
import { NapCatOneBot11Adapter } from '@/onebot';
export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
url: string;