@platform-modules/civil-aviation-authority 2.3.224 → 2.3.225
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/models/FoodHistoryModel.d.ts +2 -0
- package/dist/models/FoodHistoryModel.js +4 -0
- package/dist/models/FoodRequestModel.d.ts +4 -0
- package/dist/models/FoodRequestModel.js +8 -0
- package/package.json +1 -1
- package/src/models/FoodHistoryModel.ts +4 -0
- package/src/models/FoodRequestModel.ts +8 -0
|
@@ -8,6 +8,8 @@ export declare class FoodHistory extends BaseModel {
|
|
|
8
8
|
event_start_time: string | null;
|
|
9
9
|
event_end_time: string | null;
|
|
10
10
|
hall_id: number | null;
|
|
11
|
+
/** Related `hall_requests.id` copied from the approved food request when present. */
|
|
12
|
+
hall_request_id: number | null;
|
|
11
13
|
hall_type: string | null;
|
|
12
14
|
number_of_guests: number | null;
|
|
13
15
|
meal_type: FoodMealTypeEnum | null;
|
|
@@ -45,6 +45,10 @@ __decorate([
|
|
|
45
45
|
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
46
46
|
__metadata("design:type", Object)
|
|
47
47
|
], FoodHistory.prototype, "hall_id", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], FoodHistory.prototype, "hall_request_id", void 0);
|
|
48
52
|
__decorate([
|
|
49
53
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
50
54
|
__metadata("design:type", Object)
|
|
@@ -18,6 +18,8 @@ export declare enum FoodMealTypeEnum {
|
|
|
18
18
|
export declare class FoodRequests extends BaseModel {
|
|
19
19
|
req_user_department_id: number | null;
|
|
20
20
|
req_user_section_id: number | null;
|
|
21
|
+
/** Booking / organizational department (`department.id`); distinct from requester context `req_user_department_id`. */
|
|
22
|
+
department_id: number | null;
|
|
21
23
|
service_id: number | null;
|
|
22
24
|
sub_service_id: number | null;
|
|
23
25
|
user_id: number;
|
|
@@ -26,6 +28,8 @@ export declare class FoodRequests extends BaseModel {
|
|
|
26
28
|
event_start_time: string;
|
|
27
29
|
event_end_time: string;
|
|
28
30
|
hall_id: number | null;
|
|
31
|
+
/** Related CAA hall booking request (`hall_requests.id`), when food is tied to an existing hall request. */
|
|
32
|
+
hall_request_id: number | null;
|
|
29
33
|
hall_type: string | null;
|
|
30
34
|
number_of_guests: number | null;
|
|
31
35
|
meal_type: FoodMealTypeEnum | null;
|
|
@@ -42,6 +42,10 @@ __decorate([
|
|
|
42
42
|
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
43
43
|
__metadata("design:type", Object)
|
|
44
44
|
], FoodRequests.prototype, "req_user_section_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], FoodRequests.prototype, "department_id", void 0);
|
|
45
49
|
__decorate([
|
|
46
50
|
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
47
51
|
__metadata("design:type", Object)
|
|
@@ -79,6 +83,10 @@ __decorate([
|
|
|
79
83
|
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
80
84
|
__metadata("design:type", Object)
|
|
81
85
|
], FoodRequests.prototype, "hall_id", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
88
|
+
__metadata("design:type", Object)
|
|
89
|
+
], FoodRequests.prototype, "hall_request_id", void 0);
|
|
82
90
|
__decorate([
|
|
83
91
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
84
92
|
__metadata("design:type", Object)
|
package/package.json
CHANGED
|
@@ -28,6 +28,10 @@ export class FoodHistory extends BaseModel {
|
|
|
28
28
|
@Column({ type: "int", nullable: true })
|
|
29
29
|
hall_id: number | null;
|
|
30
30
|
|
|
31
|
+
/** Related `hall_requests.id` copied from the approved food request when present. */
|
|
32
|
+
@Column({ type: "int", nullable: true })
|
|
33
|
+
hall_request_id: number | null;
|
|
34
|
+
|
|
31
35
|
@Column({ type: "varchar", length: 255, nullable: true })
|
|
32
36
|
hall_type: string | null;
|
|
33
37
|
|
|
@@ -28,6 +28,10 @@ export class FoodRequests extends BaseModel {
|
|
|
28
28
|
@Column({ type: "integer", nullable: true })
|
|
29
29
|
req_user_section_id: number | null;
|
|
30
30
|
|
|
31
|
+
/** Booking / organizational department (`department.id`); distinct from requester context `req_user_department_id`. */
|
|
32
|
+
@Column({ type: "integer", nullable: true })
|
|
33
|
+
department_id: number | null;
|
|
34
|
+
|
|
31
35
|
@Column({ type: "integer", nullable: true })
|
|
32
36
|
service_id: number | null;
|
|
33
37
|
|
|
@@ -57,6 +61,10 @@ export class FoodRequests extends BaseModel {
|
|
|
57
61
|
@Column({ type: "integer", nullable: true })
|
|
58
62
|
hall_id: number | null;
|
|
59
63
|
|
|
64
|
+
/** Related CAA hall booking request (`hall_requests.id`), when food is tied to an existing hall request. */
|
|
65
|
+
@Column({ type: "integer", nullable: true })
|
|
66
|
+
hall_request_id: number | null;
|
|
67
|
+
|
|
60
68
|
@Column({ type: "varchar", length: 255, nullable: true })
|
|
61
69
|
hall_type: string | null;
|
|
62
70
|
|