podverse-orm 5.1.6-alpha.1 → 5.1.6-alpha.3
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,9 +1,9 @@
|
|
|
1
1
|
import { Item } from '@orm/entities/item/item';
|
|
2
|
-
import {
|
|
2
|
+
import { LiveItemStatus } from '@orm/entities/liveItem/liveItemStatus';
|
|
3
3
|
export declare class LiveItem {
|
|
4
4
|
id: number;
|
|
5
5
|
item: Item;
|
|
6
|
-
live_item_status:
|
|
6
|
+
live_item_status: LiveItemStatus;
|
|
7
7
|
live_item_status_id: number;
|
|
8
8
|
start_time: Date;
|
|
9
9
|
end_time?: Date | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveItem.d.ts","sourceRoot":"","sources":["../../../src/entities/liveItem/liveItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"liveItem.d.ts","sourceRoot":"","sources":["../../../src/entities/liveItem/liveItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,qBACa,QAAQ;IAEnB,EAAE,EAAG,MAAM,CAAC;IAIZ,IAAI,EAAG,IAAI,CAAC;IAIZ,gBAAgB,EAAG,cAAc,CAAC;IAGlC,mBAAmB,EAAG,MAAM,CAAC;IAG7B,UAAU,EAAG,IAAI,CAAC;IAGlB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -28,7 +28,7 @@ __decorate([
|
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, typeorm_1.ManyToOne)(() => liveItemStatus_1.LiveItemStatus, liveItemStatus => liveItemStatus.id),
|
|
30
30
|
(0, typeorm_1.JoinColumn)({ name: 'live_item_status_id' }),
|
|
31
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", liveItemStatus_1.LiveItemStatus)
|
|
32
32
|
], LiveItem.prototype, "live_item_status", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ name: 'live_item_status_id', type: 'int', nullable: false }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveItem.d.ts","sourceRoot":"","sources":["../../../src/services/liveItem/liveItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,KAAK,WAAW,GAAG;IACjB,gBAAgB,EAAE,kBAAkB,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAA;CACtB,CAAA;AAED,qBAAa,eAAgB,SAAQ,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC;;IAK7D,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"liveItem.d.ts","sourceRoot":"","sources":["../../../src/services/liveItem/liveItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,KAAK,WAAW,GAAG;IACjB,gBAAgB,EAAE,kBAAkB,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAA;CACtB,CAAA;AAED,qBAAa,eAAgB,SAAQ,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC;;IAK7D,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC;IAUvD,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CAMlG"}
|
|
@@ -21,10 +21,11 @@ class LiveItemService extends baseOneService_1.BaseOneService {
|
|
|
21
21
|
_update: { get: () => super._update }
|
|
22
22
|
});
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const finalDto = {
|
|
25
|
+
start_time: dto.start_time,
|
|
26
|
+
end_time: dto.end_time,
|
|
27
|
+
live_item_status_id: dto.live_item_status
|
|
28
|
+
};
|
|
28
29
|
return _super._update.call(this, item, finalDto, { relations: ['live_item_status'] });
|
|
29
30
|
});
|
|
30
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "podverse-orm",
|
|
3
|
-
"version": "5.1.6-alpha.
|
|
3
|
+
"version": "5.1.6-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"module-alias": "^2.2.3",
|
|
25
25
|
"nanoid": "^5.1.6",
|
|
26
26
|
"pg": "^8.16.3",
|
|
27
|
-
"podverse-helpers": "^5.1.6-alpha.
|
|
27
|
+
"podverse-helpers": "^5.1.6-alpha.1",
|
|
28
28
|
"typeorm": "^0.3.26",
|
|
29
29
|
"typeorm-naming-strategies": "^4.1.0"
|
|
30
30
|
},
|