@diia-inhouse/types 11.3.0 → 11.4.0

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/dist/index.js CHANGED
@@ -32,4 +32,5 @@ __exportStar(require("./codeName"), exports);
32
32
  __exportStar(require("./pdf"), exports);
33
33
  __exportStar(require("./payment"), exports);
34
34
  __exportStar(require("./generated"), exports);
35
+ __exportStar(require("./validators"), exports);
35
36
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAE3B,0CAAuB;AAEvB,4CAAyB;AAEzB,2CAAwB;AAExB,4CAAyB;AAEzB,+CAA4B;AAE5B,yCAAsB;AAEtB,yCAAsB;AAEtB,yCAAsB;AAEtB,2CAAwB;AAExB,8CAA2B;AAE3B,0CAAuB;AAEvB,mDAAgC;AAEhC,6CAA0B;AAE1B,6CAA0B;AAE1B,wCAAqB;AAErB,4CAAyB;AAEzB,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAE3B,0CAAuB;AAEvB,4CAAyB;AAEzB,2CAAwB;AAExB,4CAAyB;AAEzB,+CAA4B;AAE5B,yCAAsB;AAEtB,yCAAsB;AAEtB,yCAAsB;AAEtB,2CAAwB;AAExB,8CAA2B;AAE3B,0CAAuB;AAEvB,mDAAgC;AAEhC,6CAA0B;AAE1B,6CAA0B;AAE1B,wCAAqB;AAErB,4CAAyB;AAEzB,8CAA2B;AAE3B,+CAA4B"}
@@ -16,3 +16,4 @@ export * from './codeName';
16
16
  export * from './pdf';
17
17
  export * from './payment';
18
18
  export * from './generated';
19
+ export * from './validators';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * If T has keys NOT in I, those keys are mapped to 'never'.
3
+ * This forces a compiler error if extra methods exist.
4
+ */
5
+ export type StrictInterface<T, I> = {
6
+ [K in keyof T]: K extends keyof I ? T[K] : never;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=validators.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validators.js","sourceRoot":"","sources":["../src/validators.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diia-inhouse/types",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Core types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",