@reachu/database 1.0.18 → 1.0.20
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/index.d.ts +16 -1
- package/dist/entity/index.js +31 -1
- package/dist/entity/index.js.map +1 -1
- package/dist/entity/modules/templates/TemplateChannel.d.ts +1 -0
- package/dist/entity/modules/templates/TemplateChannel.js +4 -0
- package/dist/entity/modules/templates/TemplateChannel.js.map +1 -1
- package/dist/migrations/1681167494090-template-channel-name.d.ts +6 -0
- package/dist/migrations/1681167494090-template-channel-name.js +29 -0
- package/dist/migrations/1681167494090-template-channel-name.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +114 -72
- package/package.json +3 -3
- package/src/entity/index.ts +35 -0
- package/src/entity/modules/templates/TemplateChannel.ts +4 -0
- package/src/migrations/1681167494090-template-channel-name.ts +14 -0
package/dist/entity/index.d.ts
CHANGED
|
@@ -71,4 +71,19 @@ import CustomProductImage from './CustomProductImage';
|
|
|
71
71
|
import Attribute from './Attribute';
|
|
72
72
|
import ProductAttribute from './ProductAttribute';
|
|
73
73
|
import CategoryImages from './CategoryImages';
|
|
74
|
-
|
|
74
|
+
import AuthInfo from './modules/templates/AuthInfo';
|
|
75
|
+
import AuthMethod from './modules/templates/AuthMethod';
|
|
76
|
+
import AuthMethodTemplateChannel from './modules/templates/AuthMethodTemplateChannel';
|
|
77
|
+
import EndpointTemplateChannel from './modules/templates/EndpointTemplateChannel';
|
|
78
|
+
import TemplateChannel from './modules/templates/TemplateChannel';
|
|
79
|
+
import UserTemplateChannel from './modules/templates/UserTemplateChannel';
|
|
80
|
+
import ReachuSchemeConfigOrder from './modules/templates/schemeOrder/ReachuSchemeConfigOrder';
|
|
81
|
+
import TemplateChannelSchemeConfigOrder from './modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder';
|
|
82
|
+
import TemplateChannelSchemeConfigOrderMapped from './modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped';
|
|
83
|
+
import ReachuSchemeConfigProduct from './modules/templates/schemeProduct/ReachuSchemeConfigProduct';
|
|
84
|
+
import TemplateChannelSchemeConfigProduct from './modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct';
|
|
85
|
+
import TemplateChannelSchemeConfigProductMapped from './modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped';
|
|
86
|
+
import ReachuSchemeConfigVariant from './modules/templates/schemeVariant/ReachuSchemeConfigVariant';
|
|
87
|
+
import TemplateChannelSchemeConfigVariant from './modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant';
|
|
88
|
+
import TemplateChannelSchemeConfigVariantMapped from './modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped';
|
|
89
|
+
export { CustomVariant, CustomProduct, CustomProductImage, Cart, CartItem, Checkout, CheckoutBillingAddress, CheckoutShippingAddress, PriceData, ProductShipping, Shipping, ShippingCountry, Address, ApiCredential, AuditedModel, BankAccount, Business, BusinessProducts, CardRegistration, Category, Channel, Check, CheckoutMetadata, Contact, Country, Courier, FlatRate, FlatRateCountry, Fulfillment, Image, ImportedProduct, MagentoConnection, MetricActiveUser, Notification, Option, Order, OrderCustomer, OrderItem, OrderShipping, OrderTracking, Payment, PaymentShopify, Permission, Price, Product, Request, Return, ReturnAddress, Role, RolePermission, ShippingPackage, ShopifyConnection, Subcategory, User, UserRole, Variant, Wallet, WooConnection, UserTokenWolt, UserSettings, PaymentMethod, Collection, CollectionItem, CollectionShared, ChannelGroup, ChannelUser, ChannelUserProductSync, UserChannelApiKey, Currency, ExchangeRate, Attribute, ProductAttribute, CategoryImages, AuthInfo, AuthMethod, AuthMethodTemplateChannel, EndpointTemplateChannel, TemplateChannel, UserTemplateChannel, ReachuSchemeConfigOrder, TemplateChannelSchemeConfigOrder, TemplateChannelSchemeConfigOrderMapped, ReachuSchemeConfigProduct, TemplateChannelSchemeConfigProduct, TemplateChannelSchemeConfigProductMapped, ReachuSchemeConfigVariant, TemplateChannelSchemeConfigVariant, TemplateChannelSchemeConfigVariantMapped, };
|
package/dist/entity/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.RolePermission = exports.Role = exports.ReturnAddress = exports.Return = exports.Request = exports.Product = exports.Price = exports.Permission = exports.PaymentShopify = exports.Payment = exports.OrderTracking = exports.OrderShipping = exports.OrderItem = exports.OrderCustomer = exports.Order = exports.Option = exports.Notification = exports.MetricActiveUser = exports.MagentoConnection = exports.ImportedProduct = exports.Image = exports.Fulfillment = exports.FlatRateCountry = exports.FlatRate = exports.Courier = exports.Country = exports.Contact = exports.CheckoutMetadata = exports.Check = exports.Channel = exports.Category = exports.CardRegistration = exports.BusinessProducts = exports.Business = exports.BankAccount = exports.AuditedModel = exports.ApiCredential = exports.Address = exports.ShippingCountry = exports.Shipping = exports.ProductShipping = exports.PriceData = exports.CheckoutShippingAddress = exports.CheckoutBillingAddress = exports.Checkout = exports.CartItem = exports.Cart = exports.CustomProductImage = exports.CustomProduct = exports.CustomVariant = void 0;
|
|
7
|
-
exports.CategoryImages = exports.ProductAttribute = exports.Attribute = exports.ExchangeRate = exports.Currency = exports.UserChannelApiKey = exports.ChannelUserProductSync = exports.ChannelUser = exports.ChannelGroup = exports.CollectionShared = exports.CollectionItem = exports.Collection = exports.PaymentMethod = exports.UserSettings = exports.UserTokenWolt = exports.WooConnection = exports.Wallet = exports.Variant = exports.UserRole = exports.User = exports.Subcategory = exports.ShopifyConnection = exports.ShippingPackage = void 0;
|
|
7
|
+
exports.TemplateChannelSchemeConfigVariantMapped = exports.TemplateChannelSchemeConfigVariant = exports.ReachuSchemeConfigVariant = exports.TemplateChannelSchemeConfigProductMapped = exports.TemplateChannelSchemeConfigProduct = exports.ReachuSchemeConfigProduct = exports.TemplateChannelSchemeConfigOrderMapped = exports.TemplateChannelSchemeConfigOrder = exports.ReachuSchemeConfigOrder = exports.UserTemplateChannel = exports.TemplateChannel = exports.EndpointTemplateChannel = exports.AuthMethodTemplateChannel = exports.AuthMethod = exports.AuthInfo = exports.CategoryImages = exports.ProductAttribute = exports.Attribute = exports.ExchangeRate = exports.Currency = exports.UserChannelApiKey = exports.ChannelUserProductSync = exports.ChannelUser = exports.ChannelGroup = exports.CollectionShared = exports.CollectionItem = exports.Collection = exports.PaymentMethod = exports.UserSettings = exports.UserTokenWolt = exports.WooConnection = exports.Wallet = exports.Variant = exports.UserRole = exports.User = exports.Subcategory = exports.ShopifyConnection = exports.ShippingPackage = void 0;
|
|
8
8
|
const Address_1 = __importDefault(require("./Address"));
|
|
9
9
|
exports.Address = Address_1.default;
|
|
10
10
|
const ApiCredential_1 = __importDefault(require("./ApiCredential"));
|
|
@@ -151,4 +151,34 @@ const ProductAttribute_1 = __importDefault(require("./ProductAttribute"));
|
|
|
151
151
|
exports.ProductAttribute = ProductAttribute_1.default;
|
|
152
152
|
const CategoryImages_1 = __importDefault(require("./CategoryImages"));
|
|
153
153
|
exports.CategoryImages = CategoryImages_1.default;
|
|
154
|
+
const AuthInfo_1 = __importDefault(require("./modules/templates/AuthInfo"));
|
|
155
|
+
exports.AuthInfo = AuthInfo_1.default;
|
|
156
|
+
const AuthMethod_1 = __importDefault(require("./modules/templates/AuthMethod"));
|
|
157
|
+
exports.AuthMethod = AuthMethod_1.default;
|
|
158
|
+
const AuthMethodTemplateChannel_1 = __importDefault(require("./modules/templates/AuthMethodTemplateChannel"));
|
|
159
|
+
exports.AuthMethodTemplateChannel = AuthMethodTemplateChannel_1.default;
|
|
160
|
+
const EndpointTemplateChannel_1 = __importDefault(require("./modules/templates/EndpointTemplateChannel"));
|
|
161
|
+
exports.EndpointTemplateChannel = EndpointTemplateChannel_1.default;
|
|
162
|
+
const TemplateChannel_1 = __importDefault(require("./modules/templates/TemplateChannel"));
|
|
163
|
+
exports.TemplateChannel = TemplateChannel_1.default;
|
|
164
|
+
const UserTemplateChannel_1 = __importDefault(require("./modules/templates/UserTemplateChannel"));
|
|
165
|
+
exports.UserTemplateChannel = UserTemplateChannel_1.default;
|
|
166
|
+
const ReachuSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/ReachuSchemeConfigOrder"));
|
|
167
|
+
exports.ReachuSchemeConfigOrder = ReachuSchemeConfigOrder_1.default;
|
|
168
|
+
const TemplateChannelSchemeConfigOrder_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder"));
|
|
169
|
+
exports.TemplateChannelSchemeConfigOrder = TemplateChannelSchemeConfigOrder_1.default;
|
|
170
|
+
const TemplateChannelSchemeConfigOrderMapped_1 = __importDefault(require("./modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped"));
|
|
171
|
+
exports.TemplateChannelSchemeConfigOrderMapped = TemplateChannelSchemeConfigOrderMapped_1.default;
|
|
172
|
+
const ReachuSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/ReachuSchemeConfigProduct"));
|
|
173
|
+
exports.ReachuSchemeConfigProduct = ReachuSchemeConfigProduct_1.default;
|
|
174
|
+
const TemplateChannelSchemeConfigProduct_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct"));
|
|
175
|
+
exports.TemplateChannelSchemeConfigProduct = TemplateChannelSchemeConfigProduct_1.default;
|
|
176
|
+
const TemplateChannelSchemeConfigProductMapped_1 = __importDefault(require("./modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped"));
|
|
177
|
+
exports.TemplateChannelSchemeConfigProductMapped = TemplateChannelSchemeConfigProductMapped_1.default;
|
|
178
|
+
const ReachuSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/ReachuSchemeConfigVariant"));
|
|
179
|
+
exports.ReachuSchemeConfigVariant = ReachuSchemeConfigVariant_1.default;
|
|
180
|
+
const TemplateChannelSchemeConfigVariant_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant"));
|
|
181
|
+
exports.TemplateChannelSchemeConfigVariant = TemplateChannelSchemeConfigVariant_1.default;
|
|
182
|
+
const TemplateChannelSchemeConfigVariantMapped_1 = __importDefault(require("./modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped"));
|
|
183
|
+
exports.TemplateChannelSchemeConfigVariantMapped = TemplateChannelSchemeConfigVariantMapped_1.default;
|
|
154
184
|
//# sourceMappingURL=index.js.map
|
package/dist/entity/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;AAAA,wDAAgC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entity/index.ts"],"names":[],"mappings":";;;;;;;AAAA,wDAAgC;AAiH9B,kBAjHK,iBAAO,CAiHL;AAhHT,oEAA4C;AAiH1C,wBAjHK,uBAAa,CAiHL;AAhHf,kEAA0C;AAiHxC,uBAjHK,sBAAY,CAiHL;AAhHd,gEAAwC;AAiHtC,sBAjHK,qBAAW,CAiHL;AAhHb,0DAAkC;AAiHhC,mBAjHK,kBAAQ,CAiHL;AAhHV,0EAAkD;AAiHhD,2BAjHK,0BAAgB,CAiHL;AAhHlB,0EAAkD;AAiHhD,2BAjHK,0BAAgB,CAiHL;AAhHlB,0DAAkC;AAiHhC,mBAjHK,kBAAQ,CAiHL;AAhHV,wDAAgC;AAiH9B,kBAjHK,iBAAO,CAiHL;AAhHT,oDAA4B;AAiH1B,gBAjHK,eAAK,CAiHL;AAhHP,0EAAkD;AAiHhD,2BAjHK,0BAAgB,CAiHL;AAhHlB,wDAAgC;AAiH9B,kBAjHK,iBAAO,CAiHL;AAhHT,wDAAgC;AAiH9B,kBAjHK,iBAAO,CAiHL;AAhHT,wDAAgC;AAiH9B,kBAjHK,iBAAO,CAiHL;AAhHT,0DAAkC;AAiHhC,mBAjHK,kBAAQ,CAiHL;AAhHV,wEAAgD;AAiH9C,0BAjHK,yBAAe,CAiHL;A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BL;AA5Bf,mDAAgD;AA6B9C,8FA7BO,6BAAa,OA6BP;AA5Bf,8EAAsD;AA6BpD,6BA7BK,4BAAkB,CA6BL;AA3BpB,4DAAoC;AA+FlC,oBA/FK,mBAAS,CA+FL;AA9FX,0EAAkD;AA+FhD,2BA/FK,0BAAgB,CA+FL;AA9FlB,sEAA8C;AA+F5C,yBA/FK,wBAAc,CA+FL;AA5FhB,4EAAoD;AA6FlD,mBA7FK,kBAAQ,CA6FL;AA5FV,gFAAwD;AA6FtD,qBA7FK,oBAAU,CA6FL;AA5FZ,8GAAsF;AA6FpF,oCA7FK,mCAAyB,CA6FL;AA5F3B,0GAAkF;AA6FhF,kCA7FK,iCAAuB,CA6FL;AA5FzB,0FAAkE;AA6FhE,0BA7FK,yBAAe,CA6FL;AA5FjB,kGAA0E;AA6FxE,8BA7FK,6BAAmB,CA6FL;AA3FrB,sHAA8F;AA4F5F,kCA5FK,iCAAuB,CA4FL;AA3FzB,wIAAgH;AA4F9G,2CA5FK,0CAAgC,CA4FL;AA3FlC,oJAA4H;AA4F1H,iDA5FK,gDAAsC,CA4FL;AA1FxC,4HAAoG;AA2FlG,oCA3FK,mCAAyB,CA2FL;AA1F3B,8IAAsH;AA2FpH,6CA3FK,4CAAkC,CA2FL;AA1FpC,0JAAkI;AA2FhI,mDA3FK,kDAAwC,CA2FL;AAzF1C,4HAAoG;AA0FlG,oCA1FK,mCAAyB,CA0FL;AAzF3B,8IAAsH;AA0FpH,6CA1FK,4CAAkC,CA0FL;AAzFpC,0JAAkI;AA0FhI,mDA1FK,kDAAwC,CA0FL"}
|
|
@@ -13,6 +13,7 @@ import TemplateChannelSchemeConfigOrderMapped from './schemeOrder/TemplateChanne
|
|
|
13
13
|
export default class TemplateChannel extends AuditedModel {
|
|
14
14
|
id: number;
|
|
15
15
|
deletedAt: Date;
|
|
16
|
+
name: string;
|
|
16
17
|
authMethodTemplateChannel: AuthMethodTemplateChannel;
|
|
17
18
|
userTemplateChannel: UserTemplateChannel[];
|
|
18
19
|
reachuSchemeConfigProduct: ReachuSchemeConfigProduct;
|
|
@@ -35,6 +35,10 @@ __decorate([
|
|
|
35
35
|
typeorm_1.DeleteDateColumn(),
|
|
36
36
|
__metadata("design:type", Date)
|
|
37
37
|
], TemplateChannel.prototype, "deletedAt", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
typeorm_1.Column('varchar', { nullable: false }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], TemplateChannel.prototype, "name", void 0);
|
|
38
42
|
__decorate([
|
|
39
43
|
typeorm_1.ManyToOne(() => AuthMethodTemplateChannel_1.default, (authMethodTemplateChannel) => authMethodTemplateChannel.templateChannel, {
|
|
40
44
|
eager: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateChannel.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/TemplateChannel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"TemplateChannel.js","sourceRoot":"","sources":["../../../../src/entity/modules/templates/TemplateChannel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,sEAA8C;AAC9C,4FAAoE;AACpE,gFAAwD;AACxD,0GAAkF;AAClF,4HAAoG;AACpG,wIAAgH;AAChH,0GAAkF;AAClF,4HAAoG;AACpG,wIAAgH;AAChH,oGAA4E;AAC5E,sHAA8F;AAC9F,kIAA0G;AAG1G,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,sBAAY;CAuIxD,CAAA;AArIC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;kDAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6CAC1B;AAYb;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,mCAAyB,EAC/B,CAAC,yBAAoD,EAAE,EAAE,CACvD,yBAAyB,CAAC,eAAe,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CAAC,eAAe,EACpD;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACuB,4CAAkC;2EAAC;AAYvE;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,kDAAwC,EAC9C,CAAC,wCAAkF,EAAE,EAAE,CACrF,wCAAwC,CAAC,eAAe,EAC1D;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BAC6B,kDAAwC;iFAAC;AAWnF;IATC,mBAAS,CACR,GAAG,EAAE,CAAC,iCAAuB,EAC7B,CAAC,uBAAgD,EAAE,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAC7F;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACY,iCAAuB;gEAAC;AAYjD;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,0CAAgC,EACtC,CAAC,gCAAkE,EAAE,EAAE,CACrE,gCAAgC,CAAC,eAAe,EAClD;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BACqB,0CAAgC;yEAAC;AAYnE;IAVC,mBAAS,CACR,GAAG,EAAE,CAAC,gDAAsC,EAC5C,CAAC,sCAA8E,EAAE,EAAE,CACjF,sCAAsC,CAAC,eAAe,EACxD;QACE,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,oBAAU,EAAE;8BAC2B,gDAAsC;+EAAC;AAtI5D,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAuInC;kBAvIoB,eAAe"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.templateChannelName1681167494090 = void 0;
|
|
13
|
+
class templateChannelName1681167494090 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'templateChannelName1681167494090';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`template_channel\` ADD \`name\` varchar(255) NOT NULL`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`template_channel\` DROP COLUMN \`name\``);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.templateChannelName1681167494090 = templateChannelName1681167494090;
|
|
29
|
+
//# sourceMappingURL=1681167494090-template-channel-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1681167494090-template-channel-name.js","sourceRoot":"","sources":["../../src/migrations/1681167494090-template-channel-name.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,gCAAgC;IAA7C;QACI,SAAI,GAAG,kCAAkC,CAAA;IAU7C,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,qEAAqE,CAAC,CAAC;QACnG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAC;QACrF,CAAC;KAAA;CAEJ;AAXD,4EAWC"}
|
|
@@ -2621,76 +2621,6 @@
|
|
|
2621
2621
|
"signature": "edfc427eed5128dec1fecd84338bbbf23d9737b2b637ef70601411e733545186",
|
|
2622
2622
|
"affectsGlobalScope": false
|
|
2623
2623
|
},
|
|
2624
|
-
"../src/entity/index.ts": {
|
|
2625
|
-
"version": "144582c2fc899b1b172056c49b698fa1d904a0c0c241bca68ded469236ead98f",
|
|
2626
|
-
"signature": "c41c2724dee5f5006abbec545a39e37670f3a02b7c049271016b91e2c181f5cb",
|
|
2627
|
-
"affectsGlobalScope": false
|
|
2628
|
-
},
|
|
2629
|
-
"../src/staticdata/productorigin.ts": {
|
|
2630
|
-
"version": "1ccf520ee996218eedef163aefd5a307b4149b9c3a1567406ed21816804c60d7",
|
|
2631
|
-
"signature": "db62bc8b0a86b8f61cf121b80d8e22832766d88f3db21531a6a42b8a6d62dbdf",
|
|
2632
|
-
"affectsGlobalScope": false
|
|
2633
|
-
},
|
|
2634
|
-
"../src/staticdata/channelname.ts": {
|
|
2635
|
-
"version": "c67459951cb000e21286a1e4bac9521db4c9bb5e5550c5cc63c293f5ae75a42c",
|
|
2636
|
-
"signature": "3f33a6269980f160d76c1ef516100e80d8582e44e79d03f368603fa067c046ea",
|
|
2637
|
-
"affectsGlobalScope": false
|
|
2638
|
-
},
|
|
2639
|
-
"../src/staticdata/paymentprocessor.ts": {
|
|
2640
|
-
"version": "679e4363d982f0a16c61123892aa7b34d51e08e73ab59aeba7bbe33df4960b31",
|
|
2641
|
-
"signature": "f38f648c6f5b3bc160374986db30b13d774f9746739dce8e3255e8225e562fe8",
|
|
2642
|
-
"affectsGlobalScope": false
|
|
2643
|
-
},
|
|
2644
|
-
"../src/staticdata/trackingprocessor.ts": {
|
|
2645
|
-
"version": "ebfeae3b2e456ae2dbfc314c4b5a87a23b9ab22910e64210a0029a5f2a3f2bf3",
|
|
2646
|
-
"signature": "a513ff31cfe3a0a9bfa0e1a4e256e76a410aa9e48d495c8cdb3e609bc14c7e46",
|
|
2647
|
-
"affectsGlobalScope": false
|
|
2648
|
-
},
|
|
2649
|
-
"../src/staticdata/vippspaymentstatus.ts": {
|
|
2650
|
-
"version": "165e39f8e53ebdc38bf583cc4ef06cc8ce655c1742306b0826575891604ef9b8",
|
|
2651
|
-
"signature": "c3683797938ae02e3a7f33f2dc7ec2fe2ea47534f9afa368a1993ebd1c80cf7c",
|
|
2652
|
-
"affectsGlobalScope": false
|
|
2653
|
-
},
|
|
2654
|
-
"../src/staticdata/orderstatus.ts": {
|
|
2655
|
-
"version": "5af3bcd9f8497301fb355f06c3799c85185f32c0f9b2b8fece695771488e282b",
|
|
2656
|
-
"signature": "1c3cfe0f02caabde88a8d76539e439416de508575e4fd31879aab23e76688376",
|
|
2657
|
-
"affectsGlobalScope": false
|
|
2658
|
-
},
|
|
2659
|
-
"../src/staticdata/connectiontype.ts": {
|
|
2660
|
-
"version": "4c6b7b3279b887bebf982ccfd8873e45cc55f797175b0d65baddebac75f79ad3",
|
|
2661
|
-
"signature": "ed9fc4f26976ba760800ed4a5b7a73d0fe8062950d64f35f690f3506ab5bd1a7",
|
|
2662
|
-
"affectsGlobalScope": false
|
|
2663
|
-
},
|
|
2664
|
-
"../src/staticdata/index.ts": {
|
|
2665
|
-
"version": "993a0c2b33d7e5b23a07f5ce5ed13f7a1eedeb11d0db1cfcfa0a793b06a26d41",
|
|
2666
|
-
"signature": "882f7b089c5e21aface22a8006c47bafc5e144bc95f97ef0d90b3f6253e616ee",
|
|
2667
|
-
"affectsGlobalScope": false
|
|
2668
|
-
},
|
|
2669
|
-
"../node_modules/typeorm-naming-strategies/snake-naming.strategy.d.ts": {
|
|
2670
|
-
"version": "694a8d8bcd1bf23d3987162526f5be05e4a8410f1fa9cf2ff4c9e3e0ae70318f",
|
|
2671
|
-
"signature": "694a8d8bcd1bf23d3987162526f5be05e4a8410f1fa9cf2ff4c9e3e0ae70318f",
|
|
2672
|
-
"affectsGlobalScope": false
|
|
2673
|
-
},
|
|
2674
|
-
"../node_modules/typeorm-naming-strategies/index.d.ts": {
|
|
2675
|
-
"version": "902e677c4f9c4ea45c5c7abc03badffe8fc5a881a1476bd50c86538508fa088b",
|
|
2676
|
-
"signature": "902e677c4f9c4ea45c5c7abc03badffe8fc5a881a1476bd50c86538508fa088b",
|
|
2677
|
-
"affectsGlobalScope": false
|
|
2678
|
-
},
|
|
2679
|
-
"../src/interface/connectionconfig.ts": {
|
|
2680
|
-
"version": "539c458bdbf593ab6521c159c109542b76714d34c44e324662d6238e2cd22ac5",
|
|
2681
|
-
"signature": "ec1013c93a5976c3728493cd54a12ec58e9885199b3471dbf684629a87ea6dab",
|
|
2682
|
-
"affectsGlobalScope": false
|
|
2683
|
-
},
|
|
2684
|
-
"../src/repositories/shopcart/index.ts": {
|
|
2685
|
-
"version": "b6dfb355b4ba1c733a4b7132bdd3788f62c964027e3cd731f1eb351d5c91b76f",
|
|
2686
|
-
"signature": "0da4f6211d474ea9add2e11c4a9db08afa71cee728f2aba9eeced336e606d9c7",
|
|
2687
|
-
"affectsGlobalScope": false
|
|
2688
|
-
},
|
|
2689
|
-
"../src/repositories/shipping/index.ts": {
|
|
2690
|
-
"version": "ff9553d27654e509a49bfb109815260dc2ba9c46c0e337943b7bde4dcbf1edfb",
|
|
2691
|
-
"signature": "cd78fffa99ba9e4df14f7d5933e12b2a2334a1684a148a66e9754b30c96b9ab4",
|
|
2692
|
-
"affectsGlobalScope": false
|
|
2693
|
-
},
|
|
2694
2624
|
"../src/entity/modules/templates/authmethod.ts": {
|
|
2695
2625
|
"version": "2d07f3895d7170defc689f7b65a03cb2ae61371ac30333d8ccd7683afcfa424a",
|
|
2696
2626
|
"signature": "e739ac5fd48e3670eae18f3bce349e51f474a03d34579b6f03e271d74217b9f0",
|
|
@@ -2752,8 +2682,8 @@
|
|
|
2752
2682
|
"affectsGlobalScope": false
|
|
2753
2683
|
},
|
|
2754
2684
|
"../src/entity/modules/templates/templatechannel.ts": {
|
|
2755
|
-
"version": "
|
|
2756
|
-
"signature": "
|
|
2685
|
+
"version": "5913887d1b37627eed11f49f8b1288e3590215fb6de669df5eb3cfc3f6e7c85b",
|
|
2686
|
+
"signature": "d08ce84d7d1ffbe7012303bf759610f6ea6fc7336866015e309e9e0c49bbaf20",
|
|
2757
2687
|
"affectsGlobalScope": false
|
|
2758
2688
|
},
|
|
2759
2689
|
"../src/entity/modules/templates/authmethodtemplatechannel.ts": {
|
|
@@ -2766,6 +2696,76 @@
|
|
|
2766
2696
|
"signature": "7dd0fb7acd0eb0decbbbb318e1ac3d946b5bad4698a51cd02afbe8c7eea387f0",
|
|
2767
2697
|
"affectsGlobalScope": false
|
|
2768
2698
|
},
|
|
2699
|
+
"../src/entity/index.ts": {
|
|
2700
|
+
"version": "1a538b65d788ddb70bc012e62b063e50396c26410832a35a402331f0284ed7ad",
|
|
2701
|
+
"signature": "6e1db3ca9ec5ae79192bb6bcdf6565b0990b06cbd18dc1de7fc0f10100dcfa2f",
|
|
2702
|
+
"affectsGlobalScope": false
|
|
2703
|
+
},
|
|
2704
|
+
"../src/staticdata/productorigin.ts": {
|
|
2705
|
+
"version": "1ccf520ee996218eedef163aefd5a307b4149b9c3a1567406ed21816804c60d7",
|
|
2706
|
+
"signature": "db62bc8b0a86b8f61cf121b80d8e22832766d88f3db21531a6a42b8a6d62dbdf",
|
|
2707
|
+
"affectsGlobalScope": false
|
|
2708
|
+
},
|
|
2709
|
+
"../src/staticdata/channelname.ts": {
|
|
2710
|
+
"version": "c67459951cb000e21286a1e4bac9521db4c9bb5e5550c5cc63c293f5ae75a42c",
|
|
2711
|
+
"signature": "3f33a6269980f160d76c1ef516100e80d8582e44e79d03f368603fa067c046ea",
|
|
2712
|
+
"affectsGlobalScope": false
|
|
2713
|
+
},
|
|
2714
|
+
"../src/staticdata/paymentprocessor.ts": {
|
|
2715
|
+
"version": "679e4363d982f0a16c61123892aa7b34d51e08e73ab59aeba7bbe33df4960b31",
|
|
2716
|
+
"signature": "f38f648c6f5b3bc160374986db30b13d774f9746739dce8e3255e8225e562fe8",
|
|
2717
|
+
"affectsGlobalScope": false
|
|
2718
|
+
},
|
|
2719
|
+
"../src/staticdata/trackingprocessor.ts": {
|
|
2720
|
+
"version": "ebfeae3b2e456ae2dbfc314c4b5a87a23b9ab22910e64210a0029a5f2a3f2bf3",
|
|
2721
|
+
"signature": "a513ff31cfe3a0a9bfa0e1a4e256e76a410aa9e48d495c8cdb3e609bc14c7e46",
|
|
2722
|
+
"affectsGlobalScope": false
|
|
2723
|
+
},
|
|
2724
|
+
"../src/staticdata/vippspaymentstatus.ts": {
|
|
2725
|
+
"version": "165e39f8e53ebdc38bf583cc4ef06cc8ce655c1742306b0826575891604ef9b8",
|
|
2726
|
+
"signature": "c3683797938ae02e3a7f33f2dc7ec2fe2ea47534f9afa368a1993ebd1c80cf7c",
|
|
2727
|
+
"affectsGlobalScope": false
|
|
2728
|
+
},
|
|
2729
|
+
"../src/staticdata/orderstatus.ts": {
|
|
2730
|
+
"version": "5af3bcd9f8497301fb355f06c3799c85185f32c0f9b2b8fece695771488e282b",
|
|
2731
|
+
"signature": "1c3cfe0f02caabde88a8d76539e439416de508575e4fd31879aab23e76688376",
|
|
2732
|
+
"affectsGlobalScope": false
|
|
2733
|
+
},
|
|
2734
|
+
"../src/staticdata/connectiontype.ts": {
|
|
2735
|
+
"version": "4c6b7b3279b887bebf982ccfd8873e45cc55f797175b0d65baddebac75f79ad3",
|
|
2736
|
+
"signature": "ed9fc4f26976ba760800ed4a5b7a73d0fe8062950d64f35f690f3506ab5bd1a7",
|
|
2737
|
+
"affectsGlobalScope": false
|
|
2738
|
+
},
|
|
2739
|
+
"../src/staticdata/index.ts": {
|
|
2740
|
+
"version": "993a0c2b33d7e5b23a07f5ce5ed13f7a1eedeb11d0db1cfcfa0a793b06a26d41",
|
|
2741
|
+
"signature": "882f7b089c5e21aface22a8006c47bafc5e144bc95f97ef0d90b3f6253e616ee",
|
|
2742
|
+
"affectsGlobalScope": false
|
|
2743
|
+
},
|
|
2744
|
+
"../node_modules/typeorm-naming-strategies/snake-naming.strategy.d.ts": {
|
|
2745
|
+
"version": "694a8d8bcd1bf23d3987162526f5be05e4a8410f1fa9cf2ff4c9e3e0ae70318f",
|
|
2746
|
+
"signature": "694a8d8bcd1bf23d3987162526f5be05e4a8410f1fa9cf2ff4c9e3e0ae70318f",
|
|
2747
|
+
"affectsGlobalScope": false
|
|
2748
|
+
},
|
|
2749
|
+
"../node_modules/typeorm-naming-strategies/index.d.ts": {
|
|
2750
|
+
"version": "902e677c4f9c4ea45c5c7abc03badffe8fc5a881a1476bd50c86538508fa088b",
|
|
2751
|
+
"signature": "902e677c4f9c4ea45c5c7abc03badffe8fc5a881a1476bd50c86538508fa088b",
|
|
2752
|
+
"affectsGlobalScope": false
|
|
2753
|
+
},
|
|
2754
|
+
"../src/interface/connectionconfig.ts": {
|
|
2755
|
+
"version": "539c458bdbf593ab6521c159c109542b76714d34c44e324662d6238e2cd22ac5",
|
|
2756
|
+
"signature": "ec1013c93a5976c3728493cd54a12ec58e9885199b3471dbf684629a87ea6dab",
|
|
2757
|
+
"affectsGlobalScope": false
|
|
2758
|
+
},
|
|
2759
|
+
"../src/repositories/shopcart/index.ts": {
|
|
2760
|
+
"version": "b6dfb355b4ba1c733a4b7132bdd3788f62c964027e3cd731f1eb351d5c91b76f",
|
|
2761
|
+
"signature": "0da4f6211d474ea9add2e11c4a9db08afa71cee728f2aba9eeced336e606d9c7",
|
|
2762
|
+
"affectsGlobalScope": false
|
|
2763
|
+
},
|
|
2764
|
+
"../src/repositories/shipping/index.ts": {
|
|
2765
|
+
"version": "ff9553d27654e509a49bfb109815260dc2ba9c46c0e337943b7bde4dcbf1edfb",
|
|
2766
|
+
"signature": "cd78fffa99ba9e4df14f7d5933e12b2a2334a1684a148a66e9754b30c96b9ab4",
|
|
2767
|
+
"affectsGlobalScope": false
|
|
2768
|
+
},
|
|
2769
2769
|
"../src/repositories/templates/index.ts": {
|
|
2770
2770
|
"version": "58131728a5716e0c08bd72fbdf5ce9e43d86cfa04b534620923cbd43491964ac",
|
|
2771
2771
|
"signature": "726bdeabb6a86532e250e39d577c1095e4998f9bc8bb24b72180c027fa9eca74",
|
|
@@ -3116,6 +3116,11 @@
|
|
|
3116
3116
|
"signature": "1916b85a9f87d6c7564aac30d2c7d984413d110272a707efa012e2b738ae315d",
|
|
3117
3117
|
"affectsGlobalScope": false
|
|
3118
3118
|
},
|
|
3119
|
+
"../src/migrations/1681167494090-template-channel-name.ts": {
|
|
3120
|
+
"version": "d7898605e194af7189b618411055842d436335054aac7f074bf6fc235647e454",
|
|
3121
|
+
"signature": "78e72c194424768e760aa11b0776fc9b80bf4bf9a9fbbfb64609b9f8cadc21a4",
|
|
3122
|
+
"affectsGlobalScope": false
|
|
3123
|
+
},
|
|
3119
3124
|
"../src/migrations/execute/index.ts": {
|
|
3120
3125
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3121
3126
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
@@ -5260,6 +5265,21 @@
|
|
|
5260
5265
|
"../src/entity/modules/shopcart/checkoutbillingaddress.ts",
|
|
5261
5266
|
"../src/entity/modules/shopcart/checkoutshippingaddress.ts",
|
|
5262
5267
|
"../src/entity/modules/shopcart/pricedata.ts",
|
|
5268
|
+
"../src/entity/modules/templates/authinfo.ts",
|
|
5269
|
+
"../src/entity/modules/templates/authmethod.ts",
|
|
5270
|
+
"../src/entity/modules/templates/authmethodtemplatechannel.ts",
|
|
5271
|
+
"../src/entity/modules/templates/endpointtemplatechannel.ts",
|
|
5272
|
+
"../src/entity/modules/templates/schemeorder/reachuschemeconfigorder.ts",
|
|
5273
|
+
"../src/entity/modules/templates/schemeorder/templatechannelschemeconfigorder.ts",
|
|
5274
|
+
"../src/entity/modules/templates/schemeorder/templatechannelschemeconfigordermapped.ts",
|
|
5275
|
+
"../src/entity/modules/templates/schemeproduct/reachuschemeconfigproduct.ts",
|
|
5276
|
+
"../src/entity/modules/templates/schemeproduct/templatechannelschemeconfigproduct.ts",
|
|
5277
|
+
"../src/entity/modules/templates/schemeproduct/templatechannelschemeconfigproductmapped.ts",
|
|
5278
|
+
"../src/entity/modules/templates/schemevariant/reachuschemeconfigvariant.ts",
|
|
5279
|
+
"../src/entity/modules/templates/schemevariant/templatechannelschemeconfigvariant.ts",
|
|
5280
|
+
"../src/entity/modules/templates/schemevariant/templatechannelschemeconfigvariantmapped.ts",
|
|
5281
|
+
"../src/entity/modules/templates/templatechannel.ts",
|
|
5282
|
+
"../src/entity/modules/templates/usertemplatechannel.ts",
|
|
5263
5283
|
"../src/entity/notification.ts",
|
|
5264
5284
|
"../src/entity/option.ts",
|
|
5265
5285
|
"../src/entity/order.ts",
|
|
@@ -5818,6 +5838,9 @@
|
|
|
5818
5838
|
"../src/migrations/1680581444059-template.ts": [
|
|
5819
5839
|
"../node_modules/typeorm/index.d.ts"
|
|
5820
5840
|
],
|
|
5841
|
+
"../src/migrations/1681167494090-template-channel-name.ts": [
|
|
5842
|
+
"../node_modules/typeorm/index.d.ts"
|
|
5843
|
+
],
|
|
5821
5844
|
"../src/migrations/execute/index.ts": [
|
|
5822
5845
|
"../src/config/connect.ts"
|
|
5823
5846
|
],
|
|
@@ -7902,6 +7925,21 @@
|
|
|
7902
7925
|
"../src/entity/modules/shopcart/checkoutbillingaddress.ts",
|
|
7903
7926
|
"../src/entity/modules/shopcart/checkoutshippingaddress.ts",
|
|
7904
7927
|
"../src/entity/modules/shopcart/pricedata.ts",
|
|
7928
|
+
"../src/entity/modules/templates/authinfo.ts",
|
|
7929
|
+
"../src/entity/modules/templates/authmethod.ts",
|
|
7930
|
+
"../src/entity/modules/templates/authmethodtemplatechannel.ts",
|
|
7931
|
+
"../src/entity/modules/templates/endpointtemplatechannel.ts",
|
|
7932
|
+
"../src/entity/modules/templates/schemeorder/reachuschemeconfigorder.ts",
|
|
7933
|
+
"../src/entity/modules/templates/schemeorder/templatechannelschemeconfigorder.ts",
|
|
7934
|
+
"../src/entity/modules/templates/schemeorder/templatechannelschemeconfigordermapped.ts",
|
|
7935
|
+
"../src/entity/modules/templates/schemeproduct/reachuschemeconfigproduct.ts",
|
|
7936
|
+
"../src/entity/modules/templates/schemeproduct/templatechannelschemeconfigproduct.ts",
|
|
7937
|
+
"../src/entity/modules/templates/schemeproduct/templatechannelschemeconfigproductmapped.ts",
|
|
7938
|
+
"../src/entity/modules/templates/schemevariant/reachuschemeconfigvariant.ts",
|
|
7939
|
+
"../src/entity/modules/templates/schemevariant/templatechannelschemeconfigvariant.ts",
|
|
7940
|
+
"../src/entity/modules/templates/schemevariant/templatechannelschemeconfigvariantmapped.ts",
|
|
7941
|
+
"../src/entity/modules/templates/templatechannel.ts",
|
|
7942
|
+
"../src/entity/modules/templates/usertemplatechannel.ts",
|
|
7905
7943
|
"../src/entity/notification.ts",
|
|
7906
7944
|
"../src/entity/option.ts",
|
|
7907
7945
|
"../src/entity/order.ts",
|
|
@@ -8372,6 +8410,9 @@
|
|
|
8372
8410
|
"../src/migrations/1680581444059-template.ts": [
|
|
8373
8411
|
"../node_modules/typeorm/index.d.ts"
|
|
8374
8412
|
],
|
|
8413
|
+
"../src/migrations/1681167494090-template-channel-name.ts": [
|
|
8414
|
+
"../node_modules/typeorm/index.d.ts"
|
|
8415
|
+
],
|
|
8375
8416
|
"../src/migrations/index.ts": [
|
|
8376
8417
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
8377
8418
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9134,6 +9175,7 @@
|
|
|
9134
9175
|
"../src/migrations/1678115824175-task-1098v1.ts",
|
|
9135
9176
|
"../src/migrations/1679329902116-promote_to_production_2023_03_20.ts",
|
|
9136
9177
|
"../src/migrations/1680581444059-template.ts",
|
|
9178
|
+
"../src/migrations/1681167494090-template-channel-name.ts",
|
|
9137
9179
|
"../src/migrations/execute/index.ts",
|
|
9138
9180
|
"../src/migrations/index.ts",
|
|
9139
9181
|
"../src/repositories/index.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reachu/database",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "reachu-database",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"author": "reachu",
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@reachu/logger": "1.0.
|
|
25
|
-
"@reachu/utils": "1.0.
|
|
24
|
+
"@reachu/logger": "1.0.20",
|
|
25
|
+
"@reachu/utils": "1.0.20",
|
|
26
26
|
"dotenv": "8.0.0",
|
|
27
27
|
"express": "4.17.1",
|
|
28
28
|
"mysql2": "1.5.2",
|
package/src/entity/index.ts
CHANGED
|
@@ -78,6 +78,26 @@ import Attribute from './Attribute';
|
|
|
78
78
|
import ProductAttribute from './ProductAttribute';
|
|
79
79
|
import CategoryImages from './CategoryImages';
|
|
80
80
|
|
|
81
|
+
//templates
|
|
82
|
+
import AuthInfo from './modules/templates/AuthInfo';
|
|
83
|
+
import AuthMethod from './modules/templates/AuthMethod';
|
|
84
|
+
import AuthMethodTemplateChannel from './modules/templates/AuthMethodTemplateChannel';
|
|
85
|
+
import EndpointTemplateChannel from './modules/templates/EndpointTemplateChannel';
|
|
86
|
+
import TemplateChannel from './modules/templates/TemplateChannel';
|
|
87
|
+
import UserTemplateChannel from './modules/templates/UserTemplateChannel';
|
|
88
|
+
|
|
89
|
+
import ReachuSchemeConfigOrder from './modules/templates/schemeOrder/ReachuSchemeConfigOrder';
|
|
90
|
+
import TemplateChannelSchemeConfigOrder from './modules/templates/schemeOrder/TemplateChannelSchemeConfigOrder';
|
|
91
|
+
import TemplateChannelSchemeConfigOrderMapped from './modules/templates/schemeOrder/TemplateChannelSchemeConfigOrderMapped';
|
|
92
|
+
|
|
93
|
+
import ReachuSchemeConfigProduct from './modules/templates/schemeProduct/ReachuSchemeConfigProduct';
|
|
94
|
+
import TemplateChannelSchemeConfigProduct from './modules/templates/schemeProduct/TemplateChannelSchemeConfigProduct';
|
|
95
|
+
import TemplateChannelSchemeConfigProductMapped from './modules/templates/schemeProduct/TemplateChannelSchemeConfigProductMapped';
|
|
96
|
+
|
|
97
|
+
import ReachuSchemeConfigVariant from './modules/templates/schemeVariant/ReachuSchemeConfigVariant';
|
|
98
|
+
import TemplateChannelSchemeConfigVariant from './modules/templates/schemeVariant/TemplateChannelSchemeConfigVariant';
|
|
99
|
+
import TemplateChannelSchemeConfigVariantMapped from './modules/templates/schemeVariant/TemplateChannelSchemeConfigVariantMapped';
|
|
100
|
+
|
|
81
101
|
export {
|
|
82
102
|
CustomVariant,
|
|
83
103
|
CustomProduct,
|
|
@@ -152,4 +172,19 @@ export {
|
|
|
152
172
|
Attribute,
|
|
153
173
|
ProductAttribute,
|
|
154
174
|
CategoryImages,
|
|
175
|
+
AuthInfo,
|
|
176
|
+
AuthMethod,
|
|
177
|
+
AuthMethodTemplateChannel,
|
|
178
|
+
EndpointTemplateChannel,
|
|
179
|
+
TemplateChannel,
|
|
180
|
+
UserTemplateChannel,
|
|
181
|
+
ReachuSchemeConfigOrder,
|
|
182
|
+
TemplateChannelSchemeConfigOrder,
|
|
183
|
+
TemplateChannelSchemeConfigOrderMapped,
|
|
184
|
+
ReachuSchemeConfigProduct,
|
|
185
|
+
TemplateChannelSchemeConfigProduct,
|
|
186
|
+
TemplateChannelSchemeConfigProductMapped,
|
|
187
|
+
ReachuSchemeConfigVariant,
|
|
188
|
+
TemplateChannelSchemeConfigVariant,
|
|
189
|
+
TemplateChannelSchemeConfigVariantMapped,
|
|
155
190
|
};
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
JoinColumn,
|
|
6
6
|
ManyToOne,
|
|
7
7
|
OneToMany,
|
|
8
|
+
Column,
|
|
8
9
|
} from 'typeorm';
|
|
9
10
|
import AuditedModel from '../../AuditedModel';
|
|
10
11
|
import AuthMethodTemplateChannel from './AuthMethodTemplateChannel';
|
|
@@ -27,6 +28,9 @@ export default class TemplateChannel extends AuditedModel {
|
|
|
27
28
|
@DeleteDateColumn()
|
|
28
29
|
deletedAt: Date;
|
|
29
30
|
|
|
31
|
+
@Column('varchar', { nullable: false })
|
|
32
|
+
name: string;
|
|
33
|
+
|
|
30
34
|
@ManyToOne(
|
|
31
35
|
() => AuthMethodTemplateChannel,
|
|
32
36
|
(authMethodTemplateChannel: AuthMethodTemplateChannel) =>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class templateChannelName1681167494090 implements MigrationInterface {
|
|
4
|
+
name = 'templateChannelName1681167494090'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`template_channel\` ADD \`name\` varchar(255) NOT NULL`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`template_channel\` DROP COLUMN \`name\``);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|