2020-01-28 18:36:52 +01:00
|
|
|
/* tslint:disable:no-inferrable-types */
|
|
|
|
import 'reflect-metadata';
|
|
|
|
import {ClientConfig} from '../public/ClientConfig';
|
|
|
|
import {ServerConfig} from './PrivateConfig';
|
2020-02-04 19:37:47 +01:00
|
|
|
import {WebConfigClass} from 'typeconfig/web';
|
|
|
|
import {ConfigProperty, ConfigState} from 'typeconfig/common';
|
2020-01-28 18:36:52 +01:00
|
|
|
|
|
|
|
|
2020-02-06 22:46:45 +01:00
|
|
|
@WebConfigClass({softReadonly: true})
|
2020-01-28 18:36:52 +01:00
|
|
|
export class WebConfig {
|
2020-02-04 19:37:47 +01:00
|
|
|
@ConfigState()
|
|
|
|
State: any;
|
2020-01-28 18:36:52 +01:00
|
|
|
|
|
|
|
@ConfigProperty()
|
|
|
|
Server: ServerConfig.Config = new ServerConfig.Config();
|
|
|
|
@ConfigProperty()
|
|
|
|
Client: ClientConfig.Config = new ClientConfig.Config();
|
|
|
|
|
|
|
|
}
|