@signa-app/dto 0.1.6 → 0.2.0
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/dto/box-statistics.dto.d.ts +10 -0
- package/dist/dto/box-statistics.dto.d.ts.map +1 -0
- package/dist/dto/box-statistics.dto.js +49 -0
- package/dist/dto/box-statistics.dto.js.map +1 -0
- package/dist/dto/box.dto.d.ts +7 -0
- package/dist/dto/box.dto.d.ts.map +1 -1
- package/dist/dto/box.dto.js +28 -1
- package/dist/dto/box.dto.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BoxStatisticsEntity } from "@signa-app/entities";
|
|
2
|
+
export declare class BoxStatisticsDTO {
|
|
3
|
+
uuid: string;
|
|
4
|
+
isSold: boolean;
|
|
5
|
+
salesCount: number;
|
|
6
|
+
totalSoldAmount: string;
|
|
7
|
+
lastUpdated: Date;
|
|
8
|
+
static fromEntity(entity: BoxStatisticsEntity): BoxStatisticsDTO;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=box-statistics.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box-statistics.dto.d.ts","sourceRoot":"","sources":["../../src/dto/box-statistics.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAGxD,qBAAa,gBAAgB;IAE3B,IAAI,EAAG,MAAM,CAAC;IAGd,MAAM,EAAG,OAAO,CAAC;IAGjB,UAAU,EAAG,MAAM,CAAC;IAGpB,eAAe,EAAG,MAAM,CAAC;IAMzB,WAAW,EAAG,IAAI,CAAC;IAEnB,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,mBAAmB,GAAG,gBAAgB;CASjE"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BoxStatisticsDTO = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
class BoxStatisticsDTO {
|
|
15
|
+
static fromEntity(entity) {
|
|
16
|
+
const dto = new BoxStatisticsDTO();
|
|
17
|
+
dto.uuid = entity.uuid;
|
|
18
|
+
dto.isSold = entity.isSold;
|
|
19
|
+
dto.salesCount = entity.salesCount;
|
|
20
|
+
dto.totalSoldAmount = String(entity.totalSoldAmount);
|
|
21
|
+
dto.lastUpdated = entity.updatedAt;
|
|
22
|
+
return dto;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.BoxStatisticsDTO = BoxStatisticsDTO;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ description: "Box statistics UUID", example: "123e4567-e89b-12d3-a456-426614174000" }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], BoxStatisticsDTO.prototype, "uuid", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ description: "Whether box was sold", example: false, default: false }),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], BoxStatisticsDTO.prototype, "isSold", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ description: "Number of box sales", example: 0, default: 0 }),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], BoxStatisticsDTO.prototype, "salesCount", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, swagger_1.ApiProperty)({ description: "Total sold amount (bigint)", example: "1500", default: "0" }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], BoxStatisticsDTO.prototype, "totalSoldAmount", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
description: "Box statistics last update timestamp",
|
|
45
|
+
example: "2023-01-01T00:00:00Z",
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], BoxStatisticsDTO.prototype, "lastUpdated", void 0);
|
|
49
|
+
//# sourceMappingURL=box-statistics.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box-statistics.dto.js","sourceRoot":"","sources":["../../src/dto/box-statistics.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA4C;AAI5C,MAAa,gBAAgB;IAmB3B,MAAM,CAAC,UAAU,CAAC,MAA2B;QAC3C,MAAM,GAAG,GAAG,IAAI,gBAAgB,EAAE,CAAC;QACnC,GAAG,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACvB,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC3B,GAAG,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACnC,GAAG,CAAC,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;QACrD,GAAG,CAAC,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC;QACnC,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AA5BD,4CA4BC;AA1BC;IADC,IAAA,qBAAW,EAAC,EAAC,WAAW,EAAE,qBAAqB,EAAE,OAAO,EAAE,sCAAsC,EAAC,CAAC;;8CACrF;AAGd;IADC,IAAA,qBAAW,EAAC,EAAC,WAAW,EAAE,sBAAsB,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAC,CAAC;;gDAClE;AAGjB;IADC,IAAA,qBAAW,EAAC,EAAC,WAAW,EAAE,qBAAqB,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAC,CAAC;;oDACtD;AAGpB;IADC,IAAA,qBAAW,EAAC,EAAC,WAAW,EAAE,4BAA4B,EAAE,OAAO,EAAE,MAAa,EAAE,OAAO,EAAE,GAAU,EAAC,CAAC;;yDAC7E;AAMzB;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE,sBAAsB;KAChC,CAAC;8BACY,IAAI;qDAAC"}
|
package/dist/dto/box.dto.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { BoxEntity, ECurrency } from "@signa-app/entities";
|
|
2
|
+
export declare class BoxStatisticsShortDTO {
|
|
3
|
+
uuid: string;
|
|
4
|
+
isSold: boolean;
|
|
5
|
+
salesCount: number;
|
|
6
|
+
totalSoldAmount: string;
|
|
7
|
+
}
|
|
2
8
|
export declare class BoxDTO {
|
|
3
9
|
uuid: string;
|
|
4
10
|
ownerUuid: string;
|
|
@@ -9,6 +15,7 @@ export declare class BoxDTO {
|
|
|
9
15
|
isClosed: boolean;
|
|
10
16
|
wasOpened: boolean;
|
|
11
17
|
slotUuid?: string | null;
|
|
18
|
+
statistics?: BoxStatisticsShortDTO | null;
|
|
12
19
|
static fromEntity(entity: BoxEntity): BoxDTO;
|
|
13
20
|
}
|
|
14
21
|
export declare class BoxUpdateDTO {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.dto.d.ts","sourceRoot":"","sources":["../../src/dto/box.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAE,SAAS,EAAC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"box.dto.d.ts","sourceRoot":"","sources":["../../src/dto/box.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAE,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAIzD,qBAAa,qBAAqB;IAE9B,IAAI,EAAG,MAAM,CAAC;IAGd,MAAM,EAAG,OAAO,CAAC;IAGjB,UAAU,EAAG,MAAM,CAAC;IAGpB,eAAe,EAAG,MAAM,CAAC;CAC5B;AAED,qBAAa,MAAM;IAEf,IAAI,EAAG,MAAM,CAAC;IAGd,SAAS,EAAG,MAAM,CAAC;IAGnB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAG5B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpC,QAAQ,EAAG,OAAO,CAAC;IAGnB,SAAS,EAAG,OAAO,CAAC;IAOpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,UAAU,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAE1C,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM;CAe/C;AAED,qBAAa,YAAY;IAKrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,qBAAa,2BAA2B;IAQpC,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,4BAA4B;IAMrC,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
package/dist/dto/box.dto.js
CHANGED
|
@@ -9,10 +9,30 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.BoxUpdateAndCloseResponseDTO = exports.BoxUpdateAndCloseRequestDTO = exports.BoxUpdateDTO = exports.BoxDTO = void 0;
|
|
12
|
+
exports.BoxUpdateAndCloseResponseDTO = exports.BoxUpdateAndCloseRequestDTO = exports.BoxUpdateDTO = exports.BoxDTO = exports.BoxStatisticsShortDTO = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const entities_1 = require("@signa-app/entities");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
+
const box_statistics_dto_1 = require("./box-statistics.dto");
|
|
17
|
+
class BoxStatisticsShortDTO {
|
|
18
|
+
}
|
|
19
|
+
exports.BoxStatisticsShortDTO = BoxStatisticsShortDTO;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ description: "Box statistics UUID", example: "123e4567-e89b-12d3-a456-426614174000" }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], BoxStatisticsShortDTO.prototype, "uuid", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({ description: "Whether box was sold", example: false, default: false }),
|
|
26
|
+
__metadata("design:type", Boolean)
|
|
27
|
+
], BoxStatisticsShortDTO.prototype, "isSold", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ description: "Number of box sales", example: 0, default: 0 }),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], BoxStatisticsShortDTO.prototype, "salesCount", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({ description: "Total sold amount (bigint)", example: "1500", default: "0" }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], BoxStatisticsShortDTO.prototype, "totalSoldAmount", void 0);
|
|
16
36
|
class BoxDTO {
|
|
17
37
|
static fromEntity(entity) {
|
|
18
38
|
const dto = new BoxDTO();
|
|
@@ -24,6 +44,9 @@ class BoxDTO {
|
|
|
24
44
|
dto.actualFileSizeBytes = entity.actualFileSizeBytes != null ? String(entity.actualFileSizeBytes) : null;
|
|
25
45
|
dto.isClosed = entity.isClosed;
|
|
26
46
|
dto.slotUuid = entity.slot?.uuid ?? entity.slot_uuid ?? null;
|
|
47
|
+
if (entity.statistics) {
|
|
48
|
+
dto.statistics = box_statistics_dto_1.BoxStatisticsDTO.fromEntity(entity.statistics);
|
|
49
|
+
}
|
|
27
50
|
return dto;
|
|
28
51
|
}
|
|
29
52
|
}
|
|
@@ -68,6 +91,10 @@ __decorate([
|
|
|
68
91
|
}),
|
|
69
92
|
__metadata("design:type", Object)
|
|
70
93
|
], BoxDTO.prototype, "slotUuid", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, swagger_1.ApiPropertyOptional)({ description: "Box statistics", type: BoxStatisticsShortDTO, nullable: true }),
|
|
96
|
+
__metadata("design:type", Object)
|
|
97
|
+
], BoxDTO.prototype, "statistics", void 0);
|
|
71
98
|
class BoxUpdateDTO {
|
|
72
99
|
}
|
|
73
100
|
exports.BoxUpdateDTO = BoxUpdateDTO;
|
package/dist/dto/box.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.dto.js","sourceRoot":"","sources":["../../src/dto/box.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAiE;AACjE,kDAAyD;AACzD,qDAAgE;
|
|
1
|
+
{"version":3,"file":"box.dto.js","sourceRoot":"","sources":["../../src/dto/box.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAiE;AACjE,kDAAyD;AACzD,qDAAgE;AAChE,6DAAsD;AAEtD,MAAa,qBAAqB;CAYjC;AAZD,sDAYC;AAVG;IADC,IAAA,qBAAW,EAAC,EAAC,WAAW,E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gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,YAAY,EACZ,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,YAAY,EACZ,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.EPaymentType = exports.EPaymentStatus = exports.EMessageType = exports.E
|
|
|
18
18
|
__exportStar(require("./dto/auth.dto"), exports);
|
|
19
19
|
__exportStar(require("./dto/box.dto"), exports);
|
|
20
20
|
__exportStar(require("./dto/box-offer.dto"), exports);
|
|
21
|
+
__exportStar(require("./dto/box-statistics.dto"), exports);
|
|
21
22
|
__exportStar(require("./dto/box-slot.dto"), exports);
|
|
22
23
|
__exportStar(require("./dto/chat.dto"), exports);
|
|
23
24
|
__exportStar(require("./dto/message.dto"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gDAA8B;AAC9B,sDAAoC;AACpC,qDAAmC;AACnC,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,wDAAiC;AACjC,2DAAyC;AAEzC,gDAS6B;AAR3B,4GAAA,gBAAgB,OAAA;AAChB,oGAAA,QAAQ,OAAA;AACR,mGAAA,OAAO,OAAA;AACP,qGAAA,SAAS,OAAA;AACT,qGAAA,SAAS,OAAA;AACT,wGAAA,YAAY,OAAA;AACZ,0GAAA,cAAc,OAAA;AACd,wGAAA,YAAY,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gDAA8B;AAC9B,sDAAoC;AACpC,2DAAyC;AACzC,qDAAmC;AACnC,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,wDAAiC;AACjC,2DAAyC;AAEzC,gDAS6B;AAR3B,4GAAA,gBAAgB,OAAA;AAChB,oGAAA,QAAQ,OAAA;AACR,mGAAA,OAAO,OAAA;AACP,qGAAA,SAAS,OAAA;AACT,qGAAA,SAAS,OAAA;AACT,wGAAA,YAAY,OAAA;AACZ,0GAAA,cAAc,OAAA;AACd,wGAAA,YAAY,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signa-app/dto",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Shared TypeScript DTO and type definitions for Signa Next and Nest applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@nestjs/swagger": "^11.0.3",
|
|
32
|
-
"@signa-app/entities": "^0.
|
|
32
|
+
"@signa-app/entities": "^0.3.0",
|
|
33
33
|
"class-validator": "^0.14.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@nestjs/swagger": "^11.0.3",
|
|
37
|
-
"@signa-app/entities": "^0.
|
|
37
|
+
"@signa-app/entities": "^0.3.0",
|
|
38
38
|
"@types/node": "^20.12.12",
|
|
39
39
|
"class-validator": "^0.14.3",
|
|
40
40
|
"rimraf": "^5.0.7",
|