mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
Merge branch 'main' of https://github.com/NapNeko/NapCatQQ
This commit is contained in:
commit
7816271302
@ -1,6 +1,7 @@
|
|||||||
import { ConfigBase } from "@/common/utils/ConfigBase";
|
import { ConfigBase } from "@/common/utils/ConfigBase";
|
||||||
import { LogLevel } from "@/common/utils/log";
|
import { LogLevel } from "@/common/utils/log";
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||||
export interface NapCatConfig {
|
export interface NapCatConfig {
|
||||||
fileLog: boolean,
|
fileLog: boolean,
|
||||||
consoleLog: boolean,
|
consoleLog: boolean,
|
||||||
@ -8,9 +9,9 @@ export interface NapCatConfig {
|
|||||||
consoleLogLevel: LogLevel,
|
consoleLogLevel: LogLevel,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||||
export class NapCatConfig extends ConfigBase<NapCatConfig> {
|
export class NapCatConfig extends ConfigBase<NapCatConfig> {
|
||||||
getConfigName() {
|
getConfigName() {
|
||||||
return 'onebot11';
|
return 'napcat';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import { ConfigBase } from '@/common/utils/ConfigBase';
|
import { ConfigBase } from '@/common/utils/ConfigBase';
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||||
export interface OB11Config {
|
export interface OB11Config {
|
||||||
http: {
|
http: {
|
||||||
enable: boolean;
|
enable: boolean;
|
||||||
@ -33,6 +34,7 @@ export interface OB11Config {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
||||||
export class OB11Config extends ConfigBase<OB11Config> {
|
export class OB11Config extends ConfigBase<OB11Config> {
|
||||||
getConfigName() {
|
getConfigName() {
|
||||||
return 'onebot11';
|
return 'onebot11';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user