inhabit-module-base
Advanced tools
Comparing version 1.5.1 to 1.6.0
export { InhabitModuleBase as InhabitModuleBase } from './InhabitModuleBase'; | ||
export { InhabitModuleEvents as InhabitModuleEvents } from './InhabitModuleEvents'; | ||
export { IModuleEvents as InhabitModuleEvents } from './interfaces'; |
@@ -1,2 +0,1 @@ | ||
import { InhabitModuleEvents } from './InhabitModuleEvents'; | ||
import { Logger } from './Logger'; | ||
@@ -6,2 +5,3 @@ import { ABTestManager } from './ABTestManager'; | ||
import { TextClassificationService } from './TextClassificationService'; | ||
import { IModuleEvents, IFactiveConstructor, IInhabitAPI } from './interfaces'; | ||
export declare class InhabitModuleBase { | ||
@@ -19,3 +19,3 @@ configuration: {}; | ||
textClassificationService: TextClassificationService; | ||
events: InhabitModuleEvents; | ||
events: IModuleEvents; | ||
resourcesRoot: string; | ||
@@ -25,3 +25,3 @@ abTestManager: ABTestManager; | ||
logger: Logger; | ||
constructor(configuration: any, dependencies: any); | ||
constructor(configuration: any, dependencies: IInhabitAPI); | ||
/** | ||
@@ -62,4 +62,4 @@ * Start async task that fetches content and return a this.deffered.promise() | ||
*/ | ||
static publish(Module: any): void; | ||
static publish(Module: IFactiveConstructor): void; | ||
static getScriptName(): any; | ||
} |
{ | ||
"name": "inhabit-module-base", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "A Base Module class for InHabit.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
11321
29
337