@tsed/core 8.0.0-alpha.5 → 8.0.0-alpha.7
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/lib/browser/core.umd.min.js +1 -1
- package/lib/browser/core.umd.min.js.map +1 -1
- package/lib/esm/decorators/deprecated.js.map +1 -1
- package/lib/esm/decorators/storeFn.js.map +1 -1
- package/lib/esm/domain/AnyToPromise.js.map +1 -1
- package/lib/esm/domain/Hooks.js +1 -4
- package/lib/esm/domain/Hooks.js.map +1 -1
- package/lib/esm/domain/Metadata.js.map +1 -1
- package/lib/esm/domain/Store.js.map +1 -1
- package/lib/esm/utils/catchError.js.map +1 -1
- package/lib/esm/utils/decorators/decorateMethodsOf.js.map +1 -1
- package/lib/esm/utils/decorators/decoratorTypeOf.js.map +1 -1
- package/lib/esm/utils/decorators/inheritedDescriptorOf.js.map +1 -1
- package/lib/esm/utils/http/getHostInfoFromPort.js.map +1 -1
- package/lib/esm/utils/imports/importPackage.js.map +1 -1
- package/lib/esm/utils/objects/ancestorsOf.js +1 -1
- package/lib/esm/utils/objects/ancestorsOf.js.map +1 -1
- package/lib/esm/utils/objects/cleanObject.js.map +1 -1
- package/lib/esm/utils/objects/deepClone.js +2 -2
- package/lib/esm/utils/objects/deepClone.js.map +1 -1
- package/lib/esm/utils/objects/deepMerge.js.map +1 -1
- package/lib/esm/utils/objects/getEnumerableKeys.js.map +1 -1
- package/lib/esm/utils/objects/getValue.js.map +1 -1
- package/lib/esm/utils/objects/isBuffer.js.map +1 -1
- package/lib/esm/utils/objects/isClass.js.map +1 -1
- package/lib/esm/utils/objects/isEnumerable.js.map +1 -1
- package/lib/esm/utils/objects/isInheritedFrom.js +1 -1
- package/lib/esm/utils/objects/isInheritedFrom.js.map +1 -1
- package/lib/esm/utils/objects/isSerializable.js +2 -2
- package/lib/esm/utils/objects/isSerializable.js.map +1 -1
- package/lib/esm/utils/objects/methodsOf.js +1 -1
- package/lib/esm/utils/objects/methodsOf.js.map +1 -1
- package/lib/esm/utils/objects/nameOf.js.map +1 -1
- package/lib/esm/utils/objects/primitiveOf.js.map +1 -1
- package/lib/esm/utils/objects/setValue.js.map +1 -1
- package/lib/esm/utils/objects/toMap.js.map +1 -1
- package/lib/esm/utils/proxyDelegation.js.map +1 -1
- package/lib/types/utils/objects/deepClone.d.ts +1 -1
- package/lib/types/utils/objects/isBuffer.d.ts +1 -1
- package/package.json +9 -10
- package/vitest.config.mts +5 -5
- package/lib/cjs/decorators/configurable.js +0 -14
- package/lib/cjs/decorators/configurable.js.map +0 -1
- package/lib/cjs/decorators/deprecated.js +0 -71
- package/lib/cjs/decorators/deprecated.js.map +0 -1
- package/lib/cjs/decorators/enumerable.js +0 -14
- package/lib/cjs/decorators/enumerable.js.map +0 -1
- package/lib/cjs/decorators/notConfigurable.js +0 -9
- package/lib/cjs/decorators/notConfigurable.js.map +0 -1
- package/lib/cjs/decorators/notEnumerable.js +0 -9
- package/lib/cjs/decorators/notEnumerable.js.map +0 -1
- package/lib/cjs/decorators/readOnly.js +0 -9
- package/lib/cjs/decorators/readOnly.js.map +0 -1
- package/lib/cjs/decorators/storeFn.js +0 -22
- package/lib/cjs/decorators/storeFn.js.map +0 -1
- package/lib/cjs/decorators/storeMerge.js +0 -11
- package/lib/cjs/decorators/storeMerge.js.map +0 -1
- package/lib/cjs/decorators/storeSet.js +0 -11
- package/lib/cjs/decorators/storeSet.js.map +0 -1
- package/lib/cjs/decorators/writable.js +0 -14
- package/lib/cjs/decorators/writable.js.map +0 -1
- package/lib/cjs/domain/AnyToPromise.js +0 -147
- package/lib/cjs/domain/AnyToPromise.js.map +0 -1
- package/lib/cjs/domain/DecoratorTypes.js +0 -15
- package/lib/cjs/domain/DecoratorTypes.js.map +0 -1
- package/lib/cjs/domain/Env.js +0 -19
- package/lib/cjs/domain/Env.js.map +0 -1
- package/lib/cjs/domain/Hooks.js +0 -99
- package/lib/cjs/domain/Hooks.js.map +0 -1
- package/lib/cjs/domain/Metadata.js +0 -508
- package/lib/cjs/domain/Metadata.js.map +0 -1
- package/lib/cjs/domain/Store.js +0 -157
- package/lib/cjs/domain/Store.js.map +0 -1
- package/lib/cjs/domain/Type.js +0 -7
- package/lib/cjs/domain/Type.js.map +0 -1
- package/lib/cjs/errors/UnsupportedDecoratorType.js +0 -23
- package/lib/cjs/errors/UnsupportedDecoratorType.js.map +0 -1
- package/lib/cjs/index.js +0 -90
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/interfaces/AnyDecorator.js +0 -3
- package/lib/cjs/interfaces/AnyDecorator.js.map +0 -1
- package/lib/cjs/interfaces/DecoratorParameters.js +0 -3
- package/lib/cjs/interfaces/DecoratorParameters.js.map +0 -1
- package/lib/cjs/interfaces/MetadataTypes.js +0 -3
- package/lib/cjs/interfaces/MetadataTypes.js.map +0 -1
- package/lib/cjs/interfaces/Relation.js +0 -3
- package/lib/cjs/interfaces/Relation.js.map +0 -1
- package/lib/cjs/interfaces/ValueOf.js +0 -3
- package/lib/cjs/interfaces/ValueOf.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/utils/catchError.js +0 -22
- package/lib/cjs/utils/catchError.js.map +0 -1
- package/lib/cjs/utils/decorators/decorateMethodsOf.js +0 -29
- package/lib/cjs/utils/decorators/decorateMethodsOf.js.map +0 -1
- package/lib/cjs/utils/decorators/decoratorArgs.js +0 -9
- package/lib/cjs/utils/decorators/decoratorArgs.js.map +0 -1
- package/lib/cjs/utils/decorators/decoratorTypeOf.js +0 -23
- package/lib/cjs/utils/decorators/decoratorTypeOf.js.map +0 -1
- package/lib/cjs/utils/decorators/inheritedDescriptorOf.js +0 -15
- package/lib/cjs/utils/decorators/inheritedDescriptorOf.js.map +0 -1
- package/lib/cjs/utils/decorators/useDecorators.js +0 -14
- package/lib/cjs/utils/decorators/useDecorators.js.map +0 -1
- package/lib/cjs/utils/decorators/useMethodDecorators.js +0 -15
- package/lib/cjs/utils/decorators/useMethodDecorators.js.map +0 -1
- package/lib/cjs/utils/getRandomId.js +0 -8
- package/lib/cjs/utils/getRandomId.js.map +0 -1
- package/lib/cjs/utils/http/getHostInfoFromPort.js +0 -21
- package/lib/cjs/utils/http/getHostInfoFromPort.js.map +0 -1
- package/lib/cjs/utils/imports/importPackage.js +0 -39
- package/lib/cjs/utils/imports/importPackage.js.map +0 -1
- package/lib/cjs/utils/objects/ancestorOf.js +0 -12
- package/lib/cjs/utils/objects/ancestorOf.js.map +0 -1
- package/lib/cjs/utils/objects/ancestorsOf.js +0 -22
- package/lib/cjs/utils/objects/ancestorsOf.js.map +0 -1
- package/lib/cjs/utils/objects/classOf.js +0 -23
- package/lib/cjs/utils/objects/classOf.js.map +0 -1
- package/lib/cjs/utils/objects/cleanObject.js +0 -24
- package/lib/cjs/utils/objects/cleanObject.js.map +0 -1
- package/lib/cjs/utils/objects/constructorOf.js +0 -20
- package/lib/cjs/utils/objects/constructorOf.js.map +0 -1
- package/lib/cjs/utils/objects/createInstance.js +0 -9
- package/lib/cjs/utils/objects/createInstance.js.map +0 -1
- package/lib/cjs/utils/objects/deepClone.js +0 -77
- package/lib/cjs/utils/objects/deepClone.js.map +0 -1
- package/lib/cjs/utils/objects/deepMerge.js +0 -63
- package/lib/cjs/utils/objects/deepMerge.js.map +0 -1
- package/lib/cjs/utils/objects/descriptorOf.js +0 -18
- package/lib/cjs/utils/objects/descriptorOf.js.map +0 -1
- package/lib/cjs/utils/objects/getClassOrSymbol.js +0 -10
- package/lib/cjs/utils/objects/getClassOrSymbol.js.map +0 -1
- package/lib/cjs/utils/objects/getConstructorArgNames.js +0 -14
- package/lib/cjs/utils/objects/getConstructorArgNames.js.map +0 -1
- package/lib/cjs/utils/objects/getEnumerableKeys.js +0 -20
- package/lib/cjs/utils/objects/getEnumerableKeys.js.map +0 -1
- package/lib/cjs/utils/objects/getValue.js +0 -49
- package/lib/cjs/utils/objects/getValue.js.map +0 -1
- package/lib/cjs/utils/objects/hasJsonMethod.js +0 -8
- package/lib/cjs/utils/objects/hasJsonMethod.js.map +0 -1
- package/lib/cjs/utils/objects/isArray.js +0 -23
- package/lib/cjs/utils/objects/isArray.js.map +0 -1
- package/lib/cjs/utils/objects/isArrowFn.js +0 -9
- package/lib/cjs/utils/objects/isArrowFn.js.map +0 -1
- package/lib/cjs/utils/objects/isBoolean.js +0 -17
- package/lib/cjs/utils/objects/isBoolean.js.map +0 -1
- package/lib/cjs/utils/objects/isBuffer.js +0 -21
- package/lib/cjs/utils/objects/isBuffer.js.map +0 -1
- package/lib/cjs/utils/objects/isClass.js +0 -28
- package/lib/cjs/utils/objects/isClass.js.map +0 -1
- package/lib/cjs/utils/objects/isCollection.js +0 -22
- package/lib/cjs/utils/objects/isCollection.js.map +0 -1
- package/lib/cjs/utils/objects/isDate.js +0 -13
- package/lib/cjs/utils/objects/isDate.js.map +0 -1
- package/lib/cjs/utils/objects/isEmpty.js +0 -14
- package/lib/cjs/utils/objects/isEmpty.js.map +0 -1
- package/lib/cjs/utils/objects/isEnumerable.js +0 -22
- package/lib/cjs/utils/objects/isEnumerable.js.map +0 -1
- package/lib/cjs/utils/objects/isFunction.js +0 -8
- package/lib/cjs/utils/objects/isFunction.js.map +0 -1
- package/lib/cjs/utils/objects/isInheritedFrom.js +0 -26
- package/lib/cjs/utils/objects/isInheritedFrom.js.map +0 -1
- package/lib/cjs/utils/objects/isMomentObject.js +0 -8
- package/lib/cjs/utils/objects/isMomentObject.js.map +0 -1
- package/lib/cjs/utils/objects/isMongooseObject.js +0 -13
- package/lib/cjs/utils/objects/isMongooseObject.js.map +0 -1
- package/lib/cjs/utils/objects/isNil.js +0 -8
- package/lib/cjs/utils/objects/isNil.js.map +0 -1
- package/lib/cjs/utils/objects/isNumber.js +0 -17
- package/lib/cjs/utils/objects/isNumber.js.map +0 -1
- package/lib/cjs/utils/objects/isObject.js +0 -8
- package/lib/cjs/utils/objects/isObject.js.map +0 -1
- package/lib/cjs/utils/objects/isObservable.js +0 -8
- package/lib/cjs/utils/objects/isObservable.js.map +0 -1
- package/lib/cjs/utils/objects/isPlainObject.js +0 -18
- package/lib/cjs/utils/objects/isPlainObject.js.map +0 -1
- package/lib/cjs/utils/objects/isPrimitive.js +0 -30
- package/lib/cjs/utils/objects/isPrimitive.js.map +0 -1
- package/lib/cjs/utils/objects/isPromise.js +0 -16
- package/lib/cjs/utils/objects/isPromise.js.map +0 -1
- package/lib/cjs/utils/objects/isProtectedKey.js +0 -12
- package/lib/cjs/utils/objects/isProtectedKey.js.map +0 -1
- package/lib/cjs/utils/objects/isRegExp.js +0 -8
- package/lib/cjs/utils/objects/isRegExp.js.map +0 -1
- package/lib/cjs/utils/objects/isSerializable.js +0 -13
- package/lib/cjs/utils/objects/isSerializable.js.map +0 -1
- package/lib/cjs/utils/objects/isStream.js +0 -8
- package/lib/cjs/utils/objects/isStream.js.map +0 -1
- package/lib/cjs/utils/objects/isString.js +0 -16
- package/lib/cjs/utils/objects/isString.js.map +0 -1
- package/lib/cjs/utils/objects/isSymbol.js +0 -16
- package/lib/cjs/utils/objects/isSymbol.js.map +0 -1
- package/lib/cjs/utils/objects/methodsOf.js +0 -25
- package/lib/cjs/utils/objects/methodsOf.js.map +0 -1
- package/lib/cjs/utils/objects/nameOf.js +0 -32
- package/lib/cjs/utils/objects/nameOf.js.map +0 -1
- package/lib/cjs/utils/objects/objectKeys.js +0 -9
- package/lib/cjs/utils/objects/objectKeys.js.map +0 -1
- package/lib/cjs/utils/objects/primitiveOf.js +0 -20
- package/lib/cjs/utils/objects/primitiveOf.js.map +0 -1
- package/lib/cjs/utils/objects/prototypeOf.js +0 -14
- package/lib/cjs/utils/objects/prototypeOf.js.map +0 -1
- package/lib/cjs/utils/objects/setValue.js +0 -34
- package/lib/cjs/utils/objects/setValue.js.map +0 -1
- package/lib/cjs/utils/objects/toMap.js +0 -36
- package/lib/cjs/utils/objects/toMap.js.map +0 -1
- package/lib/cjs/utils/objects/toStringConstructor.js +0 -12
- package/lib/cjs/utils/objects/toStringConstructor.js.map +0 -1
- package/lib/cjs/utils/proxyDelegation.js +0 -54
- package/lib/cjs/utils/proxyDelegation.js.map +0 -1
- package/lib/cjs/utils/uniq.js +0 -19
- package/lib/cjs/utils/uniq.js.map +0 -1
- package/lib/esm/package.json +0 -3
- package/lib/types-esm/decorators/configurable.d.ts +0 -1
- package/lib/types-esm/decorators/deprecated.d.ts +0 -32
- package/lib/types-esm/decorators/enumerable.d.ts +0 -1
- package/lib/types-esm/decorators/notConfigurable.d.ts +0 -1
- package/lib/types-esm/decorators/notEnumerable.d.ts +0 -1
- package/lib/types-esm/decorators/readOnly.d.ts +0 -1
- package/lib/types-esm/decorators/storeFn.d.ts +0 -9
- package/lib/types-esm/decorators/storeMerge.d.ts +0 -1
- package/lib/types-esm/decorators/storeSet.d.ts +0 -1
- package/lib/types-esm/decorators/writable.d.ts +0 -1
- package/lib/types-esm/domain/AnyToPromise.d.ts +0 -42
- package/lib/types-esm/domain/DecoratorTypes.d.ts +0 -10
- package/lib/types-esm/domain/Env.d.ts +0 -13
- package/lib/types-esm/domain/Hooks.d.ts +0 -47
- package/lib/types-esm/domain/Metadata.d.ts +0 -442
- package/lib/types-esm/domain/Store.d.ts +0 -69
- package/lib/types-esm/domain/Type.d.ts +0 -14
- package/lib/types-esm/errors/UnsupportedDecoratorType.d.ts +0 -5
- package/lib/types-esm/index.d.ts +0 -86
- package/lib/types-esm/interfaces/AnyDecorator.d.ts +0 -1
- package/lib/types-esm/interfaces/DecoratorParameters.d.ts +0 -3
- package/lib/types-esm/interfaces/MetadataTypes.d.ts +0 -5
- package/lib/types-esm/interfaces/Relation.d.ts +0 -1
- package/lib/types-esm/interfaces/ValueOf.d.ts +0 -1
- package/lib/types-esm/utils/catchError.d.ts +0 -2
- package/lib/types-esm/utils/decorators/decorateMethodsOf.d.ts +0 -1
- package/lib/types-esm/utils/decorators/decoratorArgs.d.ts +0 -2
- package/lib/types-esm/utils/decorators/decoratorTypeOf.d.ts +0 -2
- package/lib/types-esm/utils/decorators/inheritedDescriptorOf.d.ts +0 -1
- package/lib/types-esm/utils/decorators/useDecorators.d.ts +0 -2
- package/lib/types-esm/utils/decorators/useMethodDecorators.d.ts +0 -3
- package/lib/types-esm/utils/getRandomId.d.ts +0 -1
- package/lib/types-esm/utils/http/getHostInfoFromPort.d.ts +0 -7
- package/lib/types-esm/utils/imports/importPackage.d.ts +0 -1
- package/lib/types-esm/utils/objects/ancestorOf.d.ts +0 -2
- package/lib/types-esm/utils/objects/ancestorsOf.d.ts +0 -6
- package/lib/types-esm/utils/objects/classOf.d.ts +0 -13
- package/lib/types-esm/utils/objects/cleanObject.d.ts +0 -6
- package/lib/types-esm/utils/objects/constructorOf.d.ts +0 -11
- package/lib/types-esm/utils/objects/createInstance.d.ts +0 -1
- package/lib/types-esm/utils/objects/deepClone.d.ts +0 -6
- package/lib/types-esm/utils/objects/deepMerge.d.ts +0 -9
- package/lib/types-esm/utils/objects/descriptorOf.d.ts +0 -8
- package/lib/types-esm/utils/objects/getClassOrSymbol.d.ts +0 -1
- package/lib/types-esm/utils/objects/getConstructorArgNames.d.ts +0 -1
- package/lib/types-esm/utils/objects/getEnumerableKeys.d.ts +0 -5
- package/lib/types-esm/utils/objects/getValue.d.ts +0 -32
- package/lib/types-esm/utils/objects/hasJsonMethod.d.ts +0 -1
- package/lib/types-esm/utils/objects/isArray.d.ts +0 -13
- package/lib/types-esm/utils/objects/isArrowFn.d.ts +0 -1
- package/lib/types-esm/utils/objects/isBoolean.d.ts +0 -7
- package/lib/types-esm/utils/objects/isBuffer.d.ts +0 -8
- package/lib/types-esm/utils/objects/isClass.d.ts +0 -1
- package/lib/types-esm/utils/objects/isCollection.d.ts +0 -6
- package/lib/types-esm/utils/objects/isDate.d.ts +0 -6
- package/lib/types-esm/utils/objects/isEmpty.d.ts +0 -6
- package/lib/types-esm/utils/objects/isEnumerable.d.ts +0 -6
- package/lib/types-esm/utils/objects/isFunction.d.ts +0 -1
- package/lib/types-esm/utils/objects/isInheritedFrom.d.ts +0 -1
- package/lib/types-esm/utils/objects/isMomentObject.d.ts +0 -1
- package/lib/types-esm/utils/objects/isMongooseObject.d.ts +0 -2
- package/lib/types-esm/utils/objects/isNil.d.ts +0 -1
- package/lib/types-esm/utils/objects/isNumber.d.ts +0 -7
- package/lib/types-esm/utils/objects/isObject.d.ts +0 -1
- package/lib/types-esm/utils/objects/isObservable.d.ts +0 -1
- package/lib/types-esm/utils/objects/isPlainObject.d.ts +0 -7
- package/lib/types-esm/utils/objects/isPrimitive.d.ts +0 -14
- package/lib/types-esm/utils/objects/isPromise.d.ts +0 -7
- package/lib/types-esm/utils/objects/isProtectedKey.d.ts +0 -5
- package/lib/types-esm/utils/objects/isRegExp.d.ts +0 -1
- package/lib/types-esm/utils/objects/isSerializable.d.ts +0 -1
- package/lib/types-esm/utils/objects/isStream.d.ts +0 -1
- package/lib/types-esm/utils/objects/isString.d.ts +0 -6
- package/lib/types-esm/utils/objects/isSymbol.d.ts +0 -6
- package/lib/types-esm/utils/objects/methodsOf.d.ts +0 -9
- package/lib/types-esm/utils/objects/nameOf.d.ts +0 -14
- package/lib/types-esm/utils/objects/objectKeys.d.ts +0 -1
- package/lib/types-esm/utils/objects/primitiveOf.d.ts +0 -1
- package/lib/types-esm/utils/objects/prototypeOf.d.ts +0 -6
- package/lib/types-esm/utils/objects/setValue.d.ts +0 -1
- package/lib/types-esm/utils/objects/toMap.d.ts +0 -3
- package/lib/types-esm/utils/objects/toStringConstructor.d.ts +0 -1
- package/lib/types-esm/utils/proxyDelegation.d.ts +0 -33
- package/lib/types-esm/utils/uniq.d.ts +0 -5
- /package/{webpack.config.js → webpack.config.cjs} +0 -0
package/lib/types-esm/index.d.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Automatically generated by @tsed/barrels.
|
|
3
|
-
*/
|
|
4
|
-
export * from "./decorators/configurable.js";
|
|
5
|
-
export * from "./decorators/deprecated.js";
|
|
6
|
-
export * from "./decorators/enumerable.js";
|
|
7
|
-
export * from "./decorators/notConfigurable.js";
|
|
8
|
-
export * from "./decorators/notEnumerable.js";
|
|
9
|
-
export * from "./decorators/readOnly.js";
|
|
10
|
-
export * from "./decorators/storeFn.js";
|
|
11
|
-
export * from "./decorators/storeMerge.js";
|
|
12
|
-
export * from "./decorators/storeSet.js";
|
|
13
|
-
export * from "./decorators/writable.js";
|
|
14
|
-
export * from "./domain/AnyToPromise.js";
|
|
15
|
-
export * from "./domain/DecoratorTypes.js";
|
|
16
|
-
export * from "./domain/Env.js";
|
|
17
|
-
export * from "./domain/Hooks.js";
|
|
18
|
-
export * from "./domain/Metadata.js";
|
|
19
|
-
export * from "./domain/Store.js";
|
|
20
|
-
export * from "./domain/Type.js";
|
|
21
|
-
export * from "./errors/UnsupportedDecoratorType.js";
|
|
22
|
-
export * from "./interfaces/AnyDecorator.js";
|
|
23
|
-
export * from "./interfaces/DecoratorParameters.js";
|
|
24
|
-
export * from "./interfaces/MetadataTypes.js";
|
|
25
|
-
export * from "./interfaces/Relation.js";
|
|
26
|
-
export * from "./interfaces/ValueOf.js";
|
|
27
|
-
export * from "./utils/catchError.js";
|
|
28
|
-
export * from "./utils/decorators/decorateMethodsOf.js";
|
|
29
|
-
export * from "./utils/decorators/decoratorArgs.js";
|
|
30
|
-
export * from "./utils/decorators/decoratorTypeOf.js";
|
|
31
|
-
export * from "./utils/decorators/inheritedDescriptorOf.js";
|
|
32
|
-
export * from "./utils/decorators/useDecorators.js";
|
|
33
|
-
export * from "./utils/decorators/useMethodDecorators.js";
|
|
34
|
-
export * from "./utils/getRandomId.js";
|
|
35
|
-
export * from "./utils/http/getHostInfoFromPort.js";
|
|
36
|
-
export * from "./utils/imports/importPackage.js";
|
|
37
|
-
export * from "./utils/objects/ancestorOf.js";
|
|
38
|
-
export * from "./utils/objects/ancestorsOf.js";
|
|
39
|
-
export * from "./utils/objects/classOf.js";
|
|
40
|
-
export * from "./utils/objects/cleanObject.js";
|
|
41
|
-
export * from "./utils/objects/constructorOf.js";
|
|
42
|
-
export * from "./utils/objects/createInstance.js";
|
|
43
|
-
export * from "./utils/objects/deepClone.js";
|
|
44
|
-
export * from "./utils/objects/deepMerge.js";
|
|
45
|
-
export * from "./utils/objects/descriptorOf.js";
|
|
46
|
-
export * from "./utils/objects/getClassOrSymbol.js";
|
|
47
|
-
export * from "./utils/objects/getConstructorArgNames.js";
|
|
48
|
-
export * from "./utils/objects/getEnumerableKeys.js";
|
|
49
|
-
export * from "./utils/objects/getValue.js";
|
|
50
|
-
export * from "./utils/objects/hasJsonMethod.js";
|
|
51
|
-
export * from "./utils/objects/isArray.js";
|
|
52
|
-
export * from "./utils/objects/isArrowFn.js";
|
|
53
|
-
export * from "./utils/objects/isBoolean.js";
|
|
54
|
-
export * from "./utils/objects/isBuffer.js";
|
|
55
|
-
export * from "./utils/objects/isClass.js";
|
|
56
|
-
export * from "./utils/objects/isCollection.js";
|
|
57
|
-
export * from "./utils/objects/isDate.js";
|
|
58
|
-
export * from "./utils/objects/isEmpty.js";
|
|
59
|
-
export * from "./utils/objects/isEnumerable.js";
|
|
60
|
-
export * from "./utils/objects/isFunction.js";
|
|
61
|
-
export * from "./utils/objects/isInheritedFrom.js";
|
|
62
|
-
export * from "./utils/objects/isMomentObject.js";
|
|
63
|
-
export * from "./utils/objects/isMongooseObject.js";
|
|
64
|
-
export * from "./utils/objects/isNil.js";
|
|
65
|
-
export * from "./utils/objects/isNumber.js";
|
|
66
|
-
export * from "./utils/objects/isObject.js";
|
|
67
|
-
export * from "./utils/objects/isObservable.js";
|
|
68
|
-
export * from "./utils/objects/isPlainObject.js";
|
|
69
|
-
export * from "./utils/objects/isPrimitive.js";
|
|
70
|
-
export * from "./utils/objects/isPromise.js";
|
|
71
|
-
export * from "./utils/objects/isProtectedKey.js";
|
|
72
|
-
export * from "./utils/objects/isRegExp.js";
|
|
73
|
-
export * from "./utils/objects/isSerializable.js";
|
|
74
|
-
export * from "./utils/objects/isStream.js";
|
|
75
|
-
export * from "./utils/objects/isString.js";
|
|
76
|
-
export * from "./utils/objects/isSymbol.js";
|
|
77
|
-
export * from "./utils/objects/methodsOf.js";
|
|
78
|
-
export * from "./utils/objects/nameOf.js";
|
|
79
|
-
export * from "./utils/objects/objectKeys.js";
|
|
80
|
-
export * from "./utils/objects/primitiveOf.js";
|
|
81
|
-
export * from "./utils/objects/prototypeOf.js";
|
|
82
|
-
export * from "./utils/objects/setValue.js";
|
|
83
|
-
export * from "./utils/objects/toMap.js";
|
|
84
|
-
export * from "./utils/objects/toStringConstructor.js";
|
|
85
|
-
export * from "./utils/proxyDelegation.js";
|
|
86
|
-
export * from "./utils/uniq.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AnyDecorator = any | ClassDecorator | MethodDecorator | PropertyDescriptor | ParameterDecorator;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type DecoratorParameters = [any, string | symbol, number | PropertyDescriptor];
|
|
2
|
-
export type DecoratorMethodParameters = [any, string | symbol, PropertyDescriptor];
|
|
3
|
-
export type StaticMethodDecorator = <TFunction extends Function, T>(target: TFunction, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Relation<T> = T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ValueOf<T> = T[keyof T];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function decorateMethodsOf(klass: any, decorator: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function inheritedDescriptorOf(target: any, propertyKey: string): PropertyDescriptor | undefined;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { AnyDecorator } from "../../interfaces/AnyDecorator.js";
|
|
2
|
-
export declare function useMethodDecorator(decorator: AnyDecorator): (target: any, propertyKey: string | symbol) => any;
|
|
3
|
-
export declare function useMethodDecorators(...decorators: AnyDecorator[]): (target: any, propertyKey: string | symbol) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getRandomId(): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function importPackage(packageName: string, loaderFn?: Function, optional?: boolean): Promise<any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get the provide constructor if target is an instance.
|
|
3
|
-
* @param target
|
|
4
|
-
* @returns {*}
|
|
5
|
-
*/
|
|
6
|
-
export declare function getClass(target: any): any;
|
|
7
|
-
/**
|
|
8
|
-
* Get the provide constructor if target is an instance.
|
|
9
|
-
* @param target
|
|
10
|
-
* @returns {*}
|
|
11
|
-
* @alias getClass
|
|
12
|
-
*/
|
|
13
|
-
export declare function classOf(target: any): any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Type } from "../../domain/Type.js";
|
|
2
|
-
/**
|
|
3
|
-
* Get the class constructor
|
|
4
|
-
* @param target
|
|
5
|
-
*/
|
|
6
|
-
export declare function getConstructor(target: any): Type<any>;
|
|
7
|
-
/**
|
|
8
|
-
* Get the class constructor
|
|
9
|
-
* @param target
|
|
10
|
-
*/
|
|
11
|
-
export declare function constructorOf(target: any): Type<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function createInstance(obj: any): any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export type DeepMergeReducerCB = (collection: any[], value: any, options?: DeepMergeOptions) => any;
|
|
2
|
-
export type DeepMergeComparatorCB = (item: any, ref: any) => boolean;
|
|
3
|
-
export interface DeepMergeOptions {
|
|
4
|
-
reducers?: Record<string, DeepMergeReducerCB>;
|
|
5
|
-
parentKey?: string;
|
|
6
|
-
cleanUndefinedProps?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function mergeReducerBuilder(cb: DeepMergeComparatorCB): (collection: any[], value: any, options: DeepMergeOptions) => any[];
|
|
9
|
-
export declare function deepMerge<T = any, C = any>(source: T & any, obj: C & any, options?: DeepMergeOptions): (T & C) | undefined | null;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return the descriptor for a given class and propertyKey
|
|
3
|
-
* @param target
|
|
4
|
-
* @param {string} propertyKey
|
|
5
|
-
* @returns {PropertyDescriptor}
|
|
6
|
-
*/
|
|
7
|
-
export declare function descriptorOf(target: any, propertyKey: string | symbol): PropertyDescriptor;
|
|
8
|
-
export declare function isMethodDescriptor(target: any, propertyKey: string | symbol): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getClassOrSymbol(target: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getConstructorArgNames(target: any): string[];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get value from scope
|
|
3
|
-
* @param {string} expression
|
|
4
|
-
* @param scope
|
|
5
|
-
* @returns {any}
|
|
6
|
-
*/
|
|
7
|
-
export declare function getValue<T = any>(scope: any, expression: string | undefined): T | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* Get value from scope
|
|
10
|
-
* @param {string} expression
|
|
11
|
-
* @param scope
|
|
12
|
-
* @param defaultValue
|
|
13
|
-
* @param separator
|
|
14
|
-
* @returns {any}
|
|
15
|
-
*/
|
|
16
|
-
export declare function getValue<T = any>(scope: any, expression: string | undefined, defaultValue: T, separator?: string): T;
|
|
17
|
-
/**
|
|
18
|
-
* Get value from scope
|
|
19
|
-
* @param {string} expression
|
|
20
|
-
* @param scope
|
|
21
|
-
* @returns {any}
|
|
22
|
-
*/
|
|
23
|
-
export declare function getValue<T = any>(expression: string | undefined, scope: any): T | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Get value from scope
|
|
26
|
-
* @param {string} expression
|
|
27
|
-
* @param scope
|
|
28
|
-
* @param defaultValue
|
|
29
|
-
* @param separator
|
|
30
|
-
* @returns {any}
|
|
31
|
-
*/
|
|
32
|
-
export declare function getValue<T = any>(expression: string | undefined, scope: any, defaultValue: T, separator?: string): T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function hasJsonMethod(obj: any): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return true if value is an array
|
|
3
|
-
* @param target
|
|
4
|
-
* @returns {boolean}
|
|
5
|
-
*/
|
|
6
|
-
export declare function isArray<T = any>(target: unknown): target is T[];
|
|
7
|
-
/**
|
|
8
|
-
* Return true if the clazz is an array.
|
|
9
|
-
* @param target
|
|
10
|
-
* @returns {boolean}
|
|
11
|
-
* @ignore
|
|
12
|
-
*/
|
|
13
|
-
export declare function isArrayOrArrayClass<T = any>(target: unknown): target is T[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isArrowFn(target: any): target is Function;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isClass(target: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isFunction(target: any): target is Function;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isInheritedFrom(target: any, from: any, deep?: number): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isMomentObject(obj: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isNil(value: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isObject(target: any): target is object;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isObservable<T>(obj: any): boolean;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Return true if the given obj is a primitive.
|
|
3
|
-
* @param target
|
|
4
|
-
* @returns {boolean}
|
|
5
|
-
* @ignore
|
|
6
|
-
*/
|
|
7
|
-
export declare function isPrimitiveOrPrimitiveClass(target: any): boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Return true if the given obj is a primitive.
|
|
10
|
-
* @param target
|
|
11
|
-
* @returns {boolean}
|
|
12
|
-
*/
|
|
13
|
-
export declare function isPrimitive(target: any): boolean;
|
|
14
|
-
export declare function isPrimitiveClass(target: any): boolean;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests to see if the object is an ES2015 (ES6) Promise
|
|
3
|
-
* @see {@link https://www.ecma-international.org/ecma-262/6.0/#sec-promise-objects}
|
|
4
|
-
* @param target
|
|
5
|
-
* @returns {boolean}
|
|
6
|
-
*/
|
|
7
|
-
export declare function isPromise<T = any>(target: any): target is Promise<T>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isRegExp(target: any): target is RegExp;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isSerializable(data: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isStream(obj: any): boolean;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get the provide name.
|
|
3
|
-
* @param targetClass
|
|
4
|
-
*/
|
|
5
|
-
export declare function nameOfClass(targetClass: any): string;
|
|
6
|
-
/**
|
|
7
|
-
* Get symbol name.
|
|
8
|
-
* @param sym
|
|
9
|
-
*/
|
|
10
|
-
export declare const nameOfSymbol: (sym: symbol) => string;
|
|
11
|
-
/**
|
|
12
|
-
* Get object name
|
|
13
|
-
*/
|
|
14
|
-
export declare function nameOf(obj: any): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function objectKeys(obj: any): string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function primitiveOf(target: any): "string" | "number" | "boolean" | "any";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function setValue(scope: any, expression: string, value: any, separator?: string): void;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type ToMapIdentityCB<V> = (item: V, index: string | number) => string | string[];
|
|
2
|
-
export type ToMapIdentity<V> = string | ToMapIdentityCB<V>;
|
|
3
|
-
export declare function toMap<K extends keyof any = any, V = any>(input: Record<K, V> | V[], keyOrFn?: ToMapIdentity<V>): Map<K, V>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toStringConstructor(target: any): string;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @ignore
|
|
3
|
-
*/
|
|
4
|
-
export type ProxyDelegationGetter<T = any> = (target: T, property: PropertyKey) => any | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export type ProxyDelegationRemove<T = any> = (target: T, property: PropertyKey) => any;
|
|
9
|
-
/**
|
|
10
|
-
* @ignore
|
|
11
|
-
*/
|
|
12
|
-
export type ProxyDelegationSetter<T = any> = (target: T, property: PropertyKey, value: any, receiver: any) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @ignore
|
|
15
|
-
*/
|
|
16
|
-
export type ProxyDelegationOwnKeys<T = any> = (target: T) => (string | symbol)[];
|
|
17
|
-
/**
|
|
18
|
-
* @ignore
|
|
19
|
-
*/
|
|
20
|
-
export interface ProxyDelegation<T extends object> {
|
|
21
|
-
handlers?: ProxyHandler<T>;
|
|
22
|
-
getter?: ProxyDelegationGetter<T>;
|
|
23
|
-
setter?: ProxyDelegationSetter<T>;
|
|
24
|
-
remove?: ProxyDelegationRemove<T>;
|
|
25
|
-
ownKeys?: ProxyDelegationOwnKeys<T>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Create a complete and iterable trap.
|
|
29
|
-
* @param self
|
|
30
|
-
* @param options
|
|
31
|
-
* @ignore
|
|
32
|
-
*/
|
|
33
|
-
export declare function proxyDelegation<T extends object = any>(self: any, options?: ProxyDelegation<T>): T;
|
|
File without changes
|