@platform-modules/civil-aviation-authority 2.3.306 → 2.3.307

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.
@@ -40,6 +40,7 @@ export declare class FollowUpReportRequests extends BaseModel {
40
40
  subject_classification: FollowUpReportSubjectClassification;
41
41
  topic: string;
42
42
  concerned_department: FollowUpReportConcernedDepartment;
43
+ relevant_department: string | null;
43
44
  date_from: Date;
44
45
  date_to: Date;
45
46
  general_manager_comment: string | null;
@@ -101,6 +101,10 @@ __decorate([
101
101
  }),
102
102
  __metadata("design:type", String)
103
103
  ], FollowUpReportRequests.prototype, "concerned_department", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
106
+ __metadata("design:type", Object)
107
+ ], FollowUpReportRequests.prototype, "relevant_department", void 0);
104
108
  __decorate([
105
109
  (0, typeorm_1.Column)({ type: 'date', nullable: false }),
106
110
  __metadata("design:type", Date)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.306",
3
+ "version": "2.3.307",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -143,3 +143,7 @@ ALTER TABLE followup_report_items
143
143
  -- 10. Departments: optional parent DG department reference (self FK to departments.id)
144
144
  ALTER TABLE departments
145
145
  ADD COLUMN IF NOT EXISTS "DG_department_id" INTEGER NULL;
146
+
147
+ -- 11. Follow-up report requests: optional relevant department
148
+ ALTER TABLE followup_report_requests
149
+ ADD COLUMN IF NOT EXISTS relevant_department VARCHAR(255) NULL;
@@ -81,6 +81,9 @@ export class FollowUpReportRequests extends BaseModel {
81
81
  })
82
82
  concerned_department: FollowUpReportConcernedDepartment;
83
83
 
84
+ @Column({ type: 'varchar', length: 255, nullable: true })
85
+ relevant_department: string | null;
86
+
84
87
  @Column({ type: 'date', nullable: false })
85
88
  date_from: Date;
86
89