Comparing version 0.0.1-32 to 0.0.1-33
@@ -5,3 +5,3 @@ import * as Core from "./core"; | ||
private static defaultModelPath; | ||
private static options; | ||
private static facade; | ||
private options; | ||
@@ -11,2 +11,3 @@ private log; | ||
private interceptorFactories; | ||
static getFacade(): Core.Facade; | ||
constructor(engine: Core.Engine, override?: Core.KambojaOption); | ||
@@ -13,0 +14,0 @@ intercept(factory: Core.InterceptorFactory): this; |
@@ -22,3 +22,3 @@ "use strict"; | ||
autoValidation: true, | ||
rootPath: undefined | ||
rootPath: "/home/index" | ||
}, override); | ||
@@ -34,5 +34,9 @@ var idResolver = new resolver_1.DefaultIdentifierResolver(); | ||
this.options = options; | ||
Kamboja.facade = options; | ||
this.log = new logger_1.Logger(this.options.showConsoleLog ? "Info" : "Error"); | ||
this.storage = this.options.metaDataStorage; | ||
} | ||
Kamboja.getFacade = function () { | ||
return Kamboja.facade; | ||
}; | ||
Kamboja.prototype.intercept = function (factory) { | ||
@@ -39,0 +43,0 @@ this.interceptorFactories.push(factory); |
{ | ||
"name": "kamboja", | ||
"version": "0.0.1-32", | ||
"version": "0.0.1-33", | ||
"description": "MVC Framework powered by TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "lib/source/index.js", |
154374
3540