1 | import {
|
2 | ConfigSource as BaseConfigSource,
|
3 | extendConfig,
|
4 | } from '@cortexql/core/config';
|
5 |
|
6 | export 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 |
|
14 | export interface ConfigSource extends BaseConfigSource, MyConfigSource {}
|
15 | export const { config, loadConfig } = extendConfig<ConfigSource>();
|
16 |
|
17 | require('./load');
|
18 |
|
19 | export default config;
|