@collctiv/l2s-models 1.0.31 → 1.0.32
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.
|
@@ -5,7 +5,7 @@ export declare const TransactionId: (property: string) => (target: any) => void;
|
|
|
5
5
|
export declare const NotCreatable: () => (target: any, propertyKey: string) => void;
|
|
6
6
|
export declare const Updatable: () => (target: any, propertyKey: string) => void;
|
|
7
7
|
export declare const Object: <T extends any>(type: new () => T) => (target: any, propertyKey: string) => void;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const ObjectArray: <T extends any>(type: new () => T) => (target: any, propertyKey: string) => void;
|
|
9
9
|
export declare const Attribute: () => (target: any, propertyKey: string) => void;
|
|
10
10
|
export declare const ObjectId: () => (target: any, propertyKey: string) => void;
|
|
11
11
|
//# sourceMappingURL=decorators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../global/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,MAC5B,QAAQ,GAAG,SAOtB,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,MACvB,QAAQ,GAAG,SAOtB,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,UAAU,MAAM,MAClC,QAAQ,GAAG,SAOtB,CAAA;AAED,eAAO,MAAM,YAAY,SACb,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,SAAS,SACV,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,GAAG,EAAE,MAAM,UAAS,CAAC,MAC1C,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../global/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAE1B,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,MAC5B,QAAQ,GAAG,SAOtB,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,MACvB,QAAQ,GAAG,SAOtB,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,UAAU,MAAM,MAClC,QAAQ,GAAG,SAOtB,CAAA;AAED,eAAO,MAAM,YAAY,SACb,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,SAAS,SACV,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,GAAG,EAAE,MAAM,UAAS,CAAC,MAC1C,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,GAAG,EAAE,MAAM,UAAS,CAAC,MAC/C,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,SAAS,SACV,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,QAAQ,SACT,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA"}
|
|
@@ -29,9 +29,9 @@ export const Object = (type) => {
|
|
|
29
29
|
Reflect.defineMetadata(`Type:Object`, type, target, propertyKey);
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const ObjectArray = (type) => {
|
|
33
33
|
return (target, propertyKey) => {
|
|
34
|
-
Reflect.defineMetadata(`Type:
|
|
34
|
+
Reflect.defineMetadata(`Type:ObjectArray`, type, target, propertyKey);
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
export const Attribute = () => {
|