refactor: move Ob11Adapter to index.ts

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

View File

@@ -3,7 +3,8 @@ import { OB11Response } from './OB11Response';
import { OB11Return } from '@/onebot/types';
import Ajv, { ErrorObject, ValidateFunction } from 'ajv';
import { NapCatCore } from '@/core';
import { NapCatOneBot11Adapter } from '../main';
import { NapCatOneBot11Adapter } from '@/onebot';
abstract class BaseAction<PayloadType, ReturnDataType> {
actionName: ActionName = ActionName.Unknown;