NapCatQQ/packages/napcat-onebot/config/index.ts
手瓜一十雪 ad76559f71 Add napcat-types package for unified type exports
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.
2026-01-26 11:33:22 +08:00

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);
}
}