@platform-modules/foreign-ministry 1.3.232 → 1.3.235
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/index.d.ts
CHANGED
|
@@ -347,6 +347,7 @@ export * from './models/ProjectFaqReactionsModel';
|
|
|
347
347
|
export * from './models/ProjectContactsModel';
|
|
348
348
|
export * from './models/ProjectMilestoneDocumentsModel';
|
|
349
349
|
export * from './models/ProjectMilestonePhasesModel';
|
|
350
|
+
export * from './models/ProjectTimelineModel';
|
|
350
351
|
export * from './models/ProjectTasksModel';
|
|
351
352
|
export * from './models/ProjectTaskActivityModel';
|
|
352
353
|
export * from './models/ProjectTaskCommentsModel';
|
package/dist/index.js
CHANGED
|
@@ -427,6 +427,7 @@ __exportStar(require("./models/ProjectFaqReactionsModel"), exports);
|
|
|
427
427
|
__exportStar(require("./models/ProjectContactsModel"), exports);
|
|
428
428
|
__exportStar(require("./models/ProjectMilestoneDocumentsModel"), exports);
|
|
429
429
|
__exportStar(require("./models/ProjectMilestonePhasesModel"), exports);
|
|
430
|
+
__exportStar(require("./models/ProjectTimelineModel"), exports);
|
|
430
431
|
__exportStar(require("./models/ProjectTasksModel"), exports);
|
|
431
432
|
__exportStar(require("./models/ProjectTaskActivityModel"), exports);
|
|
432
433
|
__exportStar(require("./models/ProjectTaskCommentsModel"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class ProjectTimelines extends BaseModel {
|
|
3
|
+
project_id: number;
|
|
4
|
+
timeline_name: string;
|
|
5
|
+
status: string;
|
|
6
|
+
startdate: Date | null;
|
|
7
|
+
enddate: Date | null;
|
|
8
|
+
checklist: string[] | null;
|
|
9
|
+
constructor(project_id?: number, timeline_name?: string, status?: string, startdate?: Date | null, enddate?: Date | null, checklist?: string[] | null);
|
|
10
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.ProjectTimelines = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let ProjectTimelines = class ProjectTimelines extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(project_id, timeline_name, status, startdate, enddate, checklist) {
|
|
17
|
+
super();
|
|
18
|
+
this.project_id = project_id ?? 0;
|
|
19
|
+
this.timeline_name = timeline_name ?? '';
|
|
20
|
+
this.status = status ?? 'Not Started';
|
|
21
|
+
this.startdate = startdate ?? null;
|
|
22
|
+
this.enddate = enddate ?? null;
|
|
23
|
+
this.checklist = checklist ?? null;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.ProjectTimelines = ProjectTimelines;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], ProjectTimelines.prototype, "project_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], ProjectTimelines.prototype, "timeline_name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, default: 'Not Started' }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], ProjectTimelines.prototype, "status", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], ProjectTimelines.prototype, "startdate", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], ProjectTimelines.prototype, "enddate", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], ProjectTimelines.prototype, "checklist", void 0);
|
|
51
|
+
exports.ProjectTimelines = ProjectTimelines = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)({ name: 'project_timelines' }),
|
|
53
|
+
__metadata("design:paramtypes", [Number, String, String, Object, Object, Object])
|
|
54
|
+
], ProjectTimelines);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -364,6 +364,7 @@ export * from './models/ProjectFaqReactionsModel';
|
|
|
364
364
|
export * from './models/ProjectContactsModel';
|
|
365
365
|
export * from './models/ProjectMilestoneDocumentsModel';
|
|
366
366
|
export * from './models/ProjectMilestonePhasesModel';
|
|
367
|
+
export * from './models/ProjectTimelineModel';
|
|
367
368
|
export * from './models/ProjectTasksModel';
|
|
368
369
|
export * from './models/ProjectTaskActivityModel';
|
|
369
370
|
export * from './models/ProjectTaskCommentsModel';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Column, Entity } from 'typeorm';
|
|
2
|
+
import { BaseModel } from './BaseModel';
|
|
3
|
+
|
|
4
|
+
@Entity({ name: 'project_timelines' })
|
|
5
|
+
export class ProjectTimelines extends BaseModel {
|
|
6
|
+
@Column({ type: 'int' })
|
|
7
|
+
project_id: number;
|
|
8
|
+
|
|
9
|
+
@Column({ type: 'varchar', length: 255 })
|
|
10
|
+
timeline_name: string;
|
|
11
|
+
|
|
12
|
+
@Column({ type: 'varchar', length: 50, default: 'Not Started' })
|
|
13
|
+
status: string;
|
|
14
|
+
|
|
15
|
+
@Column({ type: 'date', nullable: true })
|
|
16
|
+
startdate: Date | null;
|
|
17
|
+
|
|
18
|
+
@Column({ type: 'date', nullable: true })
|
|
19
|
+
enddate: Date | null;
|
|
20
|
+
|
|
21
|
+
@Column({ type: 'jsonb', nullable: true })
|
|
22
|
+
checklist: string[] | null;
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
project_id?: number,
|
|
26
|
+
timeline_name?: string,
|
|
27
|
+
status?: string,
|
|
28
|
+
startdate?: Date | null,
|
|
29
|
+
enddate?: Date | null,
|
|
30
|
+
checklist?: string[] | null
|
|
31
|
+
) {
|
|
32
|
+
super();
|
|
33
|
+
this.project_id = project_id ?? 0;
|
|
34
|
+
this.timeline_name = timeline_name ?? '';
|
|
35
|
+
this.status = status ?? 'Not Started';
|
|
36
|
+
this.startdate = startdate ?? null;
|
|
37
|
+
this.enddate = enddate ?? null;
|
|
38
|
+
this.checklist = checklist ?? null;
|
|
39
|
+
}
|
|
40
|
+
}
|