@btc-vision/bsi-common
Version:
Common library for OP_NET.
24 lines (17 loc) • 467 B
text/typescript
import { DebugLevel } from '@btc-vision/logger';
export interface DataBaseConfig {
DATABASE_NAME: string;
HOST: string;
PORT: number;
AUTH: {
USERNAME: string;
PASSWORD: string;
};
}
export interface IConfigBase extends IConfigTemplate {
DEBUG_LEVEL: DebugLevel;
LOG_FOLDER: string;
DATABASE: DataBaseConfig;
}
export interface IConfigTemplate {}
export type IConfig<T extends IConfigTemplate> = IConfigBase & T;