@servicelabsco/slabs-access-manager 0.1.19 → 0.1.21
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/access/entities/listing.column.entity.d.ts +4 -0
- package/dist/access/entities/listing.column.entity.js +14 -0
- package/dist/access/entities/listing.column.entity.js.map +1 -1
- package/dist/accessUtility/dtos/index.d.ts +1 -0
- package/dist/accessUtility/dtos/index.js +1 -0
- package/dist/accessUtility/dtos/index.js.map +1 -1
- package/dist/accessUtility/dtos/listing.model.attributes.dto.d.ts +3 -0
- package/dist/accessUtility/dtos/listing.model.attributes.dto.js +8 -0
- package/dist/accessUtility/dtos/listing.model.attributes.dto.js.map +1 -0
- package/dist/accessUtility/entities/bulk.definition.entity.d.ts +1 -6
- package/dist/accessUtility/entities/bulk.definition.entity.js +1 -20
- package/dist/accessUtility/entities/bulk.definition.entity.js.map +1 -1
- package/dist/accessUtility/entities/index.d.ts +1 -0
- package/dist/accessUtility/entities/index.js +1 -0
- package/dist/accessUtility/entities/index.js.map +1 -1
- package/dist/accessUtility/entities/listing.model.entity.d.ts +10 -0
- package/dist/accessUtility/entities/listing.model.entity.js +46 -0
- package/dist/accessUtility/entities/listing.model.entity.js.map +1 -0
- package/dist/accessUtility/es6.classes.d.ts +11 -5
- package/dist/accessUtility/es6.classes.js +10 -0
- package/dist/accessUtility/es6.classes.js.map +1 -1
- package/dist/accessUtility/jobs/index.d.ts +1 -0
- package/dist/accessUtility/jobs/index.js +1 -0
- package/dist/accessUtility/jobs/index.js.map +1 -1
- package/dist/accessUtility/jobs/listing.model.job.d.ts +7 -0
- package/dist/accessUtility/jobs/listing.model.job.js +29 -0
- package/dist/accessUtility/jobs/listing.model.job.js.map +1 -0
- package/dist/accessUtility/services/es6.jobs.service.d.ts +3 -1
- package/dist/accessUtility/services/es6.jobs.service.js +5 -1
- package/dist/accessUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/accessUtility/subscribers/index.d.ts +1 -0
- package/dist/accessUtility/subscribers/index.js +1 -0
- package/dist/accessUtility/subscribers/index.js.map +1 -1
- package/dist/accessUtility/subscribers/listing.model.subscriber.d.ts +12 -0
- package/dist/accessUtility/subscribers/listing.model.subscriber.js +40 -0
- package/dist/accessUtility/subscribers/listing.model.subscriber.js.map +1 -0
- package/dist/config/entity.constants.d.ts +2 -0
- package/dist/config/entity.constants.js +2 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1701597524258-AddTypeIdBzBulkUploadItemsTable.ts.js +1 -1
- package/dist/migrations/1701597524258-AddTypeIdBzBulkUploadItemsTable.ts.js.map +1 -1
- package/dist/migrations/1701928119578-CreateListingModelTable.d.ts +5 -0
- package/dist/migrations/1701928119578-CreateListingModelTable.js +22 -0
- package/dist/migrations/1701928119578-CreateListingModelTable.js.map +1 -0
- package/dist/migrations/1701928283932-AddReferenceModelUtlListingColumnsTable.ts.d.ts +5 -0
- package/dist/migrations/1701928283932-AddReferenceModelUtlListingColumnsTable.ts.js +16 -0
- package/dist/migrations/1701928283932-AddReferenceModelUtlListingColumnsTable.ts.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ColumnDefinitionEntity, CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { ListingModelEntity } from '../../accessUtility/entities/listing.model.entity';
|
|
2
3
|
import { ListingColumnAttributesDto } from '../dtos/listing.column.attributes.dto';
|
|
3
4
|
import { ListingPageEntity } from './listing.page.entity';
|
|
4
5
|
export declare class ListingColumnEntity extends CommonEntity {
|
|
@@ -16,8 +17,11 @@ export declare class ListingColumnEntity extends CommonEntity {
|
|
|
16
17
|
active: boolean;
|
|
17
18
|
is_visible: boolean;
|
|
18
19
|
is_report_enabled: boolean;
|
|
20
|
+
reference_model_id: number;
|
|
21
|
+
query_params: any;
|
|
19
22
|
attributes: ListingColumnAttributesDto;
|
|
20
23
|
default: boolean;
|
|
21
24
|
listing: ListingPageEntity;
|
|
22
25
|
column_type: ColumnDefinitionEntity;
|
|
26
|
+
referene_model: ListingModelEntity;
|
|
23
27
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.ListingColumnEntity = void 0;
|
|
13
13
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
+
const listing_model_entity_1 = require("../../accessUtility/entities/listing.model.entity");
|
|
15
16
|
const listing_column_attributes_dto_1 = require("../dtos/listing.column.attributes.dto");
|
|
16
17
|
const listing_page_entity_1 = require("./listing.page.entity");
|
|
17
18
|
let ListingColumnEntity = class ListingColumnEntity extends nestjs_utility_services_1.CommonEntity {
|
|
@@ -73,6 +74,14 @@ __decorate([
|
|
|
73
74
|
(0, typeorm_1.Column)(),
|
|
74
75
|
__metadata("design:type", Boolean)
|
|
75
76
|
], ListingColumnEntity.prototype, "is_report_enabled", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)(),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], ListingColumnEntity.prototype, "reference_model_id", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)('json'),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], ListingColumnEntity.prototype, "query_params", void 0);
|
|
76
85
|
__decorate([
|
|
77
86
|
(0, typeorm_1.Column)('json'),
|
|
78
87
|
__metadata("design:type", listing_column_attributes_dto_1.ListingColumnAttributesDto)
|
|
@@ -91,6 +100,11 @@ __decorate([
|
|
|
91
100
|
(0, typeorm_1.JoinColumn)({ name: 'column_type_id' }),
|
|
92
101
|
__metadata("design:type", nestjs_utility_services_1.ColumnDefinitionEntity)
|
|
93
102
|
], ListingColumnEntity.prototype, "column_type", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.ManyToOne)(() => listing_model_entity_1.ListingModelEntity),
|
|
105
|
+
(0, typeorm_1.JoinColumn)({ name: 'referene_model_id' }),
|
|
106
|
+
__metadata("design:type", listing_model_entity_1.ListingModelEntity)
|
|
107
|
+
], ListingColumnEntity.prototype, "referene_model", void 0);
|
|
94
108
|
exports.ListingColumnEntity = ListingColumnEntity = __decorate([
|
|
95
109
|
(0, typeorm_1.Entity)('utl_listing_columns')
|
|
96
110
|
], ListingColumnEntity);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listing.column.entity.js","sourceRoot":"","sources":["../../../src/access/entities/listing.column.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA8F;AAC9F,qCAAgE;AAChE,yFAAmF;AACnF,+DAA0D;AASnD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,sCAAY;
|
|
1
|
+
{"version":3,"file":"listing.column.entity.js","sourceRoot":"","sources":["../../../src/access/entities/listing.column.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA8F;AAC9F,qCAAgE;AAChE,4FAAuF;AACvF,yFAAmF;AACnF,+DAA0D;AASnD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,sCAAY;CA6DpD,CAAA;AA7DY,kDAAmB;AAE5B;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;wDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;2DACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;kDACK;AAGd;IADC,IAAA,gBAAM,GAAE;;0DACa;AAGtB;IADC,IAAA,gBAAM,GAAE;;6DACgB;AAGzB;IADC,IAAA,gBAAM,GAAE;;qDACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;wDACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;2DACe;AAGxB;IADC,IAAA,gBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,GAAE;;8DACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;+DACkB;AAG3B;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDACG;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,0DAA0B;uDAAC;AAGvC;IADC,IAAA,gBAAM,GAAE;;oDACQ;AAGuD;IAAvE,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAiB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAAU,uCAAiB;oDAAC;AAElB;IAAhF,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;8BAAc,gDAAsB;wDAAC;AAErC;IAA/E,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,yCAAkB,CAAC;IAAE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;8BAAiB,yCAAkB;2DAAC;8BA5D1G,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,mBAAmB,CA6D/B"}
|
|
@@ -6,4 +6,5 @@ export * from './bulk.upload.column.attributes.dto';
|
|
|
6
6
|
export * from './bulk.upload.item.attributes.dto';
|
|
7
7
|
export * from './bulk.upload.type.attributes.dto';
|
|
8
8
|
export * from './data.mapping.attributes.dto';
|
|
9
|
+
export * from './listing.model.attributes.dto';
|
|
9
10
|
export * from './tag.assignment.attributes.dto';
|
|
@@ -22,5 +22,6 @@ __exportStar(require("./bulk.upload.column.attributes.dto"), exports);
|
|
|
22
22
|
__exportStar(require("./bulk.upload.item.attributes.dto"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.type.attributes.dto"), exports);
|
|
24
24
|
__exportStar(require("./data.mapping.attributes.dto"), exports);
|
|
25
|
+
__exportStar(require("./listing.model.attributes.dto"), exports);
|
|
25
26
|
__exportStar(require("./tag.assignment.attributes.dto"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,oEAAkD;AAAA,gEAA8C;AAAA,kEAA+C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AAAA,wEAAsD;AAAA,8EAA4D;AAAA,+DAA6C;AAAA,sEAAoD;AAAA,oEAAkD;AAAA,oEAAkD;AAAA,gEAA8C;AAAA,iEAA+C;AAAA,kEAA+C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListingModelAttributesDto = void 0;
|
|
4
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
5
|
+
class ListingModelAttributesDto extends nestjs_utility_services_1.CommonAttributesDto {
|
|
6
|
+
}
|
|
7
|
+
exports.ListingModelAttributesDto = ListingModelAttributesDto;
|
|
8
|
+
//# sourceMappingURL=listing.model.attributes.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listing.model.attributes.dto.js","sourceRoot":"","sources":["../../../src/accessUtility/dtos/listing.model.attributes.dto.ts"],"names":[],"mappings":";;;AAAA,oFAA6E;AAC7E,MAAa,yBAA0B,SAAQ,6CAAmB;CAAG;AAArE,8DAAqE"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
2
|
import { BulkDefinitionLoadAttributesDto } from '../dtos/bulk.definition.load.attributes.dto';
|
|
3
|
-
import { BulkUploadTypeEntity } from './bulk.upload.type.entity';
|
|
4
3
|
export declare class BulkDefinitionEntity extends CommonEntity {
|
|
5
|
-
|
|
6
|
-
type_id: number;
|
|
7
|
-
priority: number;
|
|
4
|
+
name: number;
|
|
8
5
|
active: boolean;
|
|
9
6
|
attributes: BulkDefinitionLoadAttributesDto | any;
|
|
10
|
-
definition: BulkDefinitionEntity;
|
|
11
|
-
type: BulkUploadTypeEntity;
|
|
12
7
|
}
|
|
@@ -12,22 +12,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.BulkDefinitionEntity = void 0;
|
|
13
13
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
const bulk_upload_type_entity_1 = require("./bulk.upload.type.entity");
|
|
16
15
|
let BulkDefinitionEntity = class BulkDefinitionEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
16
|
};
|
|
18
17
|
exports.BulkDefinitionEntity = BulkDefinitionEntity;
|
|
19
18
|
__decorate([
|
|
20
19
|
(0, typeorm_1.Column)(),
|
|
21
20
|
__metadata("design:type", Number)
|
|
22
|
-
], BulkDefinitionEntity.prototype, "
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], BulkDefinitionEntity.prototype, "type_id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)(),
|
|
29
|
-
__metadata("design:type", Number)
|
|
30
|
-
], BulkDefinitionEntity.prototype, "priority", void 0);
|
|
21
|
+
], BulkDefinitionEntity.prototype, "name", void 0);
|
|
31
22
|
__decorate([
|
|
32
23
|
(0, typeorm_1.Column)(),
|
|
33
24
|
__metadata("design:type", Boolean)
|
|
@@ -36,16 +27,6 @@ __decorate([
|
|
|
36
27
|
(0, typeorm_1.Column)('json'),
|
|
37
28
|
__metadata("design:type", Object)
|
|
38
29
|
], BulkDefinitionEntity.prototype, "attributes", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.ManyToOne)(() => BulkDefinitionEntity),
|
|
41
|
-
(0, typeorm_1.JoinColumn)({ name: 'definition_id' }),
|
|
42
|
-
__metadata("design:type", BulkDefinitionEntity)
|
|
43
|
-
], BulkDefinitionEntity.prototype, "definition", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.ManyToOne)(() => bulk_upload_type_entity_1.BulkUploadTypeEntity),
|
|
46
|
-
(0, typeorm_1.JoinColumn)({ name: 'type_id' }),
|
|
47
|
-
__metadata("design:type", bulk_upload_type_entity_1.BulkUploadTypeEntity)
|
|
48
|
-
], BulkDefinitionEntity.prototype, "type", void 0);
|
|
49
30
|
exports.BulkDefinitionEntity = BulkDefinitionEntity = __decorate([
|
|
50
31
|
(0, typeorm_1.Entity)('utl_bulk_definitions')
|
|
51
32
|
], BulkDefinitionEntity);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk.definition.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.definition.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,
|
|
1
|
+
{"version":3,"file":"bulk.definition.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/bulk.definition.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAAsE;AACtE,qCAAyC;AAUlC,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,sCAAY;CAWrD,CAAA;AAXY,oDAAoB;AAE7B;IADC,IAAA,gBAAM,GAAE;;kDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDACmC;+BARzC,oBAAoB;IADhC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,oBAAoB,CAWhC"}
|
|
@@ -22,5 +22,6 @@ __exportStar(require("./bulk.upload.entity"), exports);
|
|
|
22
22
|
__exportStar(require("./bulk.upload.item.entity"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.type.entity"), exports);
|
|
24
24
|
__exportStar(require("./data.mapping.entity"), exports);
|
|
25
|
+
__exportStar(require("./listing.model.entity"), exports);
|
|
25
26
|
__exportStar(require("./tag.assignment.entity"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,0DAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,sEAAoD;AAAA,8DAA4C;AAAA,uDAAqC;AAAA,4DAA0C;AAAA,4DAA0C;AAAA,wDAAsC;AAAA,yDAAuC;AAAA,0DAAuC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CommonEntity } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { ListingModelAttributesDto } from '../dtos/listing.model.attributes.dto';
|
|
3
|
+
export declare class ListingModelEntity extends CommonEntity {
|
|
4
|
+
name: string;
|
|
5
|
+
identifier: string;
|
|
6
|
+
method_name: string;
|
|
7
|
+
method_params: any;
|
|
8
|
+
class_params: any;
|
|
9
|
+
attributes: ListingModelAttributesDto;
|
|
10
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.ListingModelEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
const listing_model_attributes_dto_1 = require("../dtos/listing.model.attributes.dto");
|
|
16
|
+
let ListingModelEntity = class ListingModelEntity extends nestjs_utility_services_1.CommonEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.ListingModelEntity = ListingModelEntity;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.Column)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ListingModelEntity.prototype, "name", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], ListingModelEntity.prototype, "identifier", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], ListingModelEntity.prototype, "method_name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)('json'),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], ListingModelEntity.prototype, "method_params", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)('json'),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], ListingModelEntity.prototype, "class_params", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)('json'),
|
|
41
|
+
__metadata("design:type", listing_model_attributes_dto_1.ListingModelAttributesDto)
|
|
42
|
+
], ListingModelEntity.prototype, "attributes", void 0);
|
|
43
|
+
exports.ListingModelEntity = ListingModelEntity = __decorate([
|
|
44
|
+
(0, typeorm_1.Entity)('utl_listing_models')
|
|
45
|
+
], ListingModelEntity);
|
|
46
|
+
//# sourceMappingURL=listing.model.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listing.model.entity.js","sourceRoot":"","sources":["../../../src/accessUtility/entities/listing.model.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,oFAAsE;AACtE,uFAAiF;AAS1E,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,sCAAY;CAoBnD,CAAA;AApBY,gDAAkB;AAE3B;IADC,IAAA,gBAAM,GAAE;;gDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;sDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;yDACI;AAGnB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;wDACG;AAGlB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;8BACH,wDAAyB;sDAAC;6BAjB7B,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,kBAAkB,CAoB9B"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListingModelAttributesDto } from './dtos/listing.model.attributes.dto';
|
|
2
2
|
import { BulkDefinitionEntity } from './entities/bulk.definition.entity';
|
|
3
|
+
import { BulkDefinitionProcessingEntity } from './entities/bulk.definition.processing.entity';
|
|
3
4
|
import { BulkUploadColumnEntity } from './entities/bulk.upload.column.entity';
|
|
4
5
|
import { BulkUploadEntity } from './entities/bulk.upload.entity';
|
|
5
6
|
import { BulkUploadItemEntity } from './entities/bulk.upload.item.entity';
|
|
6
7
|
import { BulkUploadTypeEntity } from './entities/bulk.upload.type.entity';
|
|
7
8
|
import { DataMappingEntity } from './entities/data.mapping.entity';
|
|
9
|
+
import { ListingModelEntity } from './entities/listing.model.entity';
|
|
8
10
|
import { TagAssignmentEntity } from './entities/tag.assignment.entity';
|
|
9
11
|
import { BulkDefinitionJob } from './jobs/bulk.definition.job';
|
|
10
12
|
import { BulkDefinitionLoadJob } from './jobs/bulk.definition.load.job';
|
|
@@ -14,6 +16,7 @@ import { BulkUploadItemJob } from './jobs/bulk.upload.item.job';
|
|
|
14
16
|
import { BulkUploadJob } from './jobs/bulk.upload.job';
|
|
15
17
|
import { BulkUploadTypeJob } from './jobs/bulk.upload.type.job';
|
|
16
18
|
import { DataMappingJob } from './jobs/data.mapping.job';
|
|
19
|
+
import { ListingModelJob } from './jobs/listing.model.job';
|
|
17
20
|
import { TagAssignmentJob } from './jobs/tag.assignment.job';
|
|
18
21
|
import { Es6JobsService } from './services/es6.jobs.service';
|
|
19
22
|
import { TestAccessService } from './services/test.access.service';
|
|
@@ -25,12 +28,15 @@ import { BulkUploadItemSubscriber } from './subscribers/bulk.upload.item.subscri
|
|
|
25
28
|
import { BulkUploadSubscriber } from './subscribers/bulk.upload.subscriber';
|
|
26
29
|
import { BulkUploadTypeSubscriber } from './subscribers/bulk.upload.type.subscriber';
|
|
27
30
|
import { DataMappingSubscriber } from './subscribers/data.mapping.subscriber';
|
|
31
|
+
import { ListingModelSubscriber } from './subscribers/listing.model.subscriber';
|
|
28
32
|
import { TagAssignmentSubscriber } from './subscribers/tag.assignment.subscriber';
|
|
29
33
|
declare const es6Classes: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
controllers: any[];
|
|
35
|
+
dtos: (typeof ListingModelAttributesDto)[];
|
|
36
|
+
entities: (typeof ListingModelEntity | typeof BulkDefinitionEntity | typeof BulkUploadColumnEntity | typeof BulkUploadTypeEntity | typeof BulkDefinitionProcessingEntity | typeof BulkUploadItemEntity | typeof BulkUploadEntity | typeof DataMappingEntity | typeof TagAssignmentEntity)[];
|
|
37
|
+
jobs: (typeof BulkDefinitionJob | typeof BulkDefinitionLoadJob | typeof BulkDefinitionProcessingJob | typeof BulkUploadColumnJob | typeof BulkUploadItemJob | typeof BulkUploadJob | typeof BulkUploadTypeJob | typeof DataMappingJob | typeof ListingModelJob | typeof TagAssignmentJob)[];
|
|
38
|
+
libraries: any[];
|
|
33
39
|
services: (typeof Es6JobsService | typeof TestAccessService)[];
|
|
34
|
-
subscribers: (typeof BulkDefinitionLoadSubscriber | typeof BulkDefinitionProcessingSubscriber | typeof BulkDefinitionSubscriber | typeof BulkUploadColumnSubscriber | typeof BulkUploadItemSubscriber | typeof BulkUploadSubscriber | typeof BulkUploadTypeSubscriber | typeof DataMappingSubscriber | typeof TagAssignmentSubscriber)[];
|
|
40
|
+
subscribers: (typeof BulkDefinitionLoadSubscriber | typeof BulkDefinitionProcessingSubscriber | typeof BulkDefinitionSubscriber | typeof BulkUploadColumnSubscriber | typeof BulkUploadItemSubscriber | typeof BulkUploadSubscriber | typeof BulkUploadTypeSubscriber | typeof DataMappingSubscriber | typeof ListingModelSubscriber | typeof TagAssignmentSubscriber)[];
|
|
35
41
|
};
|
|
36
42
|
export default es6Classes;
|
|
@@ -8,6 +8,7 @@ const bulk_upload_column_attributes_dto_1 = require("./dtos/bulk.upload.column.a
|
|
|
8
8
|
const bulk_upload_item_attributes_dto_1 = require("./dtos/bulk.upload.item.attributes.dto");
|
|
9
9
|
const bulk_upload_type_attributes_dto_1 = require("./dtos/bulk.upload.type.attributes.dto");
|
|
10
10
|
const data_mapping_attributes_dto_1 = require("./dtos/data.mapping.attributes.dto");
|
|
11
|
+
const listing_model_attributes_dto_1 = require("./dtos/listing.model.attributes.dto");
|
|
11
12
|
const tag_assignment_attributes_dto_1 = require("./dtos/tag.assignment.attributes.dto");
|
|
12
13
|
const bulk_definition_entity_1 = require("./entities/bulk.definition.entity");
|
|
13
14
|
const bulk_definition_load_entity_1 = require("./entities/bulk.definition.load.entity");
|
|
@@ -17,6 +18,7 @@ const bulk_upload_entity_1 = require("./entities/bulk.upload.entity");
|
|
|
17
18
|
const bulk_upload_item_entity_1 = require("./entities/bulk.upload.item.entity");
|
|
18
19
|
const bulk_upload_type_entity_1 = require("./entities/bulk.upload.type.entity");
|
|
19
20
|
const data_mapping_entity_1 = require("./entities/data.mapping.entity");
|
|
21
|
+
const listing_model_entity_1 = require("./entities/listing.model.entity");
|
|
20
22
|
const tag_assignment_entity_1 = require("./entities/tag.assignment.entity");
|
|
21
23
|
const bulk_definition_job_1 = require("./jobs/bulk.definition.job");
|
|
22
24
|
const bulk_definition_load_job_1 = require("./jobs/bulk.definition.load.job");
|
|
@@ -26,6 +28,7 @@ const bulk_upload_item_job_1 = require("./jobs/bulk.upload.item.job");
|
|
|
26
28
|
const bulk_upload_job_1 = require("./jobs/bulk.upload.job");
|
|
27
29
|
const bulk_upload_type_job_1 = require("./jobs/bulk.upload.type.job");
|
|
28
30
|
const data_mapping_job_1 = require("./jobs/data.mapping.job");
|
|
31
|
+
const listing_model_job_1 = require("./jobs/listing.model.job");
|
|
29
32
|
const tag_assignment_job_1 = require("./jobs/tag.assignment.job");
|
|
30
33
|
const es6_jobs_service_1 = require("./services/es6.jobs.service");
|
|
31
34
|
const test_access_service_1 = require("./services/test.access.service");
|
|
@@ -37,8 +40,10 @@ const bulk_upload_item_subscriber_1 = require("./subscribers/bulk.upload.item.su
|
|
|
37
40
|
const bulk_upload_subscriber_1 = require("./subscribers/bulk.upload.subscriber");
|
|
38
41
|
const bulk_upload_type_subscriber_1 = require("./subscribers/bulk.upload.type.subscriber");
|
|
39
42
|
const data_mapping_subscriber_1 = require("./subscribers/data.mapping.subscriber");
|
|
43
|
+
const listing_model_subscriber_1 = require("./subscribers/listing.model.subscriber");
|
|
40
44
|
const tag_assignment_subscriber_1 = require("./subscribers/tag.assignment.subscriber");
|
|
41
45
|
const es6Classes = {
|
|
46
|
+
controllers: [],
|
|
42
47
|
dtos: [
|
|
43
48
|
bulk_definition_attributes_dto_1.BulkDefinitionAttributesDto,
|
|
44
49
|
bulk_definition_load_attributes_dto_1.BulkDefinitionLoadAttributesDto,
|
|
@@ -48,6 +53,7 @@ const es6Classes = {
|
|
|
48
53
|
bulk_upload_item_attributes_dto_1.BulkUploadItemAttributesDto,
|
|
49
54
|
bulk_upload_type_attributes_dto_1.BulkUploadTypeAttributesDto,
|
|
50
55
|
data_mapping_attributes_dto_1.DataMappingAttributesDto,
|
|
56
|
+
listing_model_attributes_dto_1.ListingModelAttributesDto,
|
|
51
57
|
tag_assignment_attributes_dto_1.TagAssignmentAttributesDto,
|
|
52
58
|
],
|
|
53
59
|
entities: [
|
|
@@ -59,6 +65,7 @@ const es6Classes = {
|
|
|
59
65
|
bulk_upload_item_entity_1.BulkUploadItemEntity,
|
|
60
66
|
bulk_upload_type_entity_1.BulkUploadTypeEntity,
|
|
61
67
|
data_mapping_entity_1.DataMappingEntity,
|
|
68
|
+
listing_model_entity_1.ListingModelEntity,
|
|
62
69
|
tag_assignment_entity_1.TagAssignmentEntity,
|
|
63
70
|
],
|
|
64
71
|
jobs: [
|
|
@@ -70,8 +77,10 @@ const es6Classes = {
|
|
|
70
77
|
bulk_upload_job_1.BulkUploadJob,
|
|
71
78
|
bulk_upload_type_job_1.BulkUploadTypeJob,
|
|
72
79
|
data_mapping_job_1.DataMappingJob,
|
|
80
|
+
listing_model_job_1.ListingModelJob,
|
|
73
81
|
tag_assignment_job_1.TagAssignmentJob,
|
|
74
82
|
],
|
|
83
|
+
libraries: [],
|
|
75
84
|
services: [es6_jobs_service_1.Es6JobsService, test_access_service_1.TestAccessService],
|
|
76
85
|
subscribers: [
|
|
77
86
|
bulk_definition_load_subscriber_1.BulkDefinitionLoadSubscriber,
|
|
@@ -82,6 +91,7 @@ const es6Classes = {
|
|
|
82
91
|
bulk_upload_subscriber_1.BulkUploadSubscriber,
|
|
83
92
|
bulk_upload_type_subscriber_1.BulkUploadTypeSubscriber,
|
|
84
93
|
data_mapping_subscriber_1.DataMappingSubscriber,
|
|
94
|
+
listing_model_subscriber_1.ListingModelSubscriber,
|
|
85
95
|
tag_assignment_subscriber_1.TagAssignmentSubscriber,
|
|
86
96
|
],
|
|
87
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/accessUtility/es6.classes.ts"],"names":[],"mappings":";;AAAA,0FAAoF;AACpF,oGAA6F;AAC7F,gHAAyG;AACzG,kFAA4E;AAC5E,gGAAyF;AACzF,4FAAqF;AACrF,4FAAqF;AACrF,oFAA8E;AAC9E,wFAAkF;AAClF,8EAAyE;AACzE,wFAAkF;AAClF,oGAA8F;AAC9F,oFAA8E;AAC9E,sEAAiE;AACjE,gFAA0E;AAC1E,gFAA0E;AAC1E,wEAAmE;AACnE,4EAAuE;AACvE,oEAA+D;AAC/D,8EAAwE;AACxE,0FAAoF;AACpF,0EAAoE;AACpE,sEAAgE;AAChE,4DAAuD;AACvD,sEAAgE;AAChE,8DAAyD;AACzD,kEAA6D;AAC7D,kEAA6D;AAC7D,wEAAmE;AACnE,mGAA6F;AAC7F,+GAAyG;AACzG,yFAAoF;AACpF,+FAAyF;AACzF,2FAAqF;AACrF,iFAA4E;AAC5E,2FAAqF;AACrF,mFAA8E;AAC9E,uFAAkF;AAElF,MAAM,UAAU,GAAG;IACf,IAAI,EAAE;QACF,4DAA2B;QAC3B,qEAA+B;QAC/B,iFAAqC;QACrC,oDAAuB;QACvB,iEAA6B;QAC7B,6DAA2B;QAC3B,6DAA2B;QAC3B,sDAAwB;QACxB,0DAA0B;KAC7B;IACD,QAAQ,EAAE;QACN,6CAAoB;QACpB,sDAAwB;QACxB,kEAA8B;QAC9B,kDAAsB;QACtB,qCAAgB;QAChB,8CAAoB;QACpB,8CAAoB;QACpB,uCAAiB;QACjB,2CAAmB;KACtB;IACD,IAAI,EAAE;QACF,uCAAiB;QACjB,gDAAqB;QACrB,4DAA2B;QAC3B,4CAAmB;QACnB,wCAAiB;QACjB,+BAAa;QACb,wCAAiB;QACjB,iCAAc;QACd,qCAAgB;KACnB;IACD,QAAQ,EAAE,CAAC,iCAAc,EAAE,uCAAiB,CAAC;IAC7C,WAAW,EAAE;QACT,8DAA4B;QAC5B,0EAAkC;QAClC,qDAAwB;QACxB,0DAA0B;QAC1B,sDAAwB;QACxB,6CAAoB;QACpB,sDAAwB;QACxB,+CAAqB;QACrB,mDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/accessUtility/es6.classes.ts"],"names":[],"mappings":";;AAAA,0FAAoF;AACpF,oGAA6F;AAC7F,gHAAyG;AACzG,kFAA4E;AAC5E,gGAAyF;AACzF,4FAAqF;AACrF,4FAAqF;AACrF,oFAA8E;AAC9E,sFAAgF;AAChF,wFAAkF;AAClF,8EAAyE;AACzE,wFAAkF;AAClF,oGAA8F;AAC9F,oFAA8E;AAC9E,sEAAiE;AACjE,gFAA0E;AAC1E,gFAA0E;AAC1E,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,oEAA+D;AAC/D,8EAAwE;AACxE,0FAAoF;AACpF,0EAAoE;AACpE,sEAAgE;AAChE,4DAAuD;AACvD,sEAAgE;AAChE,8DAAyD;AACzD,gEAA2D;AAC3D,kEAA6D;AAC7D,kEAA6D;AAC7D,wEAAmE;AACnE,mGAA6F;AAC7F,+GAAyG;AACzG,yFAAoF;AACpF,+FAAyF;AACzF,2FAAqF;AACrF,iFAA4E;AAC5E,2FAAqF;AACrF,mFAA8E;AAC9E,qFAAgF;AAChF,uFAAkF;AAElF,MAAM,UAAU,GAAG;IACf,WAAW,EAAE,EAAE;IACf,IAAI,EAAE;QACF,4DAA2B;QAC3B,qEAA+B;QAC/B,iFAAqC;QACrC,oDAAuB;QACvB,iEAA6B;QAC7B,6DAA2B;QAC3B,6DAA2B;QAC3B,sDAAwB;QACxB,wDAAyB;QACzB,0DAA0B;KAC7B;IACD,QAAQ,EAAE;QACN,6CAAoB;QACpB,sDAAwB;QACxB,kEAA8B;QAC9B,kDAAsB;QACtB,qCAAgB;QAChB,8CAAoB;QACpB,8CAAoB;QACpB,uCAAiB;QACjB,yCAAkB;QAClB,2CAAmB;KACtB;IACD,IAAI,EAAE;QACF,uCAAiB;QACjB,gDAAqB;QACrB,4DAA2B;QAC3B,4CAAmB;QACnB,wCAAiB;QACjB,+BAAa;QACb,wCAAiB;QACjB,iCAAc;QACd,mCAAe;QACf,qCAAgB;KACnB;IACD,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,CAAC,iCAAc,EAAE,uCAAiB,CAAC;IAC7C,WAAW,EAAE;QACT,8DAA4B;QAC5B,0EAAkC;QAClC,qDAAwB;QACxB,0DAA0B;QAC1B,sDAAwB;QACxB,6CAAoB;QACpB,sDAAwB;QACxB,+CAAqB;QACrB,iDAAsB;QACtB,mDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
@@ -22,5 +22,6 @@ __exportStar(require("./bulk.upload.item.job"), exports);
|
|
|
22
22
|
__exportStar(require("./bulk.upload.job"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.type.job"), exports);
|
|
24
24
|
__exportStar(require("./data.mapping.job"), exports);
|
|
25
|
+
__exportStar(require("./listing.model.job"), exports);
|
|
25
26
|
__exportStar(require("./tag.assignment.job"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,qDAAmC;AAAA,uDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AAAA,6DAA2C;AAAA,mEAAiD;AAAA,2DAAyC;AAAA,yDAAuC;AAAA,oDAAkC;AAAA,yDAAuC;AAAA,qDAAmC;AAAA,sDAAoC;AAAA,uDAAoC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CommonJob, DatabaseEventDto, QueueService } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { ListingModelEntity } from '../entities/listing.model.entity';
|
|
3
|
+
export declare class ListingModelJob extends CommonJob {
|
|
4
|
+
protected readonly queueService: QueueService;
|
|
5
|
+
constructor(queueService: QueueService);
|
|
6
|
+
handle(evt: DatabaseEventDto<ListingModelEntity>): Promise<ListingModelEntity>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.ListingModelJob = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
15
|
+
let ListingModelJob = class ListingModelJob extends nestjs_utility_services_1.CommonJob {
|
|
16
|
+
constructor(queueService) {
|
|
17
|
+
super('02b3275741183ecabec395645cef8415');
|
|
18
|
+
this.queueService = queueService;
|
|
19
|
+
}
|
|
20
|
+
async handle(evt) {
|
|
21
|
+
return evt.entity;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.ListingModelJob = ListingModelJob;
|
|
25
|
+
exports.ListingModelJob = ListingModelJob = __decorate([
|
|
26
|
+
(0, common_1.Injectable)(),
|
|
27
|
+
__metadata("design:paramtypes", [nestjs_utility_services_1.QueueService])
|
|
28
|
+
], ListingModelJob);
|
|
29
|
+
//# sourceMappingURL=listing.model.job.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listing.model.job.js","sourceRoot":"","sources":["../../../src/accessUtility/jobs/listing.model.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,oFAAmG;AAG5F,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,mCAAS;IAC1C,YAA+B,YAA0B;QACrD,KAAK,CAAC,kCAAkC,CAAC,CAAC;QADf,iBAAY,GAAZ,YAAY,CAAc;IAEzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAAyC;QAClD,OAAO,GAAG,CAAC,MAAM,CAAC;IACtB,CAAC;CACJ,CAAA;AAPY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;qCAEoC,sCAAY;GADhD,eAAe,CAO3B"}
|
|
@@ -6,6 +6,7 @@ import { BulkUploadItemJob } from '../jobs/bulk.upload.item.job';
|
|
|
6
6
|
import { BulkUploadJob } from '../jobs/bulk.upload.job';
|
|
7
7
|
import { BulkUploadTypeJob } from '../jobs/bulk.upload.type.job';
|
|
8
8
|
import { DataMappingJob } from '../jobs/data.mapping.job';
|
|
9
|
+
import { ListingModelJob } from '../jobs/listing.model.job';
|
|
9
10
|
import { TagAssignmentJob } from '../jobs/tag.assignment.job';
|
|
10
11
|
export declare class Es6JobsService {
|
|
11
12
|
private readonly bulkDefinitionJob;
|
|
@@ -16,9 +17,10 @@ export declare class Es6JobsService {
|
|
|
16
17
|
private readonly bulkUploadJob;
|
|
17
18
|
private readonly bulkUploadTypeJob;
|
|
18
19
|
private readonly dataMappingJob;
|
|
20
|
+
private readonly listingModelJob;
|
|
19
21
|
private readonly tagAssignmentJob;
|
|
20
22
|
private jobs;
|
|
21
|
-
constructor(bulkDefinitionJob: BulkDefinitionJob, bulkDefinitionLoadJob: BulkDefinitionLoadJob, bulkDefinitionProcessingJob: BulkDefinitionProcessingJob, bulkUploadColumnJob: BulkUploadColumnJob, bulkUploadItemJob: BulkUploadItemJob, bulkUploadJob: BulkUploadJob, bulkUploadTypeJob: BulkUploadTypeJob, dataMappingJob: DataMappingJob, tagAssignmentJob: TagAssignmentJob);
|
|
23
|
+
constructor(bulkDefinitionJob: BulkDefinitionJob, bulkDefinitionLoadJob: BulkDefinitionLoadJob, bulkDefinitionProcessingJob: BulkDefinitionProcessingJob, bulkUploadColumnJob: BulkUploadColumnJob, bulkUploadItemJob: BulkUploadItemJob, bulkUploadJob: BulkUploadJob, bulkUploadTypeJob: BulkUploadTypeJob, dataMappingJob: DataMappingJob, listingModelJob: ListingModelJob, tagAssignmentJob: TagAssignmentJob);
|
|
22
24
|
alignJobs(): void;
|
|
23
25
|
setJobs(): void;
|
|
24
26
|
}
|
|
@@ -19,10 +19,11 @@ const bulk_upload_item_job_1 = require("../jobs/bulk.upload.item.job");
|
|
|
19
19
|
const bulk_upload_job_1 = require("../jobs/bulk.upload.job");
|
|
20
20
|
const bulk_upload_type_job_1 = require("../jobs/bulk.upload.type.job");
|
|
21
21
|
const data_mapping_job_1 = require("../jobs/data.mapping.job");
|
|
22
|
+
const listing_model_job_1 = require("../jobs/listing.model.job");
|
|
22
23
|
const tag_assignment_job_1 = require("../jobs/tag.assignment.job");
|
|
23
24
|
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
24
25
|
let Es6JobsService = class Es6JobsService {
|
|
25
|
-
constructor(bulkDefinitionJob, bulkDefinitionLoadJob, bulkDefinitionProcessingJob, bulkUploadColumnJob, bulkUploadItemJob, bulkUploadJob, bulkUploadTypeJob, dataMappingJob, tagAssignmentJob) {
|
|
26
|
+
constructor(bulkDefinitionJob, bulkDefinitionLoadJob, bulkDefinitionProcessingJob, bulkUploadColumnJob, bulkUploadItemJob, bulkUploadJob, bulkUploadTypeJob, dataMappingJob, listingModelJob, tagAssignmentJob) {
|
|
26
27
|
this.bulkDefinitionJob = bulkDefinitionJob;
|
|
27
28
|
this.bulkDefinitionLoadJob = bulkDefinitionLoadJob;
|
|
28
29
|
this.bulkDefinitionProcessingJob = bulkDefinitionProcessingJob;
|
|
@@ -31,6 +32,7 @@ let Es6JobsService = class Es6JobsService {
|
|
|
31
32
|
this.bulkUploadJob = bulkUploadJob;
|
|
32
33
|
this.bulkUploadTypeJob = bulkUploadTypeJob;
|
|
33
34
|
this.dataMappingJob = dataMappingJob;
|
|
35
|
+
this.listingModelJob = listingModelJob;
|
|
34
36
|
this.tagAssignmentJob = tagAssignmentJob;
|
|
35
37
|
this.jobs = {};
|
|
36
38
|
this.alignJobs();
|
|
@@ -46,6 +48,7 @@ let Es6JobsService = class Es6JobsService {
|
|
|
46
48
|
'42c644ec2f0a2c9bbe7dcb133575af17': this.bulkUploadJob,
|
|
47
49
|
b18f0d1dd2bec92c1fbc6a07a9ac6d33: this.bulkUploadTypeJob,
|
|
48
50
|
'518c9259f8a996051ef1a8dcdd5b5498': this.dataMappingJob,
|
|
51
|
+
'02b3275741183ecabec395645cef8415': this.listingModelJob,
|
|
49
52
|
'83d1f1a159cc83a0f7530050be74a2dc': this.tagAssignmentJob,
|
|
50
53
|
};
|
|
51
54
|
}
|
|
@@ -64,6 +67,7 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
64
67
|
bulk_upload_job_1.BulkUploadJob,
|
|
65
68
|
bulk_upload_type_job_1.BulkUploadTypeJob,
|
|
66
69
|
data_mapping_job_1.DataMappingJob,
|
|
70
|
+
listing_model_job_1.ListingModelJob,
|
|
67
71
|
tag_assignment_job_1.TagAssignmentJob])
|
|
68
72
|
], Es6JobsService);
|
|
69
73
|
//# sourceMappingURL=es6.jobs.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/accessUtility/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qEAAgE;AAChE,+EAAyE;AACzE,2FAAqF;AACrF,2EAAqE;AACrE,uEAAiE;AACjE,6DAAwD;AACxD,uEAAiE;AACjE,+DAA0D;AAC1D,mEAA8D;AAC9D,oFAAyE;AAQlE,IAAM,cAAc,GAApB,MAAM,cAAc;IAGvB,YACqB,iBAAoC,EACpC,qBAA4C,EAC5C,2BAAwD,EACxD,mBAAwC,EACxC,iBAAoC,EACpC,aAA4B,EAC5B,iBAAoC,EACpC,cAA8B,EAC9B,gBAAkC;
|
|
1
|
+
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/accessUtility/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qEAAgE;AAChE,+EAAyE;AACzE,2FAAqF;AACrF,2EAAqE;AACrE,uEAAiE;AACjE,6DAAwD;AACxD,uEAAiE;AACjE,+DAA0D;AAC1D,iEAA4D;AAC5D,mEAA8D;AAC9D,oFAAyE;AAQlE,IAAM,cAAc,GAApB,MAAM,cAAc;IAGvB,YACqB,iBAAoC,EACpC,qBAA4C,EAC5C,2BAAwD,EACxD,mBAAwC,EACxC,iBAAoC,EACpC,aAA4B,EAC5B,iBAAoC,EACpC,cAA8B,EAC9B,eAAgC,EAChC,gBAAkC;QATlC,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,gCAA2B,GAA3B,2BAA2B,CAA6B;QACxD,wBAAmB,GAAnB,mBAAmB,CAAqB;QACxC,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,kBAAa,GAAb,aAAa,CAAe;QAC5B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,mBAAc,GAAd,cAAc,CAAgB;QAC9B,oBAAe,GAAf,eAAe,CAAiB;QAChC,qBAAgB,GAAhB,gBAAgB,CAAkB;QAZ/C,SAAI,GAAG,EAAE,CAAC;QAcd,IAAI,CAAC,SAAS,EAAE,CAAC;QACjB,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAMD,SAAS;QACL,IAAI,CAAC,IAAI,GAAG;YACR,kCAAkC,EAAE,IAAI,CAAC,iBAAiB;YAC1D,kCAAkC,EAAE,IAAI,CAAC,qBAAqB;YAC9D,gCAAgC,EAAE,IAAI,CAAC,2BAA2B;YAClE,gCAAgC,EAAE,IAAI,CAAC,mBAAmB;YAC1D,gCAAgC,EAAE,IAAI,CAAC,iBAAiB;YACxD,kCAAkC,EAAE,IAAI,CAAC,aAAa;YACtD,gCAAgC,EAAE,IAAI,CAAC,iBAAiB;YACxD,kCAAkC,EAAE,IAAI,CAAC,cAAc;YACvD,kCAAkC,EAAE,IAAI,CAAC,eAAe;YACxD,kCAAkC,EAAE,IAAI,CAAC,gBAAgB;SAC5D,CAAC;IACN,CAAC;IAMD,OAAO;QACH,yCAAe,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;CACJ,CAAA;AA7CY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,mBAAU,GAAE;qCAK+B,uCAAiB;QACb,gDAAqB;QACf,4DAA2B;QACnC,4CAAmB;QACrB,wCAAiB;QACrB,+BAAa;QACT,wCAAiB;QACpB,iCAAc;QACb,mCAAe;QACd,qCAAgB;GAb9C,cAAc,CA6C1B"}
|
|
@@ -6,4 +6,5 @@ export * from './bulk.upload.item.subscriber';
|
|
|
6
6
|
export * from './bulk.upload.subscriber';
|
|
7
7
|
export * from './bulk.upload.type.subscriber';
|
|
8
8
|
export * from './data.mapping.subscriber';
|
|
9
|
+
export * from './listing.model.subscriber';
|
|
9
10
|
export * from './tag.assignment.subscriber';
|
|
@@ -22,5 +22,6 @@ __exportStar(require("./bulk.upload.item.subscriber"), exports);
|
|
|
22
22
|
__exportStar(require("./bulk.upload.subscriber"), exports);
|
|
23
23
|
__exportStar(require("./bulk.upload.type.subscriber"), exports);
|
|
24
24
|
__exportStar(require("./data.mapping.subscriber"), exports);
|
|
25
|
+
__exportStar(require("./listing.model.subscriber"), exports);
|
|
25
26
|
__exportStar(require("./tag.assignment.subscriber"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,+DAA6C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,4DAA0C;AAAA,8DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accessUtility/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAAA,0EAAwD;AAAA,+DAA6C;AAAA,kEAAgD;AAAA,gEAA8C;AAAA,2DAAyC;AAAA,gEAA8C;AAAA,4DAA0C;AAAA,6DAA2C;AAAA,8DAA2C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
3
|
+
import { ListingModelEntity } from '../entities/listing.model.entity';
|
|
4
|
+
import { ListingModelJob } from '../jobs/listing.model.job';
|
|
5
|
+
export declare class ListingModelSubscriber extends CommonSubscriber<ListingModelEntity> {
|
|
6
|
+
private readonly dataSource;
|
|
7
|
+
private readonly listingModelJob;
|
|
8
|
+
constructor(dataSource: DataSource, listingModelJob: ListingModelJob);
|
|
9
|
+
listenTo(): typeof ListingModelEntity;
|
|
10
|
+
afterInsert(evt: InsertEvent<ListingModelEntity>): Promise<void>;
|
|
11
|
+
afterUpdate(evt: UpdateEvent<ListingModelEntity>): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.ListingModelSubscriber = void 0;
|
|
13
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const listing_model_entity_1 = require("../entities/listing.model.entity");
|
|
16
|
+
const listing_model_job_1 = require("../jobs/listing.model.job");
|
|
17
|
+
let ListingModelSubscriber = class ListingModelSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource, listingModelJob) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
this.listingModelJob = listingModelJob;
|
|
22
|
+
dataSource.subscribers.push(this);
|
|
23
|
+
}
|
|
24
|
+
listenTo() {
|
|
25
|
+
return listing_model_entity_1.ListingModelEntity;
|
|
26
|
+
}
|
|
27
|
+
async afterInsert(evt) {
|
|
28
|
+
await this.listingModelJob.delayedDispatch(this.getEventData(evt));
|
|
29
|
+
}
|
|
30
|
+
async afterUpdate(evt) {
|
|
31
|
+
await this.listingModelJob.delayedDispatch(this.getEventData(evt));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.ListingModelSubscriber = ListingModelSubscriber;
|
|
35
|
+
exports.ListingModelSubscriber = ListingModelSubscriber = __decorate([
|
|
36
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
37
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
38
|
+
listing_model_job_1.ListingModelJob])
|
|
39
|
+
], ListingModelSubscriber);
|
|
40
|
+
//# sourceMappingURL=listing.model.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listing.model.subscriber.js","sourceRoot":"","sources":["../../../src/accessUtility/subscribers/listing.model.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,2EAAsE;AACtE,iEAA4D;AAGrD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,0CAAoC;IAC5E,YACqB,UAAsB,EACtB,eAAgC;QAEjD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,oBAAe,GAAf,eAAe,CAAiB;QAGjD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,yCAAkB,CAAC;IAC9B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAoC;QAClD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAoC;QAClD,MAAM,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACvE,CAAC;CACJ,CAAA;AAlBY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACL,mCAAe;GAH5C,sBAAsB,CAkBlC"}
|
|
@@ -28,6 +28,7 @@ import { BulkUploadEntity } from '../accessUtility/entities/bulk.upload.entity';
|
|
|
28
28
|
import { BulkUploadItemEntity } from '../accessUtility/entities/bulk.upload.item.entity';
|
|
29
29
|
import { BulkUploadTypeEntity } from '../accessUtility/entities/bulk.upload.type.entity';
|
|
30
30
|
import { DataMappingEntity } from '../accessUtility/entities/data.mapping.entity';
|
|
31
|
+
import { ListingModelEntity } from '../accessUtility/entities/listing.model.entity';
|
|
31
32
|
import { TagAssignmentEntity } from '../accessUtility/entities/tag.assignment.entity';
|
|
32
33
|
declare const entityConstants: {
|
|
33
34
|
'65e0e6d5c92cbba596ecaf851b586389': typeof AccessBusinessEntity;
|
|
@@ -60,6 +61,7 @@ declare const entityConstants: {
|
|
|
60
61
|
f0d9555accac3da32f711763c15e240d: typeof BulkUploadItemEntity;
|
|
61
62
|
f980022f844962d06e05e868efdf2e28: typeof BulkUploadTypeEntity;
|
|
62
63
|
'47254c0bb02039dd781f40cd09bf1486': typeof DataMappingEntity;
|
|
64
|
+
f398df3b81975969eb65eaabc46fb719: typeof ListingModelEntity;
|
|
63
65
|
'1b155ffbd5998294415345bd380131d6': typeof TagAssignmentEntity;
|
|
64
66
|
};
|
|
65
67
|
export = entityConstants;
|