update deps

This commit is contained in:
Philipp Kunz 2016-07-06 03:33:39 +02:00
parent d0a0f97dca
commit 37e47aaa18
3 changed files with 22 additions and 8 deletions

View File

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

View File

@ -6,8 +6,16 @@ var NginxConfig = (function () {
function NginxConfig() { function NginxConfig() {
} }
; ;
NginxConfig.prototype.addZone = function (optionsArg) { // interact with Zones
NginxConfig.prototype.addZone = function (zoneArg) {
}; };
NginxConfig.prototype.listZones = function () {
return this.zones;
};
;
NginxConfig.prototype.removeZones = function (zoneArg) {
};
// handle deployment of zones
NginxConfig.prototype.deploy = function () { NginxConfig.prototype.deploy = function () {
}; };
; ;
@ -22,10 +30,10 @@ var NginxConfig = (function () {
exports.NginxConfig = NginxConfig; exports.NginxConfig = NginxConfig;
; ;
var NginxZone = (function () { var NginxZone = (function () {
function NginxZone() { function NginxZone(optionsArg) {
} }
return NginxZone; return NginxZone;
}()); }());
exports.NginxZone = NginxZone; exports.NginxZone = NginxZone;
var mynginx = new NginxConfig(); var mynginx = new NginxConfig();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRuZ2lueC5jbGFzc2VzLm5naW54Y29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvc21hcnRuZ2lueC5jbGFzc2VzLm5naW54Y29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUF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0lBQ3RCLENBQUM7O0lBQ0QsaUNBQVcsR0FBWCxVQUFZLE9BQWlCO0lBRTdCLENBQUM7SUFFRCw2QkFBNkI7SUFDN0IsNEJBQU0sR0FBTjtJQUVBLENBQUM7O0lBQ0QsZ0NBQVUsR0FBVjtJQUVBLENBQUM7O0lBQ0QsK0JBQVMsR0FBVDtJQUVBLENBQUM7O0lBQ0wsa0JBQUM7QUFBRCxDQUFDLEFBM0JELElBMkJDO0FBM0JZLG1CQUFXLGNBMkJ2QixDQUFBO0FBQUEsQ0FBQztBQUVGO0lBRUksbUJBQVksVUFJWDtJQUVELENBQUM7SUFDTCxnQkFBQztBQUFELENBQUMsQUFURCxJQVNDO0FBVFksaUJBQVMsWUFTckIsQ0FBQTtBQUVELElBQUksT0FBTyxHQUFHLElBQUksV0FBVyxFQUFFLENBQUMifQ==

View File

@ -22,7 +22,7 @@
"homepage": "https://gitlab.com/pushrocks/smartnginx#README", "homepage": "https://gitlab.com/pushrocks/smartnginx#README",
"dependencies": { "dependencies": {
"@types/q": "0.0.25-alpha", "@types/q": "0.0.25-alpha",
"cert": "0.0.11", "cert": "0.0.13",
"q": "^1.4.1", "q": "^1.4.1",
"smartfile": "^4.0.10" "smartfile": "^4.0.10"
}, },