mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-19 05:05:44 +08:00
Moved various helper, event, and utility files from napcat-common to napcat-core/helper for better modularity and separation of concerns. Updated imports across packages to reflect new file locations. Removed unused dependencies from napcat-common and added them to napcat-core where needed. Also consolidated type definitions and cleaned up tsconfig settings for improved compatibility.
11 lines
377 B
TypeScript
11 lines
377 B
TypeScript
import { ConfigBase } from 'napcat-core/helper/config-base';
|
|
import type { NapCatCore } from 'napcat-core';
|
|
import { OneBotConfig } from './config';
|
|
import { AnySchema } from 'ajv';
|
|
|
|
export class OB11ConfigLoader extends ConfigBase<OneBotConfig> {
|
|
constructor (core: NapCatCore, configPath: string, schema: AnySchema) {
|
|
super('onebot11', core, configPath, schema);
|
|
}
|
|
}
|