rez_core 2.2.2 → 2.2.4
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/module/listmaster/repository/list-master-items.repository.js +4 -1
- package/dist/module/listmaster/repository/list-master-items.repository.js.map +1 -1
- package/dist/module/meta/entity.module.js +0 -6
- package/dist/module/meta/entity.module.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/listmaster/repository/list-master-items.repository.ts +4 -1
- package/src/module/meta/entity.module.ts +0 -9
- package/dist/module/meta/entity/brand-profile.entity.d.ts +0 -3
- package/dist/module/meta/entity/brand-profile.entity.js +0 -18
- package/dist/module/meta/entity/brand-profile.entity.js.map +0 -1
- package/dist/module/meta/entity/field-group.entity.d.ts +0 -0
- package/dist/module/meta/entity/field-group.entity.js +0 -1
- package/dist/module/meta/entity/field-group.entity.js.map +0 -1
- package/dist/module/meta/entity/school.entity.d.ts +0 -8
- package/dist/module/meta/entity/school.entity.js +0 -44
- package/dist/module/meta/entity/school.entity.js.map +0 -1
- package/dist/module/meta/entity/schoolAddress.entity.d.ts +0 -9
- package/dist/module/meta/entity/schoolAddress.entity.js +0 -48
- package/dist/module/meta/entity/schoolAddress.entity.js.map +0 -1
- package/dist/module/meta/entity/section-master.entity.d.ts +0 -0
- package/dist/module/meta/entity/section-master.entity.js +0 -1
- package/dist/module/meta/entity/section-master.entity.js.map +0 -1
- package/dist/module/meta/entity/user-app-mapping.entity.d.ts +0 -0
- package/dist/module/meta/entity/user-app-mapping.entity.js +0 -1
- package/dist/module/meta/entity/user-app-mapping.entity.js.map +0 -1
- package/src/module/meta/entity/brand-profile.entity.ts +0 -5
- package/src/module/meta/entity/field-group.entity.ts +0 -25
- package/src/module/meta/entity/school.entity.ts +0 -23
- package/src/module/meta/entity/schoolAddress.entity.ts +0 -25
- package/src/module/meta/entity/section-master.entity.ts +0 -28
- package/src/module/meta/entity/user-app-mapping.entity.ts +0 -21
package/package.json
CHANGED
|
@@ -75,7 +75,10 @@ export class ListMasterItemsRepository {
|
|
|
75
75
|
order: orderBy,
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
let result = items.map((i) => ({
|
|
78
|
+
let result = items.map((i) => ({
|
|
79
|
+
label: i.name,
|
|
80
|
+
value: parseInt(String(i.id), 10),
|
|
81
|
+
}));
|
|
79
82
|
|
|
80
83
|
// Handle inactive items if specified
|
|
81
84
|
if (inactiveIdsArray?.length) {
|
|
@@ -24,8 +24,6 @@ import { MediaDataService } from './service/media-data.service';
|
|
|
24
24
|
import { MediaDataRepository } from './repository/media-data.repository';
|
|
25
25
|
import { MediaController } from './controller/media.controller';
|
|
26
26
|
import { ViewMaster } from './entity/view-master.entity';
|
|
27
|
-
import { SchoolEntity } from './entity/school.entity';
|
|
28
|
-
import { SchoolAddressEntity } from './entity/schoolAddress.entity';
|
|
29
27
|
import { AttributeMasterService } from './service/attribute-master.service';
|
|
30
28
|
// import { SectionMasterService } from './service/section-master.service';
|
|
31
29
|
// import { SectionMaster } from './entity/section-master.entity';
|
|
@@ -48,7 +46,6 @@ import { AppMasterService } from './service/app-master.service';
|
|
|
48
46
|
import { AppMasterRespository } from './repository/app-master.repository';
|
|
49
47
|
import { AppMaster } from './entity/app-master.entity';
|
|
50
48
|
import { PopulateMetaService } from './service/populate-meta.service';
|
|
51
|
-
import { BrandProfile } from './entity/brand-profile.entity';
|
|
52
49
|
|
|
53
50
|
@Module({
|
|
54
51
|
imports: [
|
|
@@ -60,12 +57,6 @@ import { BrandProfile } from './entity/brand-profile.entity';
|
|
|
60
57
|
EntityTableColumn,
|
|
61
58
|
MediaData,
|
|
62
59
|
ViewMaster,
|
|
63
|
-
SchoolEntity,
|
|
64
|
-
SchoolAddressEntity,
|
|
65
|
-
// SectionMaster,
|
|
66
|
-
// FieldGroup,
|
|
67
|
-
// UserAppMapping,
|
|
68
|
-
BrandProfile,
|
|
69
60
|
UserRoleMapping,
|
|
70
61
|
AppMaster,
|
|
71
62
|
]),
|
|
@@ -1,18 +0,0 @@
|
|
|
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.BrandProfile = void 0;
|
|
10
|
-
const typeorm_1 = require("typeorm");
|
|
11
|
-
const base_entity_entity_1 = require("./base-entity.entity");
|
|
12
|
-
let BrandProfile = class BrandProfile extends base_entity_entity_1.BaseEntity {
|
|
13
|
-
};
|
|
14
|
-
exports.BrandProfile = BrandProfile;
|
|
15
|
-
exports.BrandProfile = BrandProfile = __decorate([
|
|
16
|
-
(0, typeorm_1.Entity)({ name: 'eth_brand_profile' })
|
|
17
|
-
], BrandProfile);
|
|
18
|
-
//# sourceMappingURL=brand-profile.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brand-profile.entity.js","sourceRoot":"","sources":["../../../../src/module/meta/entity/brand-profile.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qCAAiC;AACjC,6DAAkD;AAG3C,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;CAAG,CAAA;AAAlC,oCAAY;uBAAZ,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;GACzB,YAAY,CAAsB"}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=field-group.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-group.entity.js","sourceRoot":"","sources":["../../../../src/module/meta/entity/field-group.entity.ts"],"names":[],"mappings":""}
|
|
@@ -1,44 +0,0 @@
|
|
|
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.SchoolEntity = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let SchoolEntity = class SchoolEntity {
|
|
15
|
-
};
|
|
16
|
-
exports.SchoolEntity = SchoolEntity;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], SchoolEntity.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({}),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], SchoolEntity.prototype, "code", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({}),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], SchoolEntity.prototype, "name", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({}),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], SchoolEntity.prototype, "logo", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], SchoolEntity.prototype, "parent_id", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], SchoolEntity.prototype, "parent_type", void 0);
|
|
41
|
-
exports.SchoolEntity = SchoolEntity = __decorate([
|
|
42
|
-
(0, typeorm_1.Entity)({ name: 'eth_school_temp' })
|
|
43
|
-
], SchoolEntity);
|
|
44
|
-
//# sourceMappingURL=school.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"school.entity.js","sourceRoot":"","sources":["../../../../src/module/meta/entity/school.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAiE;AAG1D,IAAM,YAAY,GAAlB,MAAM,YAAY;CAmBxB,CAAA;AAnBY,oCAAY;AAGrB;IADC,IAAA,gCAAsB,GAAE;;wCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;0CACE;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;0CACC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;0CACC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAC,QAAQ,EAAC,IAAI,EAAC,CAAC;;+CACP;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAC,QAAQ,EAAC,IAAI,EAAC,CAAC;;iDACL;uBAlBV,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;GACvB,YAAY,CAmBxB"}
|
|
@@ -1,48 +0,0 @@
|
|
|
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.SchoolAddressEntity = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let SchoolAddressEntity = class SchoolAddressEntity {
|
|
15
|
-
};
|
|
16
|
-
exports.SchoolAddressEntity = SchoolAddressEntity;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], SchoolAddressEntity.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({}),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], SchoolAddressEntity.prototype, "code", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({}),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], SchoolAddressEntity.prototype, "city", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({}),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], SchoolAddressEntity.prototype, "state", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({}),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], SchoolAddressEntity.prototype, "school_id", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({}),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], SchoolAddressEntity.prototype, "parent_type", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({}),
|
|
43
|
-
__metadata("design:type", Number)
|
|
44
|
-
], SchoolAddressEntity.prototype, "parent_id", void 0);
|
|
45
|
-
exports.SchoolAddressEntity = SchoolAddressEntity = __decorate([
|
|
46
|
-
(0, typeorm_1.Entity)({ name: 'eth_school_address_temp' })
|
|
47
|
-
], SchoolAddressEntity);
|
|
48
|
-
//# sourceMappingURL=schoolAddress.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schoolAddress.entity.js","sourceRoot":"","sources":["../../../../src/module/meta/entity/schoolAddress.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAiE;AAG1D,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAqB/B,CAAA;AArBY,kDAAmB;AAE5B;IADC,IAAA,gCAAsB,GAAE;;+CACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;iDACE;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;iDACE;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;kDACG;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;sDACO;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;wDACS;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,CAAC;;sDACO;8BApBT,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC;GAC/B,mBAAmB,CAqB/B"}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=section-master.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"section-master.entity.js","sourceRoot":"","sources":["../../../../src/module/meta/entity/section-master.entity.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=user-app-mapping.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-app-mapping.entity.js","sourceRoot":"","sources":["../../../../src/module/meta/entity/user-app-mapping.entity.ts"],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// import { ENTITYTYPE_FIELDMASTER } from 'src/constant/global.constant';
|
|
2
|
-
// import { BaseEntity } from './base-entity.entity';
|
|
3
|
-
// import { Column, Entity } from 'typeorm';
|
|
4
|
-
|
|
5
|
-
// @Entity({ name: 'cr_field_group' })
|
|
6
|
-
// export class FieldGroup extends BaseEntity {
|
|
7
|
-
// constructor() {
|
|
8
|
-
// super();
|
|
9
|
-
// this.entity_type = ENTITYTYPE_FIELDMASTER;
|
|
10
|
-
// }
|
|
11
|
-
// @Column({ length: 50, nullable: true })
|
|
12
|
-
// mapped_entity_type: string;
|
|
13
|
-
|
|
14
|
-
// @Column({ length: 50, nullable: true })
|
|
15
|
-
// field_type: string;
|
|
16
|
-
|
|
17
|
-
// @Column({ nullable: true })
|
|
18
|
-
// description: string;
|
|
19
|
-
|
|
20
|
-
// @Column({ type: 'varchar', nullable: true })
|
|
21
|
-
// label: string;
|
|
22
|
-
|
|
23
|
-
// @Column({ type: 'int', nullable: true })
|
|
24
|
-
// view_id: number;
|
|
25
|
-
// }
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
|
|
2
|
-
|
|
3
|
-
@Entity({ name: 'eth_school_temp' })
|
|
4
|
-
export class SchoolEntity {
|
|
5
|
-
|
|
6
|
-
@PrimaryGeneratedColumn()
|
|
7
|
-
id: number;
|
|
8
|
-
|
|
9
|
-
@Column({})
|
|
10
|
-
code: string;
|
|
11
|
-
|
|
12
|
-
@Column({})
|
|
13
|
-
name:string;
|
|
14
|
-
|
|
15
|
-
@Column({})
|
|
16
|
-
logo:string;
|
|
17
|
-
|
|
18
|
-
@Column({nullable:true})
|
|
19
|
-
parent_id:number;
|
|
20
|
-
|
|
21
|
-
@Column({nullable:true})
|
|
22
|
-
parent_type:string;
|
|
23
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
|
|
2
|
-
|
|
3
|
-
@Entity({ name: 'eth_school_address_temp' })
|
|
4
|
-
export class SchoolAddressEntity {
|
|
5
|
-
@PrimaryGeneratedColumn()
|
|
6
|
-
id: number;
|
|
7
|
-
|
|
8
|
-
@Column({})
|
|
9
|
-
code: string;
|
|
10
|
-
|
|
11
|
-
@Column({})
|
|
12
|
-
city: string;
|
|
13
|
-
|
|
14
|
-
@Column({})
|
|
15
|
-
state: string;
|
|
16
|
-
|
|
17
|
-
@Column({})
|
|
18
|
-
school_id: number;
|
|
19
|
-
|
|
20
|
-
@Column({})
|
|
21
|
-
parent_type: string;
|
|
22
|
-
|
|
23
|
-
@Column({})
|
|
24
|
-
parent_id: number;
|
|
25
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// import { ENTITYTYPE_SECTIONMASTER } from 'src/constant/global.constant';
|
|
2
|
-
// import { BaseEntity } from './base-entity.entity';
|
|
3
|
-
// import { Column, Entity } from 'typeorm';
|
|
4
|
-
|
|
5
|
-
// @Entity({ name: 'cr_section_master' })
|
|
6
|
-
// export class SectionMaster extends BaseEntity {
|
|
7
|
-
// constructor() {
|
|
8
|
-
// super();
|
|
9
|
-
// this.entity_type = ENTITYTYPE_SECTIONMASTER;
|
|
10
|
-
// }
|
|
11
|
-
// @Column({ length: 50, nullable: true })
|
|
12
|
-
// mapped_entity_type: string;
|
|
13
|
-
|
|
14
|
-
// @Column({ length: 50, nullable: true })
|
|
15
|
-
// section_type: string;
|
|
16
|
-
|
|
17
|
-
// @Column({ nullable: true })
|
|
18
|
-
// description: string;
|
|
19
|
-
|
|
20
|
-
// @Column({ type: 'varchar', nullable: true })
|
|
21
|
-
// tooltip: string;
|
|
22
|
-
|
|
23
|
-
// @Column({ type: 'int', nullable: true })
|
|
24
|
-
// visible_in_add: number;
|
|
25
|
-
|
|
26
|
-
// @Column({ type: 'int', nullable: true })
|
|
27
|
-
// position: number;
|
|
28
|
-
// }
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
2
|
-
|
|
3
|
-
// @Entity({ name: 'cr_user_app_mapping' })
|
|
4
|
-
// export class UserAppMapping {
|
|
5
|
-
// constructor(user_id: number) {
|
|
6
|
-
// this.user_id = user_id;
|
|
7
|
-
// this.entity_type = 'UAP';
|
|
8
|
-
// }
|
|
9
|
-
|
|
10
|
-
// @PrimaryGeneratedColumn()
|
|
11
|
-
// id: number;
|
|
12
|
-
|
|
13
|
-
// @Column({ type: 'bigint', nullable: true })
|
|
14
|
-
// user_id: number;
|
|
15
|
-
|
|
16
|
-
// @Column({ type: 'varchar', nullable: true })
|
|
17
|
-
// appcode: string;
|
|
18
|
-
|
|
19
|
-
// @Column({ type: 'varchar' })
|
|
20
|
-
// entity_type: string;
|
|
21
|
-
// }
|