@platform-modules/civil-aviation-authority 2.3.23 → 2.3.24

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.
@@ -172,7 +172,7 @@ __decorate([
172
172
  __metadata("design:type", String)
173
173
  ], TemporaryAssignmentRequest.prototype, "reason_for_request", void 0);
174
174
  __decorate([
175
- (0, typeorm_1.Column)({ type: "enum", enum: TemporaryAssignmentRequestType, nullable: false }),
175
+ (0, typeorm_1.Column)({ type: "enum", enum: TemporaryAssignmentRequestType, default: TemporaryAssignmentRequestType.INTERNAL, nullable: false }),
176
176
  __metadata("design:type", String)
177
177
  ], TemporaryAssignmentRequest.prototype, "request_type", void 0);
178
178
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.23",
3
+ "version": "2.3.24",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -99,7 +99,7 @@ export class TemporaryAssignmentRequest extends BaseModel {
99
99
  reason_for_request: string;
100
100
 
101
101
  // Request type - Internal or External temporary assignment
102
- @Column({ type: "enum", enum: TemporaryAssignmentRequestType, nullable: false })
102
+ @Column({ type: "enum", enum: TemporaryAssignmentRequestType,default:TemporaryAssignmentRequestType.INTERNAL, nullable: false })
103
103
  request_type: TemporaryAssignmentRequestType;
104
104
 
105
105
  // NEW FIELDS for External Temporary Assignment