@haventech/amorphic-contracts
Advanced tools
Comparing version 0.1.0 to 0.2.0
/** | ||
* application configuration store object | ||
* | ||
* get => Gets properties from this config object | ||
* set => Sets a key value pair for this config object | ||
* loadFile => loads a file into config object | ||
*/ | ||
@@ -8,5 +12,9 @@ export interface Config { | ||
loadFile(fileKey: string, file: string): any | ||
buildConfig(configRootDirectory: string, merge: boolean): any | ||
} | ||
/** | ||
* Type to define what the config builder function should look like for Amorphic | ||
*/ | ||
export type AmorphicConfigBuilder = (configRootDirectory: string, merge?: boolean) => ApplicationNameToConfigMap; | ||
export interface ApplicationNameToConfigMap { | ||
@@ -13,0 +21,0 @@ [appName: string]: Config |
{ | ||
"description": "Typescript contracts for amorphic dependency injection", | ||
"name": "@haventech/amorphic-contracts", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
"types": "index.d.ts" | ||
} |
2535
5
29