oca-shared-model 1.0.25 → 1.0.26
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/autofill/autofill.module.d.ts +2 -0
- package/dist/autofill/autofill.module.js +20 -0
- package/dist/autofill/vessel_type_classifications/dto/create-vessel_type_classification.dto.d.ts +2 -0
- package/dist/autofill/vessel_type_classifications/dto/create-vessel_type_classification.dto.js +6 -0
- package/dist/autofill/vessel_type_classifications/dto/update-vessel_type_classification.dto.d.ts +5 -0
- package/dist/autofill/vessel_type_classifications/dto/update-vessel_type_classification.dto.js +8 -0
- package/dist/autofill/vessel_type_classifications/entities/vessel_type_classification.entity.d.ts +6 -0
- package/dist/autofill/vessel_type_classifications/entities/vessel_type_classification.entity.js +35 -0
- package/dist/autofill/vessel_type_classifications/vessel_type_classifications.module.d.ts +2 -0
- package/dist/autofill/vessel_type_classifications/vessel_type_classifications.module.js +23 -0
- package/dist/autofill/vessel_type_classifications/vessel_type_classifications.service.d.ts +6 -0
- package/dist/autofill/vessel_type_classifications/vessel_type_classifications.service.js +31 -0
- package/dist/shared-model.module.js +3 -2
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.AutofillModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const vessel_type_classifications_module_1 = require("./vessel_type_classifications/vessel_type_classifications.module");
|
|
12
|
+
let AutofillModule = class AutofillModule {
|
|
13
|
+
};
|
|
14
|
+
exports.AutofillModule = AutofillModule;
|
|
15
|
+
exports.AutofillModule = AutofillModule = __decorate([
|
|
16
|
+
(0, common_1.Module)({
|
|
17
|
+
imports: [vessel_type_classifications_module_1.VesselTypeClassificationsModule],
|
|
18
|
+
exports: [vessel_type_classifications_module_1.VesselTypeClassificationsModule],
|
|
19
|
+
})
|
|
20
|
+
], AutofillModule);
|
package/dist/autofill/vessel_type_classifications/dto/update-vessel_type_classification.dto.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CreateVesselTypeClassificationDto } from './create-vessel_type_classification.dto';
|
|
2
|
+
declare const UpdateVesselTypeClassificationDto_base: import("@nestjs/mapped-types").MappedType<Partial<CreateVesselTypeClassificationDto>>;
|
|
3
|
+
export declare class UpdateVesselTypeClassificationDto extends UpdateVesselTypeClassificationDto_base {
|
|
4
|
+
}
|
|
5
|
+
export {};
|
package/dist/autofill/vessel_type_classifications/dto/update-vessel_type_classification.dto.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateVesselTypeClassificationDto = void 0;
|
|
4
|
+
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
|
+
const create_vessel_type_classification_dto_1 = require("./create-vessel_type_classification.dto");
|
|
6
|
+
class UpdateVesselTypeClassificationDto extends (0, mapped_types_1.PartialType)(create_vessel_type_classification_dto_1.CreateVesselTypeClassificationDto) {
|
|
7
|
+
}
|
|
8
|
+
exports.UpdateVesselTypeClassificationDto = UpdateVesselTypeClassificationDto;
|
package/dist/autofill/vessel_type_classifications/entities/vessel_type_classification.entity.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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.VesselTypeClassification = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const default_column_1 = require("../../../helper/default-column");
|
|
15
|
+
let VesselTypeClassification = class VesselTypeClassification extends default_column_1.DefaultColumn {
|
|
16
|
+
};
|
|
17
|
+
exports.VesselTypeClassification = VesselTypeClassification;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], VesselTypeClassification.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], VesselTypeClassification.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], VesselTypeClassification.prototype, "score", void 0);
|
|
30
|
+
exports.VesselTypeClassification = VesselTypeClassification = __decorate([
|
|
31
|
+
(0, typeorm_1.Entity)({
|
|
32
|
+
schema: "autofill",
|
|
33
|
+
name: "vessel_type_classifications",
|
|
34
|
+
})
|
|
35
|
+
], VesselTypeClassification);
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.VesselTypeClassificationsModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const vessel_type_classifications_service_1 = require("./vessel_type_classifications.service");
|
|
12
|
+
const typeorm_1 = require("@nestjs/typeorm");
|
|
13
|
+
const vessel_type_classification_entity_1 = require("./entities/vessel_type_classification.entity");
|
|
14
|
+
let VesselTypeClassificationsModule = class VesselTypeClassificationsModule {
|
|
15
|
+
};
|
|
16
|
+
exports.VesselTypeClassificationsModule = VesselTypeClassificationsModule;
|
|
17
|
+
exports.VesselTypeClassificationsModule = VesselTypeClassificationsModule = __decorate([
|
|
18
|
+
(0, common_1.Module)({
|
|
19
|
+
imports: [typeorm_1.TypeOrmModule.forFeature([vessel_type_classification_entity_1.VesselTypeClassification])],
|
|
20
|
+
providers: [vessel_type_classifications_service_1.VesselTypeClassificationsService],
|
|
21
|
+
exports: [vessel_type_classifications_service_1.VesselTypeClassificationsService],
|
|
22
|
+
})
|
|
23
|
+
], VesselTypeClassificationsModule);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseService } from "../../helper/base-service";
|
|
2
|
+
import { VesselTypeClassification } from "./entities/vessel_type_classification.entity";
|
|
3
|
+
import { Repository } from "typeorm";
|
|
4
|
+
export declare class VesselTypeClassificationsService extends BaseService<VesselTypeClassification> {
|
|
5
|
+
constructor(repository: Repository<VesselTypeClassification>);
|
|
6
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.VesselTypeClassificationsService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const base_service_1 = require("../../helper/base-service");
|
|
18
|
+
const vessel_type_classification_entity_1 = require("./entities/vessel_type_classification.entity");
|
|
19
|
+
const typeorm_1 = require("@nestjs/typeorm");
|
|
20
|
+
const typeorm_2 = require("typeorm");
|
|
21
|
+
let VesselTypeClassificationsService = class VesselTypeClassificationsService extends base_service_1.BaseService {
|
|
22
|
+
constructor(repository) {
|
|
23
|
+
super(repository);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.VesselTypeClassificationsService = VesselTypeClassificationsService;
|
|
27
|
+
exports.VesselTypeClassificationsService = VesselTypeClassificationsService = __decorate([
|
|
28
|
+
(0, common_1.Injectable)(),
|
|
29
|
+
__param(0, (0, typeorm_1.InjectRepository)(vessel_type_classification_entity_1.VesselTypeClassification)),
|
|
30
|
+
__metadata("design:paramtypes", [typeorm_2.Repository])
|
|
31
|
+
], VesselTypeClassificationsService);
|
|
@@ -11,13 +11,14 @@ const common_1 = require("@nestjs/common");
|
|
|
11
11
|
const library_module_1 = require("./library/library.module");
|
|
12
12
|
const user_module_1 = require("./user/user.module");
|
|
13
13
|
const company_module_1 = require("./company/company.module");
|
|
14
|
+
const autofill_module_1 = require("./autofill/autofill.module");
|
|
14
15
|
let SharedModelModule = class SharedModelModule {
|
|
15
16
|
};
|
|
16
17
|
exports.SharedModelModule = SharedModelModule;
|
|
17
18
|
exports.SharedModelModule = SharedModelModule = __decorate([
|
|
18
19
|
(0, common_1.Global)(),
|
|
19
20
|
(0, common_1.Module)({
|
|
20
|
-
imports: [library_module_1.LibraryModule, user_module_1.UserModule, company_module_1.CompanyModule],
|
|
21
|
-
exports: [library_module_1.LibraryModule, user_module_1.UserModule, company_module_1.CompanyModule],
|
|
21
|
+
imports: [library_module_1.LibraryModule, user_module_1.UserModule, company_module_1.CompanyModule, autofill_module_1.AutofillModule],
|
|
22
|
+
exports: [library_module_1.LibraryModule, user_module_1.UserModule, company_module_1.CompanyModule, autofill_module_1.AutofillModule],
|
|
22
23
|
})
|
|
23
24
|
], SharedModelModule);
|