mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-11 23:40:24 +00:00
chore: old webui
Co-Authored-By: Wesley F. Young <25684570+Wesley-Young@users.noreply.github.com>
This commit is contained in:
16
src/core/wrapper/context.ts
Normal file
16
src/core/wrapper/context.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { LogWrapper } from "@/common/utils/log";
|
||||
import { QQBasicInfoWrapper } from "@/common/utils/QQBasicInfo";
|
||||
import { NapCatCoreWorkingEnv } from "../core";
|
||||
import { SelfInfo } from "../entities";
|
||||
import { NodeIKernelLoginService } from "../services";
|
||||
import { WrapperNodeApi, NodeIQQNTWrapperSession } from "./wrapper";
|
||||
|
||||
export interface InstanceContext {
|
||||
readonly workingEnv: NapCatCoreWorkingEnv;
|
||||
readonly wrapper: WrapperNodeApi;
|
||||
readonly session: NodeIQQNTWrapperSession;
|
||||
readonly logger: LogWrapper;
|
||||
readonly loginService: NodeIKernelLoginService;
|
||||
readonly selfInfo: SelfInfo;
|
||||
readonly basicInfoWrapper: QQBasicInfoWrapper;
|
||||
}
|
||||
4
src/core/wrapper/index.ts
Normal file
4
src/core/wrapper/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './wrapper';
|
||||
export * from './data';
|
||||
export * from './helper';
|
||||
export * from './context';
|
||||
Reference in New Issue
Block a user