@reachu/database 1.0.14 → 1.0.16
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/entity/modules/templates/AuthInfo.d.ts +14 -0
- package/dist/entity/modules/templates/AuthInfo.js +63 -0
- package/dist/entity/modules/templates/AuthInfo.js.map +1 -0
- package/dist/entity/modules/templates/AuthMethod.d.ts +8 -0
- package/dist/entity/modules/templates/AuthMethod.js +42 -0
- package/dist/entity/modules/templates/AuthMethod.js.map +1 -0
- package/dist/entity/modules/templates/AuthMethodTemplateChannel.d.ts +14 -0
- package/dist/entity/modules/templates/AuthMethodTemplateChannel.js +66 -0
- package/dist/entity/modules/templates/AuthMethodTemplateChannel.js.map +1 -0
- package/dist/entity/modules/templates/EndpointTemplateChannel.d.ts +7 -0
- package/dist/entity/modules/templates/EndpointTemplateChannel.js +37 -0
- package/dist/entity/modules/templates/EndpointTemplateChannel.js.map +1 -0
- package/dist/entity/modules/templates/TemplateChannel.d.ts +27 -0
- package/dist/entity/modules/templates/TemplateChannel.js +126 -0
- package/dist/entity/modules/templates/TemplateChannel.js.map +1 -0
- package/dist/entity/modules/templates/UserTemplateChannel.d.ts +13 -0
- package/dist/entity/modules/templates/UserTemplateChannel.js +57 -0
- package/dist/entity/modules/templates/UserTemplateChannel.js.map +1 -0
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.d.ts +12 -0
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js +56 -0
- package/dist/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.js.map +1 -0
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.d.ts +12 -0
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.js +56 -0
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.js.map +1 -0
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.d.ts +12 -0
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.js +56 -0
- package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.js.map +1 -0
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.d.ts +12 -0
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js +56 -0
- package/dist/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.js.map +1 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.d.ts +11 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.js +52 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.js.map +1 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.d.ts +11 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.js +52 -0
- package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.js.map +1 -0
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.d.ts +12 -0
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js +56 -0
- package/dist/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.js.map +1 -0
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.d.ts +12 -0
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.js +56 -0
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.js.map +1 -0
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.d.ts +12 -0
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.js +56 -0
- package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.js.map +1 -0
- package/dist/migrations/1680581444059-template.d.ts +6 -0
- package/dist/migrations/1680581444059-template.js +111 -0
- package/dist/migrations/1680581444059-template.js.map +1 -0
- package/dist/repositories/index.d.ts +2 -0
- package/dist/repositories/index.js +17 -1
- package/dist/repositories/index.js.map +1 -1
- package/dist/repositories/templates/index.d.ts +46 -0
- package/dist/repositories/templates/index.js +119 -0
- package/dist/repositories/templates/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +335 -4
- package/package.json +3 -3
- package/src/entity/modules/templates/AuthInfo.ts +48 -0
- package/src/entity/modules/templates/AuthMethod.ts +24 -0
- package/src/entity/modules/templates/AuthMethodTemplateChannel.ts +52 -0
- package/src/entity/modules/templates/EndpointTemplateChannel.ts +27 -0
- package/src/entity/modules/templates/TemplateChannel.ts +155 -0
- package/src/entity/modules/templates/UserTemplateChannel.ts +51 -0
- package/src/entity/modules/templates/schemeOrder/ReachuSchemeConfigOrder.ts +43 -0
- package/src/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.ts +44 -0
- package/src/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.ts +43 -0
- package/src/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.ts +43 -0
- package/src/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.ts +40 -0
- package/src/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.ts +40 -0
- package/src/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.ts +44 -0
- package/src/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.ts +44 -0
- package/src/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.ts +44 -0
- package/src/migrations/1680581444059-template.ts +96 -0
- package/src/repositories/index.ts +36 -0
- package/src/repositories/templates/index.ts +64 -0
|
@@ -0,0 +1,56 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let TemplateChannelSchemeConfigOrder = class TemplateChannelSchemeConfigOrder extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], TemplateChannelSchemeConfigOrder.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], TemplateChannelSchemeConfigOrder.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TemplateChannelSchemeConfigOrder.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TemplateChannelSchemeConfigOrder.prototype, "url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TemplateChannelSchemeConfigOrder.prototype, "version", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
43
|
+
typeorm_1.JoinColumn(),
|
|
44
|
+
__metadata("design:type", User_1.default)
|
|
45
|
+
], TemplateChannelSchemeConfigOrder.prototype, "user", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.templateChannelSchemeConfigOrder, {
|
|
48
|
+
cascade: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], TemplateChannelSchemeConfigOrder.prototype, "templateChannel", void 0);
|
|
52
|
+
TemplateChannelSchemeConfigOrder = __decorate([
|
|
53
|
+
typeorm_1.Entity()
|
|
54
|
+
], TemplateChannelSchemeConfigOrder);
|
|
55
|
+
exports.default = TemplateChannelSchemeConfigOrder;
|
|
56
|
+
//# sourceMappingURL=TemplateChannelSchemeConfigOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateChannelSchemeConfigOrder.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCASiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,gCAAgC,GAArD,MAAqB,gCAAiC,SAAQ,sBAAY;CA4BzE,CAAA;AA1BC;IADC,gCAAsB,EAAE;;4DACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;mEAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;8DAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,gCAAgC,EACtF;QACE,OAAO,EAAE,IAAI;KACd,CACF;;yEACkC;AA3BhB,gCAAgC;IADpD,gBAAM,EAAE;GACY,gCAAgC,CA4BpD;kBA5BoB,gCAAgC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import User from '../../../User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class TemplateChannelSchemeConfigOrderMapped extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
version: number;
|
|
10
|
+
user: User;
|
|
11
|
+
templateChannel: TemplateChannel[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let TemplateChannelSchemeConfigOrderMapped = class TemplateChannelSchemeConfigOrderMapped extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "version", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
43
|
+
typeorm_1.JoinColumn(),
|
|
44
|
+
__metadata("design:type", User_1.default)
|
|
45
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "user", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.templateChannelSchemeConfigOrderMapped, {
|
|
48
|
+
cascade: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], TemplateChannelSchemeConfigOrderMapped.prototype, "templateChannel", void 0);
|
|
52
|
+
TemplateChannelSchemeConfigOrderMapped = __decorate([
|
|
53
|
+
typeorm_1.Entity()
|
|
54
|
+
], TemplateChannelSchemeConfigOrderMapped);
|
|
55
|
+
exports.default = TemplateChannelSchemeConfigOrderMapped;
|
|
56
|
+
//# sourceMappingURL=TemplateChannelSchemeConfigOrderMapped.js.map
|
package/dist/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateChannelSchemeConfigOrderMapped.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCAQiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,sCAAsC,GAA3D,MAAqB,sCAAuC,SAAQ,sBAAY;CA4B/E,CAAA;AA1BC;IADC,gCAAsB,EAAE;;kEACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;yEAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;oEAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,sCAAsC,EAC5F;QACE,OAAO,EAAE,IAAI;KACd,CACF;;+EACkC;AA3BhB,sCAAsC;IAD1D,gBAAM,EAAE;GACY,sCAAsC,CA4B1D;kBA5BoB,sCAAsC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import User from '../../..//User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class ReachuSchemeConfigProduct extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
version: number;
|
|
10
|
+
user: User;
|
|
11
|
+
templateChannel: TemplateChannel[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../..//User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let ReachuSchemeConfigProduct = class ReachuSchemeConfigProduct extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], ReachuSchemeConfigProduct.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], ReachuSchemeConfigProduct.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ReachuSchemeConfigProduct.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ReachuSchemeConfigProduct.prototype, "url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ReachuSchemeConfigProduct.prototype, "version", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
43
|
+
typeorm_1.JoinColumn(),
|
|
44
|
+
__metadata("design:type", User_1.default)
|
|
45
|
+
], ReachuSchemeConfigProduct.prototype, "user", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.reachuSchemeConfigProduct, {
|
|
48
|
+
cascade: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], ReachuSchemeConfigProduct.prototype, "templateChannel", void 0);
|
|
52
|
+
ReachuSchemeConfigProduct = __decorate([
|
|
53
|
+
typeorm_1.Entity()
|
|
54
|
+
], ReachuSchemeConfigProduct);
|
|
55
|
+
exports.default = ReachuSchemeConfigProduct;
|
|
56
|
+
//# sourceMappingURL=ReachuSchemeConfigProduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReachuSchemeConfigProduct.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeProduct/ReachuSchemeConfigProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0DAAkC;AAClC,qCAQiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,sBAAY;CA4BlE,CAAA;AA1BC;IADC,gCAAsB,EAAE;;qDACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;4DAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;uDAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,yBAAyB,EAC/E;QACE,OAAO,EAAE,IAAI;KACd,CACF;;kEACkC;AA3BhB,yBAAyB;IAD7C,gBAAM,EAAE;GACY,yBAAyB,CA4B7C;kBA5BoB,yBAAyB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import User from '../../../User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class TemplateChannelSchemeConfigProduct extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
url: string;
|
|
8
|
+
version: number;
|
|
9
|
+
user: User;
|
|
10
|
+
templateChannel: TemplateChannel[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let TemplateChannelSchemeConfigProduct = class TemplateChannelSchemeConfigProduct extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], TemplateChannelSchemeConfigProduct.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], TemplateChannelSchemeConfigProduct.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TemplateChannelSchemeConfigProduct.prototype, "url", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], TemplateChannelSchemeConfigProduct.prototype, "version", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
39
|
+
typeorm_1.JoinColumn(),
|
|
40
|
+
__metadata("design:type", User_1.default)
|
|
41
|
+
], TemplateChannelSchemeConfigProduct.prototype, "user", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.templateChannelSchemeConfigProduct, {
|
|
44
|
+
cascade: true,
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", Array)
|
|
47
|
+
], TemplateChannelSchemeConfigProduct.prototype, "templateChannel", void 0);
|
|
48
|
+
TemplateChannelSchemeConfigProduct = __decorate([
|
|
49
|
+
typeorm_1.Entity()
|
|
50
|
+
], TemplateChannelSchemeConfigProduct);
|
|
51
|
+
exports.default = TemplateChannelSchemeConfigProduct;
|
|
52
|
+
//# sourceMappingURL=TemplateChannelSchemeConfigProduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateChannelSchemeConfigProduct.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCAQiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,kCAAkC,GAAvD,MAAqB,kCAAmC,SAAQ,sBAAY;CAyB3E,CAAA;AAvBC;IADC,gCAAsB,EAAE;;8DACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;qEAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;gEAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,kCAAkC,EACxF;QACE,OAAO,EAAE,IAAI;KACd,CACF;;2EACkC;AAxBhB,kCAAkC;IADtD,gBAAM,EAAE;GACY,kCAAkC,CAyBtD;kBAzBoB,kCAAkC"}
|
package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import User from '../../../User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class TemplateChannelSchemeConfigProductMapped extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
url: string;
|
|
8
|
+
version: number;
|
|
9
|
+
user: User;
|
|
10
|
+
templateChannel: TemplateChannel[];
|
|
11
|
+
}
|
package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let TemplateChannelSchemeConfigProductMapped = class TemplateChannelSchemeConfigProductMapped extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], TemplateChannelSchemeConfigProductMapped.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], TemplateChannelSchemeConfigProductMapped.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TemplateChannelSchemeConfigProductMapped.prototype, "url", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], TemplateChannelSchemeConfigProductMapped.prototype, "version", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
39
|
+
typeorm_1.JoinColumn(),
|
|
40
|
+
__metadata("design:type", User_1.default)
|
|
41
|
+
], TemplateChannelSchemeConfigProductMapped.prototype, "user", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.templateChannelSchemeConfigProductMapped, {
|
|
44
|
+
cascade: true,
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", Array)
|
|
47
|
+
], TemplateChannelSchemeConfigProductMapped.prototype, "templateChannel", void 0);
|
|
48
|
+
TemplateChannelSchemeConfigProductMapped = __decorate([
|
|
49
|
+
typeorm_1.Entity()
|
|
50
|
+
], TemplateChannelSchemeConfigProductMapped);
|
|
51
|
+
exports.default = TemplateChannelSchemeConfigProductMapped;
|
|
52
|
+
//# sourceMappingURL=TemplateChannelSchemeConfigProductMapped.js.map
|
package/dist/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateChannelSchemeConfigProductMapped.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCAQiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,wCAAwC,GAA7D,MAAqB,wCAAyC,SAAQ,sBAAY;CAyBjF,CAAA;AAvBC;IADC,gCAAsB,EAAE;;oEACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2EAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yEACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;sEAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,wCAAwC,EAC9F;QACE,OAAO,EAAE,IAAI;KACd,CACF;;iFACkC;AAxBhB,wCAAwC;IAD5D,gBAAM,EAAE;GACY,wCAAwC,CAyB5D;kBAzBoB,wCAAwC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import User from '../../../User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class ReachuSchemeConfigVariant extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
version: number;
|
|
10
|
+
user: User;
|
|
11
|
+
templateChannel: TemplateChannel[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let ReachuSchemeConfigVariant = class ReachuSchemeConfigVariant extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], ReachuSchemeConfigVariant.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], ReachuSchemeConfigVariant.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ReachuSchemeConfigVariant.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ReachuSchemeConfigVariant.prototype, "url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ReachuSchemeConfigVariant.prototype, "version", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
43
|
+
typeorm_1.JoinColumn(),
|
|
44
|
+
__metadata("design:type", User_1.default)
|
|
45
|
+
], ReachuSchemeConfigVariant.prototype, "user", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.reachuSchemeConfigVariant, {
|
|
48
|
+
cascade: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], ReachuSchemeConfigVariant.prototype, "templateChannel", void 0);
|
|
52
|
+
ReachuSchemeConfigVariant = __decorate([
|
|
53
|
+
typeorm_1.Entity()
|
|
54
|
+
], ReachuSchemeConfigVariant);
|
|
55
|
+
exports.default = ReachuSchemeConfigVariant;
|
|
56
|
+
//# sourceMappingURL=ReachuSchemeConfigVariant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReachuSchemeConfigVariant.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeVariant/ReachuSchemeConfigVariant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCASiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,sBAAY;CA4BlE,CAAA;AA1BC;IADC,gCAAsB,EAAE;;qDACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;4DAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;uDAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,yBAAyB,EAC/E;QACE,OAAO,EAAE,IAAI;KACd,CACF;;kEACkC;AA3BhB,yBAAyB;IAD7C,gBAAM,EAAE;GACY,yBAAyB,CA4B7C;kBA5BoB,yBAAyB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import User from '../../../User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class TemplateChannelSchemeConfigVariant extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
version: number;
|
|
10
|
+
user: User;
|
|
11
|
+
templateChannel: TemplateChannel[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let TemplateChannelSchemeConfigVariant = class TemplateChannelSchemeConfigVariant extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], TemplateChannelSchemeConfigVariant.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], TemplateChannelSchemeConfigVariant.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TemplateChannelSchemeConfigVariant.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TemplateChannelSchemeConfigVariant.prototype, "url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TemplateChannelSchemeConfigVariant.prototype, "version", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
43
|
+
typeorm_1.JoinColumn(),
|
|
44
|
+
__metadata("design:type", User_1.default)
|
|
45
|
+
], TemplateChannelSchemeConfigVariant.prototype, "user", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.templateChannelSchemeConfigVariant, {
|
|
48
|
+
cascade: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], TemplateChannelSchemeConfigVariant.prototype, "templateChannel", void 0);
|
|
52
|
+
TemplateChannelSchemeConfigVariant = __decorate([
|
|
53
|
+
typeorm_1.Entity()
|
|
54
|
+
], TemplateChannelSchemeConfigVariant);
|
|
55
|
+
exports.default = TemplateChannelSchemeConfigVariant;
|
|
56
|
+
//# sourceMappingURL=TemplateChannelSchemeConfigVariant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateChannelSchemeConfigVariant.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCASiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,kCAAkC,GAAvD,MAAqB,kCAAmC,SAAQ,sBAAY;CA4B3E,CAAA;AA1BC;IADC,gCAAsB,EAAE;;8DACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;qEAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;gEAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,kCAAkC,EACxF;QACE,OAAO,EAAE,IAAI;KACd,CACF;;2EACkC;AA3BhB,kCAAkC;IADtD,gBAAM,EAAE;GACY,kCAAkC,CA4BtD;kBA5BoB,kCAAkC"}
|
package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import User from '../../../User';
|
|
2
|
+
import AuditedModel from '../../../AuditedModel';
|
|
3
|
+
import TemplateChannel from '../TemplateChannel';
|
|
4
|
+
export default class TemplateChannelSchemeConfigVariantMapped extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
version: number;
|
|
10
|
+
user: User;
|
|
11
|
+
templateChannel: TemplateChannel[];
|
|
12
|
+
}
|
package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const User_1 = __importDefault(require("../../../User"));
|
|
16
|
+
const typeorm_1 = require("typeorm");
|
|
17
|
+
const AuditedModel_1 = __importDefault(require("../../../AuditedModel"));
|
|
18
|
+
const TemplateChannel_1 = __importDefault(require("../TemplateChannel"));
|
|
19
|
+
let TemplateChannelSchemeConfigVariantMapped = class TemplateChannelSchemeConfigVariantMapped extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
typeorm_1.Column('varchar', { nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "url", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "version", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
typeorm_1.ManyToOne(() => User_1.default, (user) => user.id, { eager: true, onDelete: 'CASCADE' }),
|
|
43
|
+
typeorm_1.JoinColumn(),
|
|
44
|
+
__metadata("design:type", User_1.default)
|
|
45
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "user", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany(() => TemplateChannel_1.default, (templateChannel) => templateChannel.templateChannelSchemeConfigVariantMapped, {
|
|
48
|
+
cascade: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], TemplateChannelSchemeConfigVariantMapped.prototype, "templateChannel", void 0);
|
|
52
|
+
TemplateChannelSchemeConfigVariantMapped = __decorate([
|
|
53
|
+
typeorm_1.Entity()
|
|
54
|
+
], TemplateChannelSchemeConfigVariantMapped);
|
|
55
|
+
exports.default = TemplateChannelSchemeConfigVariantMapped;
|
|
56
|
+
//# sourceMappingURL=TemplateChannelSchemeConfigVariantMapped.js.map
|
package/dist/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateChannelSchemeConfigVariantMapped.js","sourceRoot":"","sources":["../../../../../src/entity/modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,yDAAiC;AACjC,qCASiB;AACjB,yEAAiD;AACjD,yEAAiD;AAGjD,IAAqB,wCAAwC,GAA7D,MAAqB,wCAAyC,SAAQ,sBAAY;CA4BjF,CAAA;AA1BC;IADC,gCAAsB,EAAE;;oEACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2EAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACzB;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEAC1B;AAGZ;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yEACtB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;sEAAC;AASX;IAPC,mBAAS,CACR,GAAG,EAAE,CAAC,yBAAe,EACrB,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,wCAAwC,EAC9F;QACE,OAAO,EAAE,IAAI;KACd,CACF;;iFACkC;AA3BhB,wCAAwC;IAD5D,gBAAM,EAAE;GACY,wCAAwC,CA4B5D;kBA5BoB,wCAAwC"}
|