@collctiv/l2s-models 1.0.39 → 1.0.40
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pot.d.ts","sourceRoot":"","sources":["../../entities/pot.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAChH,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAExD,qBAAa,WAAW;IAGb,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IAGpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,kBAAkB,EAAE,OAAO,CAAC;IAG5B,uBAAuB,EAAE,OAAO,CAAC;IAGjC,yBAAyB,EAAE,OAAO,CAAC;IAGnC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,qBAEa,GAAI,YAAW,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW;IAElE,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAc;IAG/B,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAG3B,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"pot.d.ts","sourceRoot":"","sources":["../../entities/pot.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAChH,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAExD,qBAAa,WAAW;IAGb,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IAGpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,kBAAkB,EAAE,OAAO,CAAC;IAG5B,uBAAuB,EAAE,OAAO,CAAC;IAGjC,yBAAyB,EAAE,OAAO,CAAC;IAGnC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,qBAEa,GAAI,YAAW,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW;IAElE,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAc;IAG/B,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAG3B,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,WAAW,CAAC;IAGtB,MAAM,EAAE,SAAS,CAAkB;IAEnC,QAAQ,EAAE,WAAW,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;gBAEjB,IAAI,GAAE,OAAO,CAAC,GAAG,GAAC,OAAO,CAAC,UAAU,CAAC,CAAM;CAGjE;AAED,oBAAY,WAAW;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;CACtB;AAED,oBAAY,SAAS;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB"}
|
package/dist/entities/pot.js
CHANGED
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { Collection, Updatable, Topic, NotCreatable
|
|
10
|
+
import { Collection, Updatable, Topic, NotCreatable } from "../global/decorators.js";
|
|
11
11
|
import {} from "../global/interfaces.js";
|
|
12
12
|
export class PotSettings {
|
|
13
13
|
closes;
|
|
@@ -77,7 +77,6 @@ __decorate([
|
|
|
77
77
|
], Pot.prototype, "name", void 0);
|
|
78
78
|
__decorate([
|
|
79
79
|
Updatable(),
|
|
80
|
-
TypeOfObject(PotSettings),
|
|
81
80
|
__metadata("design:type", PotSettings)
|
|
82
81
|
], Pot.prototype, "settings", void 0);
|
|
83
82
|
__decorate([
|
|
@@ -4,8 +4,6 @@ export declare const Topic: (value: string) => (target: any) => void;
|
|
|
4
4
|
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
|
-
export declare const TypeOfObject: <T extends any>(type: new () => T) => (target: any, propertyKey: string) => void;
|
|
8
|
-
export declare const TypeOfObjectArray: <T extends any>(type: new () => T) => (target: any, propertyKey: string) => void;
|
|
9
7
|
export declare const Attribute: () => (target: any, propertyKey: string) => void;
|
|
10
8
|
export declare const ObjectId: () => (target: any, propertyKey: string) => void;
|
|
11
9
|
//# 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,
|
|
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,SAAS,SACV,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA;AAED,eAAO,MAAM,QAAQ,SACT,QAAQ,GAAG,EAAE,aAAa,MAAM,SAQ3C,CAAA"}
|
|
@@ -24,16 +24,6 @@ export const Updatable = () => {
|
|
|
24
24
|
Reflect.defineMetadata(`Updatable`, true, target, propertyKey);
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export const TypeOfObject = (type) => {
|
|
28
|
-
return (target, propertyKey) => {
|
|
29
|
-
Reflect.defineMetadata(`Type:Object`, type, target, propertyKey);
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export const TypeOfObjectArray = (type) => {
|
|
33
|
-
return (target, propertyKey) => {
|
|
34
|
-
Reflect.defineMetadata(`Type:ObjectArray`, type, target, propertyKey);
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
27
|
export const Attribute = () => {
|
|
38
28
|
return (target, propertyKey) => {
|
|
39
29
|
Reflect.defineMetadata(`Attribute`, true, target, propertyKey);
|