mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 15:11:15 +00:00
Introduced the napcat-types package to aggregate and re-export all types, enums, and classes from napcat-core and napcat-onebot. Added external module shims, test files, and configuration for type-only distribution. Updated core and onebot packages to improve export granularity and fixed import paths for better modularity.
13 lines
404 B
TypeScript
13 lines
404 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 * from './config';
|
|
|
|
export class OB11ConfigLoader extends ConfigBase<OneBotConfig> {
|
|
constructor (core: NapCatCore, configPath: string, schema: AnySchema) {
|
|
super('onebot11', core, configPath, schema);
|
|
}
|
|
}
|