@platform-modules/civil-aviation-authority 2.3.245 → 2.3.246
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/data-source.js +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/models/StationMasterModel.d.ts +8 -0
- package/dist/models/StationMasterModel.js +42 -0
- package/package.json +1 -1
- package/src/data-source.ts +2 -0
- package/src/index.ts +3 -0
- package/src/models/StationMasterModel.ts +23 -0
package/dist/data-source.js
CHANGED
|
@@ -185,6 +185,7 @@ const AnnualIncrementRequestModel_1 = require("./models/AnnualIncrementRequestMo
|
|
|
185
185
|
const AnnualIncrementRequestEmployeeModel_1 = require("./models/AnnualIncrementRequestEmployeeModel");
|
|
186
186
|
const SkillsEnhancementRequestModel_1 = require("./models/SkillsEnhancementRequestModel");
|
|
187
187
|
const CityMasterModel_1 = require("./models/CityMasterModel");
|
|
188
|
+
const StationMasterModel_1 = require("./models/StationMasterModel");
|
|
188
189
|
const ResidentialUnitRentalRequestModel_1 = require("./models/ResidentialUnitRentalRequestModel");
|
|
189
190
|
const ResidentialUnitRentalWorkflowModel_1 = require("./models/ResidentialUnitRentalWorkflowModel");
|
|
190
191
|
const ResidentialUnitRentalApprovalModel_1 = require("./models/ResidentialUnitRentalApprovalModel");
|
|
@@ -429,6 +430,7 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
429
430
|
AnnualIncrementRequestEmployeeModel_1.AnnualIncrementRequestEmployee,
|
|
430
431
|
SkillsEnhancementRequestModel_1.SkillsEnhancementRequest,
|
|
431
432
|
CityMasterModel_1.CityMaster,
|
|
433
|
+
StationMasterModel_1.StationMaster,
|
|
432
434
|
ResidentialUnitRentalRequestModel_1.ResidentialUnitRentalRequest,
|
|
433
435
|
ResidentialUnitRentalWorkflowModel_1.ResidentialUnitRentalWorkflow,
|
|
434
436
|
ResidentialUnitRentalApprovalModel_1.ResidentialUnitRentalApproval,
|
package/dist/index.d.ts
CHANGED
|
@@ -272,6 +272,7 @@ export * from './models/CityMasterModel';
|
|
|
272
272
|
export * from './models/LocationModel';
|
|
273
273
|
export * from './models/FinancialGradeModel';
|
|
274
274
|
export * from './models/NationalityMasterModel';
|
|
275
|
+
export * from './models/StationMasterModel';
|
|
275
276
|
export * from './models/ServicesNotificationConfigModel';
|
|
276
277
|
export { ServicesNotificationTriggerType } from './models/ServicesNotificationConfigModel';
|
|
277
278
|
export * from './models/TrainingRoomNotificationConfigModel';
|
package/dist/index.js
CHANGED
|
@@ -418,6 +418,8 @@ __exportStar(require("./models/LocationModel"), exports);
|
|
|
418
418
|
__exportStar(require("./models/FinancialGradeModel"), exports);
|
|
419
419
|
// Nationality Master
|
|
420
420
|
__exportStar(require("./models/NationalityMasterModel"), exports);
|
|
421
|
+
// Station Master
|
|
422
|
+
__exportStar(require("./models/StationMasterModel"), exports);
|
|
421
423
|
// Services Notification Configuration
|
|
422
424
|
__exportStar(require("./models/ServicesNotificationConfigModel"), exports);
|
|
423
425
|
var ServicesNotificationConfigModel_1 = require("./models/ServicesNotificationConfigModel");
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.StationMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let StationMaster = class StationMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(station_name, station_code) {
|
|
17
|
+
super();
|
|
18
|
+
this.station_name = station_name;
|
|
19
|
+
this.station_code = station_code;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.StationMaster = StationMaster;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], StationMaster.prototype, "station_name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: false }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], StationMaster.prototype, "station_code", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], StationMaster.prototype, "location", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], StationMaster.prototype, "description", void 0);
|
|
39
|
+
exports.StationMaster = StationMaster = __decorate([
|
|
40
|
+
(0, typeorm_1.Entity)({ name: 'station_master' }),
|
|
41
|
+
__metadata("design:paramtypes", [String, String])
|
|
42
|
+
], StationMaster);
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -183,6 +183,7 @@ import { AnnualIncrementRequest } from './models/AnnualIncrementRequestModel';
|
|
|
183
183
|
import { AnnualIncrementRequestEmployee } from './models/AnnualIncrementRequestEmployeeModel';
|
|
184
184
|
import { SkillsEnhancementRequest } from './models/SkillsEnhancementRequestModel';
|
|
185
185
|
import { CityMaster } from './models/CityMasterModel';
|
|
186
|
+
import { StationMaster } from './models/StationMasterModel';
|
|
186
187
|
import { ResidentialUnitRentalRequest } from './models/ResidentialUnitRentalRequestModel';
|
|
187
188
|
import { ResidentialUnitRentalWorkflow } from './models/ResidentialUnitRentalWorkflowModel';
|
|
188
189
|
import { ResidentialUnitRentalApproval } from './models/ResidentialUnitRentalApprovalModel';
|
|
@@ -428,6 +429,7 @@ export const AppDataSource = new DataSource({
|
|
|
428
429
|
AnnualIncrementRequestEmployee,
|
|
429
430
|
SkillsEnhancementRequest,
|
|
430
431
|
CityMaster,
|
|
432
|
+
StationMaster,
|
|
431
433
|
ResidentialUnitRentalRequest,
|
|
432
434
|
ResidentialUnitRentalWorkflow,
|
|
433
435
|
ResidentialUnitRentalApproval,
|
package/src/index.ts
CHANGED
|
@@ -311,6 +311,9 @@ export * from './models/FinancialGradeModel';
|
|
|
311
311
|
// Nationality Master
|
|
312
312
|
export * from './models/NationalityMasterModel';
|
|
313
313
|
|
|
314
|
+
// Station Master
|
|
315
|
+
export * from './models/StationMasterModel';
|
|
316
|
+
|
|
314
317
|
// Services Notification Configuration
|
|
315
318
|
export * from './models/ServicesNotificationConfigModel';
|
|
316
319
|
export { ServicesNotificationTriggerType } from './models/ServicesNotificationConfigModel';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Column, Entity } from 'typeorm';
|
|
2
|
+
import { BaseModel } from './BaseModel';
|
|
3
|
+
|
|
4
|
+
@Entity({ name: 'station_master' })
|
|
5
|
+
export class StationMaster extends BaseModel {
|
|
6
|
+
@Column({ type: 'varchar', length: 255, nullable: false })
|
|
7
|
+
station_name: string;
|
|
8
|
+
|
|
9
|
+
@Column({ type: 'varchar', length: 50, nullable: false })
|
|
10
|
+
station_code: string;
|
|
11
|
+
|
|
12
|
+
@Column({ type: 'varchar', length: 500, nullable: true })
|
|
13
|
+
location: string | null;
|
|
14
|
+
|
|
15
|
+
@Column({ type: 'text', nullable: true })
|
|
16
|
+
description: string | null;
|
|
17
|
+
|
|
18
|
+
constructor(station_name: string, station_code: string) {
|
|
19
|
+
super();
|
|
20
|
+
this.station_name = station_name;
|
|
21
|
+
this.station_code = station_code;
|
|
22
|
+
}
|
|
23
|
+
}
|