@buynomics-lib/bn-shared 1.16.20-feature-nx64-1390.1 → 1.16.20-feature-nx64-1390.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.
@@ -18,7 +18,7 @@ export declare enum ClientFeatureScope {
18
18
  Segment = "segment",
19
19
  Subsegment = "subsegment",
20
20
  SalesChannel = "salesChannel",
21
- NumberOfWeeks = "numberOfWeeks"
21
+ TimeDimension = "timeDimension"
22
22
  }
23
23
  export type ClientFeaturesScopeLimits = {
24
24
  [feature in ClientFeature]?: {
@@ -21,6 +21,6 @@ var ClientFeatureScope;
21
21
  ClientFeatureScope["Segment"] = "segment";
22
22
  ClientFeatureScope["Subsegment"] = "subsegment";
23
23
  ClientFeatureScope["SalesChannel"] = "salesChannel";
24
- ClientFeatureScope["NumberOfWeeks"] = "numberOfWeeks";
24
+ ClientFeatureScope["TimeDimension"] = "timeDimension";
25
25
  })(ClientFeatureScope = exports.ClientFeatureScope || (exports.ClientFeatureScope = {}));
26
26
  //# sourceMappingURL=client-features.js.map
@@ -4,5 +4,6 @@ export declare const DefaultClientFeaturesSettings: {
4
4
  };
5
5
  changePromotions: {
6
6
  salesChannel: number;
7
+ timeDimension: number;
7
8
  };
8
9
  };
@@ -7,6 +7,7 @@ exports.DefaultClientFeaturesSettings = (_a = {},
7
7
  _a[client_features_1.ClientFeature.ChangeProducts] = (_b = {}, _b[client_features_1.ClientFeatureScope.Segment] = 1, _b),
8
8
  _a[client_features_1.ClientFeature.ChangePromotions] = (_c = {},
9
9
  _c[client_features_1.ClientFeatureScope.SalesChannel] = 1,
10
+ _c[client_features_1.ClientFeatureScope.TimeDimension] = 52,
10
11
  _c),
11
12
  _a);
12
13
  //# sourceMappingURL=default-client-feature-settings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-client-feature-settings.js","sourceRoot":"","sources":["../../src/helpers/default-client-feature-settings.ts"],"names":[],"mappings":";;;;AAAA,mEAGwC;AAE3B,QAAA,6BAA6B;IACxC,GAAC,+BAAa,CAAC,cAAc,cAAK,GAAC,oCAAkB,CAAC,OAAO,IAAG,CAAC,KAAE;IACnE,GAAC,+BAAa,CAAC,gBAAgB;QAC7B,GAAC,oCAAkB,CAAC,YAAY,IAAG,CAAC;WACrC;QACF"}
1
+ {"version":3,"file":"default-client-feature-settings.js","sourceRoot":"","sources":["../../src/helpers/default-client-feature-settings.ts"],"names":[],"mappings":";;;;AAAA,mEAGwC;AAE3B,QAAA,6BAA6B;IACxC,GAAC,+BAAa,CAAC,cAAc,cAAK,GAAC,oCAAkB,CAAC,OAAO,IAAG,CAAC,KAAE;IACnE,GAAC,+BAAa,CAAC,gBAAgB;QAC7B,GAAC,oCAAkB,CAAC,YAAY,IAAG,CAAC;QACpC,GAAC,oCAAkB,CAAC,aAAa,IAAG,EAAE;WACvC;QACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buynomics-lib/bn-shared",
3
- "version": "1.16.20-feature-nx64-1390.1",
3
+ "version": "1.16.20-feature-nx64-1390.3",
4
4
  "description": "Shared functionality between API and UI",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",