UNPKG

495 BPlain TextView Raw
1import {
2 ConfigSource as BaseConfigSource,
3 extendConfig,
4} from '@cortexql/core/config';
5
6export interface MyConfigSource {
7 // put your custom config here
8 // facebookSecret: string;
9 // nowApublicConfig: string;
10 // remove the comment below and be open about your config
11 // [key: string]: any;
12}
13
14export interface ConfigSource extends BaseConfigSource, MyConfigSource {}
15export const { config, loadConfig } = extendConfig<ConfigSource>();
16
17require('./load');
18
19export default config;