inceptum
Advanced tools
Comparing version 0.8.10 to 0.8.11
@@ -51,2 +51,4 @@ import { Context } from '../ioc/Context'; | ||
register(...plugins: PluginImplemenation[]): void; | ||
getRegisteredPluginNames(): string[]; | ||
hasRegisteredPlugin(name: string): boolean; | ||
private runLifecycleMethodOnPlugins(method); | ||
@@ -53,0 +55,0 @@ start(): Promise<any>; |
@@ -38,2 +38,8 @@ "use strict"; | ||
} | ||
getRegisteredPluginNames() { | ||
return this.plugins.map((plugin) => plugin.name); | ||
} | ||
hasRegisteredPlugin(name) { | ||
return !!this.plugins.find((plugin) => plugin.name === name); | ||
} | ||
runLifecycleMethodOnPlugins(method) { | ||
@@ -40,0 +46,0 @@ return this.plugins.reduce(async (previous, plugin) => { |
{ | ||
"name": "inceptum", | ||
"version": "0.8.10", | ||
"version": "0.8.11", | ||
"description": "hipages take on the foundational library for enterprise-grade apps written in NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
449918
6821