@common-stack/core 0.6.1-alpha.0 → 0.6.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { interfaces
|
|
1
|
+
import { interfaces } from 'inversify';
|
|
2
2
|
import { Feature2 } from './feature';
|
|
3
3
|
import { ICommonFeature, ICommonFeatureShape, ILocalization, ContainerFunc } from '../interfaces';
|
|
4
4
|
declare class CommonFeature<S = unknown> extends Feature2 implements ICommonFeature<S> {
|
|
@@ -14,7 +14,7 @@ declare class CommonFeature<S = unknown> extends Feature2 implements ICommonFeat
|
|
|
14
14
|
};
|
|
15
15
|
constructor(...modules: ICommonFeatureShape[]);
|
|
16
16
|
get localizations(): ILocalization[];
|
|
17
|
-
get container(): interfaces.Container
|
|
17
|
+
get container(): interfaces.Container;
|
|
18
18
|
get services(): {
|
|
19
19
|
[key: string]: S;
|
|
20
20
|
};
|
|
@@ -7,13 +7,14 @@ const feature_1 = require("./feature");
|
|
|
7
7
|
class CommonFeature extends feature_1.Feature2 {
|
|
8
8
|
constructor(...modules) {
|
|
9
9
|
super(...modules);
|
|
10
|
+
this._container = new inversify_1.Container();
|
|
10
11
|
(0, fractal_objects_1.foldTo)(this, modules);
|
|
11
12
|
}
|
|
12
13
|
get localizations() {
|
|
13
14
|
return this.localizationIn || [];
|
|
14
15
|
}
|
|
15
16
|
get container() {
|
|
16
|
-
return this._container
|
|
17
|
+
return this._container;
|
|
17
18
|
}
|
|
18
19
|
get services() {
|
|
19
20
|
return this._services;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-feature.js","sourceRoot":"","sources":["../../src/connectors/common-feature.ts"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,yCAAkD;AAClD,uCAAqC;AAGrC,MAAM,aAAyB,SAAQ,kBAAQ;IAQ3C,YAAY,GAAG,OAA8B;QACzC,KAAK,CAAC,GAAG,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"common-feature.js","sourceRoot":"","sources":["../../src/connectors/common-feature.ts"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,yCAAkD;AAClD,uCAAqC;AAGrC,MAAM,aAAyB,SAAQ,kBAAQ;IAQ3C,YAAY,GAAG,OAA8B;QACzC,KAAK,CAAC,GAAG,OAAO,CAAC,CAAC;QAJZ,eAAU,GAAyB,IAAI,qBAAS,EAAE,CAAC;QAKzD,IAAA,wBAAM,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;IAED,IAAI,aAAa;QACb,OAAO,IAAI,CAAC,cAAc,IAAI,EAAE,CAAC;IACrC,CAAC;IAED,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CACJ;AACQ,sCAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/core",
|
|
3
|
-
"version": "0.6.1-alpha.
|
|
3
|
+
"version": "0.6.1-alpha.3",
|
|
4
4
|
"description": "Common core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"typescript": {
|
|
28
28
|
"definition": "lib/index.d.ts"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "8c23bfd49fb16286e23bf5d3d2dce2deb724b275"
|
|
31
31
|
}
|