mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
21 lines
661 B
TypeScript
21 lines
661 B
TypeScript
|
/* tslint:disable:no-inferrable-types */
|
||
|
import 'reflect-metadata';
|
||
|
import {ClientConfig} from '../public/ClientConfig';
|
||
|
import {ServerConfig} from './PrivateConfig';
|
||
|
import {WebConfigClass} from 'typeconfig/src/decorators/class/WebConfigClass';
|
||
|
import {ConfigProperty} from 'typeconfig/src/decorators/property/ConfigPropoerty';
|
||
|
import {ConfigDefaults} from 'typeconfig/src/decorators/property/ConfigDefaults';
|
||
|
|
||
|
|
||
|
@WebConfigClass()
|
||
|
export class WebConfig {
|
||
|
@ConfigDefaults()
|
||
|
Defaults: WebConfig;
|
||
|
|
||
|
@ConfigProperty()
|
||
|
Server: ServerConfig.Config = new ServerConfig.Config();
|
||
|
@ConfigProperty()
|
||
|
Client: ClientConfig.Config = new ClientConfig.Config();
|
||
|
|
||
|
}
|