smartnginx/dist/smartnginx.classes.nginxconfig.d.ts
2016-07-06 03:33:39 +02:00

21 lines
463 B
TypeScript

export declare enum ZoneTypes {
}
export declare class NginxConfig {
zones: NginxZone[];
constructor();
addZone(zoneArg: NginxZone): void;
listZones(): NginxZone[];
removeZones(zoneArg: NginxZone): void;
deploy(): void;
nginxStart(): void;
nginxStop(): void;
}
export declare class NginxZone {
domain: any;
constructor(optionsArg: {
zoneName: string;
type: ZoneTypes;
destination: string;
});
}