@decaf-ts/reflection
Advanced tools
Comparing version 0.3.13 to 0.3.14
/*! For license information please see reflection.bundle.min.esm.js.LICENSE.txt */ | ||
var t={720:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Reflection=void 0;const n=r(640),o=r(233);class i{constructor(){}static checkType(t,e){return typeof t===e.toLowerCase()||void 0!==t&&"object"==typeof t&&t.constructor&&t.constructor.name.toLowerCase()===e.toLowerCase()}static checkTypes(t,e){return!e.every((e=>!this.checkType(t,e)))}static evaluateDesignTypes(t,e){switch(typeof e){case"string":return this.checkType(t,e);case"object":return!Array.isArray(e)||i.checkTypes(t,e);case"function":return!e.name||"Object"===e.name||this.checkType(t,e.name);default:return!0}}static getAllProperties(t,e=!0,r="Object"){const n=new Set;let o=t;const i=function(){if(!e)return;const t=Object.getPrototypeOf(o);return t&&t.constructor.name!==r?(o=t,o):void 0};do{Object.getOwnPropertyNames(o).forEach((t=>n.add(t)))}while(i());return Array.from(n)}static getClassDecorators(t,e){const r=Reflect.getOwnMetadataKeys(e.constructor),n=[];for(const o of r)o.startsWith(t)&&n.push({key:o.slice(t.length),props:Reflect.getMetadata(o,e.constructor)});return n}static getAllPropertyDecorators(t,...e){if(!e||0===e.length)return;const r={},n=Object.getOwnPropertyNames(t);for(const o of n)for(let n=0;n<e.length;n++){const a=i.getPropertyDecorators(e[n],t,o,0!==n);a.decorators.length>0&&(r[o]||(r[o]=[]),r[o].push(...a.decorators))}return Object.keys(r).length>0?r:void 0}static getTypeFromDecorator(t,e){const r=i.getPropertyDecorators(n.ReflectionKeys.TYPE,t,e,!1);if(!r||!r.decorators)return;const o=r.decorators.shift(),a=o.props?o.props.name:void 0;return"Function"!==a?a:void 0}static getPropertyDecorators(t,e,r,a=!1,u=!0,f){const c=function(t,e,r,o=!1,i){const a=Reflect.getMetadataKeys(e,r).filter((e=>o?e.toString().startsWith(t):e===n.ReflectionKeys.TYPE||e.toString().startsWith(t))).reduce(((o,i)=>{const a={key:i!==n.ReflectionKeys.TYPE?i.substring(t.length):i,props:Reflect.getMetadata(i,e,r)};return o.concat(a)}),i||[]);return{prop:r.toString(),decorators:a}}(t,e,r,a,f);return u&&Object.getPrototypeOf(e)!==Object.prototype?i.getPropertyDecorators(t,Object.getPrototypeOf(e.constructor),r,!0,u,c.decorators):{prop:c.prop,decorators:function(t){const r={};return t.filter((t=>t.key in r?((0,o.isEqual)(t.props,r[t.key])||console.log(`Found a similar decorator for the ${t.key} propertyof a ${e.constructor.name} model but with different attributes.The original one will be kept`),!1):(r[t.key.toString()]=t.props,!0)))}(c.decorators)}}}e.Reflection=i},640:(t,e)=>{var r;Object.defineProperty(e,"__esModule",{value:!0}),e.ReflectionKeys=void 0,function(t){t.TYPE="design:type"}(r||(e.ReflectionKeys=r={}))},503:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.metadata=function(t,e){return(r,n,o)=>{o?Reflect.defineMetadata(t,e,o.value):n?Reflect.defineMetadata(t,e,r,n):Reflect.defineMetadata(t,e,r)}},e.apply=function(...t){return(e,r,n)=>{for(const o of t)e instanceof Function&&!n?o(e):o(e,r,n)}},r(630)},233:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function t(e,r,...n){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return e===r;if(typeof e!=typeof r)return!1;if(Number.isNaN(e)&&Number.isNaN(r))return!0;if("object"!=typeof e)return e===r;if(e instanceof Date&&r instanceof Date)return!(!isNaN(e.getTime())||!isNaN(r.getTime()))||e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.toString()===r.toString();if(e instanceof Error&&r instanceof Error)return e.name===r.name&&e.message===r.message;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let o=0;o<e.length;o++)if(!t(e[o],r[o],...n))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,i]of e)if(!r.has(o)||!t(i,r.get(o),...n))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const t of e)if(!r.has(t))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if(e.byteLength!==r.byteLength)return!1;if(e.byteOffset!==r.byteOffset)return!1;if(e.buffer.byteLength!==r.buffer.byteLength)return!1;const t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const o=Object.keys(e).filter((t=>!n.includes(t))),i=Object.keys(r).filter((t=>!n.includes(t)));if(o.length!==i.length)return!1;for(const a of o){if(!i.includes(a))return!1;if(!t(e[a],r[a],...n))return!1}const a=Object.getOwnPropertySymbols(e).filter((t=>!n.includes(t.toString()))),u=Object.getOwnPropertySymbols(r).filter((t=>!n.includes(t.toString())));if(a.length!==u.length)return!1;for(const o of a){if(!u.includes(o))return!1;if(!t(e[o],r[o],...n))return!1}return Object.getPrototypeOf(e)===Object.getPrototypeOf(r)}},729:function(t,e,r){var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,o(r(640),e),o(r(503),e),o(r(233),e),o(r(720),e),o(r(732),e),e.VERSION="0.3.12"},732:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},630:(t,e,r)=>{var n;!function(t){!function(){var e="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),n=o(t);function o(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==e.Reflect&&(n=o(e.Reflect,n)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,u={__proto__:[]}instanceof Array,f=!a&&!u,c={create:a?function(){return W(Object.create(null))}:u?function(){return W({__proto__:null})}:function(){return W({})},has:f?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:f?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},s=Object.getPrototypeOf(Function),y="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[i]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,D(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,o)},e.prototype.entries=function(){return new r(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[i]=function(){return this.entries()},e.prototype._find=function(t,e){if(!D(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(D(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function o(t,e){return e}function a(t,e){return[t,e]}}(),l="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new y}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[i]=function(){return this.keys()},t}(),p="function"==typeof WeakMap?WeakMap:function(){var t=c.create(),e=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=o(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=o(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return o(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=o(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var e;do{e="@@WeakMap@@"+a()}while(c.has(t,e));return t[e]=!0,e}function o(t,n){if(!r.call(t,e)){if(!n)return;Object.defineProperty(t,e,{value:c.create()})}return t[e]}function i(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function a(){var t=function(t){if("function"==typeof Uint8Array){var e=new Uint8Array(t);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):i(e,t),e}return i(new Array(t),t)}(16);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var e="",r=0;r<16;++r){var n=t[r];4!==r&&6!==r&&8!==r||(e+="-"),n<16&&(e+="0"),e+=n.toString(16).toLowerCase()}return e}}(),h=n?Symbol.for("@reflect-metadata:registry"):void 0,d=function(){var t;return!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[h]),M(t)&&(t=function(){var t,r,n,o;M(h)||void 0===e.Reflect||h in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,o=t.getOwnMetadataKeys,i=t.deleteMetadata,a=new p;return{isProviderFor:function(t,e){var r=a.get(t);return!(M(r)||!r.has(e))||!!o(t,e).length&&(M(r)&&(r=new l,a.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(e.Reflect));var i=new p,a={registerProvider:u,getProvider:c,setProvider:d};return a;function u(e){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case M(r):r=e;break;case r===e:break;case M(n):n=e;break;case n===e:break;default:void 0===o&&(o=new l),o.add(e)}}function f(e,i){if(!M(r)){if(r.isProviderFor(e,i))return r;if(!M(n)){if(n.isProviderFor(e,i))return r;if(!M(o))for(var a=F(o);;){var u=z(a);if(!u)return;var f=I(u);if(f.isProviderFor(e,i))return L(a),f}}}if(!M(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,n=i.get(t);return M(n)||(r=n.get(e)),M(r)?(M(r=f(t,e))||(M(n)&&(n=new y,i.set(t,n)),n.set(e,r)),r):r}function s(t){if(M(t))throw new TypeError;return r===t||n===t||!M(o)&&o.has(t)}function d(t,e,r){if(!s(r))throw new Error("Metadata provider not registered.");var n=c(t,e);if(n!==r){if(!M(n))return!1;var o=i.get(t);M(o)&&(o=new y,i.set(t,o)),o.set(e,r)}return!0}}()),!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),v=function(t){var e=new p,r={isProviderFor:function(t,r){var n=e.get(t);return!M(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,o){n(r,o,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var o=n(e,r,!1);return!M(o)&&R(o.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var o=n(e,r,!1);if(!M(o))return o.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],o=n(t,e,!1);if(M(o))return r;for(var i=F(o.keys()),a=0;;){var u=z(i);if(!u)return r.length=a,r;var f=I(u);try{r[a]=f}catch(t){try{L(i)}finally{throw t}}a++}},OrdinaryDeleteMetadata:function(t,r,o){var i=n(r,o,!1);if(M(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var a=e.get(r);M(a)||(a.delete(o),0===a.size&&e.delete(a))}return!0}};return d.registerProvider(r),r;function n(n,o,i){var a=e.get(n),u=!1;if(M(a)){if(!i)return;a=new y,e.set(n,a),u=!0}var f=a.get(o);if(M(f)){if(!i)return;if(f=new y,a.set(o,f),!t.setProvider(n,o,r))throw a.delete(o),u&&e.delete(n),new Error("Wrong provider for target.")}return f}}(d);function g(t,e,r){if(w(t,e,r))return!0;var n=C(e);return!P(n)&&g(t,n,r)}function w(t,e,r){var n=V(e,r,!1);return!M(n)&&R(n.OrdinaryHasOwnMetadata(t,e,r))}function b(t,e,r){if(w(t,e,r))return _(t,e,r);var n=C(e);return P(n)?void 0:b(t,n,r)}function _(t,e,r){var n=V(e,r,!1);if(!M(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function O(t,e,r,n){V(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function m(t,e){var r=k(t,e),n=C(t);if(null===n)return r;var o=m(n,e);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new l,a=[],u=0,f=r;u<f.length;u++){var c=f[u];i.has(c)||(i.add(c),a.push(c))}for(var s=0,y=o;s<y.length;s++)c=y[s],i.has(c)||(i.add(c),a.push(c));return a}function k(t,e){var r=V(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function j(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function M(t){return void 0===t}function P(t){return null===t}function E(t){return"object"==typeof t?null!==t:"function"==typeof t}function T(t,e){switch(j(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",n=N(t,o);if(void 0!==n){var i=n.call(t,r);if(E(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(A(r)&&!E(o=r.call(t)))return o;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o}else{var n;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o;var o,i=t.toString;if(A(i)&&!E(o=i.call(t)))return o}throw new TypeError}(t,"default"===r?"number":r)}function R(t){return!!t}function S(t){var e=T(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function x(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function A(t){return"function"==typeof t}function K(t){return"function"==typeof t}function D(t,e){return t===e||t!=t&&e!=e}function N(t,e){var r=t[e];if(null!=r){if(!A(r))throw new TypeError;return r}}function F(t){var e=N(t,i);if(!A(e))throw new TypeError;var r=e.call(t);if(!E(r))throw new TypeError;return r}function I(t){return t.value}function z(t){var e=t.next();return!e.done&&e}function L(t){var e=t.return;e&&e.call(t)}function C(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===s)return e;if(e!==s)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var o=n.constructor;return"function"!=typeof o||o===t?e:o}function V(t,e,r){var n=d.getProvider(t,e);if(!M(n))return n;if(r){if(d.setProvider(t,e,v))return v;throw new Error("Illegal state.")}}function W(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,n){if(M(r)){if(!x(t))throw new TypeError;if(!K(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!M(n)&&!P(n)){if(!K(n))throw new TypeError;e=n}}return e}(t,e)}if(!x(t))throw new TypeError;if(!E(e))throw new TypeError;if(!E(n)&&!M(n)&&!P(n))throw new TypeError;return P(n)&&(n=void 0),function(t,e,r,n){for(var o=t.length-1;o>=0;--o){var i=(0,t[o])(e,r,n);if(!M(i)&&!P(i)){if(!E(i))throw new TypeError;n=i}}return n}(t,e,r=S(r),n)})),t("metadata",(function(t,e){return function(r,n){if(!E(r))throw new TypeError;if(!M(n)&&!function(t){switch(j(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;O(t,e,r,n)}})),t("defineMetadata",(function(t,e,r,n){if(!E(r))throw new TypeError;return M(n)||(n=S(n)),O(t,e,r,n)})),t("hasMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),g(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),w(t,e,r)})),t("getMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),b(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),_(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=S(e)),m(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=S(e)),k(t,e)})),t("deleteMetadata",(function(t,e,r){if(!E(e))throw new TypeError;if(M(r)||(r=S(r)),!E(e))throw new TypeError;M(r)||(r=S(r));var n=V(e,r,!1);return!M(n)&&n.OrdinaryDeleteMetadata(t,e,r)}))}(n,e),void 0===e.Reflect&&(e.Reflect=t)}()}(n||(n={}))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(729); | ||
var t={720:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Reflection=void 0;const n=r(640),o=r(233);class i{constructor(){}static checkType(t,e){return typeof t===e.toLowerCase()||void 0!==t&&"object"==typeof t&&t.constructor&&t.constructor.name.toLowerCase()===e.toLowerCase()}static checkTypes(t,e){return!e.every((e=>!this.checkType(t,e)))}static evaluateDesignTypes(t,e){switch(typeof e){case"string":return this.checkType(t,e);case"object":return!Array.isArray(e)||i.checkTypes(t,e);case"function":return!e.name||"Object"===e.name||this.checkType(t,e.name);default:return!0}}static getAllProperties(t,e=!0,r="Object"){const n=new Set;let o=t;const i=function(){if(!e)return;const t=Object.getPrototypeOf(o);return t&&t.constructor.name!==r?(o=t,o):void 0};do{Object.getOwnPropertyNames(o).forEach((t=>n.add(t)))}while(i());return Array.from(n)}static getClassDecorators(t,e){const r=Reflect.getOwnMetadataKeys(e.constructor),n=[];for(const o of r)o.startsWith(t)&&n.push({key:o.slice(t.length),props:Reflect.getMetadata(o,e.constructor)});return n}static getAllPropertyDecorators(t,...e){if(!e||0===e.length)return;const r={},n=Object.getOwnPropertyNames(t);for(const o of n)for(let n=0;n<e.length;n++){const a=i.getPropertyDecorators(e[n],t,o,0!==n);a.decorators.length>0&&(r[o]||(r[o]=[]),r[o].push(...a.decorators))}return Object.keys(r).length>0?r:void 0}static getTypeFromDecorator(t,e){const r=i.getPropertyDecorators(n.ReflectionKeys.TYPE,t,e,!1);if(!r||!r.decorators)return;const o=r.decorators.shift(),a=o.props?o.props.name:void 0;return"Function"!==a?a:void 0}static getPropertyDecorators(t,e,r,a=!1,u=!0,f){const c=function(t,e,r,o=!1,i){const a=Reflect.getMetadataKeys(e,r).filter((e=>o?e.toString().startsWith(t):e===n.ReflectionKeys.TYPE||e.toString().startsWith(t))).reduce(((o,i)=>{const a={key:i!==n.ReflectionKeys.TYPE?i.substring(t.length):i,props:Reflect.getMetadata(i,e,r)};return o.concat(a)}),i||[]);return{prop:r.toString(),decorators:a}}(t,e,r,a,f);return u&&Object.getPrototypeOf(e)!==Object.prototype?i.getPropertyDecorators(t,Object.getPrototypeOf(e.constructor),r,!0,u,c.decorators):{prop:c.prop,decorators:function(t){const r={};return t.filter((t=>t.key in r?((0,o.isEqual)(t.props,r[t.key])||console.log(`Found a similar decorator for the ${t.key} propertyof a ${e.constructor.name} model but with different attributes.The original one will be kept`),!1):(r[t.key.toString()]=t.props,!0)))}(c.decorators)}}}e.Reflection=i},640:(t,e)=>{var r;Object.defineProperty(e,"__esModule",{value:!0}),e.ReflectionKeys=void 0,function(t){t.TYPE="design:type"}(r||(e.ReflectionKeys=r={}))},503:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.metadata=function(t,e){return(r,n,o)=>{o?Reflect.defineMetadata(t,e,o.value):n?Reflect.defineMetadata(t,e,r,n):Reflect.defineMetadata(t,e,r)}},e.apply=function(...t){return(e,r,n)=>{for(const o of t)e instanceof Function&&!n?o(e):o(e,r,n)}},r(630)},233:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function t(e,r,...n){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return e===r;if(typeof e!=typeof r)return!1;if(Number.isNaN(e)&&Number.isNaN(r))return!0;if("object"!=typeof e)return e===r;if(e instanceof Date&&r instanceof Date)return!(!isNaN(e.getTime())||!isNaN(r.getTime()))||e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.toString()===r.toString();if(e instanceof Error&&r instanceof Error)return e.name===r.name&&e.message===r.message;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let o=0;o<e.length;o++)if(!t(e[o],r[o],...n))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,i]of e)if(!r.has(o)||!t(i,r.get(o),...n))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const t of e)if(!r.has(t))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if(e.byteLength!==r.byteLength)return!1;if(e.byteOffset!==r.byteOffset)return!1;if(e.buffer.byteLength!==r.buffer.byteLength)return!1;const t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const o=Object.keys(e).filter((t=>!n.includes(t))),i=Object.keys(r).filter((t=>!n.includes(t)));if(o.length!==i.length)return!1;for(const a of o){if(!i.includes(a))return!1;if(!t(e[a],r[a],...n))return!1}const a=Object.getOwnPropertySymbols(e).filter((t=>!n.includes(t.toString()))),u=Object.getOwnPropertySymbols(r).filter((t=>!n.includes(t.toString())));if(a.length!==u.length)return!1;for(const o of a){if(!u.includes(o))return!1;if(!t(e[o],r[o],...n))return!1}return Object.getPrototypeOf(e)===Object.getPrototypeOf(r)}},729:function(t,e,r){var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,o(r(640),e),o(r(503),e),o(r(233),e),o(r(720),e),o(r(732),e),e.VERSION="0.3.13"},732:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0})},630:(t,e,r)=>{var n;!function(t){!function(){var e="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),n=o(t);function o(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==e.Reflect&&(n=o(e.Reflect,n)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,u={__proto__:[]}instanceof Array,f=!a&&!u,c={create:a?function(){return W(Object.create(null))}:u?function(){return W({__proto__:null})}:function(){return W({})},has:f?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:f?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},s=Object.getPrototypeOf(Function),y="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[i]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,D(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,o)},e.prototype.entries=function(){return new r(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[i]=function(){return this.entries()},e.prototype._find=function(t,e){if(!D(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(D(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function o(t,e){return e}function a(t,e){return[t,e]}}(),l="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new y}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[i]=function(){return this.keys()},t}(),p="function"==typeof WeakMap?WeakMap:function(){var t=c.create(),e=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=o(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=o(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return o(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=o(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var e;do{e="@@WeakMap@@"+a()}while(c.has(t,e));return t[e]=!0,e}function o(t,n){if(!r.call(t,e)){if(!n)return;Object.defineProperty(t,e,{value:c.create()})}return t[e]}function i(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function a(){var t=function(t){if("function"==typeof Uint8Array){var e=new Uint8Array(t);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):i(e,t),e}return i(new Array(t),t)}(16);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var e="",r=0;r<16;++r){var n=t[r];4!==r&&6!==r&&8!==r||(e+="-"),n<16&&(e+="0"),e+=n.toString(16).toLowerCase()}return e}}(),h=n?Symbol.for("@reflect-metadata:registry"):void 0,d=function(){var t;return!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[h]),M(t)&&(t=function(){var t,r,n,o;M(h)||void 0===e.Reflect||h in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,o=t.getOwnMetadataKeys,i=t.deleteMetadata,a=new p;return{isProviderFor:function(t,e){var r=a.get(t);return!(M(r)||!r.has(e))||!!o(t,e).length&&(M(r)&&(r=new l,a.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(e.Reflect));var i=new p,a={registerProvider:u,getProvider:c,setProvider:d};return a;function u(e){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case M(r):r=e;break;case r===e:break;case M(n):n=e;break;case n===e:break;default:void 0===o&&(o=new l),o.add(e)}}function f(e,i){if(!M(r)){if(r.isProviderFor(e,i))return r;if(!M(n)){if(n.isProviderFor(e,i))return r;if(!M(o))for(var a=F(o);;){var u=z(a);if(!u)return;var f=I(u);if(f.isProviderFor(e,i))return L(a),f}}}if(!M(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,n=i.get(t);return M(n)||(r=n.get(e)),M(r)?(M(r=f(t,e))||(M(n)&&(n=new y,i.set(t,n)),n.set(e,r)),r):r}function s(t){if(M(t))throw new TypeError;return r===t||n===t||!M(o)&&o.has(t)}function d(t,e,r){if(!s(r))throw new Error("Metadata provider not registered.");var n=c(t,e);if(n!==r){if(!M(n))return!1;var o=i.get(t);M(o)&&(o=new y,i.set(t,o)),o.set(e,r)}return!0}}()),!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),v=function(t){var e=new p,r={isProviderFor:function(t,r){var n=e.get(t);return!M(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,o){n(r,o,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var o=n(e,r,!1);return!M(o)&&R(o.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var o=n(e,r,!1);if(!M(o))return o.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],o=n(t,e,!1);if(M(o))return r;for(var i=F(o.keys()),a=0;;){var u=z(i);if(!u)return r.length=a,r;var f=I(u);try{r[a]=f}catch(t){try{L(i)}finally{throw t}}a++}},OrdinaryDeleteMetadata:function(t,r,o){var i=n(r,o,!1);if(M(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var a=e.get(r);M(a)||(a.delete(o),0===a.size&&e.delete(a))}return!0}};return d.registerProvider(r),r;function n(n,o,i){var a=e.get(n),u=!1;if(M(a)){if(!i)return;a=new y,e.set(n,a),u=!0}var f=a.get(o);if(M(f)){if(!i)return;if(f=new y,a.set(o,f),!t.setProvider(n,o,r))throw a.delete(o),u&&e.delete(n),new Error("Wrong provider for target.")}return f}}(d);function g(t,e,r){if(w(t,e,r))return!0;var n=C(e);return!P(n)&&g(t,n,r)}function w(t,e,r){var n=V(e,r,!1);return!M(n)&&R(n.OrdinaryHasOwnMetadata(t,e,r))}function b(t,e,r){if(w(t,e,r))return _(t,e,r);var n=C(e);return P(n)?void 0:b(t,n,r)}function _(t,e,r){var n=V(e,r,!1);if(!M(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function O(t,e,r,n){V(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function m(t,e){var r=k(t,e),n=C(t);if(null===n)return r;var o=m(n,e);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new l,a=[],u=0,f=r;u<f.length;u++){var c=f[u];i.has(c)||(i.add(c),a.push(c))}for(var s=0,y=o;s<y.length;s++)c=y[s],i.has(c)||(i.add(c),a.push(c));return a}function k(t,e){var r=V(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function j(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function M(t){return void 0===t}function P(t){return null===t}function E(t){return"object"==typeof t?null!==t:"function"==typeof t}function T(t,e){switch(j(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",n=N(t,o);if(void 0!==n){var i=n.call(t,r);if(E(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(A(r)&&!E(o=r.call(t)))return o;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o}else{var n;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o;var o,i=t.toString;if(A(i)&&!E(o=i.call(t)))return o}throw new TypeError}(t,"default"===r?"number":r)}function R(t){return!!t}function S(t){var e=T(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function x(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function A(t){return"function"==typeof t}function K(t){return"function"==typeof t}function D(t,e){return t===e||t!=t&&e!=e}function N(t,e){var r=t[e];if(null!=r){if(!A(r))throw new TypeError;return r}}function F(t){var e=N(t,i);if(!A(e))throw new TypeError;var r=e.call(t);if(!E(r))throw new TypeError;return r}function I(t){return t.value}function z(t){var e=t.next();return!e.done&&e}function L(t){var e=t.return;e&&e.call(t)}function C(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===s)return e;if(e!==s)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var o=n.constructor;return"function"!=typeof o||o===t?e:o}function V(t,e,r){var n=d.getProvider(t,e);if(!M(n))return n;if(r){if(d.setProvider(t,e,v))return v;throw new Error("Illegal state.")}}function W(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,n){if(M(r)){if(!x(t))throw new TypeError;if(!K(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!M(n)&&!P(n)){if(!K(n))throw new TypeError;e=n}}return e}(t,e)}if(!x(t))throw new TypeError;if(!E(e))throw new TypeError;if(!E(n)&&!M(n)&&!P(n))throw new TypeError;return P(n)&&(n=void 0),function(t,e,r,n){for(var o=t.length-1;o>=0;--o){var i=(0,t[o])(e,r,n);if(!M(i)&&!P(i)){if(!E(i))throw new TypeError;n=i}}return n}(t,e,r=S(r),n)})),t("metadata",(function(t,e){return function(r,n){if(!E(r))throw new TypeError;if(!M(n)&&!function(t){switch(j(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;O(t,e,r,n)}})),t("defineMetadata",(function(t,e,r,n){if(!E(r))throw new TypeError;return M(n)||(n=S(n)),O(t,e,r,n)})),t("hasMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),g(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),w(t,e,r)})),t("getMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),b(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=S(r)),_(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=S(e)),m(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=S(e)),k(t,e)})),t("deleteMetadata",(function(t,e,r){if(!E(e))throw new TypeError;if(M(r)||(r=S(r)),!E(e))throw new TypeError;M(r)||(r=S(r));var n=V(e,r,!1);return!M(n)&&n.OrdinaryDeleteMetadata(t,e,r)}))}(n,e),void 0===e.Reflect&&(e.Reflect=t)}()}(n||(n={}))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(729); |
/*! For license information please see reflection.bundle.min.js.LICENSE.txt */ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("reflection",[],e):"object"==typeof exports?exports.reflection=e():t.reflection=e()}(this,(()=>(()=>{var t={720:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Reflection=void 0;const n=r(640),o=r(233);class i{constructor(){}static checkType(t,e){return typeof t===e.toLowerCase()||void 0!==t&&"object"==typeof t&&t.constructor&&t.constructor.name.toLowerCase()===e.toLowerCase()}static checkTypes(t,e){return!e.every((e=>!this.checkType(t,e)))}static evaluateDesignTypes(t,e){switch(typeof e){case"string":return this.checkType(t,e);case"object":return!Array.isArray(e)||i.checkTypes(t,e);case"function":return!e.name||"Object"===e.name||this.checkType(t,e.name);default:return!0}}static getAllProperties(t,e=!0,r="Object"){const n=new Set;let o=t;const i=function(){if(!e)return;const t=Object.getPrototypeOf(o);return t&&t.constructor.name!==r?(o=t,o):void 0};do{Object.getOwnPropertyNames(o).forEach((t=>n.add(t)))}while(i());return Array.from(n)}static getClassDecorators(t,e){const r=Reflect.getOwnMetadataKeys(e.constructor),n=[];for(const o of r)o.startsWith(t)&&n.push({key:o.slice(t.length),props:Reflect.getMetadata(o,e.constructor)});return n}static getAllPropertyDecorators(t,...e){if(!e||0===e.length)return;const r={},n=Object.getOwnPropertyNames(t);for(const o of n)for(let n=0;n<e.length;n++){const a=i.getPropertyDecorators(e[n],t,o,0!==n);a.decorators.length>0&&(r[o]||(r[o]=[]),r[o].push(...a.decorators))}return Object.keys(r).length>0?r:void 0}static getTypeFromDecorator(t,e){const r=i.getPropertyDecorators(n.ReflectionKeys.TYPE,t,e,!1);if(!r||!r.decorators)return;const o=r.decorators.shift(),a=o.props?o.props.name:void 0;return"Function"!==a?a:void 0}static getPropertyDecorators(t,e,r,a=!1,u=!0,f){const c=function(t,e,r,o=!1,i){const a=Reflect.getMetadataKeys(e,r).filter((e=>o?e.toString().startsWith(t):e===n.ReflectionKeys.TYPE||e.toString().startsWith(t))).reduce(((o,i)=>{const a={key:i!==n.ReflectionKeys.TYPE?i.substring(t.length):i,props:Reflect.getMetadata(i,e,r)};return o.concat(a)}),i||[]);return{prop:r.toString(),decorators:a}}(t,e,r,a,f);return u&&Object.getPrototypeOf(e)!==Object.prototype?i.getPropertyDecorators(t,Object.getPrototypeOf(e.constructor),r,!0,u,c.decorators):{prop:c.prop,decorators:function(t){const r={};return t.filter((t=>t.key in r?((0,o.isEqual)(t.props,r[t.key])||console.log(`Found a similar decorator for the ${t.key} propertyof a ${e.constructor.name} model but with different attributes.The original one will be kept`),!1):(r[t.key.toString()]=t.props,!0)))}(c.decorators)}}}e.Reflection=i},640:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.ReflectionKeys=void 0,function(t){t.TYPE="design:type"}(r||(e.ReflectionKeys=r={}))},503:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.metadata=function(t,e){return(r,n,o)=>{o?Reflect.defineMetadata(t,e,o.value):n?Reflect.defineMetadata(t,e,r,n):Reflect.defineMetadata(t,e,r)}},e.apply=function(...t){return(e,r,n)=>{for(const o of t)e instanceof Function&&!n?o(e):o(e,r,n)}},r(630)},233:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function t(e,r,...n){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return e===r;if(typeof e!=typeof r)return!1;if(Number.isNaN(e)&&Number.isNaN(r))return!0;if("object"!=typeof e)return e===r;if(e instanceof Date&&r instanceof Date)return!(!isNaN(e.getTime())||!isNaN(r.getTime()))||e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.toString()===r.toString();if(e instanceof Error&&r instanceof Error)return e.name===r.name&&e.message===r.message;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let o=0;o<e.length;o++)if(!t(e[o],r[o],...n))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,i]of e)if(!r.has(o)||!t(i,r.get(o),...n))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const t of e)if(!r.has(t))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if(e.byteLength!==r.byteLength)return!1;if(e.byteOffset!==r.byteOffset)return!1;if(e.buffer.byteLength!==r.buffer.byteLength)return!1;const t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const o=Object.keys(e).filter((t=>!n.includes(t))),i=Object.keys(r).filter((t=>!n.includes(t)));if(o.length!==i.length)return!1;for(const a of o){if(!i.includes(a))return!1;if(!t(e[a],r[a],...n))return!1}const a=Object.getOwnPropertySymbols(e).filter((t=>!n.includes(t.toString()))),u=Object.getOwnPropertySymbols(r).filter((t=>!n.includes(t.toString())));if(a.length!==u.length)return!1;for(const o of a){if(!u.includes(o))return!1;if(!t(e[o],r[o],...n))return!1}return Object.getPrototypeOf(e)===Object.getPrototypeOf(r)}},729:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,o(r(640),e),o(r(503),e),o(r(233),e),o(r(720),e),o(r(732),e),e.VERSION="0.3.12"},732:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},630:(t,e,r)=>{var n;!function(t){!function(){var e="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),n=o(t);function o(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==e.Reflect&&(n=o(e.Reflect,n)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,u={__proto__:[]}instanceof Array,f=!a&&!u,c={create:a?function(){return W(Object.create(null))}:u?function(){return W({__proto__:null})}:function(){return W({})},has:f?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:f?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},s=Object.getPrototypeOf(Function),y="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[i]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,D(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,o)},e.prototype.entries=function(){return new r(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[i]=function(){return this.entries()},e.prototype._find=function(t,e){if(!D(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(D(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function o(t,e){return e}function a(t,e){return[t,e]}}(),l="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new y}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[i]=function(){return this.keys()},t}(),p="function"==typeof WeakMap?WeakMap:function(){var t=c.create(),e=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=o(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=o(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return o(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=o(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var e;do{e="@@WeakMap@@"+a()}while(c.has(t,e));return t[e]=!0,e}function o(t,n){if(!r.call(t,e)){if(!n)return;Object.defineProperty(t,e,{value:c.create()})}return t[e]}function i(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function a(){var t=function(t){if("function"==typeof Uint8Array){var e=new Uint8Array(t);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):i(e,t),e}return i(new Array(t),t)}(16);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var e="",r=0;r<16;++r){var n=t[r];4!==r&&6!==r&&8!==r||(e+="-"),n<16&&(e+="0"),e+=n.toString(16).toLowerCase()}return e}}(),h=n?Symbol.for("@reflect-metadata:registry"):void 0,d=function(){var t;return!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[h]),M(t)&&(t=function(){var t,r,n,o;M(h)||void 0===e.Reflect||h in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,o=t.getOwnMetadataKeys,i=t.deleteMetadata,a=new p;return{isProviderFor:function(t,e){var r=a.get(t);return!(M(r)||!r.has(e))||!!o(t,e).length&&(M(r)&&(r=new l,a.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(e.Reflect));var i=new p,a={registerProvider:u,getProvider:c,setProvider:d};return a;function u(e){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case M(r):r=e;break;case r===e:break;case M(n):n=e;break;case n===e:break;default:void 0===o&&(o=new l),o.add(e)}}function f(e,i){if(!M(r)){if(r.isProviderFor(e,i))return r;if(!M(n)){if(n.isProviderFor(e,i))return r;if(!M(o))for(var a=F(o);;){var u=z(a);if(!u)return;var f=I(u);if(f.isProviderFor(e,i))return L(a),f}}}if(!M(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,n=i.get(t);return M(n)||(r=n.get(e)),M(r)?(M(r=f(t,e))||(M(n)&&(n=new y,i.set(t,n)),n.set(e,r)),r):r}function s(t){if(M(t))throw new TypeError;return r===t||n===t||!M(o)&&o.has(t)}function d(t,e,r){if(!s(r))throw new Error("Metadata provider not registered.");var n=c(t,e);if(n!==r){if(!M(n))return!1;var o=i.get(t);M(o)&&(o=new y,i.set(t,o)),o.set(e,r)}return!0}}()),!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),v=function(t){var e=new p,r={isProviderFor:function(t,r){var n=e.get(t);return!M(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,o){n(r,o,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var o=n(e,r,!1);return!M(o)&&R(o.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var o=n(e,r,!1);if(!M(o))return o.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],o=n(t,e,!1);if(M(o))return r;for(var i=F(o.keys()),a=0;;){var u=z(i);if(!u)return r.length=a,r;var f=I(u);try{r[a]=f}catch(t){try{L(i)}finally{throw t}}a++}},OrdinaryDeleteMetadata:function(t,r,o){var i=n(r,o,!1);if(M(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var a=e.get(r);M(a)||(a.delete(o),0===a.size&&e.delete(a))}return!0}};return d.registerProvider(r),r;function n(n,o,i){var a=e.get(n),u=!1;if(M(a)){if(!i)return;a=new y,e.set(n,a),u=!0}var f=a.get(o);if(M(f)){if(!i)return;if(f=new y,a.set(o,f),!t.setProvider(n,o,r))throw a.delete(o),u&&e.delete(n),new Error("Wrong provider for target.")}return f}}(d);function g(t,e,r){if(w(t,e,r))return!0;var n=C(e);return!P(n)&&g(t,n,r)}function w(t,e,r){var n=V(e,r,!1);return!M(n)&&R(n.OrdinaryHasOwnMetadata(t,e,r))}function b(t,e,r){if(w(t,e,r))return _(t,e,r);var n=C(e);return P(n)?void 0:b(t,n,r)}function _(t,e,r){var n=V(e,r,!1);if(!M(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function O(t,e,r,n){V(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function m(t,e){var r=k(t,e),n=C(t);if(null===n)return r;var o=m(n,e);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new l,a=[],u=0,f=r;u<f.length;u++){var c=f[u];i.has(c)||(i.add(c),a.push(c))}for(var s=0,y=o;s<y.length;s++)c=y[s],i.has(c)||(i.add(c),a.push(c));return a}function k(t,e){var r=V(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function j(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function M(t){return void 0===t}function P(t){return null===t}function E(t){return"object"==typeof t?null!==t:"function"==typeof t}function T(t,e){switch(j(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",n=N(t,o);if(void 0!==n){var i=n.call(t,r);if(E(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(A(r)&&!E(o=r.call(t)))return o;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o}else{var n;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o;var o,i=t.toString;if(A(i)&&!E(o=i.call(t)))return o}throw new TypeError}(t,"default"===r?"number":r)}function R(t){return!!t}function x(t){var e=T(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function S(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function A(t){return"function"==typeof t}function K(t){return"function"==typeof t}function D(t,e){return t===e||t!=t&&e!=e}function N(t,e){var r=t[e];if(null!=r){if(!A(r))throw new TypeError;return r}}function F(t){var e=N(t,i);if(!A(e))throw new TypeError;var r=e.call(t);if(!E(r))throw new TypeError;return r}function I(t){return t.value}function z(t){var e=t.next();return!e.done&&e}function L(t){var e=t.return;e&&e.call(t)}function C(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===s)return e;if(e!==s)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var o=n.constructor;return"function"!=typeof o||o===t?e:o}function V(t,e,r){var n=d.getProvider(t,e);if(!M(n))return n;if(r){if(d.setProvider(t,e,v))return v;throw new Error("Illegal state.")}}function W(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,n){if(M(r)){if(!S(t))throw new TypeError;if(!K(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!M(n)&&!P(n)){if(!K(n))throw new TypeError;e=n}}return e}(t,e)}if(!S(t))throw new TypeError;if(!E(e))throw new TypeError;if(!E(n)&&!M(n)&&!P(n))throw new TypeError;return P(n)&&(n=void 0),function(t,e,r,n){for(var o=t.length-1;o>=0;--o){var i=(0,t[o])(e,r,n);if(!M(i)&&!P(i)){if(!E(i))throw new TypeError;n=i}}return n}(t,e,r=x(r),n)})),t("metadata",(function(t,e){return function(r,n){if(!E(r))throw new TypeError;if(!M(n)&&!function(t){switch(j(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;O(t,e,r,n)}})),t("defineMetadata",(function(t,e,r,n){if(!E(r))throw new TypeError;return M(n)||(n=x(n)),O(t,e,r,n)})),t("hasMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),g(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),w(t,e,r)})),t("getMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),b(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),_(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=x(e)),m(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=x(e)),k(t,e)})),t("deleteMetadata",(function(t,e,r){if(!E(e))throw new TypeError;if(M(r)||(r=x(r)),!E(e))throw new TypeError;M(r)||(r=x(r));var n=V(e,r,!1);return!M(n)&&n.OrdinaryDeleteMetadata(t,e,r)}))}(n,e),void 0===e.Reflect&&(e.Reflect=t)}()}(n||(n={}))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(729)})())); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("reflection",[],e):"object"==typeof exports?exports.reflection=e():t.reflection=e()}(this,(()=>(()=>{var t={720:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Reflection=void 0;const n=r(640),o=r(233);class i{constructor(){}static checkType(t,e){return typeof t===e.toLowerCase()||void 0!==t&&"object"==typeof t&&t.constructor&&t.constructor.name.toLowerCase()===e.toLowerCase()}static checkTypes(t,e){return!e.every((e=>!this.checkType(t,e)))}static evaluateDesignTypes(t,e){switch(typeof e){case"string":return this.checkType(t,e);case"object":return!Array.isArray(e)||i.checkTypes(t,e);case"function":return!e.name||"Object"===e.name||this.checkType(t,e.name);default:return!0}}static getAllProperties(t,e=!0,r="Object"){const n=new Set;let o=t;const i=function(){if(!e)return;const t=Object.getPrototypeOf(o);return t&&t.constructor.name!==r?(o=t,o):void 0};do{Object.getOwnPropertyNames(o).forEach((t=>n.add(t)))}while(i());return Array.from(n)}static getClassDecorators(t,e){const r=Reflect.getOwnMetadataKeys(e.constructor),n=[];for(const o of r)o.startsWith(t)&&n.push({key:o.slice(t.length),props:Reflect.getMetadata(o,e.constructor)});return n}static getAllPropertyDecorators(t,...e){if(!e||0===e.length)return;const r={},n=Object.getOwnPropertyNames(t);for(const o of n)for(let n=0;n<e.length;n++){const a=i.getPropertyDecorators(e[n],t,o,0!==n);a.decorators.length>0&&(r[o]||(r[o]=[]),r[o].push(...a.decorators))}return Object.keys(r).length>0?r:void 0}static getTypeFromDecorator(t,e){const r=i.getPropertyDecorators(n.ReflectionKeys.TYPE,t,e,!1);if(!r||!r.decorators)return;const o=r.decorators.shift(),a=o.props?o.props.name:void 0;return"Function"!==a?a:void 0}static getPropertyDecorators(t,e,r,a=!1,u=!0,f){const c=function(t,e,r,o=!1,i){const a=Reflect.getMetadataKeys(e,r).filter((e=>o?e.toString().startsWith(t):e===n.ReflectionKeys.TYPE||e.toString().startsWith(t))).reduce(((o,i)=>{const a={key:i!==n.ReflectionKeys.TYPE?i.substring(t.length):i,props:Reflect.getMetadata(i,e,r)};return o.concat(a)}),i||[]);return{prop:r.toString(),decorators:a}}(t,e,r,a,f);return u&&Object.getPrototypeOf(e)!==Object.prototype?i.getPropertyDecorators(t,Object.getPrototypeOf(e.constructor),r,!0,u,c.decorators):{prop:c.prop,decorators:function(t){const r={};return t.filter((t=>t.key in r?((0,o.isEqual)(t.props,r[t.key])||console.log(`Found a similar decorator for the ${t.key} propertyof a ${e.constructor.name} model but with different attributes.The original one will be kept`),!1):(r[t.key.toString()]=t.props,!0)))}(c.decorators)}}}e.Reflection=i},640:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.ReflectionKeys=void 0,function(t){t.TYPE="design:type"}(r||(e.ReflectionKeys=r={}))},503:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.metadata=function(t,e){return(r,n,o)=>{o?Reflect.defineMetadata(t,e,o.value):n?Reflect.defineMetadata(t,e,r,n):Reflect.defineMetadata(t,e,r)}},e.apply=function(...t){return(e,r,n)=>{for(const o of t)e instanceof Function&&!n?o(e):o(e,r,n)}},r(630)},233:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function t(e,r,...n){if(e===r)return 0!==e||1/e==1/r;if(null==e||null==r)return e===r;if(typeof e!=typeof r)return!1;if(Number.isNaN(e)&&Number.isNaN(r))return!0;if("object"!=typeof e)return e===r;if(e instanceof Date&&r instanceof Date)return!(!isNaN(e.getTime())||!isNaN(r.getTime()))||e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.toString()===r.toString();if(e instanceof Error&&r instanceof Error)return e.name===r.name&&e.message===r.message;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let o=0;o<e.length;o++)if(!t(e[o],r[o],...n))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,i]of e)if(!r.has(o)||!t(i,r.get(o),...n))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const t of e)if(!r.has(t))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(r)){if(e.byteLength!==r.byteLength)return!1;if(e.byteOffset!==r.byteOffset)return!1;if(e.buffer.byteLength!==r.buffer.byteLength)return!1;const t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}const o=Object.keys(e).filter((t=>!n.includes(t))),i=Object.keys(r).filter((t=>!n.includes(t)));if(o.length!==i.length)return!1;for(const a of o){if(!i.includes(a))return!1;if(!t(e[a],r[a],...n))return!1}const a=Object.getOwnPropertySymbols(e).filter((t=>!n.includes(t.toString()))),u=Object.getOwnPropertySymbols(r).filter((t=>!n.includes(t.toString())));if(a.length!==u.length)return!1;for(const o of a){if(!u.includes(o))return!1;if(!t(e[o],r[o],...n))return!1}return Object.getPrototypeOf(e)===Object.getPrototypeOf(r)}},729:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,o(r(640),e),o(r(503),e),o(r(233),e),o(r(720),e),o(r(732),e),e.VERSION="0.3.13"},732:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},630:(t,e,r)=>{var n;!function(t){!function(){var e="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(t){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(t){}}(),n=o(t);function o(t,e){return function(r,n){Object.defineProperty(t,r,{configurable:!0,writable:!0,value:n}),e&&e(r,n)}}void 0!==e.Reflect&&(n=o(e.Reflect,n)),function(t,e){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,u={__proto__:[]}instanceof Array,f=!a&&!u,c={create:a?function(){return W(Object.create(null))}:u?function(){return W({__proto__:null})}:function(){return W({})},has:f?function(t,e){return r.call(t,e)}:function(t,e){return e in t},get:f?function(t,e){return r.call(t,e)?t[e]:void 0}:function(t,e){return t[e]}},s=Object.getPrototypeOf(Function),y="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var t={},e=[],r=function(){function t(t,e,r){this._index=0,this._keys=t,this._values=e,this._selector=r}return t.prototype["@@iterator"]=function(){return this},t.prototype[i]=function(){return this},t.prototype.next=function(){var t=this._index;if(t>=0&&t<this._keys.length){var r=this._selector(this._keys[t],this._values[t]);return t+1>=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var r=this._find(t,!0);return this._values[r]=e,this},e.prototype.delete=function(e){var r=this._find(e,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o<n;o++)this._keys[o-1]=this._keys[o],this._values[o-1]=this._values[o];return this._keys.length--,this._values.length--,D(e,this._cacheKey)&&(this._cacheKey=t,this._cacheIndex=-2),!0}return!1},e.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=t,this._cacheIndex=-2},e.prototype.keys=function(){return new r(this._keys,this._values,n)},e.prototype.values=function(){return new r(this._keys,this._values,o)},e.prototype.entries=function(){return new r(this._keys,this._values,a)},e.prototype["@@iterator"]=function(){return this.entries()},e.prototype[i]=function(){return this.entries()},e.prototype._find=function(t,e){if(!D(this._cacheKey,t)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(D(this._keys[r],t)){this._cacheIndex=r;break}}return this._cacheIndex<0&&e&&(this._cacheIndex=this._keys.length,this._keys.push(t),this._values.push(void 0)),this._cacheIndex},e}();function n(t,e){return t}function o(t,e){return e}function a(t,e){return[t,e]}}(),l="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function t(){this._map=new y}return Object.defineProperty(t.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),t.prototype.has=function(t){return this._map.has(t)},t.prototype.add=function(t){return this._map.set(t,t),this},t.prototype.delete=function(t){return this._map.delete(t)},t.prototype.clear=function(){this._map.clear()},t.prototype.keys=function(){return this._map.keys()},t.prototype.values=function(){return this._map.keys()},t.prototype.entries=function(){return this._map.entries()},t.prototype["@@iterator"]=function(){return this.keys()},t.prototype[i]=function(){return this.keys()},t}(),p="function"==typeof WeakMap?WeakMap:function(){var t=c.create(),e=n();return function(){function t(){this._key=n()}return t.prototype.has=function(t){var e=o(t,!1);return void 0!==e&&c.has(e,this._key)},t.prototype.get=function(t){var e=o(t,!1);return void 0!==e?c.get(e,this._key):void 0},t.prototype.set=function(t,e){return o(t,!0)[this._key]=e,this},t.prototype.delete=function(t){var e=o(t,!1);return void 0!==e&&delete e[this._key]},t.prototype.clear=function(){this._key=n()},t}();function n(){var e;do{e="@@WeakMap@@"+a()}while(c.has(t,e));return t[e]=!0,e}function o(t,n){if(!r.call(t,e)){if(!n)return;Object.defineProperty(t,e,{value:c.create()})}return t[e]}function i(t,e){for(var r=0;r<e;++r)t[r]=255*Math.random()|0;return t}function a(){var t=function(t){if("function"==typeof Uint8Array){var e=new Uint8Array(t);return"undefined"!=typeof crypto?crypto.getRandomValues(e):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(e):i(e,t),e}return i(new Array(t),t)}(16);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var e="",r=0;r<16;++r){var n=t[r];4!==r&&6!==r&&8!==r||(e+="-"),n<16&&(e+="0"),e+=n.toString(16).toLowerCase()}return e}}(),h=n?Symbol.for("@reflect-metadata:registry"):void 0,d=function(){var t;return!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&(t=e.Reflect[h]),M(t)&&(t=function(){var t,r,n,o;M(h)||void 0===e.Reflect||h in e.Reflect||"function"!=typeof e.Reflect.defineMetadata||(t=function(t){var e=t.defineMetadata,r=t.hasOwnMetadata,n=t.getOwnMetadata,o=t.getOwnMetadataKeys,i=t.deleteMetadata,a=new p;return{isProviderFor:function(t,e){var r=a.get(t);return!(M(r)||!r.has(e))||!!o(t,e).length&&(M(r)&&(r=new l,a.set(t,r)),r.add(e),!0)},OrdinaryDefineOwnMetadata:e,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:o,OrdinaryDeleteMetadata:i}}(e.Reflect));var i=new p,a={registerProvider:u,getProvider:c,setProvider:d};return a;function u(e){if(!Object.isExtensible(a))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case t===e:break;case M(r):r=e;break;case r===e:break;case M(n):n=e;break;case n===e:break;default:void 0===o&&(o=new l),o.add(e)}}function f(e,i){if(!M(r)){if(r.isProviderFor(e,i))return r;if(!M(n)){if(n.isProviderFor(e,i))return r;if(!M(o))for(var a=F(o);;){var u=z(a);if(!u)return;var f=I(u);if(f.isProviderFor(e,i))return L(a),f}}}if(!M(t)&&t.isProviderFor(e,i))return t}function c(t,e){var r,n=i.get(t);return M(n)||(r=n.get(e)),M(r)?(M(r=f(t,e))||(M(n)&&(n=new y,i.set(t,n)),n.set(e,r)),r):r}function s(t){if(M(t))throw new TypeError;return r===t||n===t||!M(o)&&o.has(t)}function d(t,e,r){if(!s(r))throw new Error("Metadata provider not registered.");var n=c(t,e);if(n!==r){if(!M(n))return!1;var o=i.get(t);M(o)&&(o=new y,i.set(t,o)),o.set(e,r)}return!0}}()),!M(h)&&E(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,h,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}(),v=function(t){var e=new p,r={isProviderFor:function(t,r){var n=e.get(t);return!M(n)&&n.has(r)},OrdinaryDefineOwnMetadata:function(t,e,r,o){n(r,o,!0).set(t,e)},OrdinaryHasOwnMetadata:function(t,e,r){var o=n(e,r,!1);return!M(o)&&R(o.has(t))},OrdinaryGetOwnMetadata:function(t,e,r){var o=n(e,r,!1);if(!M(o))return o.get(t)},OrdinaryOwnMetadataKeys:function(t,e){var r=[],o=n(t,e,!1);if(M(o))return r;for(var i=F(o.keys()),a=0;;){var u=z(i);if(!u)return r.length=a,r;var f=I(u);try{r[a]=f}catch(t){try{L(i)}finally{throw t}}a++}},OrdinaryDeleteMetadata:function(t,r,o){var i=n(r,o,!1);if(M(i))return!1;if(!i.delete(t))return!1;if(0===i.size){var a=e.get(r);M(a)||(a.delete(o),0===a.size&&e.delete(a))}return!0}};return d.registerProvider(r),r;function n(n,o,i){var a=e.get(n),u=!1;if(M(a)){if(!i)return;a=new y,e.set(n,a),u=!0}var f=a.get(o);if(M(f)){if(!i)return;if(f=new y,a.set(o,f),!t.setProvider(n,o,r))throw a.delete(o),u&&e.delete(n),new Error("Wrong provider for target.")}return f}}(d);function g(t,e,r){if(w(t,e,r))return!0;var n=C(e);return!P(n)&&g(t,n,r)}function w(t,e,r){var n=V(e,r,!1);return!M(n)&&R(n.OrdinaryHasOwnMetadata(t,e,r))}function b(t,e,r){if(w(t,e,r))return _(t,e,r);var n=C(e);return P(n)?void 0:b(t,n,r)}function _(t,e,r){var n=V(e,r,!1);if(!M(n))return n.OrdinaryGetOwnMetadata(t,e,r)}function O(t,e,r,n){V(r,n,!0).OrdinaryDefineOwnMetadata(t,e,r,n)}function m(t,e){var r=k(t,e),n=C(t);if(null===n)return r;var o=m(n,e);if(o.length<=0)return r;if(r.length<=0)return o;for(var i=new l,a=[],u=0,f=r;u<f.length;u++){var c=f[u];i.has(c)||(i.add(c),a.push(c))}for(var s=0,y=o;s<y.length;s++)c=y[s],i.has(c)||(i.add(c),a.push(c));return a}function k(t,e){var r=V(t,e,!1);return r?r.OrdinaryOwnMetadataKeys(t,e):[]}function j(t){if(null===t)return 1;switch(typeof t){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===t?1:6;default:return 6}}function M(t){return void 0===t}function P(t){return null===t}function E(t){return"object"==typeof t?null!==t:"function"==typeof t}function T(t,e){switch(j(t)){case 0:case 1:case 2:case 3:case 4:case 5:return t}var r=3===e?"string":5===e?"number":"default",n=N(t,o);if(void 0!==n){var i=n.call(t,r);if(E(i))throw new TypeError;return i}return function(t,e){if("string"===e){var r=t.toString;if(A(r)&&!E(o=r.call(t)))return o;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o}else{var n;if(A(n=t.valueOf)&&!E(o=n.call(t)))return o;var o,i=t.toString;if(A(i)&&!E(o=i.call(t)))return o}throw new TypeError}(t,"default"===r?"number":r)}function R(t){return!!t}function x(t){var e=T(t,3);return"symbol"==typeof e?e:function(t){return""+t}(e)}function S(t){return Array.isArray?Array.isArray(t):t instanceof Object?t instanceof Array:"[object Array]"===Object.prototype.toString.call(t)}function A(t){return"function"==typeof t}function K(t){return"function"==typeof t}function D(t,e){return t===e||t!=t&&e!=e}function N(t,e){var r=t[e];if(null!=r){if(!A(r))throw new TypeError;return r}}function F(t){var e=N(t,i);if(!A(e))throw new TypeError;var r=e.call(t);if(!E(r))throw new TypeError;return r}function I(t){return t.value}function z(t){var e=t.next();return!e.done&&e}function L(t){var e=t.return;e&&e.call(t)}function C(t){var e=Object.getPrototypeOf(t);if("function"!=typeof t||t===s)return e;if(e!==s)return e;var r=t.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return e;var o=n.constructor;return"function"!=typeof o||o===t?e:o}function V(t,e,r){var n=d.getProvider(t,e);if(!M(n))return n;if(r){if(d.setProvider(t,e,v))return v;throw new Error("Illegal state.")}}function W(t){return t.__=void 0,delete t.__,t}t("decorate",(function(t,e,r,n){if(M(r)){if(!S(t))throw new TypeError;if(!K(e))throw new TypeError;return function(t,e){for(var r=t.length-1;r>=0;--r){var n=(0,t[r])(e);if(!M(n)&&!P(n)){if(!K(n))throw new TypeError;e=n}}return e}(t,e)}if(!S(t))throw new TypeError;if(!E(e))throw new TypeError;if(!E(n)&&!M(n)&&!P(n))throw new TypeError;return P(n)&&(n=void 0),function(t,e,r,n){for(var o=t.length-1;o>=0;--o){var i=(0,t[o])(e,r,n);if(!M(i)&&!P(i)){if(!E(i))throw new TypeError;n=i}}return n}(t,e,r=x(r),n)})),t("metadata",(function(t,e){return function(r,n){if(!E(r))throw new TypeError;if(!M(n)&&!function(t){switch(j(t)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;O(t,e,r,n)}})),t("defineMetadata",(function(t,e,r,n){if(!E(r))throw new TypeError;return M(n)||(n=x(n)),O(t,e,r,n)})),t("hasMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),g(t,e,r)})),t("hasOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),w(t,e,r)})),t("getMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),b(t,e,r)})),t("getOwnMetadata",(function(t,e,r){if(!E(e))throw new TypeError;return M(r)||(r=x(r)),_(t,e,r)})),t("getMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=x(e)),m(t,e)})),t("getOwnMetadataKeys",(function(t,e){if(!E(t))throw new TypeError;return M(e)||(e=x(e)),k(t,e)})),t("deleteMetadata",(function(t,e,r){if(!E(e))throw new TypeError;if(M(r)||(r=x(r)),!E(e))throw new TypeError;M(r)||(r=x(r));var n=V(e,r,!1);return!M(n)&&n.OrdinaryDeleteMetadata(t,e,r)}))}(n,e),void 0===e.Reflect&&(e.Reflect=t)}()}(n||(n={}))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r(729)})())); |
@@ -29,2 +29,2 @@ export * from "./constants"; | ||
*/ | ||
export declare const VERSION = "0.3.12"; | ||
export declare const VERSION = "0.3.13"; |
@@ -29,4 +29,4 @@ export * from "./constants"; | ||
*/ | ||
export const VERSION = "0.3.12"; | ||
export const VERSION = "0.3.13"; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFNBQVMsQ0FBQztBQUV4Qjs7OztHQUlHO0FBRUg7Ozs7O0dBS0c7QUFFSDs7Ozs7R0FLRztBQUVIOzs7OztHQUtHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLFFBQVEsQ0FBQyIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NvbnN0YW50c1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vZGVjb3JhdG9yc1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vZXF1YWxpdHlcIjtcbmV4cG9ydCAqIGZyb20gXCIuL1JlZmxlY3Rpb25cIjtcbmV4cG9ydCAqIGZyb20gXCIuL3R5cGVzXCI7XG5cbi8qKlxuICogQHN1bW1hcnkgUmVmbGVjdGlvblxuICogQGRlc2NyaXB0aW9uIFByb3ZpZGVzIGNvbW1vbiByZWZsZWN0aW9uIGJhc2VkIGZ1bmN0aW9uYWxpdHlcbiAqIEBtb2R1bGUgcmVmbGVjdGlvblxuICovXG5cbi8qKlxuICogQHN1bW1hcnkgRGVjb3JhdG9yc1xuICogQGRlc2NyaXB0aW9uIFByb3ZpZGVzIGNvbW1vbiByZWZsZWN0aW9uIGJhc2VkIGZ1bmN0aW9uYWxpdHlcbiAqIEBuYW1lc3BhY2UgZGVjb3JhdG9yc1xuICogQG1lbWJlck9mIG1vZHVsZTpyZWZsZWN0aW9uXG4gKi9cblxuLyoqXG4gKiBAc3VtbWFyeSBFcXVhbGl0eVxuICogQGRlc2NyaXB0aW9uIFByb3ZpZGVzIGNvbW1vbiByZWZsZWN0aW9uIGJhc2VkIGZ1bmN0aW9uYWxpdHlcbiAqIEBuYW1lc3BhY2UgZXF1YWxpdHlcbiAqIEBtZW1iZXJPZiBtb2R1bGU6cmVmbGVjdGlvblxuICovXG5cbi8qKlxuICogQHN1bW1hcnkgc3RvcmVzIHRoZSBjdXJyZW50IHBhY2thZ2UgdmVyc2lvblxuICogQGRlc2NyaXB0aW9uIHRoaXMgaXMgaG93IHlvdSBzaG91bGQgZG9jdW1lbnQgYSBjb25zdGFudFxuICogQGNvbnN0IFZFUlNJT05cbiAqIEBtZW1iZXJPZiBtb2R1bGU6dHMtd29ya3NwYWNlXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gXCIwLjMuMTJcIjtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFNBQVMsQ0FBQztBQUV4Qjs7OztHQUlHO0FBRUg7Ozs7O0dBS0c7QUFFSDs7Ozs7R0FLRztBQUVIOzs7OztHQUtHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHLFFBQVEsQ0FBQyIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2NvbnN0YW50c1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vZGVjb3JhdG9yc1wiO1xuZXhwb3J0ICogZnJvbSBcIi4vZXF1YWxpdHlcIjtcbmV4cG9ydCAqIGZyb20gXCIuL1JlZmxlY3Rpb25cIjtcbmV4cG9ydCAqIGZyb20gXCIuL3R5cGVzXCI7XG5cbi8qKlxuICogQHN1bW1hcnkgUmVmbGVjdGlvblxuICogQGRlc2NyaXB0aW9uIFByb3ZpZGVzIGNvbW1vbiByZWZsZWN0aW9uIGJhc2VkIGZ1bmN0aW9uYWxpdHlcbiAqIEBtb2R1bGUgcmVmbGVjdGlvblxuICovXG5cbi8qKlxuICogQHN1bW1hcnkgRGVjb3JhdG9yc1xuICogQGRlc2NyaXB0aW9uIFByb3ZpZGVzIGNvbW1vbiByZWZsZWN0aW9uIGJhc2VkIGZ1bmN0aW9uYWxpdHlcbiAqIEBuYW1lc3BhY2UgZGVjb3JhdG9yc1xuICogQG1lbWJlck9mIG1vZHVsZTpyZWZsZWN0aW9uXG4gKi9cblxuLyoqXG4gKiBAc3VtbWFyeSBFcXVhbGl0eVxuICogQGRlc2NyaXB0aW9uIFByb3ZpZGVzIGNvbW1vbiByZWZsZWN0aW9uIGJhc2VkIGZ1bmN0aW9uYWxpdHlcbiAqIEBuYW1lc3BhY2UgZXF1YWxpdHlcbiAqIEBtZW1iZXJPZiBtb2R1bGU6cmVmbGVjdGlvblxuICovXG5cbi8qKlxuICogQHN1bW1hcnkgc3RvcmVzIHRoZSBjdXJyZW50IHBhY2thZ2UgdmVyc2lvblxuICogQGRlc2NyaXB0aW9uIHRoaXMgaXMgaG93IHlvdSBzaG91bGQgZG9jdW1lbnQgYSBjb25zdGFudFxuICogQGNvbnN0IFZFUlNJT05cbiAqIEBtZW1iZXJPZiBtb2R1bGU6dHMtd29ya3NwYWNlXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gXCIwLjMuMTNcIjtcbiJdfQ== |
@@ -29,2 +29,2 @@ export * from "./constants"; | ||
*/ | ||
export declare const VERSION = "0.3.12"; | ||
export declare const VERSION = "0.3.13"; |
{ | ||
"name": "@decaf-ts/reflection", | ||
"version": "0.3.13", | ||
"version": "0.3.14", | ||
"description": "template for ts projects", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet