@aurispec/core-backend 1.0.79 → 1.0.80
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/database/migrations/1778246447916-modify_support_ticket_history_table.d.ts +7 -0
- package/dist/database/migrations/1778246447916-modify_support_ticket_history_table.d.ts.map +1 -0
- package/dist/database/migrations/1778246447916-modify_support_ticket_history_table.js +13 -0
- package/dist/models/SupportTicketHistoryModel.d.ts +1 -0
- package/dist/models/SupportTicketHistoryModel.d.ts.map +1 -1
- package/dist/models/SupportTicketHistoryModel.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class ModifySupportTicketHistoryTable1778246447916 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=1778246447916-modify_support_ticket_history_table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1778246447916-modify_support_ticket_history_table.d.ts","sourceRoot":"","sources":["../../../src/database/migrations/1778246447916-modify_support_ticket_history_table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE1D,qBAAa,4CAA6C,YAAW,kBAAkB;IACnF,IAAI,SAAiD;IAExC,EAAE,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3C,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;CAI7D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModifySupportTicketHistoryTable1778246447916 = void 0;
|
|
4
|
+
class ModifySupportTicketHistoryTable1778246447916 {
|
|
5
|
+
name = 'ModifySupportTicketHistoryTable1778246447916';
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "support_ticket_history" ADD "description" character varying NOT NULL`);
|
|
8
|
+
}
|
|
9
|
+
async down(queryRunner) {
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "support_ticket_history" DROP COLUMN "description"`);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.ModifySupportTicketHistoryTable1778246447916 = ModifySupportTicketHistoryTable1778246447916;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupportTicketHistoryModel.d.ts","sourceRoot":"","sources":["../../src/models/SupportTicketHistoryModel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAEa,yBAA0B,SAAQ,SAAS;IAEtD,iBAAiB,EAAG,MAAM,CAAC;IAM3B,MAAM,CAAC,EAAE,aAAa,CAAC;IAGvB,QAAQ,EAAG,MAAM,CAAC;IAGlB,iBAAiB,EAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"SupportTicketHistoryModel.d.ts","sourceRoot":"","sources":["../../src/models/SupportTicketHistoryModel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAEa,yBAA0B,SAAQ,SAAS;IAEtD,iBAAiB,EAAG,MAAM,CAAC;IAM3B,MAAM,CAAC,EAAE,aAAa,CAAC;IAGvB,QAAQ,EAAG,MAAM,CAAC;IAGlB,iBAAiB,EAAG,MAAM,CAAC;IAG3B,WAAW,EAAG,MAAM,CAAC;IAIrB,cAAc,EAAG,kBAAkB,CAAC;IAIpC,KAAK,EAAG,cAAc,CAAC;IAIvB,cAAc,EAAG,cAAc,CAAC;CACjC"}
|
|
@@ -20,6 +20,7 @@ let SupportTicketHistoryModel = class SupportTicketHistoryModel extends BaseMode
|
|
|
20
20
|
status;
|
|
21
21
|
admin_id;
|
|
22
22
|
assigned_admin_id;
|
|
23
|
+
description;
|
|
23
24
|
support_ticket;
|
|
24
25
|
admin;
|
|
25
26
|
assigned_admin;
|
|
@@ -44,6 +45,10 @@ __decorate([
|
|
|
44
45
|
(0, typeorm_1.Column)(),
|
|
45
46
|
__metadata("design:type", Number)
|
|
46
47
|
], SupportTicketHistoryModel.prototype, "assigned_admin_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], SupportTicketHistoryModel.prototype, "description", void 0);
|
|
47
52
|
__decorate([
|
|
48
53
|
(0, typeorm_1.ManyToOne)(() => SupportTicketModel_1.SupportTicketModel, (support_ticket) => support_ticket.attachments),
|
|
49
54
|
(0, typeorm_1.JoinColumn)({ name: "support_ticket_id", referencedColumnName: "id" }),
|