mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
20 lines
507 B
TypeScript
20 lines
507 B
TypeScript
/* tslint:disable:no-inferrable-types */
|
|
import 'reflect-metadata';
|
|
import {ClientConfig} from '../public/ClientConfig';
|
|
import {ServerConfig} from './PrivateConfig';
|
|
import {WebConfigClass} from 'typeconfig/web';
|
|
import {ConfigProperty, ConfigState} from 'typeconfig/common';
|
|
|
|
|
|
@WebConfigClass({softReadonly: true})
|
|
export class WebConfig {
|
|
@ConfigState()
|
|
State: any;
|
|
|
|
@ConfigProperty()
|
|
Server: ServerConfig = new ServerConfig();
|
|
@ConfigProperty()
|
|
Client: ClientConfig = new ClientConfig();
|
|
|
|
}
|