@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
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnsupportedDecoratorType = void 0;
|
|
4
|
-
const decoratorTypeOf_js_1 = require("../utils/decorators/decoratorTypeOf.js");
|
|
5
|
-
const classOf_js_1 = require("../utils/objects/classOf.js");
|
|
6
|
-
const nameOf_js_1 = require("../utils/objects/nameOf.js");
|
|
7
|
-
class UnsupportedDecoratorType extends Error {
|
|
8
|
-
constructor(decorator, args) {
|
|
9
|
-
super(UnsupportedDecoratorType.buildMessage(decorator, args));
|
|
10
|
-
}
|
|
11
|
-
static buildMessage(decorator, args) {
|
|
12
|
-
const [target, propertyKey, index] = args;
|
|
13
|
-
const bindingType = (0, decoratorTypeOf_js_1.decoratorTypeOf)(args);
|
|
14
|
-
const shortBinding = bindingType.split("/")[0];
|
|
15
|
-
const param = shortBinding === "parameter" ? ".[" + index + "]" : "";
|
|
16
|
-
const cstr = shortBinding === "parameter" ? ".constructor" : "";
|
|
17
|
-
const method = propertyKey ? "." + propertyKey : cstr;
|
|
18
|
-
const path = (0, nameOf_js_1.nameOf)((0, classOf_js_1.classOf)(target)) + method + param;
|
|
19
|
-
return `${decorator.name} cannot be used as ${bindingType} decorator on ${path}`;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.UnsupportedDecoratorType = UnsupportedDecoratorType;
|
|
23
|
-
//# sourceMappingURL=UnsupportedDecoratorType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnsupportedDecoratorType.js","sourceRoot":"","sources":["../../../src/errors/UnsupportedDecoratorType.ts"],"names":[],"mappings":";;;AAAA,+EAAuE;AACvE,4DAAoD;AACpD,0DAAkD;AAElD,MAAa,wBAAyB,SAAQ,KAAK;IAGjD,YAAY,SAAc,EAAE,IAAW;QACrC,KAAK,CAAC,wBAAwB,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;IAChE,CAAC;IAEO,MAAM,CAAC,YAAY,CAAC,SAAc,EAAE,IAAW;QACrD,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;QAE1C,MAAM,WAAW,GAAG,IAAA,oCAAe,EAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,MAAM,KAAK,GAAG,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QACrE,MAAM,IAAI,GAAG,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;QAChE,MAAM,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,GAAG,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;QAEtD,MAAM,IAAI,GAAG,IAAA,kBAAM,EAAC,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC,GAAG,MAAM,GAAG,KAAK,CAAC;QAEtD,OAAO,GAAG,SAAS,CAAC,IAAI,sBAAsB,WAAW,iBAAiB,IAAI,EAAE,CAAC;IACnF,CAAC;CACF;AApBD,4DAoBC"}
|
package/lib/cjs/index.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/**
|
|
5
|
-
* @file Automatically generated by @tsed/barrels.
|
|
6
|
-
*/
|
|
7
|
-
tslib_1.__exportStar(require("./decorators/configurable.js"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./decorators/deprecated.js"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./decorators/enumerable.js"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./decorators/notConfigurable.js"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./decorators/notEnumerable.js"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./decorators/readOnly.js"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./decorators/storeFn.js"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./decorators/storeMerge.js"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./decorators/storeSet.js"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./decorators/writable.js"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./domain/AnyToPromise.js"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./domain/DecoratorTypes.js"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./domain/Env.js"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./domain/Hooks.js"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./domain/Metadata.js"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./domain/Store.js"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./domain/Type.js"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./errors/UnsupportedDecoratorType.js"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./interfaces/AnyDecorator.js"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./interfaces/DecoratorParameters.js"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./interfaces/MetadataTypes.js"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./interfaces/Relation.js"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./interfaces/ValueOf.js"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./utils/catchError.js"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./utils/decorators/decorateMethodsOf.js"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./utils/decorators/decoratorArgs.js"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./utils/decorators/decoratorTypeOf.js"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./utils/decorators/inheritedDescriptorOf.js"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./utils/decorators/useDecorators.js"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./utils/decorators/useMethodDecorators.js"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./utils/getRandomId.js"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./utils/http/getHostInfoFromPort.js"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./utils/imports/importPackage.js"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./utils/objects/ancestorOf.js"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./utils/objects/ancestorsOf.js"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./utils/objects/classOf.js"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./utils/objects/cleanObject.js"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./utils/objects/constructorOf.js"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./utils/objects/createInstance.js"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./utils/objects/deepClone.js"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./utils/objects/deepMerge.js"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./utils/objects/descriptorOf.js"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./utils/objects/getClassOrSymbol.js"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./utils/objects/getConstructorArgNames.js"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./utils/objects/getEnumerableKeys.js"), exports);
|
|
52
|
-
tslib_1.__exportStar(require("./utils/objects/getValue.js"), exports);
|
|
53
|
-
tslib_1.__exportStar(require("./utils/objects/hasJsonMethod.js"), exports);
|
|
54
|
-
tslib_1.__exportStar(require("./utils/objects/isArray.js"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./utils/objects/isArrowFn.js"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./utils/objects/isBoolean.js"), exports);
|
|
57
|
-
tslib_1.__exportStar(require("./utils/objects/isBuffer.js"), exports);
|
|
58
|
-
tslib_1.__exportStar(require("./utils/objects/isClass.js"), exports);
|
|
59
|
-
tslib_1.__exportStar(require("./utils/objects/isCollection.js"), exports);
|
|
60
|
-
tslib_1.__exportStar(require("./utils/objects/isDate.js"), exports);
|
|
61
|
-
tslib_1.__exportStar(require("./utils/objects/isEmpty.js"), exports);
|
|
62
|
-
tslib_1.__exportStar(require("./utils/objects/isEnumerable.js"), exports);
|
|
63
|
-
tslib_1.__exportStar(require("./utils/objects/isFunction.js"), exports);
|
|
64
|
-
tslib_1.__exportStar(require("./utils/objects/isInheritedFrom.js"), exports);
|
|
65
|
-
tslib_1.__exportStar(require("./utils/objects/isMomentObject.js"), exports);
|
|
66
|
-
tslib_1.__exportStar(require("./utils/objects/isMongooseObject.js"), exports);
|
|
67
|
-
tslib_1.__exportStar(require("./utils/objects/isNil.js"), exports);
|
|
68
|
-
tslib_1.__exportStar(require("./utils/objects/isNumber.js"), exports);
|
|
69
|
-
tslib_1.__exportStar(require("./utils/objects/isObject.js"), exports);
|
|
70
|
-
tslib_1.__exportStar(require("./utils/objects/isObservable.js"), exports);
|
|
71
|
-
tslib_1.__exportStar(require("./utils/objects/isPlainObject.js"), exports);
|
|
72
|
-
tslib_1.__exportStar(require("./utils/objects/isPrimitive.js"), exports);
|
|
73
|
-
tslib_1.__exportStar(require("./utils/objects/isPromise.js"), exports);
|
|
74
|
-
tslib_1.__exportStar(require("./utils/objects/isProtectedKey.js"), exports);
|
|
75
|
-
tslib_1.__exportStar(require("./utils/objects/isRegExp.js"), exports);
|
|
76
|
-
tslib_1.__exportStar(require("./utils/objects/isSerializable.js"), exports);
|
|
77
|
-
tslib_1.__exportStar(require("./utils/objects/isStream.js"), exports);
|
|
78
|
-
tslib_1.__exportStar(require("./utils/objects/isString.js"), exports);
|
|
79
|
-
tslib_1.__exportStar(require("./utils/objects/isSymbol.js"), exports);
|
|
80
|
-
tslib_1.__exportStar(require("./utils/objects/methodsOf.js"), exports);
|
|
81
|
-
tslib_1.__exportStar(require("./utils/objects/nameOf.js"), exports);
|
|
82
|
-
tslib_1.__exportStar(require("./utils/objects/objectKeys.js"), exports);
|
|
83
|
-
tslib_1.__exportStar(require("./utils/objects/primitiveOf.js"), exports);
|
|
84
|
-
tslib_1.__exportStar(require("./utils/objects/prototypeOf.js"), exports);
|
|
85
|
-
tslib_1.__exportStar(require("./utils/objects/setValue.js"), exports);
|
|
86
|
-
tslib_1.__exportStar(require("./utils/objects/toMap.js"), exports);
|
|
87
|
-
tslib_1.__exportStar(require("./utils/objects/toStringConstructor.js"), exports);
|
|
88
|
-
tslib_1.__exportStar(require("./utils/proxyDelegation.js"), exports);
|
|
89
|
-
tslib_1.__exportStar(require("./utils/uniq.js"), exports);
|
|
90
|
-
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,uEAA6C;AAC7C,qEAA2C;AAC3C,qEAA2C;AAC3C,0EAAgD;AAChD,wEAA8C;AAC9C,mEAAyC;AACzC,kEAAwC;AACxC,qEAA2C;AAC3C,mEAAyC;AACzC,mEAAyC;AACzC,mEAAyC;AACzC,qEAA2C;AAC3C,0DAAgC;AAChC,4DAAkC;AAClC,+DAAqC;AACrC,4DAAkC;AAClC,2DAAiC;AACjC,+EAAqD;AACrD,uEAA6C;AAC7C,8EAAoD;AACpD,wEAA8C;AAC9C,mEAAyC;AACzC,kEAAwC;AACxC,gEAAsC;AACtC,kFAAwD;AACxD,8EAAoD;AACpD,gFAAsD;AACtD,sFAA4D;AAC5D,8EAAoD;AACpD,oFAA0D;AAC1D,iEAAuC;AACvC,8EAAoD;AACpD,2EAAiD;AACjD,wEAA8C;AAC9C,yEAA+C;AAC/C,qEAA2C;AAC3C,yEAA+C;AAC/C,2EAAiD;AACjD,4EAAkD;AAClD,uEAA6C;AAC7C,uEAA6C;AAC7C,0EAAgD;AAChD,8EAAoD;AACpD,oFAA0D;AAC1D,+EAAqD;AACrD,sEAA4C;AAC5C,2EAAiD;AACjD,qEAA2C;AAC3C,uEAA6C;AAC7C,uEAA6C;AAC7C,sEAA4C;AAC5C,qEAA2C;AAC3C,0EAAgD;AAChD,oEAA0C;AAC1C,qEAA2C;AAC3C,0EAAgD;AAChD,wEAA8C;AAC9C,6EAAmD;AACnD,4EAAkD;AAClD,8EAAoD;AACpD,mEAAyC;AACzC,sEAA4C;AAC5C,sEAA4C;AAC5C,0EAAgD;AAChD,2EAAiD;AACjD,yEAA+C;AAC/C,uEAA6C;AAC7C,4EAAkD;AAClD,sEAA4C;AAC5C,4EAAkD;AAClD,sEAA4C;AAC5C,sEAA4C;AAC5C,sEAA4C;AAC5C,uEAA6C;AAC7C,oEAA0C;AAC1C,wEAA8C;AAC9C,yEAA+C;AAC/C,yEAA+C;AAC/C,sEAA4C;AAC5C,mEAAyC;AACzC,iFAAuD;AACvD,qEAA2C;AAC3C,0DAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnyDecorator.js","sourceRoot":"","sources":["../../../src/interfaces/AnyDecorator.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DecoratorParameters.js","sourceRoot":"","sources":["../../../src/interfaces/DecoratorParameters.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MetadataTypes.js","sourceRoot":"","sources":["../../../src/interfaces/MetadataTypes.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Relation.js","sourceRoot":"","sources":["../../../src/interfaces/Relation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ValueOf.js","sourceRoot":"","sources":["../../../src/interfaces/ValueOf.ts"],"names":[],"mappings":""}
|
package/lib/cjs/package.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.catchAsyncError = exports.catchError = void 0;
|
|
4
|
-
function catchError(cb) {
|
|
5
|
-
try {
|
|
6
|
-
cb();
|
|
7
|
-
}
|
|
8
|
-
catch (er) {
|
|
9
|
-
return er;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.catchError = catchError;
|
|
13
|
-
async function catchAsyncError(cb) {
|
|
14
|
-
try {
|
|
15
|
-
await cb();
|
|
16
|
-
}
|
|
17
|
-
catch (er) {
|
|
18
|
-
return er;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.catchAsyncError = catchAsyncError;
|
|
22
|
-
//# sourceMappingURL=catchError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catchError.js","sourceRoot":"","sources":["../../../src/utils/catchError.ts"],"names":[],"mappings":";;;AAAA,SAAgB,UAAU,CAAkB,EAAY;IACtD,IAAI;QACF,EAAE,EAAE,CAAC;KACN;IAAC,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAND,gCAMC;AAEM,KAAK,UAAU,eAAe,CAAkB,EAAY;IACjE,IAAI;QACF,MAAM,EAAE,EAAE,CAAC;KACZ;IAAC,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAND,0CAMC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.decorateMethodsOf = void 0;
|
|
4
|
-
const Store_js_1 = require("../../domain/Store.js");
|
|
5
|
-
const classOf_js_1 = require("../objects/classOf.js");
|
|
6
|
-
const descriptorOf_js_1 = require("../objects/descriptorOf.js");
|
|
7
|
-
const methodsOf_js_1 = require("../objects/methodsOf.js");
|
|
8
|
-
const prototypeOf_js_1 = require("../objects/prototypeOf.js");
|
|
9
|
-
function decorateMethodsOf(klass, decorator) {
|
|
10
|
-
(0, methodsOf_js_1.methodsOf)(klass).forEach(({ target, propertyKey }) => {
|
|
11
|
-
const proto = (0, prototypeOf_js_1.prototypeOf)(klass);
|
|
12
|
-
if (target !== (0, classOf_js_1.classOf)(klass)) {
|
|
13
|
-
Object.defineProperty(proto, propertyKey, {
|
|
14
|
-
writable: true,
|
|
15
|
-
configurable: true,
|
|
16
|
-
value(...args) {
|
|
17
|
-
return (0, prototypeOf_js_1.prototypeOf)(target)[propertyKey].apply(this, args);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
Store_js_1.Store.mergeStoreMethodFrom(klass, target, propertyKey);
|
|
21
|
-
}
|
|
22
|
-
const newDescriptor = decorator(proto, propertyKey, (0, descriptorOf_js_1.descriptorOf)(klass, propertyKey));
|
|
23
|
-
if (newDescriptor) {
|
|
24
|
-
Object.defineProperty(proto, propertyKey, newDescriptor);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
exports.decorateMethodsOf = decorateMethodsOf;
|
|
29
|
-
//# sourceMappingURL=decorateMethodsOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decorateMethodsOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decorateMethodsOf.ts"],"names":[],"mappings":";;;AAAA,oDAA4C;AAC5C,sDAA8C;AAC9C,gEAAwD;AACxD,0DAAkD;AAClD,8DAAsD;AAEtD,SAAgB,iBAAiB,CAAC,KAAU,EAAE,SAAc;IAC1D,IAAA,wBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,EAAC,MAAM,EAAE,WAAW,EAAC,EAAE,EAAE;QACjD,MAAM,KAAK,GAAG,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;QAEjC,IAAI,MAAM,KAAK,IAAA,oBAAO,EAAC,KAAK,CAAC,EAAE;YAC7B,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE;gBACxC,QAAQ,EAAE,IAAI;gBACd,YAAY,EAAE,IAAI;gBAClB,KAAK,CAAC,GAAG,IAAW;oBAClB,OAAO,IAAA,4BAAW,EAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC5D,CAAC;aACF,CAAC,CAAC;YAEH,gBAAK,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;SACxD;QAED,MAAM,aAAa,GAAG,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC;QAEtF,IAAI,aAAa,EAAE;YACjB,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;SAC1D;IACH,CAAC,CAAC,CAAC;AACL,CAAC;AAtBD,8CAsBC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.decoratorArgs = void 0;
|
|
4
|
-
const descriptorOf_js_1 = require("../objects/descriptorOf.js");
|
|
5
|
-
function decoratorArgs(target, propertyKey) {
|
|
6
|
-
return [target, propertyKey, (0, descriptorOf_js_1.descriptorOf)(target, propertyKey)];
|
|
7
|
-
}
|
|
8
|
-
exports.decoratorArgs = decoratorArgs;
|
|
9
|
-
//# sourceMappingURL=decoratorArgs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decoratorArgs.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decoratorArgs.ts"],"names":[],"mappings":";;;AACA,gEAAwD;AAExD,SAAgB,aAAa,CAAC,MAAW,EAAE,WAAmB;IAC5D,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,MAAM,EAAE,WAAW,CAAE,CAAC,CAAC;AACnE,CAAC;AAFD,sCAEC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.decoratorTypeOf = void 0;
|
|
4
|
-
const DecoratorTypes_js_1 = require("../../domain/DecoratorTypes.js");
|
|
5
|
-
const classOf_js_1 = require("../objects/classOf.js");
|
|
6
|
-
function decoratorTypeOf(args) {
|
|
7
|
-
const [target, propertyKey, descriptor] = args;
|
|
8
|
-
const staticType = (type) => {
|
|
9
|
-
return target !== (0, classOf_js_1.classOf)(target) ? type : `${type}.static`;
|
|
10
|
-
};
|
|
11
|
-
if (typeof descriptor === "number") {
|
|
12
|
-
return propertyKey ? staticType("parameter") : "parameter.constructor";
|
|
13
|
-
}
|
|
14
|
-
if (descriptor && descriptor.value) {
|
|
15
|
-
return staticType("method");
|
|
16
|
-
}
|
|
17
|
-
if ((propertyKey && descriptor === undefined) || descriptor) {
|
|
18
|
-
return staticType("property");
|
|
19
|
-
}
|
|
20
|
-
return DecoratorTypes_js_1.DecoratorTypes.CLASS;
|
|
21
|
-
}
|
|
22
|
-
exports.decoratorTypeOf = decoratorTypeOf;
|
|
23
|
-
//# sourceMappingURL=decoratorTypeOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decoratorTypeOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/decoratorTypeOf.ts"],"names":[],"mappings":";;;AAAA,sEAA8D;AAC9D,sDAA8C;AAE9C,SAAgB,eAAe,CAAC,IAAW;IACzC,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC;IAE/C,MAAM,UAAU,GAAG,CAAC,IAAY,EAAO,EAAE;QACvC,OAAO,MAAM,KAAK,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,SAAS,CAAC;IAC9D,CAAC,CAAC;IAEF,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;QAClC,OAAO,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC;KACxE;IAED,IAAI,UAAU,IAAI,UAAU,CAAC,KAAK,EAAE;QAClC,OAAO,UAAU,CAAC,QAAQ,CAAC,CAAC;KAC7B;IAED,IAAI,CAAC,WAAW,IAAI,UAAU,KAAK,SAAS,CAAC,IAAI,UAAU,EAAE;QAC3D,OAAO,UAAU,CAAC,UAAU,CAAC,CAAC;KAC/B;IAED,OAAO,kCAAc,CAAC,KAAK,CAAC;AAC9B,CAAC;AApBD,0CAoBC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.inheritedDescriptorOf = void 0;
|
|
4
|
-
const ancestorsOf_js_1 = require("../objects/ancestorsOf.js");
|
|
5
|
-
function inheritedDescriptorOf(target, propertyKey) {
|
|
6
|
-
for (const klass of (0, ancestorsOf_js_1.ancestorsOf)(target)) {
|
|
7
|
-
const descriptor = Object.getOwnPropertyDescriptor((klass && klass.prototype) || klass, propertyKey);
|
|
8
|
-
if (descriptor) {
|
|
9
|
-
return descriptor;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
return undefined;
|
|
13
|
-
}
|
|
14
|
-
exports.inheritedDescriptorOf = inheritedDescriptorOf;
|
|
15
|
-
//# sourceMappingURL=inheritedDescriptorOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inheritedDescriptorOf.js","sourceRoot":"","sources":["../../../../src/utils/decorators/inheritedDescriptorOf.ts"],"names":[],"mappings":";;;AAAA,8DAAsD;AAEtD,SAAgB,qBAAqB,CAAC,MAAW,EAAE,WAAmB;IACpE,KAAK,MAAM,KAAK,IAAI,IAAA,4BAAW,EAAC,MAAM,CAAC,EAAE;QACvC,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,KAAK,EAAE,WAAW,CAAE,CAAC;QAEtG,IAAI,UAAU,EAAE;YACd,OAAO,UAAU,CAAC;SACnB;KACF;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAVD,sDAUC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDecorators = void 0;
|
|
4
|
-
function useDecorators(...decorators) {
|
|
5
|
-
return (...args) => {
|
|
6
|
-
decorators
|
|
7
|
-
.filter((o) => !!o)
|
|
8
|
-
.forEach((decorator) => {
|
|
9
|
-
decorator(...args);
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
exports.useDecorators = useDecorators;
|
|
14
|
-
//# sourceMappingURL=useDecorators.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDecorators.js","sourceRoot":"","sources":["../../../../src/utils/decorators/useDecorators.ts"],"names":[],"mappings":";;;AAGA,SAAgB,aAAa,CAAC,GAAG,UAA0B;IACzD,OAAO,CAAC,GAAG,IAAyB,EAAE,EAAE;QACtC,UAAU;aACP,MAAM,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aACvB,OAAO,CAAC,CAAC,SAAmB,EAAE,EAAE;YAC/B,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACJ,CAAC;AARD,sCAQC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useMethodDecorators = exports.useMethodDecorator = void 0;
|
|
4
|
-
const descriptorOf_js_1 = require("../objects/descriptorOf.js");
|
|
5
|
-
function useMethodDecorator(decorator) {
|
|
6
|
-
return (target, propertyKey) => decorator(target, propertyKey, (0, descriptorOf_js_1.descriptorOf)(target, propertyKey));
|
|
7
|
-
}
|
|
8
|
-
exports.useMethodDecorator = useMethodDecorator;
|
|
9
|
-
function useMethodDecorators(...decorators) {
|
|
10
|
-
return (target, propertyKey) => {
|
|
11
|
-
decorators.filter(Boolean).forEach((decorator) => decorator(target, propertyKey, (0, descriptorOf_js_1.descriptorOf)(target, propertyKey)));
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
exports.useMethodDecorators = useMethodDecorators;
|
|
15
|
-
//# sourceMappingURL=useMethodDecorators.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useMethodDecorators.js","sourceRoot":"","sources":["../../../../src/utils/decorators/useMethodDecorators.ts"],"names":[],"mappings":";;;AACA,gEAAwD;AAExD,SAAgB,kBAAkB,CAAC,SAAuB;IACxD,OAAO,CAAC,MAAW,EAAE,WAA4B,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;AAC1H,CAAC;AAFD,gDAEC;AAED,SAAgB,mBAAmB,CAAC,GAAG,UAA0B;IAC/D,OAAO,CAAC,MAAW,EAAE,WAA4B,EAAE,EAAE;QACnD,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,IAAA,8BAAY,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACvH,CAAC,CAAC;AACJ,CAAC;AAJD,kDAIC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getRandomId = void 0;
|
|
4
|
-
function getRandomId() {
|
|
5
|
-
return `e${Math.random().toString(36).substring(7)}`;
|
|
6
|
-
}
|
|
7
|
-
exports.getRandomId = getRandomId;
|
|
8
|
-
//# sourceMappingURL=getRandomId.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRandomId.js","sourceRoot":"","sources":["../../../src/utils/getRandomId.ts"],"names":[],"mappings":";;;AAAA,SAAgB,WAAW;IACzB,OAAO,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC;AAFD,kCAEC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHostInfoFromPort = void 0;
|
|
4
|
-
function getHostInfoFromPort(protocol, addressPort) {
|
|
5
|
-
let address = "0.0.0.0";
|
|
6
|
-
let port = addressPort;
|
|
7
|
-
if (typeof addressPort === "string" && addressPort.indexOf(":") > -1) {
|
|
8
|
-
[address, port] = addressPort.split(":");
|
|
9
|
-
port = +port;
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
protocol,
|
|
13
|
-
address,
|
|
14
|
-
port: port,
|
|
15
|
-
toString() {
|
|
16
|
-
return [`${this.protocol}://${this.address}`, typeof this.port === "number" && this.port].filter(Boolean).join(":");
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
exports.getHostInfoFromPort = getHostInfoFromPort;
|
|
21
|
-
//# sourceMappingURL=getHostInfoFromPort.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHostInfoFromPort.js","sourceRoot":"","sources":["../../../../src/utils/http/getHostInfoFromPort.ts"],"names":[],"mappings":";;;AAAA,SAAgB,mBAAmB,CAAC,QAAgB,EAAE,WAAgB;IACpE,IAAI,OAAO,GAAG,SAAS,CAAC;IACxB,IAAI,IAAI,GAAG,WAAW,CAAC;IAEvB,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;QACpE,CAAC,OAAO,EAAE,IAAI,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACzC,IAAI,GAAG,CAAC,IAAI,CAAC;KACd;IAED,OAAO;QACL,QAAQ;QACR,OAAO;QACP,IAAI,EAAE,IAAc;QACpB,QAAQ;YACN,OAAO,CAAC,GAAG,IAAI,CAAC,QAAQ,MAAM,IAAI,CAAC,OAAO,EAAE,EAAE,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtH,CAAC;KACF,CAAC;AACJ,CAAC;AAjBD,kDAiBC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.importPackage = void 0;
|
|
27
|
-
async function importPackage(packageName, loaderFn = () => { var _a; return _a = packageName, Promise.resolve().then(() => __importStar(require(_a))); }, optional = false) {
|
|
28
|
-
try {
|
|
29
|
-
return await loaderFn();
|
|
30
|
-
}
|
|
31
|
-
catch (e) {
|
|
32
|
-
if (!optional) {
|
|
33
|
-
throw e;
|
|
34
|
-
}
|
|
35
|
-
return {};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.importPackage = importPackage;
|
|
39
|
-
//# sourceMappingURL=importPackage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"importPackage.js","sourceRoot":"","sources":["../../../../src/utils/imports/importPackage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,KAAK,UAAU,aAAa,CAAC,WAAmB,EAAE,WAAqB,GAAG,EAAE,uBAAQ,WAAW,4DAAC,EAAE,QAAQ,GAAG,KAAK;IACvH,IAAI;QACF,OAAO,MAAM,QAAQ,EAAE,CAAC;KACzB;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,QAAQ,EAAE;YACb,MAAM,CAAC,CAAC;SACT;QAED,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAVD,sCAUC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInheritedClass = exports.ancestorOf = void 0;
|
|
4
|
-
function ancestorOf(target) {
|
|
5
|
-
return target && Object.getPrototypeOf(target);
|
|
6
|
-
}
|
|
7
|
-
exports.ancestorOf = ancestorOf;
|
|
8
|
-
function getInheritedClass(target) {
|
|
9
|
-
return ancestorOf(target);
|
|
10
|
-
}
|
|
11
|
-
exports.getInheritedClass = getInheritedClass;
|
|
12
|
-
//# sourceMappingURL=ancestorOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ancestorOf.js","sourceRoot":"","sources":["../../../../src/utils/objects/ancestorOf.ts"],"names":[],"mappings":";;;AAAA,SAAgB,UAAU,CAAC,MAAW;IACpC,OAAO,MAAM,IAAI,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC;AAFD,gCAEC;AAED,SAAgB,iBAAiB,CAAC,MAAW;IAC3C,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC;AAFD,8CAEC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ancestorsOf = void 0;
|
|
4
|
-
const classOf_js_1 = require("./classOf.js");
|
|
5
|
-
const ancestorOf_js_1 = require("./ancestorOf.js");
|
|
6
|
-
const nameOf_js_1 = require("./nameOf.js");
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @param target
|
|
10
|
-
* @returns {Array}
|
|
11
|
-
*/
|
|
12
|
-
function ancestorsOf(target) {
|
|
13
|
-
const classes = [];
|
|
14
|
-
let currentTarget = (0, classOf_js_1.classOf)(target);
|
|
15
|
-
while (currentTarget && (0, nameOf_js_1.nameOf)(currentTarget) !== "") {
|
|
16
|
-
classes.unshift(currentTarget);
|
|
17
|
-
currentTarget = (0, ancestorOf_js_1.getInheritedClass)(currentTarget);
|
|
18
|
-
}
|
|
19
|
-
return classes;
|
|
20
|
-
}
|
|
21
|
-
exports.ancestorsOf = ancestorsOf;
|
|
22
|
-
//# sourceMappingURL=ancestorsOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ancestorsOf.js","sourceRoot":"","sources":["../../../../src/utils/objects/ancestorsOf.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AACrC,mDAAkD;AAClD,2CAAmC;AAEnC;;;;GAIG;AACH,SAAgB,WAAW,CAAC,MAAW;IACrC,MAAM,OAAO,GAAG,EAAE,CAAC;IAEnB,IAAI,aAAa,GAAG,IAAA,oBAAO,EAAC,MAAM,CAAC,CAAC;IAEpC,OAAO,aAAa,IAAI,IAAA,kBAAM,EAAC,aAAa,CAAC,KAAK,EAAE,EAAE;QACpD,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC/B,aAAa,GAAG,IAAA,iCAAiB,EAAC,aAAa,CAAC,CAAC;KAClD;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAXD,kCAWC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.classOf = exports.getClass = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Get the provide constructor if target is an instance.
|
|
6
|
-
* @param target
|
|
7
|
-
* @returns {*}
|
|
8
|
-
*/
|
|
9
|
-
function getClass(target) {
|
|
10
|
-
return target.prototype ? target : target.constructor;
|
|
11
|
-
}
|
|
12
|
-
exports.getClass = getClass;
|
|
13
|
-
/**
|
|
14
|
-
* Get the provide constructor if target is an instance.
|
|
15
|
-
* @param target
|
|
16
|
-
* @returns {*}
|
|
17
|
-
* @alias getClass
|
|
18
|
-
*/
|
|
19
|
-
function classOf(target) {
|
|
20
|
-
return getClass(target);
|
|
21
|
-
}
|
|
22
|
-
exports.classOf = classOf;
|
|
23
|
-
//# sourceMappingURL=classOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"classOf.js","sourceRoot":"","sources":["../../../../src/utils/objects/classOf.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,MAAW;IAClC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC;AACxD,CAAC;AAFD,4BAEC;AAED;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,MAAW;IACjC,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC1B,CAAC;AAFD,0BAEC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cleanObject = void 0;
|
|
4
|
-
const isProtectedKey_js_1 = require("./isProtectedKey.js");
|
|
5
|
-
/**
|
|
6
|
-
* Remove undefined value
|
|
7
|
-
* @param obj
|
|
8
|
-
* @param ignore
|
|
9
|
-
*/
|
|
10
|
-
function cleanObject(obj, ignore = []) {
|
|
11
|
-
return Object.entries(obj).reduce((obj, [key, value]) => {
|
|
12
|
-
if ((0, isProtectedKey_js_1.isProtectedKey)(key) || ignore.includes(key)) {
|
|
13
|
-
return obj;
|
|
14
|
-
}
|
|
15
|
-
return value === undefined
|
|
16
|
-
? obj
|
|
17
|
-
: {
|
|
18
|
-
...obj,
|
|
19
|
-
[key]: value
|
|
20
|
-
};
|
|
21
|
-
}, {});
|
|
22
|
-
}
|
|
23
|
-
exports.cleanObject = cleanObject;
|
|
24
|
-
//# sourceMappingURL=cleanObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cleanObject.js","sourceRoot":"","sources":["../../../../src/utils/objects/cleanObject.ts"],"names":[],"mappings":";;;AAAA,2DAAmD;AACnD;;;;GAIG;AACH,SAAgB,WAAW,CAAC,GAAQ,EAAE,SAAmB,EAAE;IACzD,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACtD,IAAI,IAAA,kCAAc,EAAC,GAAG,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC/C,OAAO,GAAG,CAAC;SACZ;QAED,OAAO,KAAK,KAAK,SAAS;YACxB,CAAC,CAAC,GAAG;YACL,CAAC,CAAC;gBACE,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE,KAAK;aACb,CAAC;IACR,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC;AAbD,kCAaC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.constructorOf = exports.getConstructor = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Get the class constructor
|
|
6
|
-
* @param target
|
|
7
|
-
*/
|
|
8
|
-
function getConstructor(target) {
|
|
9
|
-
return typeof target === "function" ? target : target.constructor;
|
|
10
|
-
}
|
|
11
|
-
exports.getConstructor = getConstructor;
|
|
12
|
-
/**
|
|
13
|
-
* Get the class constructor
|
|
14
|
-
* @param target
|
|
15
|
-
*/
|
|
16
|
-
function constructorOf(target) {
|
|
17
|
-
return getConstructor(target);
|
|
18
|
-
}
|
|
19
|
-
exports.constructorOf = constructorOf;
|
|
20
|
-
//# sourceMappingURL=constructorOf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constructorOf.js","sourceRoot":"","sources":["../../../../src/utils/objects/constructorOf.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACH,SAAgB,cAAc,CAAC,MAAW;IACxC,OAAO,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC;AACpE,CAAC;AAFD,wCAEC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAAC,MAAW;IACvC,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC;AAChC,CAAC;AAFD,sCAEC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createInstance = void 0;
|
|
4
|
-
const classOf_js_1 = require("./classOf.js");
|
|
5
|
-
function createInstance(obj) {
|
|
6
|
-
return obj ? ((0, classOf_js_1.classOf)(obj) !== Object ? Object.create(obj) : {}) : {};
|
|
7
|
-
}
|
|
8
|
-
exports.createInstance = createInstance;
|
|
9
|
-
//# sourceMappingURL=createInstance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createInstance.js","sourceRoot":"","sources":["../../../../src/utils/objects/createInstance.ts"],"names":[],"mappings":";;;AAAA,6CAAqC;AAErC,SAAgB,cAAc,CAAC,GAAQ;IACrC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,IAAA,oBAAO,EAAC,GAAG,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACxE,CAAC;AAFD,wCAEC"}
|