@platform-modules/civil-aviation-authority 2.2.219 → 2.2.220

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/.env CHANGED
@@ -1,5 +1,17 @@
1
- DB_HOST=localhost
2
- DB_PORT=5433
3
- DB_USER=postgres
4
- DB_PASS=123
5
- DB_NAME=CAA
1
+ # DB_HOST=localhost
2
+ # DB_PORT=5433
3
+ # DB_USER=postgres
4
+ # DB_PASS=123
5
+ # DB_NAME=CAA
6
+
7
+ DB_HOST=164.52.222.169
8
+ DB_PORT=5432
9
+ DB_USER=postgres_admin_user
10
+ DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
11
+ DB_NAME=CAA
12
+
13
+ # DB_HOST=216.48.187.46
14
+ # DB_PORT=5432
15
+ # DB_USER=adminuser
16
+ # DB_PASS=postgres_caa_fm_qa_34567
17
+ # DB_NAME=CAA_QA
@@ -126,7 +126,7 @@ __decorate([
126
126
  __metadata("design:type", String)
127
127
  ], AccessCardRequest.prototype, "reason", void 0);
128
128
  __decorate([
129
- (0, typeorm_1.Column)({ type: "date", nullable: false }),
129
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
130
130
  __metadata("design:type", Date)
131
131
  ], AccessCardRequest.prototype, "request_date", void 0);
132
132
  __decorate([
@@ -1,9 +0,0 @@
1
- import { BaseModel } from './BaseModel';
2
- export declare class Workflows extends BaseModel {
3
- name: string;
4
- service_id: number;
5
- sub_service_id: number;
6
- request_for: string;
7
- levels: number;
8
- constructor(name: string, service_id: number, sub_service_id: number, request_for: string, levels: number);
9
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.2.219",
3
+ "version": "2.2.220",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -75,7 +75,7 @@ export class AccessCardRequest extends BaseModel {
75
75
  @Column({ type: "text", nullable: false })
76
76
  reason: string;
77
77
 
78
- @Column({ type: "date", nullable: false })
78
+ @Column({ type: "date", nullable: true })
79
79
  request_date: Date;
80
80
 
81
81
  @Column({