@transcend-io/type-utils 1.1.2 → 1.2.2
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/.yarn/sdks/eslint/package.json +10 -2
- package/.yarn/sdks/prettier/package.json +3 -2
- package/.yarn/sdks/typescript/package.json +6 -2
- package/build/apply.d.ts +0 -3
- package/build/apply.d.ts.map +1 -1
- package/build/apply.js +0 -3
- package/build/apply.js.map +1 -1
- package/build/codecTools/FixedLengthArray.d.ts +1 -2
- package/build/codecTools/FixedLengthArray.d.ts.map +1 -1
- package/build/codecTools/FixedLengthArray.js +5 -2
- package/build/codecTools/FixedLengthArray.js.map +1 -1
- package/build/codecTools/FixedLengthString.d.ts +2 -3
- package/build/codecTools/FixedLengthString.d.ts.map +1 -1
- package/build/codecTools/FixedLengthString.js +5 -2
- package/build/codecTools/FixedLengthString.js.map +1 -1
- package/build/codecTools/NonEmptyString.d.ts +2 -2
- package/build/codecTools/NonEmptyString.d.ts.map +1 -1
- package/build/codecTools/NonEmptyString.js +5 -1
- package/build/codecTools/NonEmptyString.js.map +1 -1
- package/build/codecTools/decodeCodec.d.ts +0 -1
- package/build/codecTools/decodeCodec.d.ts.map +1 -1
- package/build/codecTools/decodeCodec.js +0 -1
- package/build/codecTools/decodeCodec.js.map +1 -1
- package/build/codecTools/dictionary.d.ts +1 -2
- package/build/codecTools/dictionary.d.ts.map +1 -1
- package/build/codecTools/dictionary.js +5 -2
- package/build/codecTools/dictionary.js.map +1 -1
- package/build/codecTools/index.js +5 -1
- package/build/codecTools/index.js.map +1 -1
- package/build/codecTools/isCodecError.d.ts +0 -1
- package/build/codecTools/isCodecError.d.ts.map +1 -1
- package/build/codecTools/isCodecError.js +0 -1
- package/build/codecTools/isCodecError.js.map +1 -1
- package/build/codecTools/partialRecord.d.ts +1 -2
- package/build/codecTools/partialRecord.d.ts.map +1 -1
- package/build/codecTools/partialRecord.js +5 -2
- package/build/codecTools/partialRecord.js.map +1 -1
- package/build/codecTools/toJsonSchema.d.ts +0 -1
- package/build/codecTools/toJsonSchema.d.ts.map +1 -1
- package/build/codecTools/toJsonSchema.js +0 -1
- package/build/codecTools/toJsonSchema.js.map +1 -1
- package/build/enum.d.ts +3 -7
- package/build/enum.d.ts.map +1 -1
- package/build/enum.js +0 -4
- package/build/enum.js.map +1 -1
- package/build/enums.d.ts +1 -1
- package/build/enums.d.ts.map +1 -1
- package/build/getEntries.d.ts +0 -1
- package/build/getEntries.d.ts.map +1 -1
- package/build/getEntries.js +0 -1
- package/build/getEntries.js.map +1 -1
- package/build/getKeys.d.ts +0 -3
- package/build/getKeys.d.ts.map +1 -1
- package/build/getKeys.js +0 -3
- package/build/getKeys.js.map +1 -1
- package/build/getValues.d.ts +0 -1
- package/build/getValues.d.ts.map +1 -1
- package/build/getValues.js +0 -1
- package/build/getValues.js.map +1 -1
- package/build/gql.d.ts +1 -2
- package/build/gql.d.ts.map +1 -1
- package/build/gql.js +0 -1
- package/build/gql.js.map +1 -1
- package/build/groupBy.d.ts +0 -1
- package/build/groupBy.d.ts.map +1 -1
- package/build/groupBy.js +0 -1
- package/build/groupBy.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/build/invert.d.ts +0 -2
- package/build/invert.d.ts.map +1 -1
- package/build/invert.js +0 -2
- package/build/invert.js.map +1 -1
- package/build/tests/FixedLengthArray.test.js +5 -1
- package/build/tests/FixedLengthArray.test.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- package/build/types.d.ts +29 -29
- package/build/types.d.ts.map +1 -1
- package/build/valuesOf.d.ts +0 -1
- package/build/valuesOf.d.ts.map +1 -1
- package/build/valuesOf.js +5 -2
- package/build/valuesOf.js.map +1 -1
- package/package.json +25 -25
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.55.0-sdk",
|
|
4
4
|
"main": "./lib/api.js",
|
|
5
|
-
"type": "commonjs"
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"bin": {
|
|
7
|
+
"eslint": "./bin/eslint.js"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
"./package.json": "./package.json",
|
|
11
|
+
".": "./lib/api.js",
|
|
12
|
+
"./use-at-your-own-risk": "./lib/unsupported-api.js"
|
|
13
|
+
}
|
|
6
14
|
}
|
package/build/apply.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import type { ObjByString, StringKeys } from './types';
|
|
|
3
3
|
* Apply a function to each value of an object. Similar to lodash.mapValues but should preserve the typing of the keys.
|
|
4
4
|
*
|
|
5
5
|
* This allows one to define an object keys in an enum and then the resulting map should keep the same typing
|
|
6
|
-
*
|
|
7
6
|
* @param obj - The object to apply the function to
|
|
8
7
|
* @param applyFunc - The function to apply
|
|
9
8
|
* @returns The updated object
|
|
@@ -15,7 +14,6 @@ export declare function apply<TInput extends ObjByString, TOutput>(obj: TInput,
|
|
|
15
14
|
* Apply a function to each value of an object. Similar to lodash.mapValues but should preserve the typing of the keys.
|
|
16
15
|
*
|
|
17
16
|
* This allows one to define an object keys in an enum and then the resulting map should keep the same typing
|
|
18
|
-
*
|
|
19
17
|
* @param obj - The object to apply the function to
|
|
20
18
|
* @param applyFunc - The function to apply
|
|
21
19
|
* @returns The updated object
|
|
@@ -25,7 +23,6 @@ export declare function asyncApply<TInput extends ObjByString, TOutput>(obj: TIn
|
|
|
25
23
|
}>;
|
|
26
24
|
/**
|
|
27
25
|
* Convert a typescript enum to a mapping of [value]: [value] and then call apply on that
|
|
28
|
-
*
|
|
29
26
|
* @param enm - The object to apply the function to
|
|
30
27
|
* @param applyFunc - The function to apply
|
|
31
28
|
* @returns The updated object
|
package/build/apply.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply.d.ts","sourceRoot":"","sources":["../src/apply.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU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const getKeys_1 = require("./getKeys");
|
|
|
8
8
|
* Apply a function to each value of an object. Similar to lodash.mapValues but should preserve the typing of the keys.
|
|
9
9
|
*
|
|
10
10
|
* This allows one to define an object keys in an enum and then the resulting map should keep the same typing
|
|
11
|
-
*
|
|
12
11
|
* @param obj - The object to apply the function to
|
|
13
12
|
* @param applyFunc - The function to apply
|
|
14
13
|
* @returns The updated object
|
|
@@ -24,7 +23,6 @@ exports.apply = apply;
|
|
|
24
23
|
* Apply a function to each value of an object. Similar to lodash.mapValues but should preserve the typing of the keys.
|
|
25
24
|
*
|
|
26
25
|
* This allows one to define an object keys in an enum and then the resulting map should keep the same typing
|
|
27
|
-
*
|
|
28
26
|
* @param obj - The object to apply the function to
|
|
29
27
|
* @param applyFunc - The function to apply
|
|
30
28
|
* @returns The updated object
|
|
@@ -42,7 +40,6 @@ async function asyncApply(obj, applyFunc) {
|
|
|
42
40
|
exports.asyncApply = asyncApply;
|
|
43
41
|
/**
|
|
44
42
|
* Convert a typescript enum to a mapping of [value]: [value] and then call apply on that
|
|
45
|
-
*
|
|
46
43
|
* @param enm - The object to apply the function to
|
|
47
44
|
* @param applyFunc - The function to apply
|
|
48
45
|
* @returns The updated object
|
package/build/apply.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply.js","sourceRoot":"","sources":["../src/apply.ts"],"names":[],"mappings":";;;AAAA,QAAQ;AACR,iCAAoC;AACpC,uCAAoC;AAGpC
|
|
1
|
+
{"version":3,"file":"apply.js","sourceRoot":"","sources":["../src/apply.ts"],"names":[],"mappings":";;;AAAA,QAAQ;AACR,iCAAoC;AACpC,uCAAoC;AAGpC;;;;;;;GAOG;AACH,SAAgB,KAAK,CACnB,GAAW,EACX,SAKY;IAEZ,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CACpC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,CAChB,MAAM,CAAC,MAA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fixed length
|
|
12
|
-
*
|
|
13
12
|
* @param min - The array min length
|
|
14
13
|
* @param max - The array max length
|
|
15
14
|
* @param a - The array type
|
|
@@ -17,5 +16,5 @@ export interface FixedLengthArrayBrand<T> extends Array<T> {
|
|
|
17
16
|
*/
|
|
18
17
|
export declare const FixedLengthArray: <C extends t.Mixed>(min: number, max: number, a: C) => t.BrandC<t.ArrayC<C>, FixedLengthArrayBrand<C>>;
|
|
19
18
|
/** Override types */
|
|
20
|
-
export
|
|
19
|
+
export type FixedLengthArray<C extends t.Mixed> = t.TypeOf<t.BrandC<t.ArrayC<C>, FixedLengthArrayBrand<C>>>;
|
|
21
20
|
//# sourceMappingURL=FixedLengthArray.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FixedLengthArray.d.ts","sourceRoot":"","sources":["../../src/codecTools/FixedLengthArray.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,MAAM,WAAW,qBAAqB,CAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,CAAC,CAAC;IACxD,8EAA8E;IAC9E,QAAQ,CAAC,gBAAgB,EAAE,OAAO,MAAM,CAAC;IAEzC,kCAAkC;IAClC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAErB,2BAA2B;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED
|
|
1
|
+
{"version":3,"file":"FixedLengthArray.d.ts","sourceRoot":"","sources":["../../src/codecTools/FixedLengthArray.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,MAAM,WAAW,qBAAqB,CAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,CAAC,CAAC;IACxD,8EAA8E;IAC9E,QAAQ,CAAC,gBAAgB,EAAE,OAAO,MAAM,CAAC;IAEzC,kCAAkC;IAClC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAErB,2BAA2B;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,2BACtB,MAAM,OACN,MAAM,0DAQV,CAAC;AAEJ,qBAAqB;AACrB,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,MAAM,CACxD,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAChD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -24,7 +28,6 @@ exports.FixedLengthArray = void 0;
|
|
|
24
28
|
const t = __importStar(require("io-ts"));
|
|
25
29
|
/**
|
|
26
30
|
* The refinement for encoding/decoding strings of fixed length
|
|
27
|
-
*
|
|
28
31
|
* @param min - The array min length
|
|
29
32
|
* @param max - The array max length
|
|
30
33
|
* @param a - The array type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FixedLengthArray.js","sourceRoot":"","sources":["../../src/codecTools/FixedLengthArray.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FixedLengthArray.js","sourceRoot":"","sources":["../../src/codecTools/FixedLengthArray.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,yCAA2B;AAa3B;;;;;;GAMG;AACI,MAAM,gBAAgB,GAAG,CAC9B,GAAW,EACX,GAAW,EACX,CAAI,EAC6C,EAAE,CACnD,CAAC,CAAC,KAAK,CACL,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EACV,CAAC,CAAW,EAAsD,EAAE,CAClE,GAAG,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,MAAM,IAAI,GAAG,EACpC,kBAAkB,CACnB,CAAC;AAVS,QAAA,gBAAgB,oBAUzB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as t from 'io-ts';
|
|
2
2
|
/** The type refinement for encoding/decoding strings of fixed length */
|
|
3
|
-
export
|
|
3
|
+
export type FixedLengthStringBrand<N extends number> = {
|
|
4
4
|
/** The length of the string */
|
|
5
5
|
readonly length: N;
|
|
6
6
|
/** Unique symbol to ensure uniqueness of this type across modules/packages */
|
|
@@ -8,11 +8,10 @@ export declare type FixedLengthStringBrand<N extends number> = {
|
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* The refinement for encoding/decoding strings of fixed length
|
|
11
|
-
*
|
|
12
11
|
* @param len - The string's length
|
|
13
12
|
* @returns The fixed length string codec
|
|
14
13
|
*/
|
|
15
14
|
export declare const FixedLengthString: <N extends number>(len: N) => t.BrandC<t.StringC, FixedLengthStringBrand<N>>;
|
|
16
15
|
/** Override types */
|
|
17
|
-
export
|
|
16
|
+
export type FixedLengthString<N extends number> = t.TypeOf<t.BrandC<t.StringC, FixedLengthStringBrand<N>>>;
|
|
18
17
|
//# sourceMappingURL=FixedLengthString.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FixedLengthString.d.ts","sourceRoot":"","sources":["../../src/codecTools/FixedLengthString.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,wEAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"FixedLengthString.d.ts","sourceRoot":"","sources":["../../src/codecTools/FixedLengthString.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,wEAAwE;AACxE,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,IAAI;IACrD,+BAA+B;IAC/B,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;IACnB,8EAA8E;IAC9E,QAAQ,CAAC,iBAAiB,EAAE,OAAO,MAAM,CAAC;CAC3C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,8EAO3B,CAAC;AAEJ,qBAAqB;AACrB,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,CAAC,MAAM,CACxD,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAC/C,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -24,7 +28,6 @@ exports.FixedLengthString = void 0;
|
|
|
24
28
|
const t = __importStar(require("io-ts"));
|
|
25
29
|
/**
|
|
26
30
|
* The refinement for encoding/decoding strings of fixed length
|
|
27
|
-
*
|
|
28
31
|
* @param len - The string's length
|
|
29
32
|
* @returns The fixed length string codec
|
|
30
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FixedLengthString.js","sourceRoot":"","sources":["../../src/codecTools/FixedLengthString.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FixedLengthString.js","sourceRoot":"","sources":["../../src/codecTools/FixedLengthString.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,yCAA2B;AAU3B;;;;GAIG;AACI,MAAM,iBAAiB,GAAG,CAC/B,GAAM,EAC0C,EAAE,CAClD,CAAC,CAAC,KAAK,CACL,CAAC,CAAC,MAAM,EAAE,8CAA8C;AACxD,CAAC,CAAC,EAAqD,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,GAAG,EAC1E,mBAAmB,CACpB,CAAC;AAPS,QAAA,iBAAiB,qBAO1B"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as t from 'io-ts';
|
|
2
2
|
/** The type refinement for encoding/decoding non-empty strings */
|
|
3
|
-
|
|
3
|
+
type NonEmptyStringBrand = {
|
|
4
4
|
/** Unique symbol to ensure uniqueness of this type across modules/packages */
|
|
5
5
|
readonly NonEmptyString: symbol;
|
|
6
6
|
};
|
|
7
7
|
/** The refinement for encoding/decoding non-empty strings */
|
|
8
8
|
export declare const NonEmptyString: t.BrandC<t.StringC, NonEmptyStringBrand>;
|
|
9
9
|
/** Override types */
|
|
10
|
-
export
|
|
10
|
+
export type NonEmptyString = t.TypeOf<typeof NonEmptyString>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=NonEmptyString.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonEmptyString.d.ts","sourceRoot":"","sources":["../../src/codecTools/NonEmptyString.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,kEAAkE;AAClE,
|
|
1
|
+
{"version":3,"file":"NonEmptyString.d.ts","sourceRoot":"","sources":["../../src/codecTools/NonEmptyString.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,kEAAkE;AAClE,KAAK,mBAAmB,GAAG;IACzB,8EAA8E;IAC9E,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,cAAc,0CAI1B,CAAC;AAEF,qBAAqB;AACrB,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonEmptyString.js","sourceRoot":"","sources":["../../src/codecTools/NonEmptyString.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NonEmptyString.js","sourceRoot":"","sources":["../../src/codecTools/NonEmptyString.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,yCAA2B;AAQ3B,6DAA6D;AAChD,QAAA,cAAc,GAAG,CAAC,CAAC,KAAK,CACnC,CAAC,CAAC,MAAM,EAAE,8CAA8C;AACxD,CAAC,CAAC,EAA+C,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EACzE,gBAAgB,CACjB,CAAC"}
|
|
@@ -2,7 +2,6 @@ import * as t from 'io-ts';
|
|
|
2
2
|
export declare const CODEC_ERROR_MESSAGE = "Failed to decode codec:";
|
|
3
3
|
/**
|
|
4
4
|
* Decode a codec, returning the value if contents are validated, else throws an error
|
|
5
|
-
*
|
|
6
5
|
* @param codec - The codec to decode with
|
|
7
6
|
* @param txt - The text to JSON parse
|
|
8
7
|
* @param parse - If a string is provided, assume it is JSON and call JSON.parse on it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeCodec.d.ts","sourceRoot":"","sources":["../../src/codecTools/decodeCodec.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAiC3B,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"decodeCodec.d.ts","sourceRoot":"","sources":["../../src/codecTools/decodeCodec.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAiC3B,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAE7D;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,GAAG,EAC9C,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,GAAG,OAAO,EAChD,KAAK,UAAO,EAEZ,sBAAsB,GAAE,CAAC,iBAAiB,EAAE,CAAC,CAAC,OAAO,KAAK,MAAiB,GAC1E,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAuBlB"}
|
|
@@ -17,7 +17,6 @@ const getCustomErrors = (v, customErrorFromContext) => (0, pipeable_1.pipe)(v, (
|
|
|
17
17
|
exports.CODEC_ERROR_MESSAGE = 'Failed to decode codec:';
|
|
18
18
|
/**
|
|
19
19
|
* Decode a codec, returning the value if contents are validated, else throws an error
|
|
20
|
-
*
|
|
21
20
|
* @param codec - The codec to decode with
|
|
22
21
|
* @param txt - The text to JSON parse
|
|
23
22
|
* @param parse - If a string is provided, assume it is JSON and call JSON.parse on it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeCodec.js","sourceRoot":"","sources":["../../src/codecTools/decodeCodec.ts"],"names":[],"mappings":";;;AAAA,WAAW;AACX,6CAAwC;AACxC,iDAA0C;AAG1C,oDAAoD;AACpD,MAAM,QAAQ,GAAG,CAAI,CAAkB,EAAY,EAAE,CACnD,IAAA,eAAI,EACF,CAAC,EACD,IAAA,aAAI,EACF,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;IACnB,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC1D,OAAO,GAAG,KAAK,CAAC,OAAO;SACpB,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC;QAC9B,kDAAkD;SACjD,IAAI,CAAC,GAAG,CAAC,mBAAmB,SAAS,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC;AACxD,CAAC,CAAC,EAEJ,GAAG,EAAE,CAAC,CAAC,WAAW,CAAC,CACpB,CACF,CAAC;AAEJ,2CAA2C;AAC3C,MAAM,eAAe,GAAG,CACtB,CAAkB,EAClB,sBAAgE,EACtD,EAAE,CACZ,IAAA,eAAI,EACF,CAAC,EACD,IAAA,aAAI,EACF,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,EACxE,GAAG,EAAE,CAAC,CAAC,WAAW,CAAC,CACpB,CACF,CAAC;AAES,QAAA,mBAAmB,GAAG,yBAAyB,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"decodeCodec.js","sourceRoot":"","sources":["../../src/codecTools/decodeCodec.ts"],"names":[],"mappings":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AC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CACzD,CAAC;IACF,wBAAwB;IACxB,gDAAgD;IAChD,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CACb,GAAG,2BAAmB,QAAQ,IAAI,CAAC,SAAS,CAC1C,QAAQ,CAAC,OAAO,CAAC,EACjB,IAAI,EACJ,CAAC,CACF,GAAG,IAAI,CAAC,SAAS,CAChB,eAAe,CAAC,OAAO,EAAE,sBAAsB,CAAC,EAChD,IAAI,EACJ,CAAC,CACF,EAAE,CACJ,CAAC;IACJ,CAAC;IAED,2BAA2B;IAC3B,OAAO,OAAO,CAAC,KAAK,CAAC;AACvB,CAAC;AA7BD,kCA6BC"}
|
|
@@ -9,11 +9,10 @@ export interface DictionaryC<D extends t.Mixed, C extends t.Mixed> extends t.Dic
|
|
|
9
9
|
/**
|
|
10
10
|
* Helper to encode/decode a record with partial keys.
|
|
11
11
|
* Copied from https://github.com/gcanti/io-ts/issues/429#issuecomment-655394345
|
|
12
|
-
*
|
|
13
12
|
* @param keys - The possible dictionary keys
|
|
14
13
|
* @param values - The possible dictionary values
|
|
15
14
|
* @param name - (Optional) name of this dictionary
|
|
16
15
|
* @returns The codec for a dictionary
|
|
17
16
|
*/
|
|
18
|
-
export declare const dictionary: <D extends t.Mixed, C extends t.Mixed>(keys: D, values: C, name?: string
|
|
17
|
+
export declare const dictionary: <D extends t.Mixed, C extends t.Mixed>(keys: D, values: C, name?: string) => DictionaryC<D, C>;
|
|
19
18
|
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../src/codecTools/dictionary.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,kCAAkC;AAClC,MAAM,WAAW,WAAW,CAC1B,CAAC,SAAS,CAAC,CAAC,KAAK,EACjB,CAAC,SAAS,CAAC,CAAC,KAAK,CACjB,SAAQ,CAAC,CAAC,cAAc,CACtB,CAAC,EACD,CAAC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;CACjC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CACrC,EACD,OAAO,CACR;CAAG;AAEN
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../src/codecTools/dictionary.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAE3B,kCAAkC;AAClC,MAAM,WAAW,WAAW,CAC1B,CAAC,SAAS,CAAC,CAAC,KAAK,EACjB,CAAC,SAAS,CAAC,CAAC,KAAK,CACjB,SAAQ,CAAC,CAAC,cAAc,CACtB,CAAC,EACD,CAAC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;CACjC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CACrC,EACD,OAAO,CACR;CAAG;AAEN;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,oEAGd,MAAM,sBAEqD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -26,7 +30,6 @@ const t = __importStar(require("io-ts"));
|
|
|
26
30
|
/**
|
|
27
31
|
* Helper to encode/decode a record with partial keys.
|
|
28
32
|
* Copied from https://github.com/gcanti/io-ts/issues/429#issuecomment-655394345
|
|
29
|
-
*
|
|
30
33
|
* @param keys - The possible dictionary keys
|
|
31
34
|
* @param values - The possible dictionary values
|
|
32
35
|
* @param name - (Optional) name of this dictionary
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.js","sourceRoot":"","sources":["../../src/codecTools/dictionary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dictionary.js","sourceRoot":"","sources":["../../src/codecTools/dictionary.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,iDAAkD;AAClD,yCAA2B;AAkB3B;;;;;;;GAOG;AACI,MAAM,UAAU,GAAG,CACxB,IAAO,EACP,MAAS,EACT,IAAa,EACM,EAAE,CACrB,IAAA,uBAAY,EAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AALxD,QAAA,UAAU,cAK8C"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codecTools/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codecTools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B;AAC7B,sDAAoC;AACpC,qDAAmC;AACnC,kDAAgC;AAChC,iDAA+B;AAC/B,mDAAiC;AACjC,iDAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isCodecError.d.ts","sourceRoot":"","sources":["../../src/codecTools/isCodecError.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"isCodecError.d.ts","sourceRoot":"","sources":["../../src/codecTools/isCodecError.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,KAAK,GAAG,OAAO,CAEhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isCodecError.js","sourceRoot":"","sources":["../../src/codecTools/isCodecError.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"isCodecError.js","sourceRoot":"","sources":["../../src/codecTools/isCodecError.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,SAAgB,YAAY,CAAC,GAAU;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC;AAC1D,CAAC;AAFD,oCAEC"}
|
|
@@ -7,11 +7,10 @@ export interface PartialRecordC<D extends t.Mixed, C extends t.Mixed> extends t.
|
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* Like t.record, but where the keys are all optional to include
|
|
10
|
-
*
|
|
11
10
|
* @param domain - The key type, like `'a' | 'b' | 'c'`. In this example, 0 or more of those keys would need to be present.
|
|
12
11
|
* @param codomain - The value type
|
|
13
12
|
* @param name - The optional name of the record type
|
|
14
13
|
* @returns an io-ts compatible type
|
|
15
14
|
*/
|
|
16
|
-
export declare const partialRecord: <D extends t.Mixed, C extends t.Mixed>(domain: D, codomain: C, name?: string
|
|
15
|
+
export declare const partialRecord: <D extends t.Mixed, C extends t.Mixed>(domain: D, codomain: C, name?: string) => PartialRecordC<D, C>;
|
|
17
16
|
//# sourceMappingURL=partialRecord.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partialRecord.d.ts","sourceRoot":"","sources":["../../src/codecTools/partialRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,MAAM,WAAW,cAAc,CAC7B,CAAC,SAAS,CAAC,CAAC,KAAK,EACjB,CAAC,SAAS,CAAC,CAAC,KAAK,CACjB,SAAQ,CAAC,CAAC,cAAc,CACtB,CAAC,EACD,CAAC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;CACjC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CACrC,EACD,OAAO,CACR;CAAG;AAEN
|
|
1
|
+
{"version":3,"file":"partialRecord.d.ts","sourceRoot":"","sources":["../../src/codecTools/partialRecord.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAG3B,MAAM,WAAW,cAAc,CAC7B,CAAC,SAAS,CAAC,CAAC,KAAK,EACjB,CAAC,SAAS,CAAC,CAAC,KAAK,CACjB,SAAQ,CAAC,CAAC,cAAc,CACtB,CAAC,EACD,CAAC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;CACjC,EACD;KACG,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;CACrC,EACD,OAAO,CACR;CAAG;AAEN;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,wEAGjB,MAAM,yBAMuB,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -24,7 +28,6 @@ exports.partialRecord = void 0;
|
|
|
24
28
|
const t = __importStar(require("io-ts"));
|
|
25
29
|
/**
|
|
26
30
|
* Like t.record, but where the keys are all optional to include
|
|
27
|
-
*
|
|
28
31
|
* @param domain - The key type, like `'a' | 'b' | 'c'`. In this example, 0 or more of those keys would need to be present.
|
|
29
32
|
* @param codomain - The value type
|
|
30
33
|
* @param name - The optional name of the record type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partialRecord.js","sourceRoot":"","sources":["../../src/codecTools/partialRecord.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"partialRecord.js","sourceRoot":"","sources":["../../src/codecTools/partialRecord.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,yCAA2B;AAkB3B;;;;;;GAMG;AACI,MAAM,aAAa,GAAG,CAC3B,MAAS,EACT,QAAW,EACX,IAAa,EACS,EAAE,CACxB,CAAC,CAAC,MAAM,CACN,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAC9B,QAAQ,EACR,IAAI,CAC8B,CAAC;AAT1B,QAAA,aAAa,iBASa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toJsonSchema.d.ts","sourceRoot":"","sources":["../../src/codecTools/toJsonSchema.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAuB/C
|
|
1
|
+
{"version":3,"file":"toJsonSchema.d.ts","sourceRoot":"","sources":["../../src/codecTools/toJsonSchema.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAuB/C;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,UAAW,GAAG,uBAAmB,WAiFzD,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.toJsonSchema = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Convert an io-ts codec to a JSON Schema (v7)
|
|
6
|
-
*
|
|
7
6
|
* @param _type - an io-ts codec
|
|
8
7
|
* @param strict - whether to enable strict mode
|
|
9
8
|
* @returns a JSON schema object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toJsonSchema.js","sourceRoot":"","sources":["../../src/codecTools/toJsonSchema.ts"],"names":[],"mappings":";;;AAyBA
|
|
1
|
+
{"version":3,"file":"toJsonSchema.js","sourceRoot":"","sources":["../../src/codecTools/toJsonSchema.ts"],"names":[],"mappings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
|
+
export type Enumerate<T = string, TKey extends string = string> = {
|
|
6
6
|
[key in TKey]: T;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* An enum declared in typescript. We require all values to be strings
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type TypescriptEnum = {
|
|
12
12
|
[key in string]: string;
|
|
13
13
|
} | {
|
|
14
14
|
[key in number]: string;
|
|
@@ -16,24 +16,21 @@ export declare type TypescriptEnum = {
|
|
|
16
16
|
/**
|
|
17
17
|
* An input when defining an enum can be an object of string -> string or a list of strings
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type EnumInput<T, TKey extends string = string> = Enumerate<T, TKey> | string[];
|
|
20
20
|
/**
|
|
21
21
|
* Convert a list of strings to an "enum" object
|
|
22
|
-
*
|
|
23
22
|
* @param attributes - The attributes of the enum
|
|
24
23
|
* @returns The input to become an enum
|
|
25
24
|
*/
|
|
26
25
|
export declare function listToEnum(attributes: string[]): Enumerate<string>;
|
|
27
26
|
/**
|
|
28
27
|
* Create an enum object with a proxy handler that will throw an error when a property is access that is not in the enum
|
|
29
|
-
*
|
|
30
28
|
* @param attributes - The enums to merge into a single enum (all properties)
|
|
31
29
|
* @returns The object proxy with error logger when a value is accessed outside of enum
|
|
32
30
|
*/
|
|
33
31
|
export declare function createEnum<T = string, TKey extends string = string>(...attributes: EnumInput<T, TKey>[]): Enumerate<T, TKey>;
|
|
34
32
|
/**
|
|
35
33
|
* Filter an enum and return the keys that remain
|
|
36
|
-
*
|
|
37
34
|
* @param obj - The object to filter
|
|
38
35
|
* @param filterFunc - The function to filter the enum key/values by
|
|
39
36
|
* @returns The object keys that remained
|
|
@@ -41,7 +38,6 @@ export declare function createEnum<T = string, TKey extends string = string>(...
|
|
|
41
38
|
export declare function filterEnum<T extends ObjByString>(obj: T, filterFunc: (val: T[keyof T], key: keyof T, calculatedEnum: Enumerate<T[keyof T]>) => boolean): (keyof T)[];
|
|
42
39
|
/**
|
|
43
40
|
* Make an enum compatible with types -- in separate file because Logger/enums and Enum/index circular dependency
|
|
44
|
-
*
|
|
45
41
|
* @param x - The enum
|
|
46
42
|
* @returns The object proxy with error logger when a value is accessed outside of enum
|
|
47
43
|
*/
|
package/build/enum.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../src/enum.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"enum.d.ts","sourceRoot":"","sources":["../src/enum.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,IAAI;KAC/D,GAAG,IAAI,IAAI,GAAG,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB;KAAG,GAAG,IAAI,MAAM,GAAG,MAAM;CAAE,GAC3B;KAAG,GAAG,IAAI,MAAM,GAAG,MAAM;CAAE,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,IACjD,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,GAClB,MAAM,EAAE,CAAC;AAEb;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,MAAM,CAAC,CAMlE;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,SAAS,MAAM,GAAG,MAAM,EACjE,GAAG,UAAU,EAAE,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,GAClC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAOpB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,EAC9C,GAAG,EAAE,CAAC,EACN,UAAU,EAAE,CACV,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EACf,GAAG,EAAE,MAAM,CAAC,EACZ,cAAc,EAAE,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAClC,OAAO,GACX,CAAC,MAAM,CAAC,CAAC,EAAE,CAQb;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CACtB,CAAC,SAAS;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,EAAE,CAAA;CAAE,EACtC,CAAC,SAAS,MAAM,EAChB,CAAC,EAAE,CAAC,GAAG,CAAC,CAET"}
|
package/build/enum.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.makeEnum = exports.filterEnum = exports.createEnum = exports.listToEnum = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Convert a list of strings to an "enum" object
|
|
6
|
-
*
|
|
7
6
|
* @param attributes - The attributes of the enum
|
|
8
7
|
* @returns The input to become an enum
|
|
9
8
|
*/
|
|
@@ -17,7 +16,6 @@ function listToEnum(attributes) {
|
|
|
17
16
|
exports.listToEnum = listToEnum;
|
|
18
17
|
/**
|
|
19
18
|
* Create an enum object with a proxy handler that will throw an error when a property is access that is not in the enum
|
|
20
|
-
*
|
|
21
19
|
* @param attributes - The enums to merge into a single enum (all properties)
|
|
22
20
|
* @returns The object proxy with error logger when a value is accessed outside of enum
|
|
23
21
|
*/
|
|
@@ -29,7 +27,6 @@ function createEnum(...attributes) {
|
|
|
29
27
|
exports.createEnum = createEnum;
|
|
30
28
|
/**
|
|
31
29
|
* Filter an enum and return the keys that remain
|
|
32
|
-
*
|
|
33
30
|
* @param obj - The object to filter
|
|
34
31
|
* @param filterFunc - The function to filter the enum key/values by
|
|
35
32
|
* @returns The object keys that remained
|
|
@@ -44,7 +41,6 @@ function filterEnum(obj, filterFunc) {
|
|
|
44
41
|
exports.filterEnum = filterEnum;
|
|
45
42
|
/**
|
|
46
43
|
* Make an enum compatible with types -- in separate file because Logger/enums and Enum/index circular dependency
|
|
47
|
-
*
|
|
48
44
|
* @param x - The enum
|
|
49
45
|
* @returns The object proxy with error logger when a value is accessed outside of enum
|
|
50
46
|
*/
|
package/build/enum.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../src/enum.ts"],"names":[],"mappings":";;;AAwBA
|
|
1
|
+
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../src/enum.ts"],"names":[],"mappings":";;;AAwBA;;;;GAIG;AACH,SAAgB,UAAU,CAAC,UAAoB;IAC7C,MAAM,IAAI,GAAsB,EAAE,CAAC;IACnC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QACpC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;QACf,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,IAAI,CAAC,CAAC;AACX,CAAC;AAND,gCAMC;AAED;;;;GAIG;AACH,SAAgB,UAAU,CACxB,GAAG,UAAgC;IAEnC,kCAAkC;IAClC,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CACjD,CAAC;IAEF,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,aAAa,CAAC,CAAC;AAC7C,CAAC;AATD,gCASC;AAED;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,GAAM,EACN,UAIY;IAEZ,OAAO,CACJ,MAAM,CAAC,IAAI,CAAC,GAAG,CAAiB;QAC/B,kBAAkB;SACjB,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAChD,cAAc;SACb,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,CACrB,CAAC;AACJ,CAAC;AAfD,gCAeC;AAED;;;;GAIG;AACH,SAAgB,QAAQ,CAGtB,CAAI;IACJ,OAAO,CAAC,CAAC;AACX,CAAC;AALD,4BAKC"}
|
package/build/enums.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export declare const HttpMethod: {
|
|
|
16
16
|
/**
|
|
17
17
|
* Override to cast as string
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];
|
|
20
20
|
//# sourceMappingURL=enums.d.ts.map
|
package/build/enums.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,UAAU;IACrB,oBAAoB;;IAEpB,qBAAqB;;IAErB,uBAAuB;;IAEvB,oBAAoB;;IAEpB,sBAAsB;;CAEtB,CAAC;AAEH;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,UAAU;IACrB,oBAAoB;;IAEpB,qBAAqB;;IAErB,uBAAuB;;IAEvB,oBAAoB;;IAEpB,sBAAsB;;CAEtB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
|
package/build/getEntries.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEntries.d.ts","sourceRoot":"","sources":["../src/getEntries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C
|
|
1
|
+
{"version":3,"file":"getEntries.d.ts","sourceRoot":"","sources":["../src/getEntries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,SAAS,MAAM,IAAI,EAAE,IAAI,SAAS,WAAW,EAC1E,CAAC,EAAE,IAAI,GACN,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAGtB"}
|