@powerlines/deepkit 0.6.167 → 0.7.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/bin/deepkit-install.cjs +55 -90
- package/dist/capnp-BLx1WTBU.cjs +5175 -0
- package/dist/capnp-BiGNkOmV.mjs +4905 -0
- package/dist/capnp.cjs +47 -186
- package/dist/capnp.d.cts +78 -77
- package/dist/{capnp.d.ts → capnp.d.mts} +78 -77
- package/dist/capnp.mjs +3 -0
- package/dist/chunk-C0xms8kb.cjs +34 -0
- package/dist/esbuild-plugin.cjs +47 -11
- package/dist/esbuild-plugin.d.cts +20 -18
- package/dist/esbuild-plugin.d.mts +35 -0
- package/dist/esbuild-plugin.mjs +48 -0
- package/dist/index.cjs +69 -250
- package/dist/index.d.cts +10 -19
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +11 -0
- package/dist/reflect-type.cjs +24 -12
- package/dist/reflect-type.d.cts +7 -5
- package/dist/{reflect-type.d.ts → reflect-type.d.mts} +7 -5
- package/dist/reflect-type.mjs +24 -0
- package/dist/{reflection-9KUpjPqV.d.cts → reflection-BwdnCwaK.d.cts} +11 -17
- package/dist/{reflection-9KUpjPqV.d.ts → reflection-Chr4fE0i.d.mts} +11 -17
- package/dist/reflection-D9R8cdSo.d.mts +1561 -0
- package/dist/resolve-reflections.cjs +15 -9
- package/dist/resolve-reflections.d.cts +4 -2
- package/dist/{resolve-reflections.d.ts → resolve-reflections.d.mts} +4 -2
- package/dist/resolve-reflections.mjs +16 -0
- package/dist/rolldown-plugin.cjs +44 -11
- package/dist/rolldown-plugin.d.cts +5 -3
- package/dist/{rolldown-plugin.d.ts → rolldown-plugin.d.mts} +5 -3
- package/dist/rolldown-plugin.mjs +45 -0
- package/dist/transformer.cjs +52 -13
- package/dist/transformer.d.cts +6 -4
- package/dist/{transformer.d.ts → transformer.d.mts} +6 -4
- package/dist/transformer.mjs +51 -0
- package/dist/transpile.cjs +29 -10
- package/dist/transpile.d.cts +6 -4
- package/dist/{transpile.d.ts → transpile.d.mts} +6 -4
- package/dist/transpile.mjs +29 -0
- package/dist/types.cjs +0 -4
- package/dist/types.d.cts +9 -9
- package/dist/{types.d.ts → types.d.mts} +9 -9
- package/dist/types.mjs +1 -0
- package/dist/utilities.cjs +116 -33
- package/dist/utilities.d.cts +4 -2
- package/dist/{utilities.d.ts → utilities.d.mts} +4 -2
- package/dist/utilities.mjs +111 -0
- package/dist/vendor/core.cjs +1240 -513
- package/dist/vendor/core.mjs +1116 -0
- package/dist/vendor/string-BoXo0wS7.cjs +2983 -0
- package/dist/vendor/string-BuMgdahD.mjs +2467 -0
- package/dist/vendor/type-BMLjRtLY.cjs +202 -0
- package/dist/vendor/type-Dgeqs-rL.mjs +190 -0
- package/dist/vendor/type-compiler/compiler-BUrWMhGi.cjs +6792 -0
- package/dist/vendor/type-compiler/compiler-Bg8jX6qU.mjs +6739 -0
- package/dist/vendor/type-compiler/compiler-D1z5h1MK.d.cts +578 -0
- package/dist/vendor/type-compiler/compiler-Nkxc4PLJ.d.mts +578 -0
- package/dist/vendor/type-compiler/compiler.cjs +11 -43
- package/dist/vendor/type-compiler/compiler.d.cts +2 -3
- package/dist/vendor/type-compiler/compiler.d.mts +2 -0
- package/dist/vendor/type-compiler/compiler.mjs +3 -0
- package/dist/vendor/type-compiler/config-BEX924PC.cjs +3709 -0
- package/dist/vendor/type-compiler/config-B_cKkYZm.d.cts +116 -0
- package/dist/vendor/type-compiler/config-D9DM7Du_.d.mts +116 -0
- package/dist/vendor/type-compiler/config-y0HNkbCH.mjs +3640 -0
- package/dist/vendor/type-compiler/config.cjs +9 -34
- package/dist/vendor/type-compiler/config.d.cts +2 -1
- package/dist/vendor/type-compiler/config.d.mts +2 -0
- package/dist/vendor/type-compiler/config.mjs +3 -0
- package/dist/vendor/type-compiler/index.cjs +56 -129
- package/dist/vendor/type-compiler/index.d.cts +22 -3
- package/dist/vendor/type-compiler/index.d.mts +22 -0
- package/dist/vendor/type-compiler/index.mjs +50 -0
- package/dist/vendor/type-spec.cjs +11 -12
- package/dist/vendor/type-spec.mjs +3 -0
- package/dist/vendor/type.cjs +8407 -17892
- package/dist/vendor/type.d.cts +10 -196
- package/dist/vendor/{type.d.ts → type.d.mts} +10 -196
- package/dist/vendor/type.mjs +9109 -0
- package/package.json +43 -31
- package/schemas/reflection.cjs +4018 -4129
- package/schemas/reflection.d.cts +30 -38
- package/schemas/{reflection.d.ts → reflection.d.mts} +30 -38
- package/schemas/reflection.mjs +4036 -0
- package/dist/capnp.js +0 -2
- package/dist/chunk-23YNDVRG.js +0 -34
- package/dist/chunk-27RKMKSF.cjs +0 -50
- package/dist/chunk-2XDQUCXZ.js +0 -2392
- package/dist/chunk-34OFD7LS.cjs +0 -68
- package/dist/chunk-7FXYDYVQ.cjs +0 -5246
- package/dist/chunk-7QZGCBH7.cjs +0 -11
- package/dist/chunk-ALM6UMVU.js +0 -9
- package/dist/chunk-BLLXF42T.cjs +0 -41
- package/dist/chunk-H3Q3XL3D.js +0 -19
- package/dist/chunk-HPVJ6OV3.cjs +0 -31
- package/dist/chunk-JQUKKAFM.js +0 -48
- package/dist/chunk-KK7TQA7L.cjs +0 -25
- package/dist/chunk-NPV2346T.js +0 -25
- package/dist/chunk-ORA4UQMU.cjs +0 -2
- package/dist/chunk-OUGDFUKJ.cjs +0 -2400
- package/dist/chunk-OULCUN6I.js +0 -1
- package/dist/chunk-SHUYVCID.js +0 -4
- package/dist/chunk-TDYIUJGY.js +0 -5180
- package/dist/chunk-USNT2KNT.cjs +0 -6
- package/dist/chunk-WYEFKIRL.js +0 -66
- package/dist/esbuild-plugin.d.ts +0 -33
- package/dist/esbuild-plugin.js +0 -4
- package/dist/index.d.ts +0 -19
- package/dist/index.js +0 -10
- package/dist/reflect-type.js +0 -5
- package/dist/resolve-reflections.js +0 -2
- package/dist/rolldown-plugin.js +0 -4
- package/dist/transformer.js +0 -2
- package/dist/transpile.js +0 -3
- package/dist/types.js +0 -1
- package/dist/utilities.js +0 -2
- package/dist/vendor/chunk-5BKT4CS5.js +0 -28
- package/dist/vendor/chunk-BLN7QVCP.js +0 -3704
- package/dist/vendor/chunk-BR2FK5K7.js +0 -109
- package/dist/vendor/chunk-EPQZMVJO.cjs +0 -3859
- package/dist/vendor/chunk-IFK6AU6M.cjs +0 -42
- package/dist/vendor/chunk-SHDAXCXF.cjs +0 -115
- package/dist/vendor/core.js +0 -2
- package/dist/vendor/type-compiler/chunk-3LL3TSRJ.js +0 -3762
- package/dist/vendor/type-compiler/chunk-CUTGHVNY.js +0 -7100
- package/dist/vendor/type-compiler/chunk-IAWCLVUK.cjs +0 -3780
- package/dist/vendor/type-compiler/chunk-UIWPG352.cjs +0 -7114
- package/dist/vendor/type-compiler/compiler.d.ts +0 -3
- package/dist/vendor/type-compiler/compiler.js +0 -5
- package/dist/vendor/type-compiler/config.d.ts +0 -1
- package/dist/vendor/type-compiler/config.js +0 -5
- package/dist/vendor/type-compiler/index.d.ts +0 -3
- package/dist/vendor/type-compiler/index.js +0 -66
- package/dist/vendor/type-spec.js +0 -2
- package/dist/vendor/type.js +0 -18359
- package/schemas/reflection.js +0 -4153
- /package/dist/vendor/{core.d.ts → core.d.mts} +0 -0
- /package/dist/vendor/{type-spec.d.ts → type-spec.d.mts} +0 -0
package/dist/vendor/type.d.cts
CHANGED
|
@@ -53,11 +53,6 @@ export declare class AtomicChangeInstance<T extends object> {
|
|
|
53
53
|
increase(property: NumberFields<T>, increase?: number): void;
|
|
54
54
|
}
|
|
55
55
|
export declare function atomicChange<T extends object>(object: T): AtomicChangeInstance<T>;
|
|
56
|
-
export declare type __ΩNumberFields = any[];
|
|
57
|
-
export declare type __ΩExpression = any[];
|
|
58
|
-
export declare type __ΩPartial = any[];
|
|
59
|
-
export declare type __ΩDeepPartial = any[];
|
|
60
|
-
export declare type __ΩChangesInterface = any[];
|
|
61
56
|
declare class CustomError extends Error {
|
|
62
57
|
name: string;
|
|
63
58
|
constructor(...args: any[]);
|
|
@@ -391,6 +386,7 @@ export interface TagsReflection {
|
|
|
391
386
|
hidden?: boolean;
|
|
392
387
|
ignore?: boolean;
|
|
393
388
|
internal?: boolean;
|
|
389
|
+
runtime?: boolean;
|
|
394
390
|
alias?: string[];
|
|
395
391
|
title?: string;
|
|
396
392
|
readonly?: boolean;
|
|
@@ -813,6 +809,10 @@ export declare function isIgnore(type: Type): boolean;
|
|
|
813
809
|
* Checks whether the \`internal\` tag was specified for the type.
|
|
814
810
|
*/
|
|
815
811
|
export declare function isInternal(type: Type): boolean;
|
|
812
|
+
/**
|
|
813
|
+
* Checks whether the \`runtime\` tag was specified for the type.
|
|
814
|
+
*/
|
|
815
|
+
export declare function isRuntime(type: Type): boolean;
|
|
816
816
|
/**
|
|
817
817
|
* Returns the values specified by the type's \`alias\` tag(s).
|
|
818
818
|
*/
|
|
@@ -1416,102 +1416,6 @@ interface StringifyTypeOptions {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
export declare function stringifyType(type: Type, stateIn?: Partial<StringifyTypeOptions>): string;
|
|
1418
1418
|
export declare function annotateClass<T>(clazz: ClassType | AbstractClassType, type?: ReceiveType<T>): void;
|
|
1419
|
-
export declare type __ΩReflectionVisibility = any[];
|
|
1420
|
-
export declare type __ΩReflectionKind = any[];
|
|
1421
|
-
export declare type __ΩTypeDecorator = any[];
|
|
1422
|
-
export declare type __ΩAnnotations = any[];
|
|
1423
|
-
export declare type __ΩJitContainer = any[];
|
|
1424
|
-
export declare type __ΩTagsReflection = any[];
|
|
1425
|
-
export declare type __ΩTypeNever = any[];
|
|
1426
|
-
export declare type __ΩTypeAny = any[];
|
|
1427
|
-
export declare type __ΩTypeUnknown = any[];
|
|
1428
|
-
export declare type __ΩTypeVoid = any[];
|
|
1429
|
-
export declare type __ΩTypeObject = any[];
|
|
1430
|
-
export declare type __ΩTypeString = any[];
|
|
1431
|
-
export declare type __ΩTypeNumber = any[];
|
|
1432
|
-
export declare type __ΩTypeBoolean = any[];
|
|
1433
|
-
export declare type __ΩTypeBigInt = any[];
|
|
1434
|
-
export declare type __ΩTypeSymbol = any[];
|
|
1435
|
-
export declare type __ΩTypeNull = any[];
|
|
1436
|
-
export declare type __ΩTypeUndefined = any[];
|
|
1437
|
-
export declare type __ΩTypeLiteral = any[];
|
|
1438
|
-
export declare type __ΩTypeTemplateLiteral = any[];
|
|
1439
|
-
export declare type __ΩTypeRegexp = any[];
|
|
1440
|
-
export declare type __ΩTypeBaseMember = any[];
|
|
1441
|
-
export declare type __ΩTypeParameter = any[];
|
|
1442
|
-
export declare type __ΩTypeMethod = any[];
|
|
1443
|
-
export declare type __ΩTypeProperty = any[];
|
|
1444
|
-
export declare type __ΩTypeFunction = any[];
|
|
1445
|
-
export declare type __ΩTypeCallSignature = any[];
|
|
1446
|
-
export declare type __ΩTypePromise = any[];
|
|
1447
|
-
export declare type __ΩTypeClass = any[];
|
|
1448
|
-
export declare type __ΩTypeEnum = any[];
|
|
1449
|
-
export declare type __ΩTypeEnumMember = any[];
|
|
1450
|
-
export declare type __ΩTypeTypeParameter = any[];
|
|
1451
|
-
export declare type __ΩTypeUnion = any[];
|
|
1452
|
-
export declare type __ΩTypeIntersection = any[];
|
|
1453
|
-
export declare type __ΩTypeArray = any[];
|
|
1454
|
-
export declare type __ΩTypePropertySignature = any[];
|
|
1455
|
-
export declare type __ΩTypeMethodSignature = any[];
|
|
1456
|
-
export declare type __ΩTypeObjectLiteral = any[];
|
|
1457
|
-
export declare type __ΩTypeIndexSignature = any[];
|
|
1458
|
-
export declare type __ΩTypeInfer = any[];
|
|
1459
|
-
export declare type __ΩTypeTupleMember = any[];
|
|
1460
|
-
export declare type __ΩTypeTuple = any[];
|
|
1461
|
-
export declare type __ΩTypeRest = any[];
|
|
1462
|
-
export declare type __ΩWiden = any[];
|
|
1463
|
-
export declare type __ΩFindType = any[];
|
|
1464
|
-
export declare type __ΩInlineRuntimeType = any[];
|
|
1465
|
-
export declare type __ΩWithAnnotations = any[];
|
|
1466
|
-
export declare type __ΩParentLessType = any[];
|
|
1467
|
-
export declare type __Ωinteger = any[];
|
|
1468
|
-
export declare type __Ωint8 = any[];
|
|
1469
|
-
export declare type __Ωuint8 = any[];
|
|
1470
|
-
export declare type __Ωint16 = any[];
|
|
1471
|
-
export declare type __Ωuint16 = any[];
|
|
1472
|
-
export declare type __Ωint32 = any[];
|
|
1473
|
-
export declare type __Ωuint32 = any[];
|
|
1474
|
-
export declare type __Ωfloat = any[];
|
|
1475
|
-
export declare type __Ωfloat32 = any[];
|
|
1476
|
-
export declare type __Ωfloat64 = any[];
|
|
1477
|
-
export declare type __ΩAnnotationType = any[];
|
|
1478
|
-
export declare type __ΩReferenceActions = any[];
|
|
1479
|
-
export declare type __ΩReferenceOptions = any[];
|
|
1480
|
-
export declare type __ΩEntityOptions = any[];
|
|
1481
|
-
export declare type __ΩEntity = any[];
|
|
1482
|
-
export declare type __ΩPrimaryKey = any[];
|
|
1483
|
-
export declare type __ΩPrimaryKeyFields = any[];
|
|
1484
|
-
export declare type __ΩPrimaryKeyType = any[];
|
|
1485
|
-
export declare type __ΩReferenceFields = any[];
|
|
1486
|
-
export declare type __ΩAutoIncrement = any[];
|
|
1487
|
-
export declare type __ΩUUID = any[];
|
|
1488
|
-
export declare type __ΩMongoId = any[];
|
|
1489
|
-
export declare type __ΩBinaryBigInt = any[];
|
|
1490
|
-
export declare type __ΩSignedBinaryBigInt = any[];
|
|
1491
|
-
export declare type __ΩBackReferenceOptions = any[];
|
|
1492
|
-
export declare type __ΩReference = any[];
|
|
1493
|
-
export declare type __ΩBackReference = any[];
|
|
1494
|
-
export declare type __ΩEmbeddedMeta = any[];
|
|
1495
|
-
export declare type __ΩEmbedded = any[];
|
|
1496
|
-
export declare type __ΩMapName = any[];
|
|
1497
|
-
export declare type __ΩBackReferenceOptionsResolved = any[];
|
|
1498
|
-
export declare type __ΩEmbeddedOptions = any[];
|
|
1499
|
-
export declare type __ΩGroup = any[];
|
|
1500
|
-
export declare type __ΩExcluded = any[];
|
|
1501
|
-
export declare type __ΩData = any[];
|
|
1502
|
-
export declare type __ΩResetAnnotation = any[];
|
|
1503
|
-
export declare type __ΩIndexOptions = any[];
|
|
1504
|
-
export declare type __ΩUnique = any[];
|
|
1505
|
-
export declare type __ΩIndex = any[];
|
|
1506
|
-
export declare type __ΩDatabaseFieldOptions = any[];
|
|
1507
|
-
export declare type __ΩMySQLOptions = any[];
|
|
1508
|
-
export declare type __ΩPostgresOptions = any[];
|
|
1509
|
-
export declare type __ΩSqliteOptions = any[];
|
|
1510
|
-
export declare type __ΩMySQL = any[];
|
|
1511
|
-
export declare type __ΩPostgres = any[];
|
|
1512
|
-
export declare type __ΩSQLite = any[];
|
|
1513
|
-
export declare type __ΩDatabaseField = any[];
|
|
1514
|
-
export declare type __ΩBinaryBigIntType = any[];
|
|
1515
1419
|
export interface SerializedTypeAnnotations {
|
|
1516
1420
|
entityOptions?: EntityOptions;
|
|
1517
1421
|
typeName?: string;
|
|
@@ -1710,34 +1614,6 @@ interface DeserializeState {
|
|
|
1710
1614
|
};
|
|
1711
1615
|
}
|
|
1712
1616
|
export declare function deserializeType(types?: SerializedTypes, state?: Partial<DeserializeState>): Type;
|
|
1713
|
-
export declare type __ΩSerializedTypeAnnotations = any[];
|
|
1714
|
-
export declare type __ΩSerializedTypeObjectLiteral = any[];
|
|
1715
|
-
export declare type __ΩSerializedTypeClassType = any[];
|
|
1716
|
-
export declare type __ΩSerializedTypeFunction = any[];
|
|
1717
|
-
export declare type __ΩSerializedTypeReference = any[];
|
|
1718
|
-
export declare type __ΩSimpleSerializedType = any[];
|
|
1719
|
-
export declare type __ΩSerializedTypeLiteral = any[];
|
|
1720
|
-
export declare type __ΩSerializedTypeTemplateLiteral = any[];
|
|
1721
|
-
export declare type __ΩSerializedTypeParameter = any[];
|
|
1722
|
-
export declare type __ΩSerializedTypeBaseMember = any[];
|
|
1723
|
-
export declare type __ΩSerializedTypeMethod = any[];
|
|
1724
|
-
export declare type __ΩSerializedTypeProperty = any[];
|
|
1725
|
-
export declare type __ΩSerializedTypePromise = any[];
|
|
1726
|
-
export declare type __ΩSerializedTypeEnum = any[];
|
|
1727
|
-
export declare type __ΩSerializedTypeUnion = any[];
|
|
1728
|
-
export declare type __ΩSerializedTypeIntersection = any[];
|
|
1729
|
-
export declare type __ΩSerializedTypeArray = any[];
|
|
1730
|
-
export declare type __ΩSerializedTypeIndexSignature = any[];
|
|
1731
|
-
export declare type __ΩSerializedTypePropertySignature = any[];
|
|
1732
|
-
export declare type __ΩSerializedTypeMethodSignature = any[];
|
|
1733
|
-
export declare type __ΩSerializedTypeTypeParameter = any[];
|
|
1734
|
-
export declare type __ΩSerializedTypeInfer = any[];
|
|
1735
|
-
export declare type __ΩSerializedTypeTupleMember = any[];
|
|
1736
|
-
export declare type __ΩSerializedTypeTuple = any[];
|
|
1737
|
-
export declare type __ΩSerializedTypeRest = any[];
|
|
1738
|
-
export declare type __ΩSerializedType = any[];
|
|
1739
|
-
export declare type __ΩSerializedTypes = any[];
|
|
1740
|
-
export declare type __ΩSerializerState = any[];
|
|
1741
1617
|
/**
|
|
1742
1618
|
* Make sure to change the id when a custom naming strategy is implemented, since caches are based on it.
|
|
1743
1619
|
*/
|
|
@@ -2143,11 +2019,6 @@ export declare class EmptySerializer extends Serializer {
|
|
|
2143
2019
|
protected registerSerializers(): void;
|
|
2144
2020
|
}
|
|
2145
2021
|
export declare const serializer: Serializer;
|
|
2146
|
-
export declare type __ΩSerializationOptions = any[];
|
|
2147
|
-
export declare type __ΩSerializeFunction = any[];
|
|
2148
|
-
export declare type __ΩGuard = any[];
|
|
2149
|
-
export declare type __ΩTemplate = any[];
|
|
2150
|
-
export declare type __ΩTemplateHook = any[];
|
|
2151
2022
|
export type ValidatorMeta<Name extends string, Args extends [
|
|
2152
2023
|
...args: any[]
|
|
2153
2024
|
] = [
|
|
@@ -2299,32 +2170,6 @@ export declare function validateFunction<T>(serializerToUse?: Serializer, type?:
|
|
|
2299
2170
|
* Returns true when valid, and false if not.
|
|
2300
2171
|
*/
|
|
2301
2172
|
export declare function validates<T>(data: any, type?: ReceiveType<T>): boolean;
|
|
2302
|
-
export declare type __ΩValidatorMeta = any[];
|
|
2303
|
-
export declare type __ΩValidateFunction = any[];
|
|
2304
|
-
export declare type __ΩValidate = any[];
|
|
2305
|
-
export declare type __ΩPattern = any[];
|
|
2306
|
-
export declare type __ΩAlpha = any[];
|
|
2307
|
-
export declare type __ΩAlphanumeric = any[];
|
|
2308
|
-
export declare type __ΩAscii = any[];
|
|
2309
|
-
export declare type __ΩDecimal = any[];
|
|
2310
|
-
export declare type __ΩMultipleOf = any[];
|
|
2311
|
-
export declare type __ΩMinLength = any[];
|
|
2312
|
-
export declare type __ΩMaxLength = any[];
|
|
2313
|
-
export declare type __ΩIncludes = any[];
|
|
2314
|
-
export declare type __ΩExcludes = any[];
|
|
2315
|
-
export declare type __ΩMinimum = any[];
|
|
2316
|
-
export declare type __ΩMaximum = any[];
|
|
2317
|
-
export declare type __ΩPositive = any[];
|
|
2318
|
-
export declare type __ΩNegative = any[];
|
|
2319
|
-
export declare type __ΩPositiveNoZero = any[];
|
|
2320
|
-
export declare type __ΩNegativeNoZero = any[];
|
|
2321
|
-
export declare type __ΩExclusiveMinimum = any[];
|
|
2322
|
-
export declare type __ΩExclusiveMaximum = any[];
|
|
2323
|
-
export declare type __ΩBeforeDate = any[];
|
|
2324
|
-
export declare type __ΩAfterDate = any[];
|
|
2325
|
-
export declare type __ΩBeforeNow = any[];
|
|
2326
|
-
export declare type __ΩAfterNow = any[];
|
|
2327
|
-
export declare type __ΩEmail = any[];
|
|
2328
2173
|
export type RuntimeStackEntry = Type | Object | (() => ClassType | Object) | string | number | boolean | bigint;
|
|
2329
2174
|
export type Packed = (RuntimeStackEntry | string)[] & {
|
|
2330
2175
|
__is?: (data: any) => boolean;
|
|
@@ -2445,9 +2290,6 @@ export declare class Processor {
|
|
|
2445
2290
|
}
|
|
2446
2291
|
export declare function typeInfer(value: any): Type;
|
|
2447
2292
|
export declare function getEnumType(values: any[]): Type;
|
|
2448
|
-
export declare type __ΩRuntimeStackEntry = any[];
|
|
2449
|
-
export declare type __ΩPacked = any[];
|
|
2450
|
-
export declare type __ΩReflectOptions = any[];
|
|
2451
2293
|
/**
|
|
2452
2294
|
* Receives the runtime type of template argument.
|
|
2453
2295
|
*
|
|
@@ -2503,6 +2345,7 @@ export declare class ReflectionParameter {
|
|
|
2503
2345
|
isHidden(): boolean;
|
|
2504
2346
|
isIgnored(): boolean;
|
|
2505
2347
|
isInternal(): boolean;
|
|
2348
|
+
isRuntime(): boolean;
|
|
2506
2349
|
getAlias(): string[];
|
|
2507
2350
|
getTitle(): string | undefined;
|
|
2508
2351
|
getPermission(): string[];
|
|
@@ -2544,6 +2387,7 @@ export declare class ReflectionFunction {
|
|
|
2544
2387
|
isReadonly(): boolean;
|
|
2545
2388
|
isIgnored(): boolean;
|
|
2546
2389
|
isInternal(): boolean;
|
|
2390
|
+
isRuntime(): boolean;
|
|
2547
2391
|
getAlias(): string[];
|
|
2548
2392
|
getTitle(): string | undefined;
|
|
2549
2393
|
getPermission(): string[];
|
|
@@ -2570,6 +2414,7 @@ export declare class ReflectionMethod extends ReflectionFunction {
|
|
|
2570
2414
|
isIgnored(): boolean;
|
|
2571
2415
|
isReadonly(): boolean;
|
|
2572
2416
|
isInternal(): boolean;
|
|
2417
|
+
isRuntime(): boolean;
|
|
2573
2418
|
getAlias(): string[];
|
|
2574
2419
|
getTitle(): string | undefined;
|
|
2575
2420
|
getPermission(): string[];
|
|
@@ -2703,6 +2548,7 @@ export declare class ReflectionProperty {
|
|
|
2703
2548
|
isHidden(): boolean;
|
|
2704
2549
|
isIgnored(): boolean;
|
|
2705
2550
|
isInternal(): boolean;
|
|
2551
|
+
isRuntime(): boolean;
|
|
2706
2552
|
getAlias(): string[];
|
|
2707
2553
|
getTitle(): string | undefined;
|
|
2708
2554
|
getPermission(): string[];
|
|
@@ -2895,6 +2741,7 @@ export declare class ReflectionClass<T> {
|
|
|
2895
2741
|
isHidden(): boolean;
|
|
2896
2742
|
isIgnored(): boolean;
|
|
2897
2743
|
isInternal(): boolean;
|
|
2744
|
+
isRuntime(): boolean;
|
|
2898
2745
|
isReadonly(): boolean;
|
|
2899
2746
|
getAlias(): string[];
|
|
2900
2747
|
getTitle(): string | undefined;
|
|
@@ -2916,8 +2763,6 @@ export declare class ReflectionClass<T> {
|
|
|
2916
2763
|
findReverseReference(toClassType: ClassType, fromReference: ReflectionProperty): ReflectionProperty;
|
|
2917
2764
|
extractPrimaryKey(item: object): Partial<T>;
|
|
2918
2765
|
}
|
|
2919
|
-
export declare type __ΩReceiveType = any[];
|
|
2920
|
-
export declare type __ΩSerializerFn = any[];
|
|
2921
2766
|
/**
|
|
2922
2767
|
* This is a comparator function for the snapshots. They are either string, number, boolean, array, or objects.
|
|
2923
2768
|
* No date, moment, or custom classes involved here.
|
|
@@ -3003,10 +2848,6 @@ export declare function arrayBufferFrom(data: string, encoding?: string): ArrayB
|
|
|
3003
2848
|
* Same as Buffer.from(arrayBuffer).toString(encoding), but more in line with the current API.
|
|
3004
2849
|
*/
|
|
3005
2850
|
export declare function arrayBufferTo(arrayBuffer: ArrayBuffer, encoding?: string | "utf8" | "base64" | "ascii"): string;
|
|
3006
|
-
export declare type __ΩUnpopulatedCheck = any[];
|
|
3007
|
-
export declare type __ΩTypeSettings = any[];
|
|
3008
|
-
export declare type __ΩTypedArrayClassType = any[];
|
|
3009
|
-
export declare type __ΩTypedArray = any[];
|
|
3010
2851
|
export type ClassDecoratorFn = (classType: AbstractClassType, property?: string, parameterIndexOrDescriptor?: any) => void;
|
|
3011
2852
|
export type PropertyDecoratorFn = (prototype: object, property?: number | string | symbol, parameterIndexOrDescriptor?: any) => void;
|
|
3012
2853
|
export type FluidDecorator<T, D extends Function> = {
|
|
@@ -3069,24 +2910,6 @@ export type FreeDecoratorResult<API extends APIClass<any>> = FreeFluidDecorator<
|
|
|
3069
2910
|
};
|
|
3070
2911
|
export declare function createFreeDecoratorContext<API extends APIClass<any>, T = ExtractApiDataType<API>>(apiType: API): FreeDecoratorResult<API>;
|
|
3071
2912
|
export declare function isDecoratorContext<API extends APIClass<any>>(context: FreeDecoratorResult<API>, fn: Function): fn is FreeFluidDecorator<API>;
|
|
3072
|
-
export declare type __ΩClassDecoratorFn = any[];
|
|
3073
|
-
export declare type __ΩPropertyDecoratorFn = any[];
|
|
3074
|
-
export declare type __ΩFluidDecorator = any[];
|
|
3075
|
-
export declare type __ΩUnionToIntersection = any[];
|
|
3076
|
-
export declare type __ΩMerge = any[];
|
|
3077
|
-
export declare type __ΩDualDecorator = any[];
|
|
3078
|
-
export declare type __ΩClassApiTypeInterface = any[];
|
|
3079
|
-
export declare type __ΩAPIClass = any[];
|
|
3080
|
-
export declare type __ΩExtractClass = any[];
|
|
3081
|
-
export declare type __ΩExtractApiDataType = any[];
|
|
3082
|
-
export declare type __ΩClassDecoratorResult = any[];
|
|
3083
|
-
export declare type __ΩPropertyApiTypeInterface = any[];
|
|
3084
|
-
export declare type __ΩAPIProperty = any[];
|
|
3085
|
-
export declare type __ΩDecoratorAndFetchSignature = any[];
|
|
3086
|
-
export declare type __ΩPropertyDecoratorResult = any[];
|
|
3087
|
-
export declare type __ΩFreeDecoratorFn = any[];
|
|
3088
|
-
export declare type __ΩFreeFluidDecorator = any[];
|
|
3089
|
-
export declare type __ΩFreeDecoratorResult = any[];
|
|
3090
2913
|
declare class TDecorator {
|
|
3091
2914
|
t: TData;
|
|
3092
2915
|
onDecorator(target: any, property?: string, parameterIndexOrDescriptor?: any): void;
|
|
@@ -3177,7 +3000,6 @@ export declare function mixin<T extends AbstractClassType[]>(...classTypes: T):
|
|
|
3177
3000
|
export type Resolver = (path: string) => Type | undefined;
|
|
3178
3001
|
export declare function resolvePath<T>(path: string, type?: ReceiveType<T>): Type;
|
|
3179
3002
|
export declare function pathResolver<T>(type?: ReceiveType<T>, jitStack?: JitStack): Resolver;
|
|
3180
|
-
export declare type __ΩResolver = any[];
|
|
3181
3003
|
export declare function isReferenceInstance(obj: any): boolean;
|
|
3182
3004
|
export declare function getReferenceInfo<T>(obj: T): ReferenceInfo<T> | undefined;
|
|
3183
3005
|
export declare function getReferenceItemInfo<T>(obj: T): ReferenceItemInfo<T> | undefined;
|
|
@@ -3196,8 +3018,6 @@ export declare function createReference<T>(type: ClassType<T> | Type | Reflectio
|
|
|
3196
3018
|
[name: string]: any;
|
|
3197
3019
|
}): T;
|
|
3198
3020
|
export declare function createReferenceClass<T>(reflection: ReflectionClass<any>): ClassType<T>;
|
|
3199
|
-
export declare type __ΩReferenceInfo = any[];
|
|
3200
|
-
export declare type __ΩReferenceItemInfo = any[];
|
|
3201
3021
|
interface RegistryDecorator<T> {
|
|
3202
3022
|
predicate: (type: Type) => boolean;
|
|
3203
3023
|
v: T;
|
|
@@ -3257,11 +3077,6 @@ export type JSONEntity<T> = {
|
|
|
3257
3077
|
[name in keyof T]: JSONSingle<T[name]>;
|
|
3258
3078
|
};
|
|
3259
3079
|
export declare function regExpFromString(v: string): RegExp;
|
|
3260
|
-
export declare type __ΩBinary = any[];
|
|
3261
|
-
export declare type __ΩJSONPartial = any[];
|
|
3262
|
-
export declare type __ΩJSONPartialObject = any[];
|
|
3263
|
-
export declare type __ΩJSONSingle = any[];
|
|
3264
|
-
export declare type __ΩJSONEntity = any[];
|
|
3265
3080
|
/**
|
|
3266
3081
|
* Casts/coerces a given data structure to the target data type and validates all attached validators.
|
|
3267
3082
|
*
|
|
@@ -3390,7 +3205,6 @@ export declare function guard<T>(serializerToUse?: Serializer, receiveType?: Rec
|
|
|
3390
3205
|
*/
|
|
3391
3206
|
export declare function assert<T>(data: any, serializerToUse?: Serializer, receiveType?: ReceiveType<T>): asserts data is T;
|
|
3392
3207
|
export type AutoId = number & PrimaryKey & AutoIncrement & Positive;
|
|
3393
|
-
export declare type __ΩAutoId = any[];
|
|
3394
3208
|
export declare const validators: {
|
|
3395
3209
|
[name in string]?: (...args: any[]) => (value: any) => ValidatorError | undefined;
|
|
3396
3210
|
};
|
|
@@ -53,11 +53,6 @@ export declare class AtomicChangeInstance<T extends object> {
|
|
|
53
53
|
increase(property: NumberFields<T>, increase?: number): void;
|
|
54
54
|
}
|
|
55
55
|
export declare function atomicChange<T extends object>(object: T): AtomicChangeInstance<T>;
|
|
56
|
-
export declare type __ΩNumberFields = any[];
|
|
57
|
-
export declare type __ΩExpression = any[];
|
|
58
|
-
export declare type __ΩPartial = any[];
|
|
59
|
-
export declare type __ΩDeepPartial = any[];
|
|
60
|
-
export declare type __ΩChangesInterface = any[];
|
|
61
56
|
declare class CustomError extends Error {
|
|
62
57
|
name: string;
|
|
63
58
|
constructor(...args: any[]);
|
|
@@ -391,6 +386,7 @@ export interface TagsReflection {
|
|
|
391
386
|
hidden?: boolean;
|
|
392
387
|
ignore?: boolean;
|
|
393
388
|
internal?: boolean;
|
|
389
|
+
runtime?: boolean;
|
|
394
390
|
alias?: string[];
|
|
395
391
|
title?: string;
|
|
396
392
|
readonly?: boolean;
|
|
@@ -813,6 +809,10 @@ export declare function isIgnore(type: Type): boolean;
|
|
|
813
809
|
* Checks whether the \`internal\` tag was specified for the type.
|
|
814
810
|
*/
|
|
815
811
|
export declare function isInternal(type: Type): boolean;
|
|
812
|
+
/**
|
|
813
|
+
* Checks whether the \`runtime\` tag was specified for the type.
|
|
814
|
+
*/
|
|
815
|
+
export declare function isRuntime(type: Type): boolean;
|
|
816
816
|
/**
|
|
817
817
|
* Returns the values specified by the type's \`alias\` tag(s).
|
|
818
818
|
*/
|
|
@@ -1416,102 +1416,6 @@ interface StringifyTypeOptions {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
export declare function stringifyType(type: Type, stateIn?: Partial<StringifyTypeOptions>): string;
|
|
1418
1418
|
export declare function annotateClass<T>(clazz: ClassType | AbstractClassType, type?: ReceiveType<T>): void;
|
|
1419
|
-
export declare type __ΩReflectionVisibility = any[];
|
|
1420
|
-
export declare type __ΩReflectionKind = any[];
|
|
1421
|
-
export declare type __ΩTypeDecorator = any[];
|
|
1422
|
-
export declare type __ΩAnnotations = any[];
|
|
1423
|
-
export declare type __ΩJitContainer = any[];
|
|
1424
|
-
export declare type __ΩTagsReflection = any[];
|
|
1425
|
-
export declare type __ΩTypeNever = any[];
|
|
1426
|
-
export declare type __ΩTypeAny = any[];
|
|
1427
|
-
export declare type __ΩTypeUnknown = any[];
|
|
1428
|
-
export declare type __ΩTypeVoid = any[];
|
|
1429
|
-
export declare type __ΩTypeObject = any[];
|
|
1430
|
-
export declare type __ΩTypeString = any[];
|
|
1431
|
-
export declare type __ΩTypeNumber = any[];
|
|
1432
|
-
export declare type __ΩTypeBoolean = any[];
|
|
1433
|
-
export declare type __ΩTypeBigInt = any[];
|
|
1434
|
-
export declare type __ΩTypeSymbol = any[];
|
|
1435
|
-
export declare type __ΩTypeNull = any[];
|
|
1436
|
-
export declare type __ΩTypeUndefined = any[];
|
|
1437
|
-
export declare type __ΩTypeLiteral = any[];
|
|
1438
|
-
export declare type __ΩTypeTemplateLiteral = any[];
|
|
1439
|
-
export declare type __ΩTypeRegexp = any[];
|
|
1440
|
-
export declare type __ΩTypeBaseMember = any[];
|
|
1441
|
-
export declare type __ΩTypeParameter = any[];
|
|
1442
|
-
export declare type __ΩTypeMethod = any[];
|
|
1443
|
-
export declare type __ΩTypeProperty = any[];
|
|
1444
|
-
export declare type __ΩTypeFunction = any[];
|
|
1445
|
-
export declare type __ΩTypeCallSignature = any[];
|
|
1446
|
-
export declare type __ΩTypePromise = any[];
|
|
1447
|
-
export declare type __ΩTypeClass = any[];
|
|
1448
|
-
export declare type __ΩTypeEnum = any[];
|
|
1449
|
-
export declare type __ΩTypeEnumMember = any[];
|
|
1450
|
-
export declare type __ΩTypeTypeParameter = any[];
|
|
1451
|
-
export declare type __ΩTypeUnion = any[];
|
|
1452
|
-
export declare type __ΩTypeIntersection = any[];
|
|
1453
|
-
export declare type __ΩTypeArray = any[];
|
|
1454
|
-
export declare type __ΩTypePropertySignature = any[];
|
|
1455
|
-
export declare type __ΩTypeMethodSignature = any[];
|
|
1456
|
-
export declare type __ΩTypeObjectLiteral = any[];
|
|
1457
|
-
export declare type __ΩTypeIndexSignature = any[];
|
|
1458
|
-
export declare type __ΩTypeInfer = any[];
|
|
1459
|
-
export declare type __ΩTypeTupleMember = any[];
|
|
1460
|
-
export declare type __ΩTypeTuple = any[];
|
|
1461
|
-
export declare type __ΩTypeRest = any[];
|
|
1462
|
-
export declare type __ΩWiden = any[];
|
|
1463
|
-
export declare type __ΩFindType = any[];
|
|
1464
|
-
export declare type __ΩInlineRuntimeType = any[];
|
|
1465
|
-
export declare type __ΩWithAnnotations = any[];
|
|
1466
|
-
export declare type __ΩParentLessType = any[];
|
|
1467
|
-
export declare type __Ωinteger = any[];
|
|
1468
|
-
export declare type __Ωint8 = any[];
|
|
1469
|
-
export declare type __Ωuint8 = any[];
|
|
1470
|
-
export declare type __Ωint16 = any[];
|
|
1471
|
-
export declare type __Ωuint16 = any[];
|
|
1472
|
-
export declare type __Ωint32 = any[];
|
|
1473
|
-
export declare type __Ωuint32 = any[];
|
|
1474
|
-
export declare type __Ωfloat = any[];
|
|
1475
|
-
export declare type __Ωfloat32 = any[];
|
|
1476
|
-
export declare type __Ωfloat64 = any[];
|
|
1477
|
-
export declare type __ΩAnnotationType = any[];
|
|
1478
|
-
export declare type __ΩReferenceActions = any[];
|
|
1479
|
-
export declare type __ΩReferenceOptions = any[];
|
|
1480
|
-
export declare type __ΩEntityOptions = any[];
|
|
1481
|
-
export declare type __ΩEntity = any[];
|
|
1482
|
-
export declare type __ΩPrimaryKey = any[];
|
|
1483
|
-
export declare type __ΩPrimaryKeyFields = any[];
|
|
1484
|
-
export declare type __ΩPrimaryKeyType = any[];
|
|
1485
|
-
export declare type __ΩReferenceFields = any[];
|
|
1486
|
-
export declare type __ΩAutoIncrement = any[];
|
|
1487
|
-
export declare type __ΩUUID = any[];
|
|
1488
|
-
export declare type __ΩMongoId = any[];
|
|
1489
|
-
export declare type __ΩBinaryBigInt = any[];
|
|
1490
|
-
export declare type __ΩSignedBinaryBigInt = any[];
|
|
1491
|
-
export declare type __ΩBackReferenceOptions = any[];
|
|
1492
|
-
export declare type __ΩReference = any[];
|
|
1493
|
-
export declare type __ΩBackReference = any[];
|
|
1494
|
-
export declare type __ΩEmbeddedMeta = any[];
|
|
1495
|
-
export declare type __ΩEmbedded = any[];
|
|
1496
|
-
export declare type __ΩMapName = any[];
|
|
1497
|
-
export declare type __ΩBackReferenceOptionsResolved = any[];
|
|
1498
|
-
export declare type __ΩEmbeddedOptions = any[];
|
|
1499
|
-
export declare type __ΩGroup = any[];
|
|
1500
|
-
export declare type __ΩExcluded = any[];
|
|
1501
|
-
export declare type __ΩData = any[];
|
|
1502
|
-
export declare type __ΩResetAnnotation = any[];
|
|
1503
|
-
export declare type __ΩIndexOptions = any[];
|
|
1504
|
-
export declare type __ΩUnique = any[];
|
|
1505
|
-
export declare type __ΩIndex = any[];
|
|
1506
|
-
export declare type __ΩDatabaseFieldOptions = any[];
|
|
1507
|
-
export declare type __ΩMySQLOptions = any[];
|
|
1508
|
-
export declare type __ΩPostgresOptions = any[];
|
|
1509
|
-
export declare type __ΩSqliteOptions = any[];
|
|
1510
|
-
export declare type __ΩMySQL = any[];
|
|
1511
|
-
export declare type __ΩPostgres = any[];
|
|
1512
|
-
export declare type __ΩSQLite = any[];
|
|
1513
|
-
export declare type __ΩDatabaseField = any[];
|
|
1514
|
-
export declare type __ΩBinaryBigIntType = any[];
|
|
1515
1419
|
export interface SerializedTypeAnnotations {
|
|
1516
1420
|
entityOptions?: EntityOptions;
|
|
1517
1421
|
typeName?: string;
|
|
@@ -1710,34 +1614,6 @@ interface DeserializeState {
|
|
|
1710
1614
|
};
|
|
1711
1615
|
}
|
|
1712
1616
|
export declare function deserializeType(types?: SerializedTypes, state?: Partial<DeserializeState>): Type;
|
|
1713
|
-
export declare type __ΩSerializedTypeAnnotations = any[];
|
|
1714
|
-
export declare type __ΩSerializedTypeObjectLiteral = any[];
|
|
1715
|
-
export declare type __ΩSerializedTypeClassType = any[];
|
|
1716
|
-
export declare type __ΩSerializedTypeFunction = any[];
|
|
1717
|
-
export declare type __ΩSerializedTypeReference = any[];
|
|
1718
|
-
export declare type __ΩSimpleSerializedType = any[];
|
|
1719
|
-
export declare type __ΩSerializedTypeLiteral = any[];
|
|
1720
|
-
export declare type __ΩSerializedTypeTemplateLiteral = any[];
|
|
1721
|
-
export declare type __ΩSerializedTypeParameter = any[];
|
|
1722
|
-
export declare type __ΩSerializedTypeBaseMember = any[];
|
|
1723
|
-
export declare type __ΩSerializedTypeMethod = any[];
|
|
1724
|
-
export declare type __ΩSerializedTypeProperty = any[];
|
|
1725
|
-
export declare type __ΩSerializedTypePromise = any[];
|
|
1726
|
-
export declare type __ΩSerializedTypeEnum = any[];
|
|
1727
|
-
export declare type __ΩSerializedTypeUnion = any[];
|
|
1728
|
-
export declare type __ΩSerializedTypeIntersection = any[];
|
|
1729
|
-
export declare type __ΩSerializedTypeArray = any[];
|
|
1730
|
-
export declare type __ΩSerializedTypeIndexSignature = any[];
|
|
1731
|
-
export declare type __ΩSerializedTypePropertySignature = any[];
|
|
1732
|
-
export declare type __ΩSerializedTypeMethodSignature = any[];
|
|
1733
|
-
export declare type __ΩSerializedTypeTypeParameter = any[];
|
|
1734
|
-
export declare type __ΩSerializedTypeInfer = any[];
|
|
1735
|
-
export declare type __ΩSerializedTypeTupleMember = any[];
|
|
1736
|
-
export declare type __ΩSerializedTypeTuple = any[];
|
|
1737
|
-
export declare type __ΩSerializedTypeRest = any[];
|
|
1738
|
-
export declare type __ΩSerializedType = any[];
|
|
1739
|
-
export declare type __ΩSerializedTypes = any[];
|
|
1740
|
-
export declare type __ΩSerializerState = any[];
|
|
1741
1617
|
/**
|
|
1742
1618
|
* Make sure to change the id when a custom naming strategy is implemented, since caches are based on it.
|
|
1743
1619
|
*/
|
|
@@ -2143,11 +2019,6 @@ export declare class EmptySerializer extends Serializer {
|
|
|
2143
2019
|
protected registerSerializers(): void;
|
|
2144
2020
|
}
|
|
2145
2021
|
export declare const serializer: Serializer;
|
|
2146
|
-
export declare type __ΩSerializationOptions = any[];
|
|
2147
|
-
export declare type __ΩSerializeFunction = any[];
|
|
2148
|
-
export declare type __ΩGuard = any[];
|
|
2149
|
-
export declare type __ΩTemplate = any[];
|
|
2150
|
-
export declare type __ΩTemplateHook = any[];
|
|
2151
2022
|
export type ValidatorMeta<Name extends string, Args extends [
|
|
2152
2023
|
...args: any[]
|
|
2153
2024
|
] = [
|
|
@@ -2299,32 +2170,6 @@ export declare function validateFunction<T>(serializerToUse?: Serializer, type?:
|
|
|
2299
2170
|
* Returns true when valid, and false if not.
|
|
2300
2171
|
*/
|
|
2301
2172
|
export declare function validates<T>(data: any, type?: ReceiveType<T>): boolean;
|
|
2302
|
-
export declare type __ΩValidatorMeta = any[];
|
|
2303
|
-
export declare type __ΩValidateFunction = any[];
|
|
2304
|
-
export declare type __ΩValidate = any[];
|
|
2305
|
-
export declare type __ΩPattern = any[];
|
|
2306
|
-
export declare type __ΩAlpha = any[];
|
|
2307
|
-
export declare type __ΩAlphanumeric = any[];
|
|
2308
|
-
export declare type __ΩAscii = any[];
|
|
2309
|
-
export declare type __ΩDecimal = any[];
|
|
2310
|
-
export declare type __ΩMultipleOf = any[];
|
|
2311
|
-
export declare type __ΩMinLength = any[];
|
|
2312
|
-
export declare type __ΩMaxLength = any[];
|
|
2313
|
-
export declare type __ΩIncludes = any[];
|
|
2314
|
-
export declare type __ΩExcludes = any[];
|
|
2315
|
-
export declare type __ΩMinimum = any[];
|
|
2316
|
-
export declare type __ΩMaximum = any[];
|
|
2317
|
-
export declare type __ΩPositive = any[];
|
|
2318
|
-
export declare type __ΩNegative = any[];
|
|
2319
|
-
export declare type __ΩPositiveNoZero = any[];
|
|
2320
|
-
export declare type __ΩNegativeNoZero = any[];
|
|
2321
|
-
export declare type __ΩExclusiveMinimum = any[];
|
|
2322
|
-
export declare type __ΩExclusiveMaximum = any[];
|
|
2323
|
-
export declare type __ΩBeforeDate = any[];
|
|
2324
|
-
export declare type __ΩAfterDate = any[];
|
|
2325
|
-
export declare type __ΩBeforeNow = any[];
|
|
2326
|
-
export declare type __ΩAfterNow = any[];
|
|
2327
|
-
export declare type __ΩEmail = any[];
|
|
2328
2173
|
export type RuntimeStackEntry = Type | Object | (() => ClassType | Object) | string | number | boolean | bigint;
|
|
2329
2174
|
export type Packed = (RuntimeStackEntry | string)[] & {
|
|
2330
2175
|
__is?: (data: any) => boolean;
|
|
@@ -2445,9 +2290,6 @@ export declare class Processor {
|
|
|
2445
2290
|
}
|
|
2446
2291
|
export declare function typeInfer(value: any): Type;
|
|
2447
2292
|
export declare function getEnumType(values: any[]): Type;
|
|
2448
|
-
export declare type __ΩRuntimeStackEntry = any[];
|
|
2449
|
-
export declare type __ΩPacked = any[];
|
|
2450
|
-
export declare type __ΩReflectOptions = any[];
|
|
2451
2293
|
/**
|
|
2452
2294
|
* Receives the runtime type of template argument.
|
|
2453
2295
|
*
|
|
@@ -2503,6 +2345,7 @@ export declare class ReflectionParameter {
|
|
|
2503
2345
|
isHidden(): boolean;
|
|
2504
2346
|
isIgnored(): boolean;
|
|
2505
2347
|
isInternal(): boolean;
|
|
2348
|
+
isRuntime(): boolean;
|
|
2506
2349
|
getAlias(): string[];
|
|
2507
2350
|
getTitle(): string | undefined;
|
|
2508
2351
|
getPermission(): string[];
|
|
@@ -2544,6 +2387,7 @@ export declare class ReflectionFunction {
|
|
|
2544
2387
|
isReadonly(): boolean;
|
|
2545
2388
|
isIgnored(): boolean;
|
|
2546
2389
|
isInternal(): boolean;
|
|
2390
|
+
isRuntime(): boolean;
|
|
2547
2391
|
getAlias(): string[];
|
|
2548
2392
|
getTitle(): string | undefined;
|
|
2549
2393
|
getPermission(): string[];
|
|
@@ -2570,6 +2414,7 @@ export declare class ReflectionMethod extends ReflectionFunction {
|
|
|
2570
2414
|
isIgnored(): boolean;
|
|
2571
2415
|
isReadonly(): boolean;
|
|
2572
2416
|
isInternal(): boolean;
|
|
2417
|
+
isRuntime(): boolean;
|
|
2573
2418
|
getAlias(): string[];
|
|
2574
2419
|
getTitle(): string | undefined;
|
|
2575
2420
|
getPermission(): string[];
|
|
@@ -2703,6 +2548,7 @@ export declare class ReflectionProperty {
|
|
|
2703
2548
|
isHidden(): boolean;
|
|
2704
2549
|
isIgnored(): boolean;
|
|
2705
2550
|
isInternal(): boolean;
|
|
2551
|
+
isRuntime(): boolean;
|
|
2706
2552
|
getAlias(): string[];
|
|
2707
2553
|
getTitle(): string | undefined;
|
|
2708
2554
|
getPermission(): string[];
|
|
@@ -2895,6 +2741,7 @@ export declare class ReflectionClass<T> {
|
|
|
2895
2741
|
isHidden(): boolean;
|
|
2896
2742
|
isIgnored(): boolean;
|
|
2897
2743
|
isInternal(): boolean;
|
|
2744
|
+
isRuntime(): boolean;
|
|
2898
2745
|
isReadonly(): boolean;
|
|
2899
2746
|
getAlias(): string[];
|
|
2900
2747
|
getTitle(): string | undefined;
|
|
@@ -2916,8 +2763,6 @@ export declare class ReflectionClass<T> {
|
|
|
2916
2763
|
findReverseReference(toClassType: ClassType, fromReference: ReflectionProperty): ReflectionProperty;
|
|
2917
2764
|
extractPrimaryKey(item: object): Partial<T>;
|
|
2918
2765
|
}
|
|
2919
|
-
export declare type __ΩReceiveType = any[];
|
|
2920
|
-
export declare type __ΩSerializerFn = any[];
|
|
2921
2766
|
/**
|
|
2922
2767
|
* This is a comparator function for the snapshots. They are either string, number, boolean, array, or objects.
|
|
2923
2768
|
* No date, moment, or custom classes involved here.
|
|
@@ -3003,10 +2848,6 @@ export declare function arrayBufferFrom(data: string, encoding?: string): ArrayB
|
|
|
3003
2848
|
* Same as Buffer.from(arrayBuffer).toString(encoding), but more in line with the current API.
|
|
3004
2849
|
*/
|
|
3005
2850
|
export declare function arrayBufferTo(arrayBuffer: ArrayBuffer, encoding?: string | "utf8" | "base64" | "ascii"): string;
|
|
3006
|
-
export declare type __ΩUnpopulatedCheck = any[];
|
|
3007
|
-
export declare type __ΩTypeSettings = any[];
|
|
3008
|
-
export declare type __ΩTypedArrayClassType = any[];
|
|
3009
|
-
export declare type __ΩTypedArray = any[];
|
|
3010
2851
|
export type ClassDecoratorFn = (classType: AbstractClassType, property?: string, parameterIndexOrDescriptor?: any) => void;
|
|
3011
2852
|
export type PropertyDecoratorFn = (prototype: object, property?: number | string | symbol, parameterIndexOrDescriptor?: any) => void;
|
|
3012
2853
|
export type FluidDecorator<T, D extends Function> = {
|
|
@@ -3069,24 +2910,6 @@ export type FreeDecoratorResult<API extends APIClass<any>> = FreeFluidDecorator<
|
|
|
3069
2910
|
};
|
|
3070
2911
|
export declare function createFreeDecoratorContext<API extends APIClass<any>, T = ExtractApiDataType<API>>(apiType: API): FreeDecoratorResult<API>;
|
|
3071
2912
|
export declare function isDecoratorContext<API extends APIClass<any>>(context: FreeDecoratorResult<API>, fn: Function): fn is FreeFluidDecorator<API>;
|
|
3072
|
-
export declare type __ΩClassDecoratorFn = any[];
|
|
3073
|
-
export declare type __ΩPropertyDecoratorFn = any[];
|
|
3074
|
-
export declare type __ΩFluidDecorator = any[];
|
|
3075
|
-
export declare type __ΩUnionToIntersection = any[];
|
|
3076
|
-
export declare type __ΩMerge = any[];
|
|
3077
|
-
export declare type __ΩDualDecorator = any[];
|
|
3078
|
-
export declare type __ΩClassApiTypeInterface = any[];
|
|
3079
|
-
export declare type __ΩAPIClass = any[];
|
|
3080
|
-
export declare type __ΩExtractClass = any[];
|
|
3081
|
-
export declare type __ΩExtractApiDataType = any[];
|
|
3082
|
-
export declare type __ΩClassDecoratorResult = any[];
|
|
3083
|
-
export declare type __ΩPropertyApiTypeInterface = any[];
|
|
3084
|
-
export declare type __ΩAPIProperty = any[];
|
|
3085
|
-
export declare type __ΩDecoratorAndFetchSignature = any[];
|
|
3086
|
-
export declare type __ΩPropertyDecoratorResult = any[];
|
|
3087
|
-
export declare type __ΩFreeDecoratorFn = any[];
|
|
3088
|
-
export declare type __ΩFreeFluidDecorator = any[];
|
|
3089
|
-
export declare type __ΩFreeDecoratorResult = any[];
|
|
3090
2913
|
declare class TDecorator {
|
|
3091
2914
|
t: TData;
|
|
3092
2915
|
onDecorator(target: any, property?: string, parameterIndexOrDescriptor?: any): void;
|
|
@@ -3177,7 +3000,6 @@ export declare function mixin<T extends AbstractClassType[]>(...classTypes: T):
|
|
|
3177
3000
|
export type Resolver = (path: string) => Type | undefined;
|
|
3178
3001
|
export declare function resolvePath<T>(path: string, type?: ReceiveType<T>): Type;
|
|
3179
3002
|
export declare function pathResolver<T>(type?: ReceiveType<T>, jitStack?: JitStack): Resolver;
|
|
3180
|
-
export declare type __ΩResolver = any[];
|
|
3181
3003
|
export declare function isReferenceInstance(obj: any): boolean;
|
|
3182
3004
|
export declare function getReferenceInfo<T>(obj: T): ReferenceInfo<T> | undefined;
|
|
3183
3005
|
export declare function getReferenceItemInfo<T>(obj: T): ReferenceItemInfo<T> | undefined;
|
|
@@ -3196,8 +3018,6 @@ export declare function createReference<T>(type: ClassType<T> | Type | Reflectio
|
|
|
3196
3018
|
[name: string]: any;
|
|
3197
3019
|
}): T;
|
|
3198
3020
|
export declare function createReferenceClass<T>(reflection: ReflectionClass<any>): ClassType<T>;
|
|
3199
|
-
export declare type __ΩReferenceInfo = any[];
|
|
3200
|
-
export declare type __ΩReferenceItemInfo = any[];
|
|
3201
3021
|
interface RegistryDecorator<T> {
|
|
3202
3022
|
predicate: (type: Type) => boolean;
|
|
3203
3023
|
v: T;
|
|
@@ -3257,11 +3077,6 @@ export type JSONEntity<T> = {
|
|
|
3257
3077
|
[name in keyof T]: JSONSingle<T[name]>;
|
|
3258
3078
|
};
|
|
3259
3079
|
export declare function regExpFromString(v: string): RegExp;
|
|
3260
|
-
export declare type __ΩBinary = any[];
|
|
3261
|
-
export declare type __ΩJSONPartial = any[];
|
|
3262
|
-
export declare type __ΩJSONPartialObject = any[];
|
|
3263
|
-
export declare type __ΩJSONSingle = any[];
|
|
3264
|
-
export declare type __ΩJSONEntity = any[];
|
|
3265
3080
|
/**
|
|
3266
3081
|
* Casts/coerces a given data structure to the target data type and validates all attached validators.
|
|
3267
3082
|
*
|
|
@@ -3390,7 +3205,6 @@ export declare function guard<T>(serializerToUse?: Serializer, receiveType?: Rec
|
|
|
3390
3205
|
*/
|
|
3391
3206
|
export declare function assert<T>(data: any, serializerToUse?: Serializer, receiveType?: ReceiveType<T>): asserts data is T;
|
|
3392
3207
|
export type AutoId = number & PrimaryKey & AutoIncrement & Positive;
|
|
3393
|
-
export declare type __ΩAutoId = any[];
|
|
3394
3208
|
export declare const validators: {
|
|
3395
3209
|
[name in string]?: (...args: any[]) => (value: any) => ValidatorError | undefined;
|
|
3396
3210
|
};
|