arktype 1.0.27-alpha → 1.1.0-dev-1
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/main.d.ts +1018 -0
- package/dist/main.js +1450 -0
- package/package.json +36 -108
- package/LICENSE +0 -7
- package/README.md +0 -351
- package/dist/cjs/main.js +0 -38
- package/dist/cjs/nodes/branch.js +0 -140
- package/dist/cjs/nodes/compose.js +0 -163
- package/dist/cjs/nodes/discriminate.js +0 -265
- package/dist/cjs/nodes/node.js +0 -139
- package/dist/cjs/nodes/predicate.js +0 -86
- package/dist/cjs/nodes/rules/class.js +0 -25
- package/dist/cjs/nodes/rules/collapsibleSet.js +0 -48
- package/dist/cjs/nodes/rules/divisor.js +0 -29
- package/dist/cjs/nodes/rules/props.js +0 -167
- package/dist/cjs/nodes/rules/range.js +0 -105
- package/dist/cjs/nodes/rules/regex.js +0 -26
- package/dist/cjs/nodes/rules/rules.js +0 -123
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/parse/ast/ast.js +0 -4
- package/dist/cjs/parse/ast/bound.js +0 -16
- package/dist/cjs/parse/ast/config.js +0 -13
- package/dist/cjs/parse/ast/distributableFunction.js +0 -48
- package/dist/cjs/parse/ast/divisor.js +0 -9
- package/dist/cjs/parse/ast/intersection.js +0 -30
- package/dist/cjs/parse/ast/keyof.js +0 -111
- package/dist/cjs/parse/ast/morph.js +0 -58
- package/dist/cjs/parse/ast/narrow.js +0 -22
- package/dist/cjs/parse/ast/node.js +0 -4
- package/dist/cjs/parse/ast/tuple.js +0 -94
- package/dist/cjs/parse/ast/union.js +0 -9
- package/dist/cjs/parse/ast/utils.js +0 -4
- package/dist/cjs/parse/definition.js +0 -61
- package/dist/cjs/parse/record.js +0 -37
- package/dist/cjs/parse/string/reduce/dynamic.js +0 -167
- package/dist/cjs/parse/string/reduce/shared.js +0 -23
- package/dist/cjs/parse/string/reduce/static.js +0 -4
- package/dist/cjs/parse/string/shift/operand/enclosed.js +0 -54
- package/dist/cjs/parse/string/shift/operand/operand.js +0 -11
- package/dist/cjs/parse/string/shift/operand/unenclosed.js +0 -53
- package/dist/cjs/parse/string/shift/operator/bounds.js +0 -87
- package/dist/cjs/parse/string/shift/operator/divisor.js +0 -35
- package/dist/cjs/parse/string/shift/operator/operator.js +0 -26
- package/dist/cjs/parse/string/shift/scanner.js +0 -114
- package/dist/cjs/parse/string/string.js +0 -43
- package/dist/cjs/scopes/ark.js +0 -45
- package/dist/cjs/scopes/cache.js +0 -52
- package/dist/cjs/scopes/expressions.js +0 -29
- package/dist/cjs/scopes/jsObjects.js +0 -93
- package/dist/cjs/scopes/scope.js +0 -323
- package/dist/cjs/scopes/tsKeywords.js +0 -113
- package/dist/cjs/scopes/type.js +0 -50
- package/dist/cjs/scopes/validation/creditCard.js +0 -47
- package/dist/cjs/scopes/validation/date.js +0 -62
- package/dist/cjs/scopes/validation/validation.js +0 -108
- package/dist/cjs/traverse/problems.js +0 -281
- package/dist/cjs/traverse/traverse.js +0 -390
- package/dist/cjs/utils/chainableNoOpProxy.js +0 -23
- package/dist/cjs/utils/data.js +0 -53
- package/dist/cjs/utils/domains.js +0 -30
- package/dist/cjs/utils/errors.js +0 -26
- package/dist/cjs/utils/freeze.js +0 -15
- package/dist/cjs/utils/generics.js +0 -63
- package/dist/cjs/utils/numericLiterals.js +0 -75
- package/dist/cjs/utils/objectKinds.js +0 -69
- package/dist/cjs/utils/paths.js +0 -32
- package/dist/cjs/utils/serialize.js +0 -74
- package/dist/cjs/utils/unionToTuple.js +0 -4
- package/dist/mjs/main.js +0 -8
- package/dist/mjs/nodes/branch.js +0 -123
- package/dist/mjs/nodes/compose.js +0 -141
- package/dist/mjs/nodes/discriminate.js +0 -250
- package/dist/mjs/nodes/node.js +0 -117
- package/dist/mjs/nodes/predicate.js +0 -69
- package/dist/mjs/nodes/rules/class.js +0 -11
- package/dist/mjs/nodes/rules/collapsibleSet.js +0 -34
- package/dist/mjs/nodes/rules/divisor.js +0 -15
- package/dist/mjs/nodes/rules/props.js +0 -149
- package/dist/mjs/nodes/rules/range.js +0 -86
- package/dist/mjs/nodes/rules/regex.js +0 -11
- package/dist/mjs/nodes/rules/rules.js +0 -106
- package/dist/mjs/package.json +0 -3
- package/dist/mjs/parse/ast/ast.js +0 -1
- package/dist/mjs/parse/ast/bound.js +0 -2
- package/dist/mjs/parse/ast/config.js +0 -9
- package/dist/mjs/parse/ast/distributableFunction.js +0 -34
- package/dist/mjs/parse/ast/divisor.js +0 -1
- package/dist/mjs/parse/ast/intersection.js +0 -16
- package/dist/mjs/parse/ast/keyof.js +0 -103
- package/dist/mjs/parse/ast/morph.js +0 -44
- package/dist/mjs/parse/ast/narrow.js +0 -14
- package/dist/mjs/parse/ast/node.js +0 -1
- package/dist/mjs/parse/ast/tuple.js +0 -80
- package/dist/mjs/parse/ast/union.js +0 -1
- package/dist/mjs/parse/ast/utils.js +0 -1
- package/dist/mjs/parse/definition.js +0 -46
- package/dist/mjs/parse/record.js +0 -29
- package/dist/mjs/parse/string/reduce/dynamic.js +0 -159
- package/dist/mjs/parse/string/reduce/shared.js +0 -6
- package/dist/mjs/parse/string/reduce/static.js +0 -1
- package/dist/mjs/parse/string/shift/operand/enclosed.js +0 -39
- package/dist/mjs/parse/string/shift/operand/operand.js +0 -3
- package/dist/mjs/parse/string/shift/operand/unenclosed.js +0 -36
- package/dist/mjs/parse/string/shift/operator/bounds.js +0 -70
- package/dist/mjs/parse/string/shift/operator/divisor.js +0 -21
- package/dist/mjs/parse/string/shift/operator/operator.js +0 -13
- package/dist/mjs/parse/string/shift/scanner.js +0 -106
- package/dist/mjs/parse/string/string.js +0 -28
- package/dist/mjs/scopes/ark.js +0 -28
- package/dist/mjs/scopes/cache.js +0 -38
- package/dist/mjs/scopes/expressions.js +0 -89
- package/dist/mjs/scopes/jsObjects.js +0 -82
- package/dist/mjs/scopes/scope.js +0 -303
- package/dist/mjs/scopes/tsKeywords.js +0 -116
- package/dist/mjs/scopes/type.js +0 -35
- package/dist/mjs/scopes/validation/creditCard.js +0 -34
- package/dist/mjs/scopes/validation/date.js +0 -48
- package/dist/mjs/scopes/validation/validation.js +0 -112
- package/dist/mjs/traverse/problems.js +0 -260
- package/dist/mjs/traverse/traverse.js +0 -373
- package/dist/mjs/utils/chainableNoOpProxy.js +0 -15
- package/dist/mjs/utils/data.js +0 -38
- package/dist/mjs/utils/domains.js +0 -15
- package/dist/mjs/utils/errors.js +0 -10
- package/dist/mjs/utils/freeze.js +0 -7
- package/dist/mjs/utils/generics.js +0 -38
- package/dist/mjs/utils/numericLiterals.js +0 -72
- package/dist/mjs/utils/objectKinds.js +0 -55
- package/dist/mjs/utils/paths.js +0 -18
- package/dist/mjs/utils/serialize.js +0 -58
- package/dist/mjs/utils/unionToTuple.js +0 -1
- package/dist/tsconfig.temp.tsbuildinfo +0 -1
- package/dist/types/main.d.ts +0 -15
- package/dist/types/nodes/branch.d.ts +0 -29
- package/dist/types/nodes/compose.d.ts +0 -98
- package/dist/types/nodes/discriminate.d.ts +0 -26
- package/dist/types/nodes/node.d.ts +0 -69
- package/dist/types/nodes/predicate.d.ts +0 -18
- package/dist/types/nodes/rules/class.d.ts +0 -4
- package/dist/types/nodes/rules/collapsibleSet.d.ts +0 -4
- package/dist/types/nodes/rules/divisor.d.ts +0 -3
- package/dist/types/nodes/rules/props.d.ts +0 -43
- package/dist/types/nodes/rules/range.d.ts +0 -34
- package/dist/types/nodes/rules/regex.d.ts +0 -5
- package/dist/types/nodes/rules/rules.d.ts +0 -33
- package/dist/types/parse/ast/ast.d.ts +0 -24
- package/dist/types/parse/ast/bound.d.ts +0 -27
- package/dist/types/parse/ast/config.d.ts +0 -15
- package/dist/types/parse/ast/distributableFunction.d.ts +0 -18
- package/dist/types/parse/ast/divisor.d.ts +0 -13
- package/dist/types/parse/ast/intersection.d.ts +0 -31
- package/dist/types/parse/ast/keyof.d.ts +0 -10
- package/dist/types/parse/ast/morph.d.ts +0 -17
- package/dist/types/parse/ast/narrow.d.ts +0 -21
- package/dist/types/parse/ast/node.d.ts +0 -35
- package/dist/types/parse/ast/tuple.d.ts +0 -41
- package/dist/types/parse/ast/union.d.ts +0 -17
- package/dist/types/parse/ast/utils.d.ts +0 -7
- package/dist/types/parse/definition.d.ts +0 -30
- package/dist/types/parse/record.d.ts +0 -26
- package/dist/types/parse/string/reduce/dynamic.d.ts +0 -34
- package/dist/types/parse/string/reduce/shared.d.ts +0 -25
- package/dist/types/parse/string/reduce/static.d.ts +0 -130
- package/dist/types/parse/string/shift/operand/enclosed.d.ts +0 -28
- package/dist/types/parse/string/shift/operand/operand.d.ts +0 -9
- package/dist/types/parse/string/shift/operand/unenclosed.d.ts +0 -18
- package/dist/types/parse/string/shift/operator/bounds.d.ts +0 -21
- package/dist/types/parse/string/shift/operator/divisor.d.ts +0 -13
- package/dist/types/parse/string/shift/operator/operator.d.ts +0 -13
- package/dist/types/parse/string/shift/scanner.d.ts +0 -89
- package/dist/types/parse/string/string.d.ts +0 -25
- package/dist/types/scopes/ark.d.ts +0 -208
- package/dist/types/scopes/cache.d.ts +0 -14
- package/dist/types/scopes/expressions.d.ts +0 -136
- package/dist/types/scopes/jsObjects.d.ts +0 -26
- package/dist/types/scopes/scope.d.ts +0 -99
- package/dist/types/scopes/tsKeywords.d.ts +0 -50
- package/dist/types/scopes/type.d.ts +0 -67
- package/dist/types/scopes/validation/creditCard.d.ts +0 -2
- package/dist/types/scopes/validation/date.d.ts +0 -23
- package/dist/types/scopes/validation/validation.d.ts +0 -49
- package/dist/types/traverse/problems.d.ts +0 -88
- package/dist/types/traverse/traverse.d.ts +0 -55
- package/dist/types/utils/chainableNoOpProxy.d.ts +0 -14
- package/dist/types/utils/data.d.ts +0 -13
- package/dist/types/utils/domains.d.ts +0 -32
- package/dist/types/utils/errors.d.ts +0 -6
- package/dist/types/utils/freeze.d.ts +0 -2
- package/dist/types/utils/generics.d.ts +0 -125
- package/dist/types/utils/numericLiterals.d.ts +0 -46
- package/dist/types/utils/objectKinds.d.ts +0 -84
- package/dist/types/utils/paths.d.ts +0 -9
- package/dist/types/utils/serialize.d.ts +0 -37
- package/dist/types/utils/unionToTuple.d.ts +0 -11
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { domainOf } from "./domains.js";
|
|
2
|
-
import { isKeyOf } from "./generics.js";
|
|
3
|
-
import { tryParseWellFormedBigint, tryParseWellFormedNumber } from "./numericLiterals.js";
|
|
4
|
-
export const snapshot = (data, opts = {})=>serializeRecurse(data, opts, []);
|
|
5
|
-
export const stringify = (data, indent)=>{
|
|
6
|
-
switch(domainOf(data)){
|
|
7
|
-
case "object":
|
|
8
|
-
return JSON.stringify(serializeRecurse(data, stringifyOpts, []), null, indent);
|
|
9
|
-
case "symbol":
|
|
10
|
-
return stringifyOpts.onSymbol(data);
|
|
11
|
-
default:
|
|
12
|
-
return serializePrimitive(data);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
const stringifyOpts = {
|
|
16
|
-
onCycle: ()=>"(cycle)",
|
|
17
|
-
onSymbol: (v)=>`(symbol${v.description && ` ${v.description}`})`,
|
|
18
|
-
onFunction: (v)=>`(function${v.name && ` ${v.name}`})`
|
|
19
|
-
};
|
|
20
|
-
const serializeRecurse = (data, context, seen)=>{
|
|
21
|
-
switch(domainOf(data)){
|
|
22
|
-
case "object":
|
|
23
|
-
if (typeof data === "function") {
|
|
24
|
-
return stringifyOpts.onFunction(data);
|
|
25
|
-
}
|
|
26
|
-
if (seen.includes(data)) {
|
|
27
|
-
return "(cycle)";
|
|
28
|
-
}
|
|
29
|
-
const nextSeen = [
|
|
30
|
-
...seen,
|
|
31
|
-
data
|
|
32
|
-
];
|
|
33
|
-
if (Array.isArray(data)) {
|
|
34
|
-
return data.map((item)=>serializeRecurse(item, context, nextSeen));
|
|
35
|
-
}
|
|
36
|
-
const result = {};
|
|
37
|
-
for(const k in data){
|
|
38
|
-
result[k] = serializeRecurse(data[k], context, nextSeen);
|
|
39
|
-
}
|
|
40
|
-
return result;
|
|
41
|
-
case "symbol":
|
|
42
|
-
return stringifyOpts.onSymbol(data);
|
|
43
|
-
case "bigint":
|
|
44
|
-
return `${data}n`;
|
|
45
|
-
case "undefined":
|
|
46
|
-
return "undefined";
|
|
47
|
-
default:
|
|
48
|
-
return data;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
export const serializePrimitive = (value)=>typeof value === "string" ? `'${value}'` : typeof value === "bigint" ? `${value}n` : `${value}`;
|
|
52
|
-
export const deserializePrimitive = (serialized)=>isKeyOf(serialized, serializedKeywords) ? serializedKeywords[serialized] : serialized[0] === "'" ? serialized.slice(1, -1) : tryParseWellFormedBigint(serialized) ?? tryParseWellFormedNumber(serialized, true);
|
|
53
|
-
const serializedKeywords = {
|
|
54
|
-
true: true,
|
|
55
|
-
false: false,
|
|
56
|
-
undefined,
|
|
57
|
-
null: null
|
|
58
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/.pnpm/typescript@5.0.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/utils/generics.ts","../src/utils/domains.ts","../src/utils/errors.ts","../src/utils/objectKinds.ts","../src/parse/ast/union.ts","../src/utils/paths.ts","../src/utils/numericLiterals.ts","../src/utils/serialize.ts","../src/parse/string/shift/scanner.ts","../src/nodes/rules/class.ts","../src/nodes/rules/divisor.ts","../src/nodes/rules/collapsibleSet.ts","../src/nodes/rules/regex.ts","../src/utils/data.ts","../src/traverse/traverse.ts","../src/nodes/rules/range.ts","../src/traverse/problems.ts","../src/parse/string/reduce/shared.ts","../src/parse/string/reduce/dynamic.ts","../src/parse/string/reduce/static.ts","../src/parse/string/shift/operand/enclosed.ts","../src/parse/string/shift/operand/unenclosed.ts","../src/parse/string/shift/operand/operand.ts","../src/parse/ast/utils.ts","../src/parse/ast/bound.ts","../src/parse/string/shift/operator/bounds.ts","../src/parse/ast/divisor.ts","../src/parse/string/shift/operator/divisor.ts","../src/parse/string/shift/operator/operator.ts","../src/parse/string/string.ts","../src/parse/ast/ast.ts","../src/parse/ast/config.ts","../src/utils/freeze.ts","../src/parse/ast/keyof.ts","../src/parse/ast/node.ts","../src/parse/ast/tuple.ts","../src/parse/record.ts","../src/parse/definition.ts","../src/parse/ast/distributableFunction.ts","../src/parse/ast/narrow.ts","../src/nodes/rules/rules.ts","../src/nodes/rules/props.ts","../src/nodes/discriminate.ts","../src/nodes/predicate.ts","../src/nodes/branch.ts","../src/parse/ast/morph.ts","../src/utils/chainableNoOpProxy.ts","../src/scopes/jsObjects.ts","../src/scopes/tsKeywords.ts","../src/scopes/validation/creditCard.ts","../src/scopes/validation/date.ts","../src/scopes/validation/validation.ts","../src/scopes/ark.ts","../src/scopes/expressions.ts","../src/scopes/type.ts","../src/nodes/compose.ts","../src/parse/ast/intersection.ts","../src/nodes/node.ts","../src/utils/unionToTuple.ts","../src/scopes/cache.ts","../src/scopes/scope.ts","../src/main.ts","../node_modules/.pnpm/@types+eslint@8.44.6/node_modules/@types/eslint/helpers.d.ts","../node_modules/.pnpm/@types+estree@1.0.4/node_modules/@types/estree/index.d.ts","../node_modules/.pnpm/@types+json-schema@7.0.14/node_modules/@types/json-schema/index.d.ts","../node_modules/.pnpm/@types+eslint@8.44.6/node_modules/@types/eslint/index.d.ts","../node_modules/.pnpm/@types+eslint-scope@3.7.6/node_modules/@types/eslint-scope/index.d.ts","../node_modules/.pnpm/@types+mocha@10.0.1/node_modules/@types/mocha/index.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/assert.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/assert/strict.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/globals.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/async_hooks.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/buffer.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/child_process.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/cluster.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/console.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/constants.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/crypto.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dgram.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dns.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dns/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/domain.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/dom-events.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/events.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/fs.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/fs/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/http.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/http2.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/https.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/inspector.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/module.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/net.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/os.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/path.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/perf_hooks.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/process.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/punycode.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/querystring.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/readline.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/readline/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/repl.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream/consumers.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/stream/web.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/string_decoder.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/test.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/timers.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/timers/promises.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/tls.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/trace_events.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/tty.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/url.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/util.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/v8.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/vm.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/wasi.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/worker_threads.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/zlib.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/globals.global.d.ts","../node_modules/.pnpm/@types+node@18.15.5/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","impliedFormat":1},{"version":"27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","impliedFormat":1},{"version":"eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec","impliedFormat":1},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true,"impliedFormat":1},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true,"impliedFormat":1},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true,"impliedFormat":1},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true,"impliedFormat":1},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true,"impliedFormat":1},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"f427107c33295b05f757c84af6b3ed9a184a6d27b8be903b97d7d6bd5851ba6a","signature":"01e3acda9132f761a9207f0f8770356261d8e0e0dda9a9981a776910628eef97","impliedFormat":99},{"version":"a9fc764ca576ab5dc775890931a6ae47131e42bc7798f0da9b17daeda9aba6ba","signature":"67a1682b88829cb51414efc89e1196c4ee4ef7e2ce133ddf0f1487dfdbebadd3","impliedFormat":99},{"version":"298ff20151357fbf49ee9316abfaeb438b881d8151a584b5ea941f7cf8ea96db","signature":"6c899e2d5db93862211380dbf7193252a2597ae7eaccacb03721f6d41e5fbafc","impliedFormat":99},{"version":"e66db6eadd2fd4622a1db452d781019445452a924de54f5fce7574f2caa6d38d","signature":"1eea6229a1aa9ee6b0931a2b3a73e871b884c1ac0c945e7a1d7a5112212fdc56","impliedFormat":99},{"version":"860a1b83205ff117a27f467efbc36d5575cd2c7ddc23543372cd9bde67f2738e","signature":"75058af7ce810718e92eaa2cac65b873b4df5d0dee92d15c1bd88847a95582d3","impliedFormat":99},{"version":"8f277d02230c4feb607630447c32eef7c4353b72062f6d2de91e34ce5a41a1a2","signature":"a8c2a4d3a4f4e3053176218696d79cc534a3cb0d3562dde035f22ab0b23140d8","impliedFormat":99},{"version":"ac97962d585c9fddf40ba4271219bacc844f4b0aa78c4ff752202af4efd501f2","signature":"107bfb90d0baad15000a51faf26f20c7db75414f0d120bc412c1873a32edc243","impliedFormat":99},{"version":"26b5d453904444137f0860fa4dc5e28ed304da42a5d3077b0a7b9df49826d06b","signature":"0b058a5e14d66f97aba5cf97836c4357a927e337e957fcbe8341f35b321061c6","impliedFormat":99},{"version":"b9039300e8f9628797c5dca93431d98990ce6dc1b8c5f559e768c2eb5161b62e","signature":"b6a7a928a33bc2c0c605f6c07349ea706e156714f376854c93e260f161d1d898","impliedFormat":99},{"version":"e7b5eb8c7b5b6d7e88a076dcbe918d1c1897488ac1fe7039c1aed1e8c9d5940c","signature":"ed9d0a3f82dfc731f97a128d21ce89cdb2f7cde1cb43e8dbbc3349c430b2fcc2","impliedFormat":99},{"version":"7af64010ef73e5aa2e4fb6baa2b4be2d88f93112537af52d9539263677503b52","signature":"6a7da644357922147d31f76178bbd04cb03561ecefe3c049e620a0997ce0347d","impliedFormat":99},{"version":"4afa5271dc68a98cd5efe2cf6eac16233d50c2936629b3fc31dc65b0b219c30a","signature":"6e6b5d15f1280b8c2606512a3d000a830bfa51475fb6eebc6195392d0d6f23a0","impliedFormat":99},{"version":"ca1859a3b9146fc08ace4e95677c4adc670ab78d37fafecb05cfc918a13c56f5","signature":"76e7afa996a6221a2043de10826997ea0f9f5f5017e40c0ac1ef03775ed000b2","impliedFormat":99},{"version":"ee585aa3a687b7eb3af4d3fe5108f3906bf80f84abc95527ab3e67c03787f07b","signature":"5041abbb7789a531cbe17f44718afeb261557c25acfe3027abea66aaefa72ecf","impliedFormat":99},{"version":"92384a0fa6342d1cde0fe865161f40288511e0f5b90ea982c87e53f41890b11f","signature":"fb97843035b04bf00ae4181956341e3d65f53503ac5e0adc68ff81478dca5779","impliedFormat":99},{"version":"a144a9f59b1d685626066ce7034dd2a6cc4fa1ed2575f41181e29a82064784e3","signature":"c6de80af179ccb3eb6a142c073d95e96e19bfc34c82656d1cae656f195bf39da","impliedFormat":99},{"version":"627264f6636686dba2546c3e21c2a490a82ff100630365b431dcd5c3c153aa8a","signature":"193d8cd7818af27c166f329168a473ffbb04576d4153490d0802236d7e86a88d","impliedFormat":99},{"version":"8d8c490df87352e86d8d7b96d9545f8092e397b7a70fea747aea4e810f749fcb","signature":"10ee05e6cd28436961fcfa8eb3184b57ca4d904381b93be2ccf755d8025bfda2","impliedFormat":99},{"version":"0dfdae7fc435949f5ef443af6b7b98c99160073e5113a1dfc0d8e181ffbd06ee","signature":"75a3c29420ec8e10698dc1403c8d99baabaed0fa981e7fe26ce909d42387b978","impliedFormat":99},{"version":"4765a050ba3716390725e68e7a5bdafcbd492d2aed2d77f752d28c685c254e95","signature":"97cb2d1fe6de7bba5749d5664e831d3951a135ac9a89387c232215a391a3ed6e","impliedFormat":99},{"version":"821c3e4f0e2b33bee62c03afcd389aea35acdb89d375d785b170ffa47912de48","signature":"b68bd09ed1f6f1fc4033eb053ebd74a59f5a3b249a2f314ba1f8162d1096d2ab","impliedFormat":99},{"version":"bee6782c0b779012d5418d370ebd79fe07ed6b23baaf144164356d10e7e315fb","signature":"03c709002f8bcadf8d1a7deb52c1d59324a604f09eca45d8c05e2b818e871a01","impliedFormat":99},{"version":"318b36ec077c0394d9f62302e5a4423ce6d4844a596305f4cff286afe1e3af0e","signature":"54a7aee24cba5cf7c10b81fbf4e1efa5c60e4afa4677a14018cfe986dc7e03fe","impliedFormat":99},{"version":"8dab4473b84d06795041bbe8d3b2b3c5fe30853f8b197121363d422bb22cff79","signature":"5f360cd4573ada12255b7211fae96034955955c8baa7de261c9a459f3d6b5f7b","impliedFormat":99},{"version":"423ace07ea054d6ec8c2734b290b28077d6bb1ee94addcdf20fa3a005bbd8873","signature":"c0c1e34064fb131101e919525c6d67783e302317c3e50d5322b03300f5b323d2","impliedFormat":99},{"version":"ed068d805cc36994ad43e5be108493bc600b91e14b46054342224de969eb7a05","signature":"596ac504fe74259aad459b0bbaf66e7e5e81906a655d20cf270225e7e17f1a4b","impliedFormat":99},{"version":"376c6fb4a5c4e99650c79671ca6d9aa91138c8d78abcb20be4f798f6fd730e04","signature":"c25d4b29a6efc687641150a51820a6b8fd568b4fb6c6c0708fbf23a47d645e33","impliedFormat":99},{"version":"1d8872925e55f788f21619635a65ef3061cbf72328a79558159fba471f4ae087","signature":"c19fb5b277995a677c4c7b1532e71963f01f592a3b603a46e3f9afa1c47e9427","impliedFormat":99},{"version":"1bc4727dd76b9c0b22adc836e331cc60071d1992243d7c8b9b8e12a97e9b4b29","signature":"e1c1fa37d2373d6b85d8bd3f8851ea8e07e082d7d151e018436cc94aa6b51cd5","impliedFormat":99},{"version":"611bc962e49a8291eb8eb4dd07b13e4da05150f93ccb71d03011b2b828056d77","signature":"8c717646863ae3419c5e308ac162a439f8a8c0c9a7bc0e6eec15101165022210","impliedFormat":99},{"version":"c3d6b8995b598439e224c37424902c425a79aabc5debb0162bbbe4fbf5087457","signature":"ad88cd4b86895380392f3b5629cf851f06ab334222bb080acc720692e31fb11e","impliedFormat":99},{"version":"54231431bd92641951d2fd0f590f28600c2bb652a9cc1e724ac1a4f074c250d0","signature":"398db90de79b6fe584c91a1cdea203b5f80950e2c55636e4c75c1eef272d4509","impliedFormat":99},{"version":"1a48de622bef37f1bc41b9c687fae3a9fbc3b2e1c6ad9ddaadebd476a2b9ad56","signature":"1d00dea8fd10e1353d249fa7f4cb9dc7f0d164141440cbb64a9a49c77273fc2a","impliedFormat":99},{"version":"96e7d024bf96e794ce63ce465eec7e1ae49bc602990640dcf1fb2806b78b8f0b","signature":"0396ec47a89ddd520cbf4ba0d7f74909a681c1e59f1f3006a63e6b0d9156bc8f","impliedFormat":99},{"version":"6596c8c7f5ee181668daa3e0324e01fcf044ce93848568202635a27a28117f4c","signature":"b4d83247fb9570afcf7b1c05729e88fd65a343a48ccbbb40104875e0618d50be","impliedFormat":99},{"version":"94b195b2cc284e5327a72888b66519fdb6d2c1556239899ea97971a59b0496d5","signature":"e6a991e9e0bf19351d1fb7b5fe8725b0c473f240d1e38e5987d6c989ec7cf798","impliedFormat":99},{"version":"278ad62fafe27f67238525520a5eb5cafd857ea0e31984932ea27592db49aae7","signature":"4d8f4db65936eed6efe28417dde460b434f7cb89680f08e783ab6fe4526cecbb","impliedFormat":99},{"version":"fd0b13641c00ed1d4a0f7d853b239b1e332111a676d15056f210dedf73af26f4","signature":"c1a7a51097b0cb6595fcf8dacdea88462ef70411582f35bd1f618ddd3e8d6bf5","impliedFormat":99},{"version":"23055304f90f9e4ac19217ebe2697de78923a60b2a9cf3cf1faacc09ad403dbd","signature":"68ff0dd0671ded0888f5f10f0370f2214795cbc82d82717569ac0d130a3f5104","impliedFormat":99},{"version":"c709fca7c57ab2d95ee81de9eb522feb628c690546fdc9970ff26b50af0097c8","signature":"9229961482bbf4f5d0de3c75f137c3ce5c56d652fbb0fc5f4f85dcb2b420c628","impliedFormat":99},{"version":"26d5781ad95ce81fa0fe5d1298bb76821e141b96df7dd0979a4a95c7e6841e09","signature":"4af1452c5a6f390e751a35eb8025b232cabad825b5ea52d53e62bd728675fd1b","impliedFormat":99},{"version":"c51d4bc1f3923dd5665f1a64c981f1f8c9cdc31defaf8633be4b09e2a32e7f75","signature":"2683eb485a57784e0d93a405d73f513352710fb794c336be027857c8cd9a4aac","impliedFormat":99},{"version":"a86e79b66cca3e9b9fa2e738c0ca74a87c52d192e640a6d6368915e0350916ca","signature":"13daaca65d16012763cf827ba1db35311fc65d13685d351a9e24af7b1d8a4c13","impliedFormat":99},{"version":"20ccb706e078fd467fdfb9ff7856fe0fcaab36259f88dbb050128c11b260b245","signature":"cd9462d2c39b7626c314d0bdbabbf56cb821d1dbe3c38711c6589c0ae2bd6750","impliedFormat":99},{"version":"bf57dbc3a8c591628a4d1992a02d417a1fd86f54402c008c604060e12e8d176c","signature":"80d870eba9799ab48096a038626b44d16183338240e49bff42a89579200d8164","impliedFormat":99},{"version":"f6af6e7a87045153987d170aa2c2befe58070281bb3ddf96914f856564b09c5e","signature":"5e9ef3dfc87f8188f8c0785c7fd99cbf073c6912c0d36c8d5dd9b6de7aadeada","impliedFormat":99},{"version":"f2e138786334ddd1ec5511d155cc047a0268826ec4a46ad5eaeed266c14b9a67","signature":"20fb8ef597daef72b735f5beada63f3f15f81684f9468014706841d97bdbca0d","impliedFormat":99},{"version":"ce3b2a8d17782aa110b47bb33798f4a252577906d0446bf6eb304d008bb00f35","signature":"c143e3d66c37d8709c8fb0abf72d989486e8e6e9e6bbdcb7a53025e063052b15","impliedFormat":99},{"version":"6306ca8063343309f484b995f1f65e594eb9e6d13d480f7b944d7acc8eccabce","signature":"d122a312b0599357af742dc574cd026b5e167ff3929e6c5096227580d8f1dceb","impliedFormat":99},{"version":"1dfca13f9527d0c42cd8237ff0574fea2c8978cf4830677694f056f63da6e8ad","signature":"64137c63cbe0c8e80cb17733b0d9bc26abfa83a56a73c8590a36b75f6afa1545","impliedFormat":99},{"version":"61a0068a80730d148bcecb3fe44e57fe688dbd2a2adafa18f1cbfebd65c2159e","signature":"bf99f0eea710b83eca89a98035a8f69dfdfbfed98e4275ac155a73a5753b4770","impliedFormat":99},{"version":"d4d15da2b3b31b397c7597a541f3ba65886cece35fdf627bf6500dfff8d48cbc","signature":"46ab191ab39730285c7e36348e0f2ebacc9d9da879d4c589ac42b1fe8d1c494e","impliedFormat":99},{"version":"694bd48c28e1baad1acea3418337ad8e00a2f1560114c4c23c9300b0b43dc761","signature":"ed5742c685fddc455f4bb9768f6014b6d9a0c9c2eb9a82dc793f888a38649fda","impliedFormat":99},{"version":"dc4bf8feb98167a027208383c76c2e8ddde72b4dc1d27769e9ace1e8296a6ba2","signature":"017ce8c7e441bf7cdb2fda7c0a870d307697fdfcebcf63f41c79e621a3acc45b","impliedFormat":99},{"version":"e831f10a8fa7d0cda160a843a20696ccf884f2f477701c4e965bdad6c2d392d0","signature":"843a87cef66fd2e5690f551130e37aadb92e8ac80518ad3a01b261d179efcf23","impliedFormat":99},{"version":"fa570add0d9caa37f68442a3a6adf1eab51464df245566e9c6b724c9a26ed22f","signature":"36f71b4cd72f15515b2404af3206e9471a8ccc77b103dee548023c30320d375b","impliedFormat":99},{"version":"fe89dee3dee44ed3ce61175727bbbbb3400135cdf55f2889624ed1b73f4b984a","signature":"d45fa104e777e322d2f434fc41d723139ef322343e33fdc4bdca65ef4370223d","impliedFormat":99},{"version":"2348d73476d802ae09b643adb2c1785ae91f4405e8e5a9b044af1fc681158f8e","signature":"5e1eca4753c110929fbcbd17985a938bc9ecab11485f59ef9309b9b0493657ea","impliedFormat":99},{"version":"bf651b7173fa5e362b1a63e20ec0f904637d917161c63e5b7503e450e6427d35","signature":"328f47677471a1ba3ad90ec71e004cdc4230fd4b3f4dbe3f6d4431be050559ee","impliedFormat":99},{"version":"ddb88ef1b6aa9d1d8c24cc337e29ca2c4214feb6f88bae8f0bf5e4f8e1627ea0","signature":"7fd87b34dc4963ef98d9f8d0a4e3fe48fab76e1256ae1b8643df32bf07d5a722","impliedFormat":99},{"version":"384d4a5f98691bc03ba792a986e2547921e7c854fbd7211aa579868241fdf410","signature":"d5c2c2d8391fe2617fd7a88886200be8a502da8226a9f2903a84eb451082a904","impliedFormat":99},{"version":"bbf164a88ceb312f8092befb132de430948000310518d35c9d16b1fb87595146","signature":"1b03e700a0e2ec6c30a9a35c9fa0d946782e7e278fd2259d23bb1234ced102f7","impliedFormat":99},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true,"impliedFormat":1},{"version":"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"df95e00612c1faa5e0e7ef0dba589b18665bbeb3221db2b6cee1fe4d0e61921f","impliedFormat":1},{"version":"1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe","impliedFormat":1},{"version":"677646e2620795c98a539fb12fb531f10331c217cef1492132b2518f894fa92d","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"54ba7456adb777a685250cd144115ea51379784012ba1311255b715c6bdcff2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f","impliedFormat":1},{"version":"e193e634a99c9c1d71f1c6e4e1567a4a73584328d21ea02dd5cddbaad6693f61","affectsGlobalScope":true,"impliedFormat":1},{"version":"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","impliedFormat":1},{"version":"f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true,"impliedFormat":1},{"version":"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","impliedFormat":1},{"version":"04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"7d55d78cd47cf5280643b53434b16c2d9d11d144126932759fbdd51da525eec4","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"09326ae5f7e3d49be5cd9ea00eb814770e71870a438faa2efd8bdd9b4db21320","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true,"impliedFormat":1},{"version":"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","impliedFormat":1},{"version":"ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8d555f3d607ecaa18d55de6995ea8f206342ecc93305919eac945c7c78c78c6","impliedFormat":1}],"root":[[60,121]],"options":{"composite":true,"emitDeclarationOnly":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":99,"noErrorTruncation":false,"outDir":"./","skipLibCheck":true,"strict":true,"target":99},"fileIdsList":[[123,125,174],[174],[122,123,124,174],[128,174],[131,174],[132,137,165,174],[133,144,145,152,162,173,174],[133,134,144,152,174],[135,174],[136,137,145,153,174],[137,162,170,174],[138,140,144,152,174],[139,174],[140,141,174],[144,174],[142,144,174],[144,145,146,162,173,174],[144,145,146,159,162,165,174],[174,178],[140,147,152,162,173,174],[144,145,147,148,152,162,170,173,174],[147,149,162,170,173,174],[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180],[144,150,174],[151,173,174],[140,144,152,162,174],[153,174],[154,174],[131,155,174],[156,172,174,178],[157,174],[158,174],[144,159,160,174],[159,161,174,176],[132,144,162,163,164,165,174],[132,162,164,174],[162,163,174],[165,174],[166,174],[144,168,169,174],[168,169,174],[137,152,162,170,174],[171,174],[152,172,174],[132,147,158,173,174],[137,174],[162,174,175],[174,176],[174,177],[132,137,144,146,155,162,173,174,176,178],[162,174,179],[76,84,86,91,97,107,108,111,112,113,114,117,120,174],[60,61,62,100,103,105,114,115,116,117,174],[60,61,62,63,65,67,75,100,104,114,174],[60,61,62,63,64,65,67,101,104,115,117,120,174],[60,61,62,65,97,100,101,102,103,104,114,115,116,174],[60,61,63,100,102,104,114,115,117,174],[60,63,74,115,174],[60,115,174],[74,115,174],[60,100,114,115,117,174],[60,68,73,74,100,115,174],[60,71,74,115,174],[60,61,69,70,71,72,75,99,101,115,117,174],[60,64,66,68,80,84,86,89,116,120,174],[60,66,68,73,83,90,174],[95,97,114,174],[60,61,62,67,97,100,117,174],[60,83,90,174],[60,65,105,115,174],[60,61,62,63,66,67,92,95,97,100,101,103,104,116,174],[60,61,62,63,67,74,76,95,97,104,114,117,174],[61,76,95,97,98,114,117,174],[60,61,63,90,100,101,103,104,117,174],[60,61,62,64,68,81,91,93,94,97,99,101,105,116,117,174],[60,61,63,114,174],[60,68,90,174],[60,61,62,63,65,67,89,90,95,96,114,117,174],[60,68,97,101,117,174],[60,62,67,68,75,77,97,117,174],[66,68,75,174],[60,66,68,75,77,174],[60,68,72,78,79,174],[60,68,78,79,80,81,174],[60,66,68,78,79,117,174],[60,62,66,68,75,77,78,79,84,115,117,174],[60,66,68,78,79,86,174],[60,62,68,78,79,85,87,174],[60,174],[60,68,78,79,82,88,90,97,117,174],[107,108,111,114,120,174],[92,174],[60,95,97,98,99,105,112,114,174],[63,120,121,174],[60,62,65,76,91,92,97,106,112,113,114,117,118,119,174],[61,97,120,174],[60,63,74,76,97,105,106,113,117,120,174],[120,174],[108,120,174],[66,108,109,110,120,174],[60,61,63,65,66,67,68,73,74,75,174],[60,61,62,63,65,66,69,70,72,73,75,76,100,101,102,114,117,120,174],[61,67,174],[61,174],[62,174],[60,61,174],[60,61,66,174],[60,65,174],[76,84,86,91,97,107,108,111,112,113,114,117,120],[60,61,100,103,105,114,115,117],[60,61,63,65,75,100,104,114],[60,61,63,65,67,104,117],[60,61,97,100,102,103,104,114,115],[60,61,100,104,114,115,117],[60,74,115],[60,115],[74,115],[60,100,115,117],[60,68,74,100,115],[60,61,75,99,101,115,117],[60,64,66,68,80,84,86,89,116,120],[60,66,68,73,83,90],[95,97,114],[60,61,97,100,117],[60,83,90],[60,65,105,115],[60,95,97,116],[74,76,95,97,114],[61,76,95,97,98,114],[60,61,63,90,100,101,103,104,117],[60,64,68,81,91,93,94,97,99,105,116,117],[60,61,63,114],[60,68,90],[60,61,63,65,89,90,95,96,114,117],[60,68,97,117],[68,75,97,117],[66,68,75],[60,66,68,75,77],[60,68,78,79],[60,68,78,79,80,81],[60,66,68,78,79],[60,66,68,75,77,78,79],[60,68,78,79,85,87],[60],[60,68,78,79,82,88,90,97,117],[114,120],[60,95,97,98,99,105,112,114],[120],[60,76,91,97,112,113,114,117,118,119],[60,63,74,76,97,105,113,117,120],[114],[60,61,63,65,73,74,75],[60,65,73,76,101,114,117,120],[61],[60,61,66],[60,65]],"referencedMap":[[126,1],[122,2],[125,3],[123,2],[124,2],[127,2],[128,4],[129,4],[131,5],[132,6],[133,7],[134,8],[135,9],[136,10],[137,11],[138,12],[139,13],[140,14],[141,14],[143,15],[142,16],[144,15],[145,17],[146,18],[130,19],[180,2],[147,20],[148,21],[149,22],[181,23],[150,24],[151,25],[152,26],[153,27],[154,28],[155,29],[156,30],[157,31],[158,32],[159,33],[160,33],[161,34],[162,35],[164,36],[163,37],[165,38],[166,39],[167,2],[168,40],[169,41],[170,42],[171,43],[172,44],[173,45],[174,46],[175,47],[176,48],[177,49],[178,50],[179,51],[58,2],[59,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[36,2],[33,2],[34,2],[35,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[8,2],[48,2],[45,2],[46,2],[47,2],[49,2],[9,2],[50,2],[51,2],[52,2],[55,2],[53,2],[54,2],[56,2],[10,2],[1,2],[11,2],[57,2],[121,52],[104,53],[115,54],[102,55],[117,56],[103,57],[69,58],[71,59],[70,60],[101,61],[75,62],[72,63],[100,64],[90,65],[84,66],[91,67],[98,68],[86,69],[116,70],[93,71],[105,72],[99,73],[94,74],[95,75],[64,76],[83,77],[97,78],[96,79],[78,80],[77,81],[79,82],[80,83],[82,84],[81,85],[85,86],[87,87],[88,88],[68,89],[89,90],[112,91],[119,92],[113,93],[107,94],[120,95],[108,96],[114,97],[109,98],[110,99],[111,100],[76,101],[74,102],[106,2],[73,103],[61,89],[62,2],[92,89],[60,104],[66,105],[63,106],[65,89],[67,107],[118,108]],"exportedModulesMap":[[126,1],[122,2],[125,3],[123,2],[124,2],[127,2],[128,4],[129,4],[131,5],[132,6],[133,7],[134,8],[135,9],[136,10],[137,11],[138,12],[139,13],[140,14],[141,14],[143,15],[142,16],[144,15],[145,17],[146,18],[130,19],[180,2],[147,20],[148,21],[149,22],[181,23],[150,24],[151,25],[152,26],[153,27],[154,28],[155,29],[156,30],[157,31],[158,32],[159,33],[160,33],[161,34],[162,35],[164,36],[163,37],[165,38],[166,39],[167,2],[168,40],[169,41],[170,42],[171,43],[172,44],[173,45],[174,46],[175,47],[176,48],[177,49],[178,50],[179,51],[58,2],[59,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[36,2],[33,2],[34,2],[35,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[8,2],[48,2],[45,2],[46,2],[47,2],[49,2],[9,2],[50,2],[51,2],[52,2],[55,2],[53,2],[54,2],[56,2],[10,2],[1,2],[11,2],[57,2],[121,109],[104,110],[115,111],[102,112],[117,113],[103,114],[69,115],[71,116],[70,117],[101,118],[75,119],[72,115],[100,120],[90,121],[84,122],[91,123],[98,124],[86,125],[116,126],[93,127],[105,128],[99,129],[94,130],[95,131],[64,132],[83,133],[97,134],[96,135],[78,136],[77,137],[79,138],[80,139],[82,140],[81,141],[85,142],[87,141],[88,143],[68,144],[89,145],[112,146],[113,147],[107,148],[120,149],[108,148],[114,150],[109,151],[110,151],[111,148],[76,152],[74,153],[73,154],[61,144],[92,144],[63,144],[65,144],[67,155],[118,156]],"semanticDiagnosticsPerFile":[126,122,125,123,124,127,128,129,131,132,133,134,135,136,137,138,139,140,141,143,142,144,145,146,130,180,147,148,149,181,150,151,152,153,154,155,156,157,158,159,160,161,162,164,163,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,58,59,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,55,53,54,56,10,1,11,57,121,104,115,102,117,103,69,71,70,101,75,72,100,90,84,91,98,86,116,93,105,99,94,95,64,83,97,96,78,77,79,80,82,81,85,87,88,68,89,112,119,113,107,120,108,114,109,110,111,76,74,106,73,61,62,92,60,66,63,65,67,118],"latestChangedDtsFile":"./src/main.d.ts"},"version":"5.0.3"}
|
package/dist/types/main.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { scope } from "./scopes/scope.js";
|
|
2
|
-
export { type, ark, arkScope } from "./scopes/ark.js";
|
|
3
|
-
export type { PrecompiledDefaults } from "./scopes/ark.js";
|
|
4
|
-
export type { Infer, validateDefinition, inferDefinition } from "./parse/definition.js";
|
|
5
|
-
export type { Scope, Space } from "./scopes/scope.js";
|
|
6
|
-
export { arrayOf, instanceOf, intersection, keyOf, morph, narrow, union, valueOf } from "./scopes/expressions.js";
|
|
7
|
-
export { jsObjectsScope } from "./scopes/jsObjects.js";
|
|
8
|
-
export { tsKeywordsScope } from "./scopes/tsKeywords.js";
|
|
9
|
-
export { validationScope } from "./scopes/validation/validation.js";
|
|
10
|
-
export type { Type } from "./scopes/type.js";
|
|
11
|
-
export { Problems, Problem } from "./traverse/problems.js";
|
|
12
|
-
export { parseConfigTuple } from "./parse/ast/config.js";
|
|
13
|
-
export type { validateBound } from "./parse/ast/bound.js";
|
|
14
|
-
export type { validateDivisor } from "./parse/ast/divisor.js";
|
|
15
|
-
export type { ResolvedNode } from "./nodes/node.js";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Morph } from "../parse/ast/morph.js";
|
|
2
|
-
import type { TypeConfig } from "../scopes/type.js";
|
|
3
|
-
import type { Domain } from "../utils/domains.js";
|
|
4
|
-
import type { CollapsibleList, Dict } from "../utils/generics.js";
|
|
5
|
-
import type { IntersectionState, Intersector } from "./compose.js";
|
|
6
|
-
import type { FlattenContext } from "./node.js";
|
|
7
|
-
import type { PredicateComparison } from "./predicate.js";
|
|
8
|
-
import type { Rules } from "./rules/rules.js";
|
|
9
|
-
export type Branch<domain extends Domain = Domain, $ = Dict> = Rules<domain, $> | MetaBranch<domain, $>;
|
|
10
|
-
export type MetaBranch<domain extends Domain = Domain, $ = Dict> = {
|
|
11
|
-
rules: Rules<domain, $>;
|
|
12
|
-
morph?: CollapsibleList<Morph>;
|
|
13
|
-
config?: TypeConfig;
|
|
14
|
-
};
|
|
15
|
-
export type Branches = readonly Branch[];
|
|
16
|
-
export type MorphEntry = ["morph", Morph];
|
|
17
|
-
export declare const isBranchComparison: (comparison: PredicateComparison) => comparison is BranchesComparison;
|
|
18
|
-
export type BranchesComparison = {
|
|
19
|
-
lBranches: Branches;
|
|
20
|
-
rBranches: Branches;
|
|
21
|
-
lExtendsR: number[];
|
|
22
|
-
rExtendsL: number[];
|
|
23
|
-
equalities: [lIndex: number, rIndex: number][];
|
|
24
|
-
distinctIntersections: Branches;
|
|
25
|
-
};
|
|
26
|
-
export declare const compareBranches: (lConditions: Branches, rConditions: Branches, state: IntersectionState) => BranchesComparison;
|
|
27
|
-
export declare const isTransformationBranch: (branch: Branch) => branch is MetaBranch<Domain, Dict>;
|
|
28
|
-
export declare const flattenBranch: (branch: Branch, ctx: FlattenContext) => import("./node.js").TraversalEntry[];
|
|
29
|
-
export declare const branchIntersection: Intersector<Branch>;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import type { Type } from "../scopes/type.js";
|
|
2
|
-
import type { Domain } from "../utils/domains.js";
|
|
3
|
-
import type { constructor, Dict, extend } from "../utils/generics.js";
|
|
4
|
-
import type { DefaultObjectKind } from "../utils/objectKinds.js";
|
|
5
|
-
import { Path } from "../utils/paths.js";
|
|
6
|
-
import type { Branches } from "./branch.js";
|
|
7
|
-
import type { Range } from "./rules/range.js";
|
|
8
|
-
import type { LiteralRules, NarrowableRules } from "./rules/rules.js";
|
|
9
|
-
export type Intersector<t> = (l: t, r: t, state: IntersectionState) => IntersectionResult<t>;
|
|
10
|
-
type allowUndefinedOperands<f extends Intersector<any>> = f extends Intersector<infer operand> ? Intersector<operand | undefined> : never;
|
|
11
|
-
export declare const composeIntersection: <t, reducer extends Intersector<t> = Intersector<t>>(reducer: reducer) => allowUndefinedOperands<reducer>;
|
|
12
|
-
export declare const undefinedOperandsMessage = "Unexpected operation two undefined operands";
|
|
13
|
-
export type IntersectionResult<t> = t | Empty | Equal;
|
|
14
|
-
export type DisjointKinds = extend<Record<string, {
|
|
15
|
-
l: unknown;
|
|
16
|
-
r: unknown;
|
|
17
|
-
}>, {
|
|
18
|
-
domain: {
|
|
19
|
-
l: Domain[];
|
|
20
|
-
r: Domain[];
|
|
21
|
-
};
|
|
22
|
-
range: {
|
|
23
|
-
l: Range;
|
|
24
|
-
r: Range;
|
|
25
|
-
};
|
|
26
|
-
tupleLength: {
|
|
27
|
-
l: number;
|
|
28
|
-
r: number;
|
|
29
|
-
};
|
|
30
|
-
class: {
|
|
31
|
-
l: DefaultObjectKind | constructor;
|
|
32
|
-
r: DefaultObjectKind | constructor;
|
|
33
|
-
};
|
|
34
|
-
value: {
|
|
35
|
-
l: unknown;
|
|
36
|
-
r: unknown;
|
|
37
|
-
};
|
|
38
|
-
leftAssignability: {
|
|
39
|
-
l: LiteralRules;
|
|
40
|
-
r: NarrowableRules;
|
|
41
|
-
};
|
|
42
|
-
rightAssignability: {
|
|
43
|
-
l: NarrowableRules;
|
|
44
|
-
r: LiteralRules;
|
|
45
|
-
};
|
|
46
|
-
union: {
|
|
47
|
-
l: Branches;
|
|
48
|
-
r: Branches;
|
|
49
|
-
};
|
|
50
|
-
}>;
|
|
51
|
-
export declare const disjointDescriptionWriters: {
|
|
52
|
-
domain: ({ l, r }: DisjointContext<"domain">) => string;
|
|
53
|
-
range: ({ l, r }: DisjointContext<"range">) => string;
|
|
54
|
-
class: ({ l, r }: DisjointContext<"class">) => string;
|
|
55
|
-
tupleLength: ({ l, r }: DisjointContext<"tupleLength">) => string;
|
|
56
|
-
value: ({ l, r }: DisjointContext<"value">) => string;
|
|
57
|
-
leftAssignability: ({ l, r }: DisjointContext<"leftAssignability">) => string;
|
|
58
|
-
rightAssignability: ({ l, r }: DisjointContext<"rightAssignability">) => string;
|
|
59
|
-
union: ({ l, r }: DisjointContext<"union">) => string;
|
|
60
|
-
};
|
|
61
|
-
export declare const stringifyRange: (range: Range) => string;
|
|
62
|
-
export type DisjointKind = keyof DisjointKinds;
|
|
63
|
-
export declare class IntersectionState {
|
|
64
|
-
#private;
|
|
65
|
-
type: Type;
|
|
66
|
-
lastOperator: "|" | "&";
|
|
67
|
-
path: Path;
|
|
68
|
-
lOptional: boolean;
|
|
69
|
-
rOptional: boolean;
|
|
70
|
-
domain: Domain | undefined;
|
|
71
|
-
constructor(type: Type, lastOperator: "|" | "&");
|
|
72
|
-
get disjoints(): Readonly<DisjointsByPath>;
|
|
73
|
-
addDisjoint<kind extends DisjointKind>(kind: kind, l: DisjointKinds[kind]["l"], r: DisjointKinds[kind]["r"]): Empty;
|
|
74
|
-
}
|
|
75
|
-
export type DisjointsByPath = Record<string, DisjointContext>;
|
|
76
|
-
export type DisjointContext<kind extends DisjointKind = DisjointKind> = {
|
|
77
|
-
kind: kind;
|
|
78
|
-
lOptional: boolean;
|
|
79
|
-
rOptional: boolean;
|
|
80
|
-
} & DisjointKinds[kind];
|
|
81
|
-
declare const empty: unique symbol;
|
|
82
|
-
export type Empty = typeof empty;
|
|
83
|
-
export declare const anonymousDisjoint: () => Empty;
|
|
84
|
-
export declare const isDisjoint: (result: unknown) => result is typeof empty;
|
|
85
|
-
declare const equal: unique symbol;
|
|
86
|
-
export type Equal = typeof equal;
|
|
87
|
-
export declare const equality: () => Equal;
|
|
88
|
-
export declare const isEquality: (result: unknown) => result is typeof equal;
|
|
89
|
-
export type IntersectionReducerMap<root extends Dict> = {
|
|
90
|
-
[k in keyof root]-?: Intersector<root[k]>;
|
|
91
|
-
};
|
|
92
|
-
export type KeyIntersectionFn<root extends Dict> = <key extends keyof root>(key: key, l: root[key], r: root[key], state: IntersectionState) => IntersectionResult<root[key]>;
|
|
93
|
-
export type IntersectionReducer<root extends Dict> = KeyIntersectionFn<root> | IntersectionReducerMap<root>;
|
|
94
|
-
export type KeyedOperationConfig = {
|
|
95
|
-
onEmpty: "omit" | "bubble";
|
|
96
|
-
};
|
|
97
|
-
export declare const composeKeyedIntersection: <root extends Dict>(reducer: IntersectionReducer<root>, config: KeyedOperationConfig) => Intersector<root>;
|
|
98
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { Domain } from "../utils/domains.js";
|
|
2
|
-
import type { evaluate } from "../utils/generics.js";
|
|
3
|
-
import type { DefaultObjectKind } from "../utils/objectKinds.js";
|
|
4
|
-
import { Path } from "../utils/paths.js";
|
|
5
|
-
import type { SerializedPrimitive } from "../utils/serialize.js";
|
|
6
|
-
import type { Branches } from "./branch.js";
|
|
7
|
-
import type { FlattenContext, TraversalEntry, TraversalValue } from "./node.js";
|
|
8
|
-
export type DiscriminatedSwitch<kind extends DiscriminantKind = DiscriminantKind> = {
|
|
9
|
-
readonly path: Path;
|
|
10
|
-
readonly kind: kind;
|
|
11
|
-
readonly cases: DiscriminatedCases<kind>;
|
|
12
|
-
};
|
|
13
|
-
export type DiscriminatedCases<kind extends DiscriminantKind = DiscriminantKind> = {
|
|
14
|
-
[caseKey in CaseKey<kind>]?: TraversalEntry[];
|
|
15
|
-
};
|
|
16
|
-
export type CaseKey<kind extends DiscriminantKind = DiscriminantKind> = DiscriminantKind extends kind ? string : DiscriminantKinds[kind] | "default";
|
|
17
|
-
export declare const flattenBranches: (branches: Branches, ctx: FlattenContext) => TraversalEntry[];
|
|
18
|
-
export type QualifiedDisjoint = `${DiscriminantKind}` | `${string}/${DiscriminantKind}`;
|
|
19
|
-
export type DiscriminantKinds = {
|
|
20
|
-
domain: Domain;
|
|
21
|
-
class: DefaultObjectKind;
|
|
22
|
-
value: SerializedPrimitive;
|
|
23
|
-
};
|
|
24
|
-
export type DiscriminantKind = evaluate<keyof DiscriminantKinds>;
|
|
25
|
-
export declare const serializeDefinitionIfAllowed: <kind extends DiscriminantKind>(kind: kind, definition: TraversalValue<kind>) => string | undefined;
|
|
26
|
-
export declare const serializeCase: <kind extends DiscriminantKind>(kind: kind, data: unknown) => "default" | DiscriminantKinds[kind];
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import type { ParseContext } from "../parse/definition.js";
|
|
2
|
-
import type { Type, TypeConfig } from "../scopes/type.js";
|
|
3
|
-
import type { Domain, inferDomain } from "../utils/domains.js";
|
|
4
|
-
import type { defined, Dict, entryOf, stringKeyOf } from "../utils/generics.js";
|
|
5
|
-
import type { MorphEntry } from "./branch.js";
|
|
6
|
-
import type { Intersector } from "./compose.js";
|
|
7
|
-
import type { DiscriminatedSwitch } from "./discriminate.js";
|
|
8
|
-
import type { Predicate } from "./predicate.js";
|
|
9
|
-
import type { LiteralRules, RuleEntry } from "./rules/rules.js";
|
|
10
|
-
export type Node<$ = Dict> = Identifier<$> | ResolvedNode<$>;
|
|
11
|
-
export type Identifier<$ = Dict> = stringKeyOf<$>;
|
|
12
|
-
/**
|
|
13
|
-
* @operator {@link ResolvedNode | node}
|
|
14
|
-
* @docgenTable
|
|
15
|
-
* @tuple ["node", nodeDefinition]
|
|
16
|
-
* @helper type.from(nodeDefinition)
|
|
17
|
-
*/
|
|
18
|
-
export type ResolvedNode<$ = Dict> = TypeNode<$> | ConfigNode<$>;
|
|
19
|
-
export type ConfigNode<$ = Dict> = {
|
|
20
|
-
config: TypeConfig;
|
|
21
|
-
node: TypeNode<$>;
|
|
22
|
-
};
|
|
23
|
-
export declare const isConfigNode: (node: ResolvedNode) => node is ConfigNode<Dict>;
|
|
24
|
-
export type TypeNode<$ = Dict> = {
|
|
25
|
-
readonly [domain in Domain]?: Predicate<domain, $>;
|
|
26
|
-
};
|
|
27
|
-
export declare const nodeIntersection: Intersector<Node>;
|
|
28
|
-
export declare const rootIntersection: (l: Node, r: Node, type: Type) => Node;
|
|
29
|
-
export declare const rootUnion: (l: Node, r: Node, type: Type) => ResolvedNode;
|
|
30
|
-
export type TraversalNode = Domain | TraversalEntry[];
|
|
31
|
-
export type TraversalKey = TraversalEntry[0];
|
|
32
|
-
export type TraversalValue<k extends TraversalKey> = Extract<TraversalEntry, [
|
|
33
|
-
k,
|
|
34
|
-
unknown
|
|
35
|
-
]>[1];
|
|
36
|
-
export type TraversalEntry = RuleEntry | DomainsEntry | MorphEntry | AliasEntry | DomainEntry | BranchesEntry | SwitchEntry | TraversalConfigEntry;
|
|
37
|
-
export type AliasEntry = ["alias", string];
|
|
38
|
-
export type ConfigEntry = entryOf<TypeConfig>;
|
|
39
|
-
export type TraversalConfigEntry = [
|
|
40
|
-
"config",
|
|
41
|
-
{
|
|
42
|
-
config: ConfigEntry[];
|
|
43
|
-
node: TraversalNode;
|
|
44
|
-
}
|
|
45
|
-
];
|
|
46
|
-
export type DomainEntry = ["domain", Domain];
|
|
47
|
-
export type DomainsEntry = [
|
|
48
|
-
"domains",
|
|
49
|
-
{
|
|
50
|
-
readonly [domain in Domain]?: TraversalEntry[];
|
|
51
|
-
}
|
|
52
|
-
];
|
|
53
|
-
export type BranchesEntry = ["branches", TraversalEntry[][]];
|
|
54
|
-
export type SwitchEntry = ["switch", DiscriminatedSwitch];
|
|
55
|
-
export type FlattenContext = ParseContext & {
|
|
56
|
-
lastDomain: Domain;
|
|
57
|
-
};
|
|
58
|
-
export declare const flattenType: (type: Type) => TraversalNode;
|
|
59
|
-
export declare const flattenNode: (node: Node, ctx: FlattenContext) => TraversalNode;
|
|
60
|
-
export declare const flattenTypeNode: (node: TypeNode, ctx: FlattenContext) => TraversalNode;
|
|
61
|
-
export type LiteralNode<domain extends Domain = Domain, value extends inferDomain<domain> = inferDomain<domain>> = {
|
|
62
|
-
[k in domain]: LiteralRules<domain, value>;
|
|
63
|
-
};
|
|
64
|
-
export declare const isLiteralNode: <domain extends Domain>(node: ResolvedNode, domain: domain) => node is LiteralNode<domain, inferDomain<domain>>;
|
|
65
|
-
export type DomainSubtypeResolution<domain extends Domain> = {
|
|
66
|
-
readonly [k in domain]: defined<TypeNode[domain]>;
|
|
67
|
-
};
|
|
68
|
-
export declare const resolutionExtendsDomain: <domain extends Domain>(resolution: ResolvedNode, domain: domain) => resolution is DomainSubtypeResolution<domain>;
|
|
69
|
-
export declare const toArrayNode: (node: Node) => ResolvedNode;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Type } from "../scopes/type.js";
|
|
2
|
-
import type { Domain } from "../utils/domains.js";
|
|
3
|
-
import type { CollapsibleList, Dict } from "../utils/generics.js";
|
|
4
|
-
import type { Branch, BranchesComparison } from "./branch.js";
|
|
5
|
-
import type { IntersectionResult, KeyIntersectionFn } from "./compose.js";
|
|
6
|
-
import { IntersectionState } from "./compose.js";
|
|
7
|
-
import type { FlattenContext, TraversalEntry, TypeNode } from "./node.js";
|
|
8
|
-
import type { LiteralRules } from "./rules/rules.js";
|
|
9
|
-
/** If scope is provided, we also narrow each predicate to match its domain.
|
|
10
|
-
* Otherwise, we use a base predicate for all types, which is easier to
|
|
11
|
-
* manipulate.*/
|
|
12
|
-
export type Predicate<domain extends Domain = Domain, $ = Dict> = string extends keyof $ ? true | CollapsibleList<Branch> : true | CollapsibleList<Branch<domain, $>>;
|
|
13
|
-
export type PredicateComparison = IntersectionResult<Predicate> | BranchesComparison;
|
|
14
|
-
export declare const comparePredicates: (l: Predicate, r: Predicate, context: IntersectionState) => PredicateComparison;
|
|
15
|
-
export declare const predicateIntersection: KeyIntersectionFn<Required<TypeNode>>;
|
|
16
|
-
export declare const predicateUnion: (domain: Domain, l: Predicate, r: Predicate, type: Type) => true | import("./rules/rules.js").NarrowableRules<Dict> | LiteralRules<Domain, unknown> | import("./branch.js").MetaBranch<Domain, Dict> | readonly Branch[];
|
|
17
|
-
export declare const flattenPredicate: (predicate: Predicate, context: FlattenContext) => TraversalEntry[];
|
|
18
|
-
export declare const isLiteralCondition: (predicate: Predicate) => predicate is LiteralRules;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { EntryChecker } from "../../traverse/traverse.js";
|
|
2
|
-
import type { constructor } from "../../utils/generics.js";
|
|
3
|
-
export declare const classIntersection: import("../compose.js").Intersector<constructor | undefined>;
|
|
4
|
-
export declare const checkClass: EntryChecker<"class">;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CollapsibleList, List } from "../../utils/generics.js";
|
|
2
|
-
import type { Equal } from "../compose.js";
|
|
3
|
-
export declare const collapsibleListUnion: <t>(l: CollapsibleList<t>, r: CollapsibleList<t>) => CollapsibleList<t> | Equal;
|
|
4
|
-
export declare const listUnion: <t extends List>(l: t, r: t) => t[number][];
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { Dict } from "../../utils/generics.js";
|
|
2
|
-
import type { Node, TraversalNode } from "../node.js";
|
|
3
|
-
import type { FlattenAndPushRule } from "./rules.js";
|
|
4
|
-
export type PropsRule<$ = Dict> = {
|
|
5
|
-
[propKey in string]: Prop<$>;
|
|
6
|
-
};
|
|
7
|
-
export type Prop<$ = Dict, node extends Node<$> = Node<$>> = node | OptionalProp<$, node> | PrerequisiteProp<$, node>;
|
|
8
|
-
export type OptionalProp<$ = Dict, node extends Node<$> = Node<$>> = ["?", node];
|
|
9
|
-
export type PrerequisiteProp<$ = Dict, node extends Node<$> = Node<$>> = [
|
|
10
|
-
"!",
|
|
11
|
-
node
|
|
12
|
-
];
|
|
13
|
-
export type PropsRecordKey = "distilledProps" | "strictProps";
|
|
14
|
-
export type PropsRecordEntry<kind extends PropsRecordKey = PropsRecordKey> = [
|
|
15
|
-
kind,
|
|
16
|
-
{
|
|
17
|
-
required: {
|
|
18
|
-
[propKey in string]: TraversalNode;
|
|
19
|
-
};
|
|
20
|
-
optional: {
|
|
21
|
-
[propKey in string]: TraversalNode;
|
|
22
|
-
};
|
|
23
|
-
index?: TraversalNode;
|
|
24
|
-
}
|
|
25
|
-
];
|
|
26
|
-
export type DistilledPropsEntry = PropsRecordEntry<"distilledProps">;
|
|
27
|
-
export type StrictPropsEntry = PropsRecordEntry<"strictProps">;
|
|
28
|
-
export type PropEntry = RequiredPropEntry | OptionalPropEntry | IndexPropEntry | PrerequisitePropEntry;
|
|
29
|
-
export type PrerequisitePropEntry = ["prerequisiteProp", TraversalProp];
|
|
30
|
-
export type RequiredPropEntry = ["requiredProp", TraversalProp];
|
|
31
|
-
export type OptionalPropEntry = ["optionalProp", TraversalProp];
|
|
32
|
-
export type IndexPropEntry = ["indexProp", TraversalNode];
|
|
33
|
-
export type TraversalProp<key extends string = string, node extends TraversalNode = TraversalNode> = [key, node];
|
|
34
|
-
export declare const isOptional: (prop: Prop) => prop is OptionalProp<Dict, Node<Dict>>;
|
|
35
|
-
export declare const isPrerequisite: (prop: Prop) => prop is PrerequisiteProp<Dict, Node<Dict>>;
|
|
36
|
-
export declare const mappedKeys: {
|
|
37
|
-
readonly index: "[index]";
|
|
38
|
-
};
|
|
39
|
-
export type MappedKeys = typeof mappedKeys;
|
|
40
|
-
export type MappedPropKey = MappedKeys[keyof MappedKeys];
|
|
41
|
-
export declare const propToNode: (prop: Prop) => Node<Dict>;
|
|
42
|
-
export declare const propsIntersection: import("../compose.js").Intersector<PropsRule<Dict> | undefined>;
|
|
43
|
-
export declare const flattenProps: FlattenAndPushRule<PropsRule>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Scanner } from "../../parse/string/shift/scanner.js";
|
|
2
|
-
import type { EntryChecker } from "../../traverse/traverse.js";
|
|
3
|
-
import type { evaluate } from "../../utils/generics.js";
|
|
4
|
-
import type { FlattenAndPushRule } from "./rules.js";
|
|
5
|
-
export type Range = DoubleBound | Bound<"==">;
|
|
6
|
-
export type DoubleBound = {
|
|
7
|
-
min?: LowerBound;
|
|
8
|
-
max?: UpperBound;
|
|
9
|
-
};
|
|
10
|
-
export type BoundKind = evaluate<keyof DoubleBound>;
|
|
11
|
-
export declare const minComparators: {
|
|
12
|
-
readonly ">": true;
|
|
13
|
-
readonly ">=": true;
|
|
14
|
-
};
|
|
15
|
-
export type MinComparator = keyof typeof minComparators;
|
|
16
|
-
export type LowerBound = Bound<MinComparator>;
|
|
17
|
-
export declare const maxComparators: {
|
|
18
|
-
readonly "<": true;
|
|
19
|
-
readonly "<=": true;
|
|
20
|
-
};
|
|
21
|
-
export type MaxComparator = keyof typeof maxComparators;
|
|
22
|
-
export type UpperBound = Bound<MaxComparator>;
|
|
23
|
-
export type Bound<comparator extends Scanner.Comparator = Scanner.Comparator> = {
|
|
24
|
-
readonly comparator: comparator;
|
|
25
|
-
readonly limit: number;
|
|
26
|
-
};
|
|
27
|
-
export declare const isEqualityRange: (range: Range) => range is Bound<"==">;
|
|
28
|
-
export declare const rangeIntersection: import("../compose.js").Intersector<Range | undefined>;
|
|
29
|
-
export type FlatBound = evaluate<Bound & {
|
|
30
|
-
units?: string;
|
|
31
|
-
}>;
|
|
32
|
-
export declare const flattenRange: FlattenAndPushRule<Range>;
|
|
33
|
-
export declare const checkBound: EntryChecker<"bound">;
|
|
34
|
-
export declare const compareStrictness: (kind: "min" | "max", l: Bound | undefined, r: Bound | undefined) => "=" | "r" | "l";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { EntryChecker } from "../../traverse/traverse.js";
|
|
2
|
-
import type { CollapsibleList } from "../../utils/generics.js";
|
|
3
|
-
export declare const getRegex: (source: string) => RegExp;
|
|
4
|
-
export declare const checkRegex: EntryChecker<"regex">;
|
|
5
|
-
export declare const regexIntersection: import("../compose.js").Intersector<CollapsibleList<string> | undefined>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { Narrow } from "../../parse/ast/narrow.js";
|
|
2
|
-
import type { Domain, inferDomain } from "../../utils/domains.js";
|
|
3
|
-
import type { CollapsibleList, constructor, Dict } from "../../utils/generics.js";
|
|
4
|
-
import type { IntersectionState, Intersector } from "../compose.js";
|
|
5
|
-
import type { FlattenContext, TraversalEntry, TraversalKey } from "../node.js";
|
|
6
|
-
import type { DistilledPropsEntry, PropEntry, PropsRule, StrictPropsEntry } from "./props.js";
|
|
7
|
-
import type { FlatBound, Range } from "./range.js";
|
|
8
|
-
export type NarrowableRules<$ = Dict> = {
|
|
9
|
-
readonly regex?: CollapsibleList<string>;
|
|
10
|
-
readonly divisor?: number;
|
|
11
|
-
readonly range?: Range;
|
|
12
|
-
readonly props?: PropsRule<$>;
|
|
13
|
-
readonly class?: constructor;
|
|
14
|
-
readonly narrow?: NarrowRule;
|
|
15
|
-
};
|
|
16
|
-
export type LiteralRules<domain extends Domain = Domain, value extends inferDomain<domain> = inferDomain<domain>> = {
|
|
17
|
-
readonly value: value;
|
|
18
|
-
};
|
|
19
|
-
export type NarrowRule = CollapsibleList<Narrow>;
|
|
20
|
-
export type FlatRules = RuleEntry[];
|
|
21
|
-
export type RuleEntry = ["regex", string] | ["divisor", number] | ["bound", FlatBound] | ["class", constructor] | DistilledPropsEntry | StrictPropsEntry | PropEntry | ["narrow", Narrow] | ["value", unknown];
|
|
22
|
-
export type Rules<domain extends Domain = Domain, $ = Dict> = Domain extends domain ? NarrowableRules | LiteralRules : domain extends "object" ? defineRuleSet<domain, "props" | "range" | "narrow" | "class", $> : domain extends "string" ? defineRuleSet<domain, "regex" | "range" | "narrow", $> : domain extends "number" ? defineRuleSet<domain, "divisor" | "range" | "narrow", $> : defineRuleSet<domain, "narrow", $>;
|
|
23
|
-
type defineRuleSet<domain extends Domain, keys extends keyof NarrowableRules, $> = Pick<NarrowableRules<$>, keys> | LiteralRules<domain>;
|
|
24
|
-
export declare const rulesIntersection: Intersector<Rules>;
|
|
25
|
-
export declare const narrowableRulesIntersection: Intersector<NarrowableRules<Dict>>;
|
|
26
|
-
export declare const flattenRules: (rules: UnknownRules, ctx: FlattenContext) => TraversalEntry[];
|
|
27
|
-
export type FlattenAndPushRule<t> = (entries: RuleEntry[], rule: t, ctx: FlattenContext) => void;
|
|
28
|
-
type UnknownRules = NarrowableRules & Partial<LiteralRules>;
|
|
29
|
-
export declare const precedenceMap: {
|
|
30
|
-
readonly [k in TraversalKey]: number;
|
|
31
|
-
};
|
|
32
|
-
export declare const literalSatisfiesRules: (data: unknown, rules: NarrowableRules, state: IntersectionState) => boolean;
|
|
33
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { resolve } from "../../scopes/scope.js";
|
|
2
|
-
import type { castOnError, error, List, RegexLiteral, tryCatch } from "../../utils/generics.js";
|
|
3
|
-
import type { BigintLiteral, NumberLiteral } from "../../utils/numericLiterals.js";
|
|
4
|
-
import type { StringLiteral } from "../string/shift/operand/enclosed.js";
|
|
5
|
-
import type { Scanner } from "../string/shift/scanner.js";
|
|
6
|
-
import type { parseString } from "../string/string.js";
|
|
7
|
-
import type { validateBound } from "./bound.js";
|
|
8
|
-
import type { validateDivisor } from "./divisor.js";
|
|
9
|
-
import type { inferIntersection } from "./intersection.js";
|
|
10
|
-
import type { inferUnion } from "./union.js";
|
|
11
|
-
export type inferAst<ast, $> = ast extends List ? inferExpression<ast, $> : inferTerminal<ast, $>;
|
|
12
|
-
export type inferExpression<ast extends List, $> = ast[1] extends "[]" ? inferAst<ast[0], $>[] : ast[1] extends "|" ? inferUnion<inferAst<ast[0], $>, inferAst<ast[2], $>> extends infer result ? castOnError<result, never> : never : ast[1] extends "&" ? inferIntersection<inferAst<ast[0], $>, inferAst<ast[2], $>> extends infer result ? castOnError<result, never> : never : ast[1] extends Scanner.Comparator ? ast[0] extends NumberLiteral ? inferAst<ast[2], $> : inferAst<ast[0], $> : ast[1] extends "%" ? inferAst<ast[0], $> : never;
|
|
13
|
-
export type validateAst<ast, $> = ast extends List ? validateExpression<ast, $> : ast;
|
|
14
|
-
export type validateExpression<ast extends List, $> = ast extends PostfixExpression<infer operator, infer operand> ? operator extends "[]" ? validateAst<operand, $> : never : ast extends InfixExpression<infer operator, infer l, infer r> ? operator extends "&" | "|" ? validateInfix<ast, $> : operator extends Scanner.Comparator ? validateBound<l, r, $> : operator extends "%" ? validateDivisor<l, $> : never : undefined;
|
|
15
|
-
export type validateString<def extends string, $> = parseString<def, $> extends infer ast ? ast extends error<infer message> ? message : validateAst<ast, $> extends error<infer message> ? message : def : never;
|
|
16
|
-
export type PrefixOperator = "keyof" | "instanceof" | "===" | "node";
|
|
17
|
-
export type PrefixExpression<operator extends PrefixOperator = PrefixOperator, operand = unknown> = [operator, operand];
|
|
18
|
-
export type PostfixOperator = "[]";
|
|
19
|
-
export type PostfixExpression<operator extends PostfixOperator = PostfixOperator, operand = unknown> = [operand, operator];
|
|
20
|
-
export type InfixOperator = "|" | "&" | Scanner.Comparator | "%" | ":" | "=>" | "|>";
|
|
21
|
-
export type InfixExpression<operator extends InfixOperator = InfixOperator, l = unknown, r = unknown> = [l, operator, r];
|
|
22
|
-
type validateInfix<ast extends InfixExpression, $> = tryCatch<validateAst<ast[0], $>, tryCatch<validateAst<ast[2], $>, ast>>;
|
|
23
|
-
export type inferTerminal<token, $> = token extends keyof $ ? resolve<token, $> : token extends StringLiteral<infer Text> ? Text : token extends RegexLiteral ? string : token extends NumberLiteral<infer value> ? value : token extends BigintLiteral<infer value> ? value : never;
|
|
24
|
-
export {};
|