@prostojs/mate 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mate.cjs.prod.js +7 -2
- package/dist/mate.d.ts +5 -1
- package/dist/mate.esm-browser.prod.js +1 -1
- package/dist/mate.esm-bundler.js +7 -2
- package/dist/mate.global.prod.js +1 -1
- package/dist/src/mate.d.ts +5 -1
- package/dist/src/mate.d.ts.map +1 -1
- package/dist/src/tests/mate.artifacts.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/mate.cjs.prod.js
CHANGED
|
@@ -159,9 +159,11 @@ class Mate {
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
decorate(key, value, isArray) {
|
|
162
|
+
decorate(key, value, isArray, level) {
|
|
163
163
|
return ((target, propKey, descriptor) => {
|
|
164
|
-
const args = {
|
|
164
|
+
const args = level === 'CLASS' ? {
|
|
165
|
+
target,
|
|
166
|
+
} : {
|
|
165
167
|
target,
|
|
166
168
|
propKey,
|
|
167
169
|
descriptor: typeof descriptor === 'number' ? undefined : descriptor,
|
|
@@ -170,6 +172,9 @@ class Mate {
|
|
|
170
172
|
this.set(args, key, value, isArray);
|
|
171
173
|
});
|
|
172
174
|
}
|
|
175
|
+
decorateClass(key, value, isArray) {
|
|
176
|
+
return this.decorate(key, value, isArray, 'CLASS');
|
|
177
|
+
}
|
|
173
178
|
}
|
|
174
179
|
const fnProto = Object.getPrototypeOf(Function);
|
|
175
180
|
|
package/dist/mate.d.ts
CHANGED
|
@@ -10,10 +10,14 @@ export declare class Mate<T extends TProstoMetadata = TProstoMetadata> {
|
|
|
10
10
|
set<R extends T = T, RP = R['params'][0]>(args: TMergedDecoratorArgs, key: keyof R | keyof RP, value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined): void;
|
|
11
11
|
set<R extends T = T, RP = R['params'][0]>(args: TMergedDecoratorArgs, key: keyof R | keyof RP, value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined): void;
|
|
12
12
|
read<R extends T = T>(target: TFunction | TObject, propKey?: string | symbol): R | undefined;
|
|
13
|
-
apply(...decorators: (MethodDecorator & ClassDecorator & ParameterDecorator)[]): MethodDecorator & ClassDecorator & ParameterDecorator;
|
|
13
|
+
apply(...decorators: (MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator)[]): MethodDecorator & ClassDecorator & ParameterDecorator;
|
|
14
14
|
decorate<R extends T = T, RP = R['params'][0]>(cb: ((meta: R & RP) => R & RP)): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
15
15
|
decorate<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
16
16
|
decorate<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
17
|
+
decorate<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined, level: 'CLASS' | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
18
|
+
decorateClass<R extends T = T, RP = R['params'][0]>(cb: ((meta: R & RP) => R & RP)): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
19
|
+
decorateClass<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
20
|
+
decorateClass<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
declare type TAny = any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function t(t){return e(t)?t:t.constructor?t.constructor:Object.getPrototypeOf(t).constructor}function e(t){return"function"==typeof t&&Object.getOwnPropertyNames(t).includes("prototype")&&!Object.getOwnPropertyNames(t).includes("caller")&&!!t.name}const o=()=>`[prostojs/mate][${(new Date).toISOString().replace("T"," ").replace(/\.\d{3}z$/i,"")}] `;const a={},r={},n="object"==typeof global?global:"object"==typeof self?self:{};function
|
|
1
|
+
function t(t){return e(t)?t:t.constructor?t.constructor:Object.getPrototypeOf(t).constructor}function e(t){return"function"==typeof t&&Object.getOwnPropertyNames(t).includes("prototype")&&!Object.getOwnPropertyNames(t).includes("caller")&&!!t.name}const o=()=>`[prostojs/mate][${(new Date).toISOString().replace("T"," ").replace(/\.\d{3}z$/i,"")}] `;const a={},r={},n="object"==typeof global?global:"object"==typeof self?self:{};function s(e,o){const n=void 0!==o,s=n?r:a,i=Symbol.for(t(e));let p=s[i]=s[i]||{};return n&&(p=p[o]=p[o]||{}),p}const i={getOwnMetadata:(t,e,o)=>s(e,o)[t],defineMetadata(t,e,o,a){s(o,a)[t]=e},metadata:(t,e)=>(o,a)=>{c.defineMetadata(t,e,o,a)}};if(n.Reflect){const t=["getOwnMetadata","defineMetadata","metadata"],e=n.Reflect;let a=!0;for(const o of t)"function"!=typeof e[o]&&(Object.defineProperty(e,o,{configurable:!0,writable:!0,value:i[o]}),a=!1);a||(p="A limited 'reflect-metadata' implementation is used. In case of any issues include original 'reflect-metadata' package and require it before any @prostojs/mate import.",console.log("[33m"+o()+p+"[0m"))}else n.Reflect=i;var p;const c=i;function f(t){return function(t){console.error("[91m[1m"+o()+t+"[0m")}(t),new Error(t)}const l=(null===global||void 0===global?void 0:global.Reflect)||(null===self||void 0===self?void 0:self.Reflect)||c;class d{constructor(t,e={}){this.workspace=t,this.options=e}set(t,e,o,a){var r;let n=l.getOwnMetadata(this.workspace,t.target,t.propKey)||{};t.propKey&&this.options.readReturnType&&!n.returnType&&(n.returnType=l.getOwnMetadata("design:returntype",t.target,t.propKey)),t.propKey&&this.options.readType&&!n.type&&(n.type=l.getOwnMetadata("design:type",t.target,t.propKey));const{index:s}=t,i="function"==typeof e?e:void 0;let p=n;if(p.params||(p.params=null===(r=l.getOwnMetadata("design:paramtypes",t.target,t.propKey))||void 0===r?void 0:r.map((t=>({type:t})))),"number"==typeof s&&(p.params=p.params||[],p.params[s]=p.params[s]||{type:void 0},i?p.params[s]=i(p.params[s]):p=p.params[s]),"function"!=typeof e)if(a){const t=p[e]||[];Array.isArray(t)||f("Mate.add (isArray=true) called for non-array metadata"),t.unshift(o),p[e]=t}else p[e]=o;else i&&"number"!=typeof s&&(n=i(p));l.defineMetadata(this.workspace,n,t.target,t.propKey)}read(o,a){const r=e(o)?o:t(o);let n=l.getOwnMetadata(this.workspace,"string"==typeof a?r.prototype:r,a);if(this.options.inherit){const t="function"==typeof this.options.inherit?this.options.inherit:void 0;let e=this.options.inherit;if(t)if("string"==typeof a){e=t(l.getOwnMetadata(this.workspace,r),a,n)}else e=t(n);if(e){const t=Object.getPrototypeOf(r);if("function"==typeof t&&t!==y&&t!==r){n={...this.read(t,a),...n,params:null==n?void 0:n.params}}}}return n}apply(...t){return(e,o,a)=>{for(const r of t)r(e,o,a)}}decorate(t,e,o,a){return(r,n,s)=>{this.set("CLASS"===a?{target:r}:{target:r,propKey:n,descriptor:"number"==typeof s?void 0:s,index:"number"==typeof s?s:void 0},t,e,o)}}decorateClass(t,e,o){return this.decorate(t,e,o,"CLASS")}}const y=Object.getPrototypeOf(Function);export{d as Mate,t as getConstructor,e as isConstructor};
|
package/dist/mate.esm-bundler.js
CHANGED
|
@@ -155,9 +155,11 @@ class Mate {
|
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
decorate(key, value, isArray) {
|
|
158
|
+
decorate(key, value, isArray, level) {
|
|
159
159
|
return ((target, propKey, descriptor) => {
|
|
160
|
-
const args = {
|
|
160
|
+
const args = level === 'CLASS' ? {
|
|
161
|
+
target,
|
|
162
|
+
} : {
|
|
161
163
|
target,
|
|
162
164
|
propKey,
|
|
163
165
|
descriptor: typeof descriptor === 'number' ? undefined : descriptor,
|
|
@@ -166,6 +168,9 @@ class Mate {
|
|
|
166
168
|
this.set(args, key, value, isArray);
|
|
167
169
|
});
|
|
168
170
|
}
|
|
171
|
+
decorateClass(key, value, isArray) {
|
|
172
|
+
return this.decorate(key, value, isArray, 'CLASS');
|
|
173
|
+
}
|
|
169
174
|
}
|
|
170
175
|
const fnProto = Object.getPrototypeOf(Function);
|
|
171
176
|
|
package/dist/mate.global.prod.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ProstoMate=function(t){"use strict";function e(t){return o(t)?t:t.constructor?t.constructor:Object.getPrototypeOf(t).constructor}function o(t){return"function"==typeof t&&Object.getOwnPropertyNames(t).includes("prototype")&&!Object.getOwnPropertyNames(t).includes("caller")&&!!t.name}const r=()=>`[prostojs/mate][${(new Date).toISOString().replace("T"," ").replace(/\.\d{3}z$/i,"")}] `;const a={},n={},s="object"==typeof global?global:"object"==typeof self?self:{};function i(t,o){const r=void 0!==o,s=r?n:a,i=Symbol.for(e(t));let p=s[i]=s[i]||{};return r&&(p=p[o]=p[o]||{}),p}const p={getOwnMetadata:(t,e,o)=>i(e,o)[t],defineMetadata(t,e,o,r){i(o,r)[t]=e},metadata:(t,e)=>(o,r)=>{f.defineMetadata(t,e,o,r)}};if(s.Reflect){const t=["getOwnMetadata","defineMetadata","metadata"],e=s.Reflect;let o=!0;for(const r of t)"function"!=typeof e[r]&&(Object.defineProperty(e,r,{configurable:!0,writable:!0,value:p[r]}),o=!1);o||(c="A limited 'reflect-metadata' implementation is used. In case of any issues include original 'reflect-metadata' package and require it before any @prostojs/mate import.",console.log("[33m"+r()+c+"[0m"))}else s.Reflect=p;var c;const f=p;function l(t){return function(t){console.error("[91m[1m"+r()+t+"[0m")}(t),new Error(t)}const d=(null===global||void 0===global?void 0:global.Reflect)||(null===self||void 0===self?void 0:self.Reflect)||f;const u=Object.getPrototypeOf(Function);return t.Mate=class{constructor(t,e={}){this.workspace=t,this.options=e}set(t,e,o,r){var a;let n=d.getOwnMetadata(this.workspace,t.target,t.propKey)||{};t.propKey&&this.options.readReturnType&&!n.returnType&&(n.returnType=d.getOwnMetadata("design:returntype",t.target,t.propKey)),t.propKey&&this.options.readType&&!n.type&&(n.type=d.getOwnMetadata("design:type",t.target,t.propKey));const{index:s}=t,i="function"==typeof e?e:void 0;let p=n;if(p.params||(p.params=null===(a=d.getOwnMetadata("design:paramtypes",t.target,t.propKey))||void 0===a?void 0:a.map((t=>({type:t})))),"number"==typeof s&&(p.params=p.params||[],p.params[s]=p.params[s]||{type:void 0},i?p.params[s]=i(p.params[s]):p=p.params[s]),"function"!=typeof e)if(r){const t=p[e]||[];Array.isArray(t)||l("Mate.add (isArray=true) called for non-array metadata"),t.unshift(o),p[e]=t}else p[e]=o;else i&&"number"!=typeof s&&(n=i(p));d.defineMetadata(this.workspace,n,t.target,t.propKey)}read(t,r){const a=o(t)?t:e(t);let n=d.getOwnMetadata(this.workspace,"string"==typeof r?a.prototype:a,r);if(this.options.inherit){const t="function"==typeof this.options.inherit?this.options.inherit:void 0;let e=this.options.inherit;if(t)if("string"==typeof r){e=t(d.getOwnMetadata(this.workspace,a),r,n)}else e=t(n);if(e){const t=Object.getPrototypeOf(a);if("function"==typeof t&&t!==u&&t!==a){n={...this.read(t,r),...n,params:null==n?void 0:n.params}}}}return n}apply(...t){return(e,o,r)=>{for(const a of t)a(e,o,r)}}decorate(t,e,o){return(
|
|
1
|
+
var ProstoMate=function(t){"use strict";function e(t){return o(t)?t:t.constructor?t.constructor:Object.getPrototypeOf(t).constructor}function o(t){return"function"==typeof t&&Object.getOwnPropertyNames(t).includes("prototype")&&!Object.getOwnPropertyNames(t).includes("caller")&&!!t.name}const r=()=>`[prostojs/mate][${(new Date).toISOString().replace("T"," ").replace(/\.\d{3}z$/i,"")}] `;const a={},n={},s="object"==typeof global?global:"object"==typeof self?self:{};function i(t,o){const r=void 0!==o,s=r?n:a,i=Symbol.for(e(t));let p=s[i]=s[i]||{};return r&&(p=p[o]=p[o]||{}),p}const p={getOwnMetadata:(t,e,o)=>i(e,o)[t],defineMetadata(t,e,o,r){i(o,r)[t]=e},metadata:(t,e)=>(o,r)=>{f.defineMetadata(t,e,o,r)}};if(s.Reflect){const t=["getOwnMetadata","defineMetadata","metadata"],e=s.Reflect;let o=!0;for(const r of t)"function"!=typeof e[r]&&(Object.defineProperty(e,r,{configurable:!0,writable:!0,value:p[r]}),o=!1);o||(c="A limited 'reflect-metadata' implementation is used. In case of any issues include original 'reflect-metadata' package and require it before any @prostojs/mate import.",console.log("[33m"+r()+c+"[0m"))}else s.Reflect=p;var c;const f=p;function l(t){return function(t){console.error("[91m[1m"+r()+t+"[0m")}(t),new Error(t)}const d=(null===global||void 0===global?void 0:global.Reflect)||(null===self||void 0===self?void 0:self.Reflect)||f;const u=Object.getPrototypeOf(Function);return t.Mate=class{constructor(t,e={}){this.workspace=t,this.options=e}set(t,e,o,r){var a;let n=d.getOwnMetadata(this.workspace,t.target,t.propKey)||{};t.propKey&&this.options.readReturnType&&!n.returnType&&(n.returnType=d.getOwnMetadata("design:returntype",t.target,t.propKey)),t.propKey&&this.options.readType&&!n.type&&(n.type=d.getOwnMetadata("design:type",t.target,t.propKey));const{index:s}=t,i="function"==typeof e?e:void 0;let p=n;if(p.params||(p.params=null===(a=d.getOwnMetadata("design:paramtypes",t.target,t.propKey))||void 0===a?void 0:a.map((t=>({type:t})))),"number"==typeof s&&(p.params=p.params||[],p.params[s]=p.params[s]||{type:void 0},i?p.params[s]=i(p.params[s]):p=p.params[s]),"function"!=typeof e)if(r){const t=p[e]||[];Array.isArray(t)||l("Mate.add (isArray=true) called for non-array metadata"),t.unshift(o),p[e]=t}else p[e]=o;else i&&"number"!=typeof s&&(n=i(p));d.defineMetadata(this.workspace,n,t.target,t.propKey)}read(t,r){const a=o(t)?t:e(t);let n=d.getOwnMetadata(this.workspace,"string"==typeof r?a.prototype:a,r);if(this.options.inherit){const t="function"==typeof this.options.inherit?this.options.inherit:void 0;let e=this.options.inherit;if(t)if("string"==typeof r){e=t(d.getOwnMetadata(this.workspace,a),r,n)}else e=t(n);if(e){const t=Object.getPrototypeOf(a);if("function"==typeof t&&t!==u&&t!==a){n={...this.read(t,r),...n,params:null==n?void 0:n.params}}}}return n}apply(...t){return(e,o,r)=>{for(const a of t)a(e,o,r)}}decorate(t,e,o,r){return(a,n,s)=>{this.set("CLASS"===r?{target:a}:{target:a,propKey:n,descriptor:"number"==typeof s?void 0:s,index:"number"==typeof s?s:void 0},t,e,o)}}decorateClass(t,e,o){return this.decorate(t,e,o,"CLASS")}},t.getConstructor=e,t.isConstructor=o,Object.defineProperty(t,"__esModule",{value:!0}),t}({});
|
package/dist/src/mate.d.ts
CHANGED
|
@@ -26,9 +26,13 @@ export declare class Mate<T extends TProstoMetadata = TProstoMetadata> {
|
|
|
26
26
|
set<R extends T = T, RP = R['params'][0]>(args: TMergedDecoratorArgs, key: keyof R | keyof RP, value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined): void;
|
|
27
27
|
set<R extends T = T, RP = R['params'][0]>(args: TMergedDecoratorArgs, key: keyof R | keyof RP, value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined): void;
|
|
28
28
|
read<R extends T = T>(target: TFunction | TObject, propKey?: string | symbol): R | undefined;
|
|
29
|
-
apply(...decorators: (MethodDecorator & ClassDecorator & ParameterDecorator)[]): MethodDecorator & ClassDecorator & ParameterDecorator;
|
|
29
|
+
apply(...decorators: (MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator)[]): MethodDecorator & ClassDecorator & ParameterDecorator;
|
|
30
30
|
decorate<R extends T = T, RP = R['params'][0]>(cb: ((meta: R & RP) => R & RP)): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
31
31
|
decorate<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
32
32
|
decorate<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
33
|
+
decorate<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined, level: 'CLASS' | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
34
|
+
decorateClass<R extends T = T, RP = R['params'][0]>(cb: ((meta: R & RP) => R & RP)): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
35
|
+
decorateClass<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
36
|
+
decorateClass<R extends T = T, RP = R['params'][0]>(key: keyof R | keyof RP | ((meta: R & RP) => R & RP), value: ((R & RP)[keyof R] & (R & RP)[keyof RP]) | undefined, isArray: boolean | undefined): MethodDecorator & ClassDecorator & ParameterDecorator & PropertyDecorator;
|
|
33
37
|
}
|
|
34
38
|
//# sourceMappingURL=mate.d.ts.map
|
package/dist/src/mate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|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GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,SAAS,EAC3D,OAAO,EAAE,OAAO,GAAG,SAAS,GAC7B,eAAe,GAAG,cAAc,GAAG,kBAAkB,GAAG,iBAAiB;CAS/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mate.artifacts.d.ts","sourceRoot":"","sources":["../../../src/tests/mate.artifacts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AAE1C,eAAO,MAAM,IAAI;;wDASf,CAAA;AAMF,qBAGa,aAAa;gBAKd,EAAE,EAAE,MAAM;IAQlB,IAAI,CAII,EAAE,EAAE,MAAM,GAAG,MAAM;IAgB3B,KAAK,CAMG,EAAE,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"mate.artifacts.d.ts","sourceRoot":"","sources":["../../../src/tests/mate.artifacts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,IAAI,CAAA;AAE1C,eAAO,MAAM,IAAI;;wDASf,CAAA;AAMF,qBAGa,aAAa;gBAKd,EAAE,EAAE,MAAM;IAQlB,IAAI,CAII,EAAE,EAAE,MAAM,GAAG,MAAM;IAgB3B,KAAK,CAMG,EAAE,EAAE,MAAM;IAMlB,KAAK,EAAE,MAAM,CAAK;CACrB;AAED,qBACa,cAAc;gBACX,CAAC,EAAE,MAAM;IAOrB,IAAI;IAMJ,eAAe;CAGlB;AAED,qBACa,cAAe,SAAQ,cAAc;;IAM9C,KAAK;IAML,eAAe;CAGlB;AAED,qBACa,cAAe,SAAQ,cAAc;;IAM9C,KAAK;IAKL,eAAe;CAGlB"}
|