@onivoro/isomorphic-common 24.30.13 → 24.30.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onivoro/isomorphic-common",
3
- "version": "24.30.13",
3
+ "version": "24.30.15",
4
4
  "license": "MIT",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
package/src/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from './lib/constants/api-id-header.constant';
2
2
  export * from './lib/constants/api-key-header.constant';
3
- export * from './lib/constants/auth-cookie-name.constant';
4
3
  export * from './lib/constants/regexes.constant';
5
4
  export * from './lib/functions/arrange-act-assert.function';
6
5
  export * from './lib/functions/mock-calls.function';
@@ -27,7 +26,6 @@ export * from './lib/functions/sort-numbers.function';
27
26
  export * from './lib/functions/split-date-range-into-days.function';
28
27
  export * from './lib/functions/use-date.function';
29
28
  export * from './lib/types/access-token.interface';
30
- export * from './lib/types/company.type';
31
29
  export * from './lib/types/createable.type';
32
30
  export * from './lib/types/keys-of.type';
33
31
  export * from './lib/types/lookup.interface';
package/src/index.js CHANGED
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./lib/constants/api-id-header.constant"), exports);
5
5
  tslib_1.__exportStar(require("./lib/constants/api-key-header.constant"), exports);
6
- tslib_1.__exportStar(require("./lib/constants/auth-cookie-name.constant"), exports);
7
6
  tslib_1.__exportStar(require("./lib/constants/regexes.constant"), exports);
8
7
  tslib_1.__exportStar(require("./lib/functions/arrange-act-assert.function"), exports);
9
8
  tslib_1.__exportStar(require("./lib/functions/mock-calls.function"), exports);
@@ -30,7 +29,6 @@ tslib_1.__exportStar(require("./lib/functions/sort-numbers.function"), exports);
30
29
  tslib_1.__exportStar(require("./lib/functions/split-date-range-into-days.function"), exports);
31
30
  tslib_1.__exportStar(require("./lib/functions/use-date.function"), exports);
32
31
  tslib_1.__exportStar(require("./lib/types/access-token.interface"), exports);
33
- tslib_1.__exportStar(require("./lib/types/company.type"), exports);
34
32
  tslib_1.__exportStar(require("./lib/types/createable.type"), exports);
35
33
  tslib_1.__exportStar(require("./lib/types/keys-of.type"), exports);
36
34
  tslib_1.__exportStar(require("./lib/types/lookup.interface"), exports);
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/isomorphic/common/src/index.ts"],"names":[],"mappings":";;;AAAA,iFAAuD;AACvD,kFAAwD;AACxD,oFAA0D;AAC1D,2EAAiD;AAEjD,sFAA4D;AAC5D,8EAAoD;AAEpD,yEAA+C;AAC/C,8EAAoD;AACpD,uFAA6D;AAC7D,4FAAkE;AAClE,sFAA4D;AAC5D,iFAAuD;AACvD,2FAAiE;AACjE,+FAAqE;AACrE,4FAAkE;AAClE,uFAA6D;AAC7D,gFAAsD;AACtD,2FAAiE;AACjE,yEAA+C;AAC/C,0FAAgE;AAChE,0FAAgE;AAChE,sFAA4D;AAC5D,qFAA2D;AAC3D,8EAAoD;AACpD,gFAAsD;AACtD,gFAAsD;AACtD,8FAAoE;AACpE,4EAAkD;AAElD,6EAAmD;AACnD,mEAAyC;AACzC,sEAA4C;AAC5C,mEAAyC;AACzC,uEAA6C;AAC7C,oEAA0C;AAE1C,kFAAwD;AACxD,mFAAyD;AACzD,qFAA2D;AAC3D,2EAAiD;AAEjD,8EAAoD;AACpD,8EAAoD;AACpD,6FAAmE;AACnE,8EAAoD;AACpD,uFAA6D;AAC7D,sFAA4D;AAC5D,mFAAyD;AACzD,4FAAkE;AAClE,6EAAmD;AACnD,iFAAuD;AACvD,8EAAoD;AACpD,+FAAqE;AACrE,4FAAkE;AAClE,uFAA6D;AAC7D,yEAA+C;AAC/C,8EAAoD;AACpD,uFAA6D;AAC7D,sFAA4D;AAC5D,2FAAiE;AACjE,yEAA+C;AAC/C,yEAA+C;AAC/C,qFAA2D;AAC3D,8EAAoD;AACpD,mFAAyD;AACzD,qFAA2D;AAC3D,oFAA0D;AAC1D,iFAAuD;AACvD,mFAAyD;AACzD,wFAA8D;AAC9D,mFAAyD;AACzD,4EAAkD;AAClD,kFAAwD;AACxD,8EAAoD;AACpD,+EAAqD;AACrD,yEAA+C;AAE/C,6FAAmE;AACnE,gFAAsD;AACtD,mEAAyC;AACzC,uEAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/isomorphic/common/src/index.ts"],"names":[],"mappings":";;;AAAA,iFAAuD;AACvD,kFAAwD;AACxD,2EAAiD;AAEjD,sFAA4D;AAC5D,8EAAoD;AAEpD,yEAA+C;AAC/C,8EAAoD;AACpD,uFAA6D;AAC7D,4FAAkE;AAClE,sFAA4D;AAC5D,iFAAuD;AACvD,2FAAiE;AACjE,+FAAqE;AACrE,4FAAkE;AAClE,uFAA6D;AAC7D,gFAAsD;AACtD,2FAAiE;AACjE,yEAA+C;AAC/C,0FAAgE;AAChE,0FAAgE;AAChE,sFAA4D;AAC5D,qFAA2D;AAC3D,8EAAoD;AACpD,gFAAsD;AACtD,gFAAsD;AACtD,8FAAoE;AACpE,4EAAkD;AAElD,6EAAmD;AACnD,sEAA4C;AAC5C,mEAAyC;AACzC,uEAA6C;AAC7C,oEAA0C;AAE1C,kFAAwD;AACxD,mFAAyD;AACzD,qFAA2D;AAC3D,2EAAiD;AAEjD,8EAAoD;AACpD,8EAAoD;AACpD,6FAAmE;AACnE,8EAAoD;AACpD,uFAA6D;AAC7D,sFAA4D;AAC5D,mFAAyD;AACzD,4FAAkE;AAClE,6EAAmD;AACnD,iFAAuD;AACvD,8EAAoD;AACpD,+FAAqE;AACrE,4FAAkE;AAClE,uFAA6D;AAC7D,yEAA+C;AAC/C,8EAAoD;AACpD,uFAA6D;AAC7D,sFAA4D;AAC5D,2FAAiE;AACjE,yEAA+C;AAC/C,yEAA+C;AAC/C,qFAA2D;AAC3D,8EAAoD;AACpD,mFAAyD;AACzD,qFAA2D;AAC3D,oFAA0D;AAC1D,iFAAuD;AACvD,mFAAyD;AACzD,wFAA8D;AAC9D,mFAAyD;AACzD,4EAAkD;AAClD,kFAAwD;AACxD,8EAAoD;AACpD,+EAAqD;AACrD,yEAA+C;AAE/C,6FAAmE;AACnE,gFAAsD;AACtD,mEAAyC;AACzC,uEAA6C"}
@@ -1,2 +1,2 @@
1
1
  import { ILookup } from "../types/lookup.interface";
2
- export declare function mapEnumToOptions<TEntity extends object>(enumeration: TEntity, includeBlank?: boolean): ILookup<string, string>;
2
+ export declare function mapEnumToOptions<TEntity extends object>(enumeration: TEntity, includeBlank?: boolean): ILookup<string, string>[];
@@ -1 +1 @@
1
- {"version":3,"file":"map-enum-to-options.function.js","sourceRoot":"","sources":["../../../../../../../libs/isomorphic/common/src/lib/functions/map-enum-to-options.function.ts"],"names":[],"mappings":";;AAEA,4CAMC;AAND,SAAgB,gBAAgB,CAAyB,WAAoB,EAAE,YAAY,GAAG,IAAI;IAC9F,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;IAEjH,OAAO,CAAC,YAAY;QAChB,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,GAAG,SAAS,CAAC;QAC5C,CAAC,CAAC,SAAS,CAAQ,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"map-enum-to-options.function.js","sourceRoot":"","sources":["../../../../../../../libs/isomorphic/common/src/lib/functions/map-enum-to-options.function.ts"],"names":[],"mappings":";;AAEA,4CAMC;AAND,SAAgB,gBAAgB,CAAyB,WAAoB,EAAE,YAAY,GAAG,IAAI;IAC9F,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;IAEjH,OAAO,CAAC,YAAY;QAChB,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,GAAG,SAAS,CAAC;QAC5C,CAAC,CAAC,SAAS,CAAC,CAAC;AACrB,CAAC"}
@@ -1 +0,0 @@
1
- export declare const authCookieName = "token";
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.authCookieName = void 0;
4
- // TODO: REMOVE THIS BAD PATTERN OF HAVING LOWER LEVEL LIBS AWARE OF HIGHER ORDER LIBS/APPS
5
- exports.authCookieName = 'token';
6
- //# sourceMappingURL=auth-cookie-name.constant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-cookie-name.constant.js","sourceRoot":"","sources":["../../../../../../../libs/isomorphic/common/src/lib/constants/auth-cookie-name.constant.ts"],"names":[],"mappings":";;;AAAA,2FAA2F;AAC9E,QAAA,cAAc,GAAG,OAAO,CAAC"}
@@ -1,18 +0,0 @@
1
- export type TCompany = {
2
- id: string;
3
- statusId: string;
4
- renewalDate: string;
5
- name: string;
6
- ein: string;
7
- duns: string;
8
- address1: string;
9
- address2: string;
10
- city: string;
11
- state: string;
12
- zip: string;
13
- phone: string;
14
- externalId: string;
15
- bmiThresholdWithComorbidities: number;
16
- bmiThresholdWithoutComorbidities: number;
17
- membershipType: string;
18
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=company.type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"company.type.js","sourceRoot":"","sources":["../../../../../../../libs/isomorphic/common/src/lib/types/company.type.ts"],"names":[],"mappings":""}