@platform-modules/civil-aviation-authority 2.2.43 → 2.2.44

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.
@@ -25,8 +25,8 @@ export declare class HotelReservation extends BaseModel {
25
25
  user_id: number;
26
26
  type_of_accommodation: string;
27
27
  price: number;
28
- meal: MealType[] | null;
29
- service: ServiceTypes[] | null;
28
+ meal: MealType[];
29
+ service: ServiceTypes[];
30
30
  date_of_request: Date;
31
31
  hotel_name: string;
32
32
  check_in_date: Date;
@@ -108,12 +108,12 @@ __decorate([
108
108
  __metadata("design:type", Number)
109
109
  ], HotelReservation.prototype, "price", void 0);
110
110
  __decorate([
111
- (0, typeorm_1.Column)({ type: 'text', array: true, nullable: true }),
112
- __metadata("design:type", Object)
111
+ (0, typeorm_1.Column)({ type: 'text', array: true, nullable: false }),
112
+ __metadata("design:type", Array)
113
113
  ], HotelReservation.prototype, "meal", void 0);
114
114
  __decorate([
115
- (0, typeorm_1.Column)({ type: 'text', array: true, nullable: true }),
116
- __metadata("design:type", Object)
115
+ (0, typeorm_1.Column)({ type: 'text', array: true, nullable: false }),
116
+ __metadata("design:type", Array)
117
117
  ], HotelReservation.prototype, "service", void 0);
118
118
  __decorate([
119
119
  (0, typeorm_1.Column)({ type: 'timestamptz', nullable: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.2.43",
3
+ "version": "2.2.44",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -58,11 +58,11 @@ export class HotelReservation extends BaseModel {
58
58
  @Column({ type: 'decimal', precision: 10, scale: 2, nullable: false })
59
59
  price: number;
60
60
 
61
- @Column({ type: 'text', array: true, nullable: true })
62
- meal: MealType[] | null;
61
+ @Column({ type: 'text', array: true, nullable: false })
62
+ meal: MealType[];
63
63
 
64
- @Column({ type: 'text', array: true, nullable: true })
65
- service: ServiceTypes[] | null;
64
+ @Column({ type: 'text', array: true, nullable: false })
65
+ service: ServiceTypes[];
66
66
 
67
67
  @Column({ type: 'timestamptz', nullable: false })
68
68
  date_of_request: Date;