nodecg-types
Version:
Types from nodecg but without all the baggage and dependencies
39 lines (37 loc) • 587 B
TypeScript
import {LoggerOptions} from './logger';
/**
* NodeCG config exposed in extensions and browser
*/
export interface NodeCGConfig {
host: string;
port: number;
developer: boolean;
baseURL: string;
logging: LoggerOptions;
sentry: {
enabled?: boolean;
publicDsn?: string;
};
login: {
enabled?: boolean;
local?: {
enabled: boolean;
};
steam?: {
enabled: boolean;
};
twitch?: {
enabled: boolean;
clientID: string;
scope: string;
};
discord?: {
enabled: boolean;
clientID: string;
scope: string;
};
};
ssl?: {
enabled: boolean;
};
}