@absolutejs/sync-pack-favorites 0.3.0 → 0.4.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/index.d.ts +1 -1
- package/dist/index.js +3 -18
- package/dist/index.js.map +3 -3
- package/dist/manifest.js +139 -229
- package/dist/manifest.js.map +2 -2
- package/package.json +26 -4
package/dist/manifest.js
CHANGED
|
@@ -30,59 +30,37 @@ function IsNumber(value) {
|
|
|
30
30
|
|
|
31
31
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/system/policy.mjs
|
|
32
32
|
var TypeSystemPolicy;
|
|
33
|
-
(function(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
(function(TypeSystemPolicy) {
|
|
34
|
+
TypeSystemPolicy.InstanceMode = "default";
|
|
35
|
+
TypeSystemPolicy.ExactOptionalPropertyTypes = false;
|
|
36
|
+
TypeSystemPolicy.AllowArrayObject = false;
|
|
37
|
+
TypeSystemPolicy.AllowNaN = false;
|
|
38
|
+
TypeSystemPolicy.AllowNullVoid = false;
|
|
39
39
|
function IsExactOptionalProperty(value, key) {
|
|
40
|
-
return
|
|
40
|
+
return TypeSystemPolicy.ExactOptionalPropertyTypes ? key in value : value[key] !== undefined;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
TypeSystemPolicy.IsExactOptionalProperty = IsExactOptionalProperty;
|
|
43
43
|
function IsObjectLike(value) {
|
|
44
44
|
const isObject = IsObject(value);
|
|
45
|
-
return
|
|
45
|
+
return TypeSystemPolicy.AllowArrayObject ? isObject : isObject && !IsArray(value);
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
TypeSystemPolicy.IsObjectLike = IsObjectLike;
|
|
48
48
|
function IsRecordLike(value) {
|
|
49
49
|
return IsObjectLike(value) && !(value instanceof Date) && !(value instanceof Uint8Array);
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
TypeSystemPolicy.IsRecordLike = IsRecordLike;
|
|
52
52
|
function IsNumberLike(value) {
|
|
53
|
-
return
|
|
53
|
+
return TypeSystemPolicy.AllowNaN ? IsNumber(value) : Number.isFinite(value);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
TypeSystemPolicy.IsNumberLike = IsNumberLike;
|
|
56
56
|
function IsVoidLike(value) {
|
|
57
57
|
const isUndefined = IsUndefined(value);
|
|
58
|
-
return
|
|
58
|
+
return TypeSystemPolicy.AllowNullVoid ? isUndefined || value === null : isUndefined;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
TypeSystemPolicy.IsVoidLike = IsVoidLike;
|
|
61
61
|
})(TypeSystemPolicy || (TypeSystemPolicy = {}));
|
|
62
62
|
|
|
63
63
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
|
|
64
|
-
var exports_value = {};
|
|
65
|
-
__export(exports_value, {
|
|
66
|
-
IsUndefined: () => IsUndefined2,
|
|
67
|
-
IsUint8Array: () => IsUint8Array,
|
|
68
|
-
IsSymbol: () => IsSymbol,
|
|
69
|
-
IsString: () => IsString,
|
|
70
|
-
IsRegExp: () => IsRegExp,
|
|
71
|
-
IsObject: () => IsObject2,
|
|
72
|
-
IsNumber: () => IsNumber2,
|
|
73
|
-
IsNull: () => IsNull,
|
|
74
|
-
IsIterator: () => IsIterator,
|
|
75
|
-
IsFunction: () => IsFunction,
|
|
76
|
-
IsDate: () => IsDate,
|
|
77
|
-
IsBoolean: () => IsBoolean,
|
|
78
|
-
IsBigInt: () => IsBigInt,
|
|
79
|
-
IsAsyncIterator: () => IsAsyncIterator,
|
|
80
|
-
IsArray: () => IsArray2,
|
|
81
|
-
HasPropertyKey: () => HasPropertyKey
|
|
82
|
-
});
|
|
83
|
-
function HasPropertyKey(value, key) {
|
|
84
|
-
return key in value;
|
|
85
|
-
}
|
|
86
64
|
function IsAsyncIterator(value) {
|
|
87
65
|
return IsObject2(value) && !IsArray2(value) && !IsUint8Array(value) && Symbol.asyncIterator in value;
|
|
88
66
|
}
|
|
@@ -131,7 +109,7 @@ function IsUndefined2(value) {
|
|
|
131
109
|
|
|
132
110
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs
|
|
133
111
|
function ImmutableArray(value) {
|
|
134
|
-
return globalThis.Object.freeze(value).map((
|
|
112
|
+
return globalThis.Object.freeze(value).map((value) => Immutable(value));
|
|
135
113
|
}
|
|
136
114
|
function ImmutableDate(value) {
|
|
137
115
|
return value;
|
|
@@ -158,7 +136,7 @@ function Immutable(value) {
|
|
|
158
136
|
|
|
159
137
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs
|
|
160
138
|
function ArrayType(value) {
|
|
161
|
-
return value.map((
|
|
139
|
+
return value.map((value) => Visit(value));
|
|
162
140
|
}
|
|
163
141
|
function DateType(value) {
|
|
164
142
|
return new Date(value.getTime());
|
|
@@ -558,9 +536,9 @@ function Or(pattern) {
|
|
|
558
536
|
if (IsCloseParen(pattern, index))
|
|
559
537
|
count -= 1;
|
|
560
538
|
if (IsSeparator(pattern, index) && count === 0) {
|
|
561
|
-
const
|
|
562
|
-
if (
|
|
563
|
-
expressions.push(TemplateLiteralParse(
|
|
539
|
+
const range = pattern.slice(start, index);
|
|
540
|
+
if (range.length > 0)
|
|
541
|
+
expressions.push(TemplateLiteralParse(range));
|
|
564
542
|
start = index + 1;
|
|
565
543
|
}
|
|
566
544
|
}
|
|
@@ -588,12 +566,12 @@ function And(pattern) {
|
|
|
588
566
|
}
|
|
589
567
|
throw new TemplateLiteralParserError(`TemplateLiteralParser: Unclosed group parens in expression`);
|
|
590
568
|
}
|
|
591
|
-
function Range(
|
|
592
|
-
for (let scan = index;scan <
|
|
593
|
-
if (IsOpenParen(
|
|
569
|
+
function Range(pattern, index) {
|
|
570
|
+
for (let scan = index;scan < pattern.length; scan++) {
|
|
571
|
+
if (IsOpenParen(pattern, scan))
|
|
594
572
|
return [index, scan];
|
|
595
573
|
}
|
|
596
|
-
return [index,
|
|
574
|
+
return [index, pattern.length];
|
|
597
575
|
}
|
|
598
576
|
const expressions = [];
|
|
599
577
|
for (let index = 0;index < pattern.length; index++) {
|
|
@@ -756,7 +734,7 @@ function Escape(value) {
|
|
|
756
734
|
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
757
735
|
}
|
|
758
736
|
function Visit2(schema, acc) {
|
|
759
|
-
return IsTemplateLiteral(schema) ? schema.pattern.slice(1, schema.pattern.length - 1) : IsUnion(schema) ? `(${schema.anyOf.map((
|
|
737
|
+
return IsTemplateLiteral(schema) ? schema.pattern.slice(1, schema.pattern.length - 1) : IsUnion(schema) ? `(${schema.anyOf.map((schema) => Visit2(schema, acc)).join("|")})` : IsNumber3(schema) ? `${acc}${PatternNumber}` : IsInteger(schema) ? `${acc}${PatternNumber}` : IsBigInt2(schema) ? `${acc}${PatternNumber}` : IsString2(schema) ? `${acc}${PatternString}` : IsLiteral(schema) ? `${acc}${Escape(schema.const.toString())}` : IsBoolean2(schema) ? `${acc}${PatternBoolean}` : (() => {
|
|
760
738
|
throw new TemplateLiteralPatternError(`Unexpected Kind '${schema[Kind]}'`);
|
|
761
739
|
})();
|
|
762
740
|
}
|
|
@@ -1095,62 +1073,6 @@ function Unknown(options) {
|
|
|
1095
1073
|
return CreateType({ [Kind]: "Unknown" }, options);
|
|
1096
1074
|
}
|
|
1097
1075
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs
|
|
1098
|
-
var exports_type = {};
|
|
1099
|
-
__export(exports_type, {
|
|
1100
|
-
TypeGuardUnknownTypeError: () => TypeGuardUnknownTypeError,
|
|
1101
|
-
IsVoid: () => IsVoid2,
|
|
1102
|
-
IsUnsafe: () => IsUnsafe2,
|
|
1103
|
-
IsUnknown: () => IsUnknown2,
|
|
1104
|
-
IsUnionLiteral: () => IsUnionLiteral,
|
|
1105
|
-
IsUnion: () => IsUnion2,
|
|
1106
|
-
IsUndefined: () => IsUndefined4,
|
|
1107
|
-
IsUint8Array: () => IsUint8Array3,
|
|
1108
|
-
IsTuple: () => IsTuple2,
|
|
1109
|
-
IsTransform: () => IsTransform2,
|
|
1110
|
-
IsThis: () => IsThis2,
|
|
1111
|
-
IsTemplateLiteral: () => IsTemplateLiteral2,
|
|
1112
|
-
IsSymbol: () => IsSymbol3,
|
|
1113
|
-
IsString: () => IsString3,
|
|
1114
|
-
IsSchema: () => IsSchema2,
|
|
1115
|
-
IsRegExp: () => IsRegExp3,
|
|
1116
|
-
IsRef: () => IsRef2,
|
|
1117
|
-
IsRecursive: () => IsRecursive,
|
|
1118
|
-
IsRecord: () => IsRecord2,
|
|
1119
|
-
IsReadonly: () => IsReadonly2,
|
|
1120
|
-
IsProperties: () => IsProperties,
|
|
1121
|
-
IsPromise: () => IsPromise2,
|
|
1122
|
-
IsOptional: () => IsOptional2,
|
|
1123
|
-
IsObject: () => IsObject4,
|
|
1124
|
-
IsNumber: () => IsNumber4,
|
|
1125
|
-
IsNull: () => IsNull3,
|
|
1126
|
-
IsNot: () => IsNot2,
|
|
1127
|
-
IsNever: () => IsNever2,
|
|
1128
|
-
IsMappedResult: () => IsMappedResult2,
|
|
1129
|
-
IsMappedKey: () => IsMappedKey2,
|
|
1130
|
-
IsLiteralValue: () => IsLiteralValue2,
|
|
1131
|
-
IsLiteralString: () => IsLiteralString,
|
|
1132
|
-
IsLiteralNumber: () => IsLiteralNumber,
|
|
1133
|
-
IsLiteralBoolean: () => IsLiteralBoolean,
|
|
1134
|
-
IsLiteral: () => IsLiteral2,
|
|
1135
|
-
IsKindOf: () => IsKindOf2,
|
|
1136
|
-
IsKind: () => IsKind2,
|
|
1137
|
-
IsIterator: () => IsIterator3,
|
|
1138
|
-
IsIntersect: () => IsIntersect2,
|
|
1139
|
-
IsInteger: () => IsInteger2,
|
|
1140
|
-
IsImport: () => IsImport,
|
|
1141
|
-
IsFunction: () => IsFunction3,
|
|
1142
|
-
IsDate: () => IsDate3,
|
|
1143
|
-
IsConstructor: () => IsConstructor2,
|
|
1144
|
-
IsComputed: () => IsComputed2,
|
|
1145
|
-
IsBoolean: () => IsBoolean3,
|
|
1146
|
-
IsBigInt: () => IsBigInt3,
|
|
1147
|
-
IsAsyncIterator: () => IsAsyncIterator3,
|
|
1148
|
-
IsArray: () => IsArray4,
|
|
1149
|
-
IsArgument: () => IsArgument2,
|
|
1150
|
-
IsAny: () => IsAny2
|
|
1151
|
-
});
|
|
1152
|
-
class TypeGuardUnknownTypeError extends TypeBoxError {
|
|
1153
|
-
}
|
|
1154
1076
|
var KnownTypes = [
|
|
1155
1077
|
"Argument",
|
|
1156
1078
|
"Any",
|
|
@@ -1231,9 +1153,6 @@ function IsOptionalFormat(value) {
|
|
|
1231
1153
|
function IsOptionalSchema(value) {
|
|
1232
1154
|
return IsUndefined2(value) || IsSchema2(value);
|
|
1233
1155
|
}
|
|
1234
|
-
function IsReadonly2(value) {
|
|
1235
|
-
return IsObject2(value) && value[ReadonlyKind] === "Readonly";
|
|
1236
|
-
}
|
|
1237
1156
|
function IsOptional2(value) {
|
|
1238
1157
|
return IsObject2(value) && value[OptionalKind] === "Optional";
|
|
1239
1158
|
}
|
|
@@ -1267,9 +1186,6 @@ function IsDate3(value) {
|
|
|
1267
1186
|
function IsFunction3(value) {
|
|
1268
1187
|
return IsKindOf2(value, "Function") && value.type === "Function" && IsOptionalString(value.$id) && IsArray2(value.parameters) && value.parameters.every((schema) => IsSchema2(schema)) && IsSchema2(value.returns);
|
|
1269
1188
|
}
|
|
1270
|
-
function IsImport(value) {
|
|
1271
|
-
return IsKindOf2(value, "Import") && HasPropertyKey(value, "$defs") && IsObject2(value.$defs) && IsProperties(value.$defs) && HasPropertyKey(value, "$ref") && IsString(value.$ref) && value.$ref in value.$defs;
|
|
1272
|
-
}
|
|
1273
1189
|
function IsInteger2(value) {
|
|
1274
1190
|
return IsKindOf2(value, "Integer") && value.type === "integer" && IsOptionalString(value.$id) && IsOptionalNumber(value.exclusiveMaximum) && IsOptionalNumber(value.exclusiveMinimum) && IsOptionalNumber(value.maximum) && IsOptionalNumber(value.minimum) && IsOptionalNumber(value.multipleOf);
|
|
1275
1191
|
}
|
|
@@ -1330,9 +1246,6 @@ function IsRecord2(value) {
|
|
|
1330
1246
|
return keys.length === 1 && IsPattern(keys[0]) && IsObject2(schema.patternProperties) && IsSchema2(schema.patternProperties[keys[0]]);
|
|
1331
1247
|
})(value);
|
|
1332
1248
|
}
|
|
1333
|
-
function IsRecursive(value) {
|
|
1334
|
-
return IsObject2(value) && Hint in value && value[Hint] === "Recursive";
|
|
1335
|
-
}
|
|
1336
1249
|
function IsRef2(value) {
|
|
1337
1250
|
return IsKindOf2(value, "Ref") && IsOptionalString(value.$id) && IsString(value.$ref);
|
|
1338
1251
|
}
|
|
@@ -1360,9 +1273,6 @@ function IsTuple2(value) {
|
|
|
1360
1273
|
function IsUndefined4(value) {
|
|
1361
1274
|
return IsKindOf2(value, "Undefined") && value.type === "undefined" && IsOptionalString(value.$id);
|
|
1362
1275
|
}
|
|
1363
|
-
function IsUnionLiteral(value) {
|
|
1364
|
-
return IsUnion2(value) && value.anyOf.every((schema) => IsLiteralString(schema) || IsLiteralNumber(schema));
|
|
1365
|
-
}
|
|
1366
1276
|
function IsUnion2(value) {
|
|
1367
1277
|
return IsKindOf2(value, "Union") && IsOptionalString(value.$id) && IsObject2(value) && IsArray2(value.anyOf) && value.anyOf.every((schema) => IsSchema2(schema));
|
|
1368
1278
|
}
|
|
@@ -1388,10 +1298,10 @@ function IsSchema2(value) {
|
|
|
1388
1298
|
class ExtendsResolverError extends TypeBoxError {
|
|
1389
1299
|
}
|
|
1390
1300
|
var ExtendsResult;
|
|
1391
|
-
(function(
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1301
|
+
(function(ExtendsResult) {
|
|
1302
|
+
ExtendsResult[ExtendsResult["Union"] = 0] = "Union";
|
|
1303
|
+
ExtendsResult[ExtendsResult["True"] = 1] = "True";
|
|
1304
|
+
ExtendsResult[ExtendsResult["False"] = 2] = "False";
|
|
1395
1305
|
})(ExtendsResult || (ExtendsResult = {}));
|
|
1396
1306
|
function IntoBooleanResult(result) {
|
|
1397
1307
|
return result === ExtendsResult.False ? result : ExtendsResult.True;
|
|
@@ -1400,49 +1310,49 @@ function Throw(message) {
|
|
|
1400
1310
|
throw new ExtendsResolverError(message);
|
|
1401
1311
|
}
|
|
1402
1312
|
function IsStructuralRight(right) {
|
|
1403
|
-
return
|
|
1313
|
+
return IsNever2(right) || IsIntersect2(right) || IsUnion2(right) || IsUnknown2(right) || IsAny2(right);
|
|
1404
1314
|
}
|
|
1405
1315
|
function StructuralRight(left, right) {
|
|
1406
|
-
return
|
|
1316
|
+
return IsNever2(right) ? FromNeverRight(left, right) : IsIntersect2(right) ? FromIntersectRight(left, right) : IsUnion2(right) ? FromUnionRight(left, right) : IsUnknown2(right) ? FromUnknownRight(left, right) : IsAny2(right) ? FromAnyRight(left, right) : Throw("StructuralRight");
|
|
1407
1317
|
}
|
|
1408
1318
|
function FromAnyRight(left, right) {
|
|
1409
1319
|
return ExtendsResult.True;
|
|
1410
1320
|
}
|
|
1411
1321
|
function FromAny(left, right) {
|
|
1412
|
-
return
|
|
1322
|
+
return IsIntersect2(right) ? FromIntersectRight(left, right) : IsUnion2(right) && right.anyOf.some((schema) => IsAny2(schema) || IsUnknown2(schema)) ? ExtendsResult.True : IsUnion2(right) ? ExtendsResult.Union : IsUnknown2(right) ? ExtendsResult.True : IsAny2(right) ? ExtendsResult.True : ExtendsResult.Union;
|
|
1413
1323
|
}
|
|
1414
1324
|
function FromArrayRight(left, right) {
|
|
1415
|
-
return
|
|
1325
|
+
return IsUnknown2(left) ? ExtendsResult.False : IsAny2(left) ? ExtendsResult.Union : IsNever2(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
1416
1326
|
}
|
|
1417
1327
|
function FromArray3(left, right) {
|
|
1418
|
-
return
|
|
1328
|
+
return IsObject4(right) && IsObjectArrayLike(right) ? ExtendsResult.True : IsStructuralRight(right) ? StructuralRight(left, right) : !IsArray4(right) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.items, right.items));
|
|
1419
1329
|
}
|
|
1420
1330
|
function FromAsyncIterator(left, right) {
|
|
1421
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) : !
|
|
1331
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : !IsAsyncIterator3(right) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.items, right.items));
|
|
1422
1332
|
}
|
|
1423
1333
|
function FromBigInt(left, right) {
|
|
1424
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1334
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsBigInt3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1425
1335
|
}
|
|
1426
1336
|
function FromBooleanRight(left, right) {
|
|
1427
|
-
return
|
|
1337
|
+
return IsLiteralBoolean(left) ? ExtendsResult.True : IsBoolean3(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
1428
1338
|
}
|
|
1429
1339
|
function FromBoolean(left, right) {
|
|
1430
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1340
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsBoolean3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1431
1341
|
}
|
|
1432
1342
|
function FromConstructor(left, right) {
|
|
1433
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1343
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : !IsConstructor2(right) ? ExtendsResult.False : left.parameters.length > right.parameters.length ? ExtendsResult.False : !left.parameters.every((schema, index) => IntoBooleanResult(Visit3(right.parameters[index], schema)) === ExtendsResult.True) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.returns, right.returns));
|
|
1434
1344
|
}
|
|
1435
1345
|
function FromDate(left, right) {
|
|
1436
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1346
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsDate3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1437
1347
|
}
|
|
1438
1348
|
function FromFunction(left, right) {
|
|
1439
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1349
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : !IsFunction3(right) ? ExtendsResult.False : left.parameters.length > right.parameters.length ? ExtendsResult.False : !left.parameters.every((schema, index) => IntoBooleanResult(Visit3(right.parameters[index], schema)) === ExtendsResult.True) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.returns, right.returns));
|
|
1440
1350
|
}
|
|
1441
1351
|
function FromIntegerRight(left, right) {
|
|
1442
|
-
return
|
|
1352
|
+
return IsLiteral2(left) && IsNumber2(left.const) ? ExtendsResult.True : IsNumber4(left) || IsInteger2(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
1443
1353
|
}
|
|
1444
1354
|
function FromInteger(left, right) {
|
|
1445
|
-
return
|
|
1355
|
+
return IsInteger2(right) || IsNumber4(right) ? ExtendsResult.True : IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : ExtendsResult.False;
|
|
1446
1356
|
}
|
|
1447
1357
|
function FromIntersectRight(left, right) {
|
|
1448
1358
|
return right.allOf.every((schema) => Visit3(left, schema) === ExtendsResult.True) ? ExtendsResult.True : ExtendsResult.False;
|
|
@@ -1451,10 +1361,10 @@ function FromIntersect3(left, right) {
|
|
|
1451
1361
|
return left.allOf.some((schema) => Visit3(schema, right) === ExtendsResult.True) ? ExtendsResult.True : ExtendsResult.False;
|
|
1452
1362
|
}
|
|
1453
1363
|
function FromIterator(left, right) {
|
|
1454
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) : !
|
|
1364
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : !IsIterator3(right) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.items, right.items));
|
|
1455
1365
|
}
|
|
1456
1366
|
function FromLiteral2(left, right) {
|
|
1457
|
-
return
|
|
1367
|
+
return IsLiteral2(right) && right.const === left.const ? ExtendsResult.True : IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsString3(right) ? FromStringRight(left, right) : IsNumber4(right) ? FromNumberRight(left, right) : IsInteger2(right) ? FromIntegerRight(left, right) : IsBoolean3(right) ? FromBooleanRight(left, right) : ExtendsResult.False;
|
|
1458
1368
|
}
|
|
1459
1369
|
function FromNeverRight(left, right) {
|
|
1460
1370
|
return ExtendsResult.False;
|
|
@@ -1465,7 +1375,7 @@ function FromNever(left, right) {
|
|
|
1465
1375
|
function UnwrapTNot(schema) {
|
|
1466
1376
|
let [current, depth] = [schema, 0];
|
|
1467
1377
|
while (true) {
|
|
1468
|
-
if (!
|
|
1378
|
+
if (!IsNot2(current))
|
|
1469
1379
|
break;
|
|
1470
1380
|
current = current.not;
|
|
1471
1381
|
depth += 1;
|
|
@@ -1473,16 +1383,16 @@ function UnwrapTNot(schema) {
|
|
|
1473
1383
|
return depth % 2 === 0 ? current : Unknown();
|
|
1474
1384
|
}
|
|
1475
1385
|
function FromNot(left, right) {
|
|
1476
|
-
return
|
|
1386
|
+
return IsNot2(left) ? Visit3(UnwrapTNot(left), right) : IsNot2(right) ? Visit3(left, UnwrapTNot(right)) : Throw("Invalid fallthrough for Not");
|
|
1477
1387
|
}
|
|
1478
1388
|
function FromNull(left, right) {
|
|
1479
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1389
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsNull3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1480
1390
|
}
|
|
1481
1391
|
function FromNumberRight(left, right) {
|
|
1482
|
-
return
|
|
1392
|
+
return IsLiteralNumber(left) ? ExtendsResult.True : IsNumber4(left) || IsInteger2(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
1483
1393
|
}
|
|
1484
1394
|
function FromNumber(left, right) {
|
|
1485
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1395
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsInteger2(right) || IsNumber4(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1486
1396
|
}
|
|
1487
1397
|
function IsObjectPropertyCount(schema, count) {
|
|
1488
1398
|
return Object.getOwnPropertyNames(schema.properties).length === count;
|
|
@@ -1491,7 +1401,7 @@ function IsObjectStringLike(schema) {
|
|
|
1491
1401
|
return IsObjectArrayLike(schema);
|
|
1492
1402
|
}
|
|
1493
1403
|
function IsObjectSymbolLike(schema) {
|
|
1494
|
-
return IsObjectPropertyCount(schema, 0) || IsObjectPropertyCount(schema, 1) && "description" in schema.properties &&
|
|
1404
|
+
return IsObjectPropertyCount(schema, 0) || IsObjectPropertyCount(schema, 1) && "description" in schema.properties && IsUnion2(schema.properties.description) && schema.properties.description.anyOf.length === 2 && (IsString3(schema.properties.description.anyOf[0]) && IsUndefined4(schema.properties.description.anyOf[1]) || IsString3(schema.properties.description.anyOf[1]) && IsUndefined4(schema.properties.description.anyOf[0]));
|
|
1495
1405
|
}
|
|
1496
1406
|
function IsObjectNumberLike(schema) {
|
|
1497
1407
|
return IsObjectPropertyCount(schema, 0);
|
|
@@ -1524,22 +1434,22 @@ function IsObjectPromiseLike(schema) {
|
|
|
1524
1434
|
return IsObjectPropertyCount(schema, 0) || IsObjectPropertyCount(schema, 1) && "then" in schema.properties && IntoBooleanResult(Visit3(schema.properties["then"], then)) === ExtendsResult.True;
|
|
1525
1435
|
}
|
|
1526
1436
|
function Property(left, right) {
|
|
1527
|
-
return Visit3(left, right) === ExtendsResult.False ? ExtendsResult.False :
|
|
1437
|
+
return Visit3(left, right) === ExtendsResult.False ? ExtendsResult.False : IsOptional2(left) && !IsOptional2(right) ? ExtendsResult.False : ExtendsResult.True;
|
|
1528
1438
|
}
|
|
1529
1439
|
function FromObjectRight(left, right) {
|
|
1530
|
-
return
|
|
1440
|
+
return IsUnknown2(left) ? ExtendsResult.False : IsAny2(left) ? ExtendsResult.Union : IsNever2(left) || IsLiteralString(left) && IsObjectStringLike(right) || IsLiteralNumber(left) && IsObjectNumberLike(right) || IsLiteralBoolean(left) && IsObjectBooleanLike(right) || IsSymbol3(left) && IsObjectSymbolLike(right) || IsBigInt3(left) && IsObjectBigIntLike(right) || IsString3(left) && IsObjectStringLike(right) || IsSymbol3(left) && IsObjectSymbolLike(right) || IsNumber4(left) && IsObjectNumberLike(right) || IsInteger2(left) && IsObjectNumberLike(right) || IsBoolean3(left) && IsObjectBooleanLike(right) || IsUint8Array3(left) && IsObjectUint8ArrayLike(right) || IsDate3(left) && IsObjectDateLike(right) || IsConstructor2(left) && IsObjectConstructorLike(right) || IsFunction3(left) && IsObjectFunctionLike(right) ? ExtendsResult.True : IsRecord2(left) && IsString3(RecordKey(left)) ? (() => {
|
|
1531
1441
|
return right[Hint] === "Record" ? ExtendsResult.True : ExtendsResult.False;
|
|
1532
|
-
})() :
|
|
1442
|
+
})() : IsRecord2(left) && IsNumber4(RecordKey(left)) ? (() => {
|
|
1533
1443
|
return IsObjectPropertyCount(right, 0) ? ExtendsResult.True : ExtendsResult.False;
|
|
1534
1444
|
})() : ExtendsResult.False;
|
|
1535
1445
|
}
|
|
1536
1446
|
function FromObject(left, right) {
|
|
1537
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1447
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : !IsObject4(right) ? ExtendsResult.False : (() => {
|
|
1538
1448
|
for (const key of Object.getOwnPropertyNames(right.properties)) {
|
|
1539
|
-
if (!(key in left.properties) && !
|
|
1449
|
+
if (!(key in left.properties) && !IsOptional2(right.properties[key])) {
|
|
1540
1450
|
return ExtendsResult.False;
|
|
1541
1451
|
}
|
|
1542
|
-
if (
|
|
1452
|
+
if (IsOptional2(right.properties[key])) {
|
|
1543
1453
|
return ExtendsResult.True;
|
|
1544
1454
|
}
|
|
1545
1455
|
if (Property(left.properties[key], right.properties[key]) === ExtendsResult.False) {
|
|
@@ -1550,7 +1460,7 @@ function FromObject(left, right) {
|
|
|
1550
1460
|
})();
|
|
1551
1461
|
}
|
|
1552
1462
|
function FromPromise(left, right) {
|
|
1553
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1463
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) && IsObjectPromiseLike(right) ? ExtendsResult.True : !IsPromise2(right) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.item, right.item));
|
|
1554
1464
|
}
|
|
1555
1465
|
function RecordKey(schema) {
|
|
1556
1466
|
return PatternNumberExact in schema.patternProperties ? Number2() : (PatternStringExact in schema.patternProperties) ? String2() : Throw("Unknown record key pattern");
|
|
@@ -1560,7 +1470,7 @@ function RecordValue(schema) {
|
|
|
1560
1470
|
}
|
|
1561
1471
|
function FromRecordRight(left, right) {
|
|
1562
1472
|
const [Key, Value] = [RecordKey(right), RecordValue(right)];
|
|
1563
|
-
return
|
|
1473
|
+
return IsLiteralString(left) && IsNumber4(Key) && IntoBooleanResult(Visit3(left, Value)) === ExtendsResult.True ? ExtendsResult.True : IsUint8Array3(left) && IsNumber4(Key) ? Visit3(left, Value) : IsString3(left) && IsNumber4(Key) ? Visit3(left, Value) : IsArray4(left) && IsNumber4(Key) ? Visit3(left, Value) : IsObject4(left) ? (() => {
|
|
1564
1474
|
for (const key of Object.getOwnPropertyNames(left.properties)) {
|
|
1565
1475
|
if (Property(Value, left.properties[key]) === ExtendsResult.False) {
|
|
1566
1476
|
return ExtendsResult.False;
|
|
@@ -1570,39 +1480,39 @@ function FromRecordRight(left, right) {
|
|
|
1570
1480
|
})() : ExtendsResult.False;
|
|
1571
1481
|
}
|
|
1572
1482
|
function FromRecord(left, right) {
|
|
1573
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1483
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : !IsRecord2(right) ? ExtendsResult.False : Visit3(RecordValue(left), RecordValue(right));
|
|
1574
1484
|
}
|
|
1575
1485
|
function FromRegExp(left, right) {
|
|
1576
|
-
const L =
|
|
1577
|
-
const R =
|
|
1486
|
+
const L = IsRegExp3(left) ? String2() : left;
|
|
1487
|
+
const R = IsRegExp3(right) ? String2() : right;
|
|
1578
1488
|
return Visit3(L, R);
|
|
1579
1489
|
}
|
|
1580
1490
|
function FromStringRight(left, right) {
|
|
1581
|
-
return
|
|
1491
|
+
return IsLiteral2(left) && IsString(left.const) ? ExtendsResult.True : IsString3(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
1582
1492
|
}
|
|
1583
1493
|
function FromString(left, right) {
|
|
1584
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1494
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsString3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1585
1495
|
}
|
|
1586
1496
|
function FromSymbol(left, right) {
|
|
1587
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1497
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsSymbol3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1588
1498
|
}
|
|
1589
1499
|
function FromTemplateLiteral2(left, right) {
|
|
1590
|
-
return
|
|
1500
|
+
return IsTemplateLiteral2(left) ? Visit3(TemplateLiteralToUnion(left), right) : IsTemplateLiteral2(right) ? Visit3(left, TemplateLiteralToUnion(right)) : Throw("Invalid fallthrough for TemplateLiteral");
|
|
1591
1501
|
}
|
|
1592
1502
|
function IsArrayOfTuple(left, right) {
|
|
1593
|
-
return
|
|
1503
|
+
return IsArray4(right) && left.items !== undefined && left.items.every((schema) => Visit3(schema, right.items) === ExtendsResult.True);
|
|
1594
1504
|
}
|
|
1595
1505
|
function FromTupleRight(left, right) {
|
|
1596
|
-
return
|
|
1506
|
+
return IsNever2(left) ? ExtendsResult.True : IsUnknown2(left) ? ExtendsResult.False : IsAny2(left) ? ExtendsResult.Union : ExtendsResult.False;
|
|
1597
1507
|
}
|
|
1598
1508
|
function FromTuple3(left, right) {
|
|
1599
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1509
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) && IsObjectArrayLike(right) ? ExtendsResult.True : IsArray4(right) && IsArrayOfTuple(left, right) ? ExtendsResult.True : !IsTuple2(right) ? ExtendsResult.False : IsUndefined2(left.items) && !IsUndefined2(right.items) || !IsUndefined2(left.items) && IsUndefined2(right.items) ? ExtendsResult.False : IsUndefined2(left.items) && !IsUndefined2(right.items) ? ExtendsResult.True : left.items.every((schema, index) => Visit3(schema, right.items[index]) === ExtendsResult.True) ? ExtendsResult.True : ExtendsResult.False;
|
|
1600
1510
|
}
|
|
1601
1511
|
function FromUint8Array(left, right) {
|
|
1602
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1512
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsUint8Array3(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1603
1513
|
}
|
|
1604
1514
|
function FromUndefined(left, right) {
|
|
1605
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) :
|
|
1515
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsRecord2(right) ? FromRecordRight(left, right) : IsVoid2(right) ? FromVoidRight(left, right) : IsUndefined4(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1606
1516
|
}
|
|
1607
1517
|
function FromUnionRight(left, right) {
|
|
1608
1518
|
return right.anyOf.some((schema) => Visit3(left, schema) === ExtendsResult.True) ? ExtendsResult.True : ExtendsResult.False;
|
|
@@ -1614,16 +1524,16 @@ function FromUnknownRight(left, right) {
|
|
|
1614
1524
|
return ExtendsResult.True;
|
|
1615
1525
|
}
|
|
1616
1526
|
function FromUnknown(left, right) {
|
|
1617
|
-
return
|
|
1527
|
+
return IsNever2(right) ? FromNeverRight(left, right) : IsIntersect2(right) ? FromIntersectRight(left, right) : IsUnion2(right) ? FromUnionRight(left, right) : IsAny2(right) ? FromAnyRight(left, right) : IsString3(right) ? FromStringRight(left, right) : IsNumber4(right) ? FromNumberRight(left, right) : IsInteger2(right) ? FromIntegerRight(left, right) : IsBoolean3(right) ? FromBooleanRight(left, right) : IsArray4(right) ? FromArrayRight(left, right) : IsTuple2(right) ? FromTupleRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsUnknown2(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1618
1528
|
}
|
|
1619
1529
|
function FromVoidRight(left, right) {
|
|
1620
|
-
return
|
|
1530
|
+
return IsUndefined4(left) ? ExtendsResult.True : IsUndefined4(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
1621
1531
|
}
|
|
1622
1532
|
function FromVoid(left, right) {
|
|
1623
|
-
return
|
|
1533
|
+
return IsIntersect2(right) ? FromIntersectRight(left, right) : IsUnion2(right) ? FromUnionRight(left, right) : IsUnknown2(right) ? FromUnknownRight(left, right) : IsAny2(right) ? FromAnyRight(left, right) : IsObject4(right) ? FromObjectRight(left, right) : IsVoid2(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
1624
1534
|
}
|
|
1625
1535
|
function Visit3(left, right) {
|
|
1626
|
-
return
|
|
1536
|
+
return IsTemplateLiteral2(left) || IsTemplateLiteral2(right) ? FromTemplateLiteral2(left, right) : IsRegExp3(left) || IsRegExp3(right) ? FromRegExp(left, right) : IsNot2(left) || IsNot2(right) ? FromNot(left, right) : IsAny2(left) ? FromAny(left, right) : IsArray4(left) ? FromArray3(left, right) : IsBigInt3(left) ? FromBigInt(left, right) : IsBoolean3(left) ? FromBoolean(left, right) : IsAsyncIterator3(left) ? FromAsyncIterator(left, right) : IsConstructor2(left) ? FromConstructor(left, right) : IsDate3(left) ? FromDate(left, right) : IsFunction3(left) ? FromFunction(left, right) : IsInteger2(left) ? FromInteger(left, right) : IsIntersect2(left) ? FromIntersect3(left, right) : IsIterator3(left) ? FromIterator(left, right) : IsLiteral2(left) ? FromLiteral2(left, right) : IsNever2(left) ? FromNever(left, right) : IsNull3(left) ? FromNull(left, right) : IsNumber4(left) ? FromNumber(left, right) : IsObject4(left) ? FromObject(left, right) : IsRecord2(left) ? FromRecord(left, right) : IsString3(left) ? FromString(left, right) : IsSymbol3(left) ? FromSymbol(left, right) : IsTuple2(left) ? FromTuple3(left, right) : IsPromise2(left) ? FromPromise(left, right) : IsUint8Array3(left) ? FromUint8Array(left, right) : IsUndefined4(left) ? FromUndefined(left, right) : IsUnion2(left) ? FromUnion5(left, right) : IsUnknown2(left) ? FromUnknown(left, right) : IsVoid2(left) ? FromVoid(left, right) : Throw(`Unknown left type operand '${left[Kind]}'`);
|
|
1627
1537
|
}
|
|
1628
1538
|
function ExtendsCheck(left, right) {
|
|
1629
1539
|
return Visit3(left, right);
|
|
@@ -2117,7 +2027,7 @@ function FromObject3(type, propertyKeys, properties) {
|
|
|
2117
2027
|
return Object2(mappedProperties, options);
|
|
2118
2028
|
}
|
|
2119
2029
|
function UnionFromPropertyKeys(propertyKeys) {
|
|
2120
|
-
const result = propertyKeys.reduce((
|
|
2030
|
+
const result = propertyKeys.reduce((result, key) => IsLiteralValue(key) ? [...result, Literal(key)] : result, []);
|
|
2121
2031
|
return Union(result);
|
|
2122
2032
|
}
|
|
2123
2033
|
function OmitResolve(type, propertyKeys) {
|
|
@@ -2183,7 +2093,7 @@ function FromObject4(Type, keys, properties) {
|
|
|
2183
2093
|
return Object2(mappedProperties, options);
|
|
2184
2094
|
}
|
|
2185
2095
|
function UnionFromPropertyKeys2(propertyKeys) {
|
|
2186
|
-
const result = propertyKeys.reduce((
|
|
2096
|
+
const result = propertyKeys.reduce((result, key) => IsLiteralValue(key) ? [...result, Literal(key)] : result, []);
|
|
2187
2097
|
return Union(result);
|
|
2188
2098
|
}
|
|
2189
2099
|
function PickResolve(type, propertyKeys) {
|
|
@@ -2498,68 +2408,68 @@ function Void(options) {
|
|
|
2498
2408
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs
|
|
2499
2409
|
var exports_type2 = {};
|
|
2500
2410
|
__export(exports_type2, {
|
|
2501
|
-
|
|
2502
|
-
Uppercase: () => Uppercase,
|
|
2503
|
-
Unsafe: () => Unsafe,
|
|
2504
|
-
Unknown: () => Unknown,
|
|
2505
|
-
Union: () => Union,
|
|
2506
|
-
Undefined: () => Undefined,
|
|
2507
|
-
Uncapitalize: () => Uncapitalize,
|
|
2508
|
-
Uint8Array: () => Uint8Array2,
|
|
2509
|
-
Tuple: () => Tuple,
|
|
2510
|
-
Transform: () => Transform,
|
|
2511
|
-
TemplateLiteral: () => TemplateLiteral,
|
|
2512
|
-
Symbol: () => Symbol2,
|
|
2513
|
-
String: () => String2,
|
|
2514
|
-
ReturnType: () => ReturnType,
|
|
2515
|
-
Rest: () => Rest,
|
|
2516
|
-
Required: () => Required,
|
|
2517
|
-
RegExp: () => RegExp2,
|
|
2518
|
-
Ref: () => Ref,
|
|
2519
|
-
Recursive: () => Recursive,
|
|
2520
|
-
Record: () => Record,
|
|
2521
|
-
ReadonlyOptional: () => ReadonlyOptional,
|
|
2522
|
-
Readonly: () => Readonly,
|
|
2523
|
-
Promise: () => Promise2,
|
|
2524
|
-
Pick: () => Pick,
|
|
2525
|
-
Partial: () => Partial,
|
|
2526
|
-
Parameters: () => Parameters,
|
|
2527
|
-
Optional: () => Optional,
|
|
2528
|
-
Omit: () => Omit,
|
|
2529
|
-
Object: () => Object2,
|
|
2530
|
-
Number: () => Number2,
|
|
2531
|
-
Null: () => Null,
|
|
2532
|
-
Not: () => Not,
|
|
2533
|
-
Never: () => Never,
|
|
2534
|
-
Module: () => Module,
|
|
2535
|
-
Mapped: () => Mapped,
|
|
2536
|
-
Lowercase: () => Lowercase,
|
|
2537
|
-
Literal: () => Literal,
|
|
2538
|
-
KeyOf: () => KeyOf,
|
|
2539
|
-
Iterator: () => Iterator,
|
|
2540
|
-
Intersect: () => Intersect,
|
|
2541
|
-
Integer: () => Integer,
|
|
2542
|
-
Instantiate: () => Instantiate,
|
|
2543
|
-
InstanceType: () => InstanceType,
|
|
2544
|
-
Index: () => Index,
|
|
2545
|
-
Function: () => Function,
|
|
2546
|
-
Extract: () => Extract,
|
|
2547
|
-
Extends: () => Extends,
|
|
2548
|
-
Exclude: () => Exclude,
|
|
2549
|
-
Enum: () => Enum,
|
|
2550
|
-
Date: () => Date2,
|
|
2551
|
-
ConstructorParameters: () => ConstructorParameters,
|
|
2552
|
-
Constructor: () => Constructor,
|
|
2553
|
-
Const: () => Const,
|
|
2554
|
-
Composite: () => Composite,
|
|
2555
|
-
Capitalize: () => Capitalize,
|
|
2556
|
-
Boolean: () => Boolean2,
|
|
2557
|
-
BigInt: () => BigInt,
|
|
2558
|
-
Awaited: () => Awaited,
|
|
2559
|
-
AsyncIterator: () => AsyncIterator,
|
|
2560
|
-
Array: () => Array2,
|
|
2411
|
+
Any: () => Any,
|
|
2561
2412
|
Argument: () => Argument,
|
|
2562
|
-
|
|
2413
|
+
Array: () => Array2,
|
|
2414
|
+
AsyncIterator: () => AsyncIterator,
|
|
2415
|
+
Awaited: () => Awaited,
|
|
2416
|
+
BigInt: () => BigInt,
|
|
2417
|
+
Boolean: () => Boolean2,
|
|
2418
|
+
Capitalize: () => Capitalize,
|
|
2419
|
+
Composite: () => Composite,
|
|
2420
|
+
Const: () => Const,
|
|
2421
|
+
Constructor: () => Constructor,
|
|
2422
|
+
ConstructorParameters: () => ConstructorParameters,
|
|
2423
|
+
Date: () => Date2,
|
|
2424
|
+
Enum: () => Enum,
|
|
2425
|
+
Exclude: () => Exclude,
|
|
2426
|
+
Extends: () => Extends,
|
|
2427
|
+
Extract: () => Extract,
|
|
2428
|
+
Function: () => Function,
|
|
2429
|
+
Index: () => Index,
|
|
2430
|
+
InstanceType: () => InstanceType,
|
|
2431
|
+
Instantiate: () => Instantiate,
|
|
2432
|
+
Integer: () => Integer,
|
|
2433
|
+
Intersect: () => Intersect,
|
|
2434
|
+
Iterator: () => Iterator,
|
|
2435
|
+
KeyOf: () => KeyOf,
|
|
2436
|
+
Literal: () => Literal,
|
|
2437
|
+
Lowercase: () => Lowercase,
|
|
2438
|
+
Mapped: () => Mapped,
|
|
2439
|
+
Module: () => Module,
|
|
2440
|
+
Never: () => Never,
|
|
2441
|
+
Not: () => Not,
|
|
2442
|
+
Null: () => Null,
|
|
2443
|
+
Number: () => Number2,
|
|
2444
|
+
Object: () => Object2,
|
|
2445
|
+
Omit: () => Omit,
|
|
2446
|
+
Optional: () => Optional,
|
|
2447
|
+
Parameters: () => Parameters,
|
|
2448
|
+
Partial: () => Partial,
|
|
2449
|
+
Pick: () => Pick,
|
|
2450
|
+
Promise: () => Promise2,
|
|
2451
|
+
Readonly: () => Readonly,
|
|
2452
|
+
ReadonlyOptional: () => ReadonlyOptional,
|
|
2453
|
+
Record: () => Record,
|
|
2454
|
+
Recursive: () => Recursive,
|
|
2455
|
+
Ref: () => Ref,
|
|
2456
|
+
RegExp: () => RegExp2,
|
|
2457
|
+
Required: () => Required,
|
|
2458
|
+
Rest: () => Rest,
|
|
2459
|
+
ReturnType: () => ReturnType,
|
|
2460
|
+
String: () => String2,
|
|
2461
|
+
Symbol: () => Symbol2,
|
|
2462
|
+
TemplateLiteral: () => TemplateLiteral,
|
|
2463
|
+
Transform: () => Transform,
|
|
2464
|
+
Tuple: () => Tuple,
|
|
2465
|
+
Uint8Array: () => Uint8Array2,
|
|
2466
|
+
Uncapitalize: () => Uncapitalize,
|
|
2467
|
+
Undefined: () => Undefined,
|
|
2468
|
+
Union: () => Union,
|
|
2469
|
+
Unknown: () => Unknown,
|
|
2470
|
+
Unsafe: () => Unsafe,
|
|
2471
|
+
Uppercase: () => Uppercase,
|
|
2472
|
+
Void: () => Void
|
|
2563
2473
|
});
|
|
2564
2474
|
|
|
2565
2475
|
// ../node_modules/.bun/@sinclair+typebox@0.34.52/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
|
|
@@ -2917,5 +2827,5 @@ export {
|
|
|
2917
2827
|
manifest
|
|
2918
2828
|
};
|
|
2919
2829
|
|
|
2920
|
-
//# debugId=
|
|
2830
|
+
//# debugId=9F894580D2B53F0564756E2164756E21
|
|
2921
2831
|
//# sourceMappingURL=manifest.js.map
|