@reachu/database 1.0.92 → 1.0.94
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/ImportedProduct.js +1 -1
- package/dist/entity/ImportedProduct.js.map +1 -1
- package/dist/entity/Variant.d.ts +1 -0
- package/dist/entity/Variant.js +4 -0
- package/dist/entity/Variant.js.map +1 -1
- package/dist/entity/index.d.ts +5 -1
- package/dist/entity/index.js +9 -1
- package/dist/entity/index.js.map +1 -1
- package/dist/entity/modules/discount/Discount.d.ts +16 -0
- package/dist/entity/modules/discount/Discount.js +72 -0
- package/dist/entity/modules/discount/Discount.js.map +1 -0
- package/dist/entity/modules/discount/DiscountCart.d.ts +9 -0
- package/dist/entity/modules/discount/DiscountCart.js +47 -0
- package/dist/entity/modules/discount/DiscountCart.js.map +1 -0
- package/dist/entity/modules/discount/DiscountProduct.d.ts +9 -0
- package/dist/entity/modules/discount/DiscountProduct.js +47 -0
- package/dist/entity/modules/discount/DiscountProduct.js.map +1 -0
- package/dist/entity/modules/discount/DiscountType.d.ts +8 -0
- package/dist/entity/modules/discount/DiscountType.js +41 -0
- package/dist/entity/modules/discount/DiscountType.js.map +1 -0
- package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.d.ts +6 -0
- package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js +31 -0
- package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js.map +1 -0
- package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.d.ts +6 -0
- package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js +31 -0
- package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js.map +1 -0
- package/dist/migrations/1689005718747-add-active-colum-in-variant.d.ts +6 -0
- package/dist/migrations/1689005718747-add-active-colum-in-variant.js +47 -0
- package/dist/migrations/1689005718747-add-active-colum-in-variant.js.map +1 -0
- package/dist/migrations/1689020331011-add-discount.d.ts +6 -0
- package/dist/migrations/1689020331011-add-discount.js +45 -0
- package/dist/migrations/1689020331011-add-discount.js.map +1 -0
- package/dist/repositories/discount/index.d.ts +13 -0
- package/dist/repositories/discount/index.js +42 -0
- package/dist/repositories/discount/index.js.map +1 -0
- package/dist/repositories/index.d.ts +2 -0
- package/dist/repositories/index.js +6 -1
- package/dist/repositories/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +153 -7
- package/package.json +3 -3
- package/src/entity/ImportedProduct.ts +1 -1
- package/src/entity/Variant.ts +3 -0
- package/src/entity/index.ts +10 -0
- package/src/entity/modules/discount/Discount.ts +52 -0
- package/src/entity/modules/discount/DiscountCart.ts +25 -0
- package/src/entity/modules/discount/DiscountProduct.ts +25 -0
- package/src/entity/modules/discount/DiscountType.ts +26 -0
- package/src/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.ts +16 -0
- package/src/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.ts +16 -0
- package/src/migrations/1689005718747-add-active-colum-in-variant.ts +32 -0
- package/src/migrations/1689020331011-add-discount.ts +30 -0
- package/src/repositories/discount/index.ts +18 -0
- package/src/repositories/index.ts +14 -0
|
@@ -61,7 +61,7 @@ __decorate([
|
|
|
61
61
|
__metadata("design:type", String)
|
|
62
62
|
], ImportedProduct.prototype, "woltId", void 0);
|
|
63
63
|
__decorate([
|
|
64
|
-
typeorm_1.ManyToOne(() =>
|
|
64
|
+
typeorm_1.ManyToOne(() => ChannelUser_1.default, { nullable: true }),
|
|
65
65
|
typeorm_1.JoinColumn(),
|
|
66
66
|
__metadata("design:type", ChannelUser_1.default)
|
|
67
67
|
], ImportedProduct.prototype, "channelUser", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImportedProduct.js","sourceRoot":"","sources":["../../src/entity/ImportedProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,qDAA2C;AAC3C,kDAA0B;AAC1B,gEAAwC;AA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("design:type", Price_entity_1.Price)
|
|
52
52
|
], Variant.prototype, "originalPrice", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
typeorm_1.Column('boolean', { default: true }),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], Variant.prototype, "active", void 0);
|
|
53
57
|
__decorate([
|
|
54
58
|
typeorm_1.ManyToOne(() => Product_entity_1.Product, (product) => product.variants, { onDelete: 'CASCADE' }),
|
|
55
59
|
typeorm_1.JoinColumn(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variant.js","sourceRoot":"","sources":["../../src/entity/Variant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,oEAA4C;AAC5C,iDAAuC;AACvC,qDAA2C;AAG3C,IAAqB,OAAO,GAA5B,MAAqB,OAAO;
|
|
1
|
+
{"version":3,"file":"Variant.js","sourceRoot":"","sources":["../../src/entity/Variant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,oEAA4C;AAC5C,iDAAuC;AACvC,qDAA2C;AAG3C,IAAqB,OAAO,GAA5B,MAAqB,OAAO;CAyC3B,CAAA;AAvCC;IADC,gCAAsB,EAAE;;mCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;0CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sCACxB;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oCAC1B;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACrB;AAGjB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yCACrB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sCACjD;AAGf;IADC,gBAAM,CAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;8BAC3B,oBAAK;8CAAC;AAGrB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;uCACrB;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAChF,oBAAU,EAAE;8BACJ,wBAAO;wCAAC;AAIjB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,uBAAa,EAAE,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACjG,oBAAU,EAAE;8BACE,uBAAa;8CAAC;AAG7B;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACpB;AAGlB;IADC,gBAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;2CACzD;AAxCA,OAAO;IAD3B,gBAAM,EAAE;GACY,OAAO,CAyC3B;kBAzCoB,OAAO"}
|
package/dist/entity/index.d.ts
CHANGED
|
@@ -93,4 +93,8 @@ import Subscription from './modules/subscriptions/Subscription';
|
|
|
93
93
|
import UserCountPlan from './modules/subscriptions/UserCountPlan';
|
|
94
94
|
import Translate from './Translate';
|
|
95
95
|
import Connection from './Connection';
|
|
96
|
-
|
|
96
|
+
import Discount from './modules/discount/Discount';
|
|
97
|
+
import DiscountCart from './modules/discount/DiscountCart';
|
|
98
|
+
import DiscountProduct from './modules/discount/DiscountProduct';
|
|
99
|
+
import DiscountType from './modules/discount/DiscountType';
|
|
100
|
+
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, ExternalRequest, 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, EndpointTemplateEcommerce, WebhookTemplateEcommerce, TemplateEcommerce, UserTemplateEcommerce, TemplateEcommerceSchemeConfigOrder, TemplateEcommerceSchemeConfigOrderMapped, ReachuSchemeConfigOrder, TemplateEcommerceSchemeConfigProduct, TemplateEcommerceSchemeConfigProductMapped, ReachuSchemeConfigProduct, TemplateEcommerceSchemeConfigVariant, TemplateEcommerceSchemeConfigVariantMapped, ReachuSchemeConfigVariant, Plan, Subscription, UserCountPlan, EnvironmentConfiguration, Translate, Connection, Discount, DiscountCart, DiscountProduct, DiscountType, };
|
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.Role = exports.ReturnAddress = exports.Return = exports.ExternalRequest = 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.Connection = exports.Translate = exports.EnvironmentConfiguration = exports.UserCountPlan = exports.Subscription = exports.Plan = exports.ReachuSchemeConfigVariant = exports.TemplateEcommerceSchemeConfigVariantMapped = exports.TemplateEcommerceSchemeConfigVariant = exports.ReachuSchemeConfigProduct = exports.TemplateEcommerceSchemeConfigProductMapped = exports.TemplateEcommerceSchemeConfigProduct = exports.ReachuSchemeConfigOrder = exports.TemplateEcommerceSchemeConfigOrderMapped = exports.TemplateEcommerceSchemeConfigOrder = exports.UserTemplateEcommerce = exports.TemplateEcommerce = exports.WebhookTemplateEcommerce = exports.EndpointTemplateEcommerce = 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 = exports.RolePermission = void 0;
|
|
7
|
+
exports.DiscountType = exports.DiscountProduct = exports.DiscountCart = exports.Discount = exports.Connection = exports.Translate = exports.EnvironmentConfiguration = exports.UserCountPlan = exports.Subscription = exports.Plan = exports.ReachuSchemeConfigVariant = exports.TemplateEcommerceSchemeConfigVariantMapped = exports.TemplateEcommerceSchemeConfigVariant = exports.ReachuSchemeConfigProduct = exports.TemplateEcommerceSchemeConfigProductMapped = exports.TemplateEcommerceSchemeConfigProduct = exports.ReachuSchemeConfigOrder = exports.TemplateEcommerceSchemeConfigOrderMapped = exports.TemplateEcommerceSchemeConfigOrder = exports.UserTemplateEcommerce = exports.TemplateEcommerce = exports.WebhookTemplateEcommerce = exports.EndpointTemplateEcommerce = 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 = exports.RolePermission = 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"));
|
|
@@ -195,4 +195,12 @@ const Translate_1 = __importDefault(require("./Translate"));
|
|
|
195
195
|
exports.Translate = Translate_1.default;
|
|
196
196
|
const Connection_1 = __importDefault(require("./Connection"));
|
|
197
197
|
exports.Connection = Connection_1.default;
|
|
198
|
+
const Discount_1 = __importDefault(require("./modules/discount/Discount"));
|
|
199
|
+
exports.Discount = Discount_1.default;
|
|
200
|
+
const DiscountCart_1 = __importDefault(require("./modules/discount/DiscountCart"));
|
|
201
|
+
exports.DiscountCart = DiscountCart_1.default;
|
|
202
|
+
const DiscountProduct_1 = __importDefault(require("./modules/discount/DiscountProduct"));
|
|
203
|
+
exports.DiscountProduct = DiscountProduct_1.default;
|
|
204
|
+
const DiscountType_1 = __importDefault(require("./modules/discount/DiscountType"));
|
|
205
|
+
exports.DiscountType = DiscountType_1.default;
|
|
198
206
|
//# 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;AAiI9B,kBAjIK,iBAAO,CAiIL;AAhIT,oEAA4C;AAiI1C,wBAjIK,uBAAa,CAiIL;AAhIf,kEAA0C;AAiIxC,uBAjIK,sBAAY,CAiIL;AAhId,gEAAwC;AAiItC,sBAjIK,qBAAW,CAiIL;AAhIb,0DAAkC;AAiIhC,mBAjIK,kBAAQ,CAiIL;AAhIV,0EAAkD;AAiIhD,2BAjIK,0BAAgB,CAiIL;AAhIlB,0EAAkD;AAiIhD,2BAjIK,0BAAgB,CAiIL;AAhIlB,0DAAkC;AAiIhC,mBAjIK,kBAAQ,CAiIL;AAhIV,wDAAgC;AAiI9B,kBAjIK,iBAAO,CAiIL;AAhIT,oDAA4B;AAiI1B,gBAjIK,eAAK,CAiIL;AAhIP,0EAAkD;AAiIhD,2BAjIK,0BAAgB,CAiIL;AAhIlB,wDAAgC;AAiI9B,kBAjIK,iBAAO,CAiIL;AAhIT,wDAAgC;AAiI9B,kBAjIK,iBAAO,CAiIL;AAhIT,wDAAgC;AAiI9B,kBAjIK,iBAAO,CAiIL;AAhIT,0DAAkC;AAiIhC,mBAjIK,kBAAQ,CAiIL;AAhIV,wEAAgD;AAiI9C,0BAjIK,yBAAe,CAiIL;AAhIjB,gEAAwC;AAiItC,sBAjIK,qBAAW,CAiIL;AAhIb,oDAA4B;AAiI1B,gBAjIK,eAAK,CAiIL;AAhIP,wEAAgD;AAiI9C,0BAjIK,yBAAe,CAiIL;AAhIjB,yEAA+D;AAiI7D,kGAjIO,4CAAiB,OAiIP;AAhInB,0EAAkD;AAiIhD,2BAjI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;AAqGzD,uBArGK,sBAAY,CAqGL"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import AuditedModel from '../../AuditedModel';
|
|
2
|
+
import DiscountType from './DiscountType';
|
|
3
|
+
import DiscountProduct from './DiscountProduct';
|
|
4
|
+
import DiscountCart from './DiscountCart';
|
|
5
|
+
export default class Discount extends AuditedModel {
|
|
6
|
+
id: number;
|
|
7
|
+
deletedAt: Date;
|
|
8
|
+
discountCount?: number;
|
|
9
|
+
code: string;
|
|
10
|
+
percentage: number;
|
|
11
|
+
startDate: Date;
|
|
12
|
+
endDate: Date;
|
|
13
|
+
discountType: DiscountType;
|
|
14
|
+
discountProduct: DiscountProduct[];
|
|
15
|
+
discountCart: DiscountCart[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 typeorm_1 = require("typeorm");
|
|
16
|
+
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
+
const DiscountType_1 = __importDefault(require("./DiscountType"));
|
|
18
|
+
const DiscountProduct_1 = __importDefault(require("./DiscountProduct"));
|
|
19
|
+
const DiscountCart_1 = __importDefault(require("./DiscountCart"));
|
|
20
|
+
let Discount = class Discount extends AuditedModel_1.default {
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], Discount.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
typeorm_1.DeleteDateColumn(),
|
|
28
|
+
__metadata("design:type", Date)
|
|
29
|
+
], Discount.prototype, "deletedAt", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
typeorm_1.Column('integer', { nullable: true }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], Discount.prototype, "discountCount", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
typeorm_1.Column('varchar', { nullable: false }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Discount.prototype, "code", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
typeorm_1.Column('integer', { nullable: false }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], Discount.prototype, "percentage", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
typeorm_1.Column('datetime', { nullable: false }),
|
|
44
|
+
__metadata("design:type", Date)
|
|
45
|
+
], Discount.prototype, "startDate", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.Column('datetime', { nullable: false }),
|
|
48
|
+
__metadata("design:type", Date)
|
|
49
|
+
], Discount.prototype, "endDate", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
typeorm_1.ManyToOne(() => DiscountType_1.default, (discountType) => discountType.discount, {
|
|
52
|
+
onDelete: 'CASCADE',
|
|
53
|
+
nullable: false,
|
|
54
|
+
}),
|
|
55
|
+
typeorm_1.JoinColumn(),
|
|
56
|
+
__metadata("design:type", DiscountType_1.default)
|
|
57
|
+
], Discount.prototype, "discountType", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
typeorm_1.OneToMany(() => DiscountProduct_1.default, (discountProduct) => discountProduct.discount),
|
|
60
|
+
typeorm_1.JoinColumn(),
|
|
61
|
+
__metadata("design:type", Array)
|
|
62
|
+
], Discount.prototype, "discountProduct", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
typeorm_1.OneToMany(() => DiscountCart_1.default, (discountCart) => discountCart.discount),
|
|
65
|
+
typeorm_1.JoinColumn(),
|
|
66
|
+
__metadata("design:type", Array)
|
|
67
|
+
], Discount.prototype, "discountCart", void 0);
|
|
68
|
+
Discount = __decorate([
|
|
69
|
+
typeorm_1.Entity()
|
|
70
|
+
], Discount);
|
|
71
|
+
exports.default = Discount;
|
|
72
|
+
//# sourceMappingURL=Discount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Discount.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/Discount.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,sEAA8C;AAC9C,kEAA0C;AAC1C,wEAAgD;AAChD,kEAA0C;AAG1C,IAAqB,QAAQ,GAA7B,MAAqB,QAAS,SAAQ,sBAAY;CAoCjD,CAAA;AAlCC;IADC,gCAAsB,EAAE;;oCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;2CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACf;AAGvB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;sCAC1B;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4CACpB;AAGnB;IADC,gBAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC7B,IAAI;2CAAC;AAGhB;IADC,gBAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;8BAC/B,IAAI;yCAAC;AAOd;IALC,mBAAS,CAAC,GAAG,EAAE,CAAC,sBAAY,EAAE,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE;QACpF,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACC,sBAAY;8CAAC;AAI3B;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,yBAAe,EAAE,CAAC,eAAgC,EAAE,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IAChG,oBAAU,EAAE;;iDACsB;AAInC;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,sBAAY,EAAE,CAAC,YAA0B,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC;IACpF,oBAAU,EAAE;;8CACgB;AAnCV,QAAQ;IAD5B,gBAAM,EAAE;GACY,QAAQ,CAoC5B;kBApCoB,QAAQ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import AuditedModel from '../../AuditedModel';
|
|
2
|
+
import Discount from './Discount';
|
|
3
|
+
import Cart from '../../modules/shopcart/Cart';
|
|
4
|
+
export default class DiscountCart extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
discount: Discount;
|
|
8
|
+
cart: Cart;
|
|
9
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 typeorm_1 = require("typeorm");
|
|
16
|
+
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
+
const Discount_1 = __importDefault(require("./Discount"));
|
|
18
|
+
const Cart_1 = __importDefault(require("../../modules/shopcart/Cart"));
|
|
19
|
+
let DiscountCart = class DiscountCart extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], DiscountCart.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], DiscountCart.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.ManyToOne(() => Discount_1.default, (discount) => discount.id, {
|
|
31
|
+
nullable: false,
|
|
32
|
+
}),
|
|
33
|
+
typeorm_1.JoinColumn(),
|
|
34
|
+
__metadata("design:type", Discount_1.default)
|
|
35
|
+
], DiscountCart.prototype, "discount", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
typeorm_1.ManyToOne(() => Cart_1.default, (cart) => cart.id, {
|
|
38
|
+
nullable: false,
|
|
39
|
+
}),
|
|
40
|
+
typeorm_1.JoinColumn(),
|
|
41
|
+
__metadata("design:type", Cart_1.default)
|
|
42
|
+
], DiscountCart.prototype, "cart", void 0);
|
|
43
|
+
DiscountCart = __decorate([
|
|
44
|
+
typeorm_1.Entity()
|
|
45
|
+
], DiscountCart);
|
|
46
|
+
exports.default = DiscountCart;
|
|
47
|
+
//# sourceMappingURL=DiscountCart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscountCart.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/DiscountCart.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAkG;AAClG,sEAA8C;AAC9C,0DAAkC;AAClC,uEAA+C;AAG/C,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,sBAAY;CAkBrD,CAAA;AAhBC;IADC,gCAAsB,EAAE;;wCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;+CAAC;AAMhB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAC9D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACH,kBAAQ;8CAAC;AAMnB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE;QAC9C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACP,cAAI;0CAAC;AAjBQ,YAAY;IADhC,gBAAM,EAAE;GACY,YAAY,CAkBhC;kBAlBoB,YAAY"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import AuditedModel from '../../AuditedModel';
|
|
2
|
+
import Discount from './Discount';
|
|
3
|
+
import { Product } from '../../Product.entity';
|
|
4
|
+
export default class DiscountProduct extends AuditedModel {
|
|
5
|
+
id: number;
|
|
6
|
+
deletedAt: Date;
|
|
7
|
+
product: Product;
|
|
8
|
+
discount: Discount;
|
|
9
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 typeorm_1 = require("typeorm");
|
|
16
|
+
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
+
const Discount_1 = __importDefault(require("./Discount"));
|
|
18
|
+
const Product_entity_1 = require("../../Product.entity");
|
|
19
|
+
let DiscountProduct = class DiscountProduct extends AuditedModel_1.default {
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], DiscountProduct.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.DeleteDateColumn(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], DiscountProduct.prototype, "deletedAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
typeorm_1.ManyToOne(() => Product_entity_1.Product, (product) => product.id, {
|
|
31
|
+
nullable: false,
|
|
32
|
+
}),
|
|
33
|
+
typeorm_1.JoinColumn(),
|
|
34
|
+
__metadata("design:type", Product_entity_1.Product)
|
|
35
|
+
], DiscountProduct.prototype, "product", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
typeorm_1.ManyToOne(() => Discount_1.default, (discount) => discount.id, {
|
|
38
|
+
nullable: false,
|
|
39
|
+
}),
|
|
40
|
+
typeorm_1.JoinColumn(),
|
|
41
|
+
__metadata("design:type", Discount_1.default)
|
|
42
|
+
], DiscountProduct.prototype, "discount", void 0);
|
|
43
|
+
DiscountProduct = __decorate([
|
|
44
|
+
typeorm_1.Entity()
|
|
45
|
+
], DiscountProduct);
|
|
46
|
+
exports.default = DiscountProduct;
|
|
47
|
+
//# sourceMappingURL=DiscountProduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscountProduct.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/DiscountProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAAkG;AAClG,sEAA8C;AAC9C,0DAAkC;AAClC,yDAA+C;AAG/C,IAAqB,eAAe,GAApC,MAAqB,eAAgB,SAAQ,sBAAY;CAkBxD,CAAA;AAhBC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;kDAAC;AAMhB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;QAC1D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACJ,wBAAO;gDAAC;AAMjB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAC9D,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,oBAAU,EAAE;8BACH,kBAAQ;iDAAC;AAjBA,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAkBnC;kBAlBoB,eAAe"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 typeorm_1 = require("typeorm");
|
|
16
|
+
const AuditedModel_1 = __importDefault(require("../../AuditedModel"));
|
|
17
|
+
const Discount_1 = __importDefault(require("./Discount"));
|
|
18
|
+
let DiscountType = class DiscountType extends AuditedModel_1.default {
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
typeorm_1.PrimaryGeneratedColumn(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], DiscountType.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
typeorm_1.DeleteDateColumn(),
|
|
26
|
+
__metadata("design:type", Date)
|
|
27
|
+
], DiscountType.prototype, "deletedAt", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
typeorm_1.Column('varchar', { nullable: false }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], DiscountType.prototype, "type", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
typeorm_1.OneToMany(() => Discount_1.default, (discount) => discount.discountType),
|
|
34
|
+
typeorm_1.JoinColumn(),
|
|
35
|
+
__metadata("design:type", Array)
|
|
36
|
+
], DiscountType.prototype, "discount", void 0);
|
|
37
|
+
DiscountType = __decorate([
|
|
38
|
+
typeorm_1.Entity()
|
|
39
|
+
], DiscountType);
|
|
40
|
+
exports.default = DiscountType;
|
|
41
|
+
//# sourceMappingURL=DiscountType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscountType.js","sourceRoot":"","sources":["../../../../src/entity/modules/discount/DiscountType.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAOiB;AACjB,sEAA8C;AAC9C,0DAAkC;AAGlC,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,sBAAY;CAarD,CAAA;AAXC;IADC,gCAAsB,EAAE;;wCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;+CAAC;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;0CAC1B;AAIb;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,kBAAQ,EAAE,CAAC,QAAkB,EAAE,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;IACxE,oBAAU,EAAE;;8CACQ;AAZF,YAAY;IADhC,gBAAM,EAAE;GACY,YAAY,CAahC;kBAboB,YAAY"}
|
package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class migrationPreDevelopUserChannelExportedProduct1688921300692 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.migrationPreDevelopUserChannelExportedProduct1688921300692 = void 0;
|
|
13
|
+
class migrationPreDevelopUserChannelExportedProduct1688921300692 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'migrationPreDevelopUserChannelExportedProduct1688921300692';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`channel_user_id\` int NULL`);
|
|
20
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD CONSTRAINT \`FK_f8bdfc8b3e1fdf9e96a351d73e2\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
down(queryRunner) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP FOREIGN KEY \`FK_f8bdfc8b3e1fdf9e96a351d73e2\``);
|
|
26
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`channel_user_id\``);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.migrationPreDevelopUserChannelExportedProduct1688921300692 = migrationPreDevelopUserChannelExportedProduct1688921300692;
|
|
31
|
+
//# sourceMappingURL=1688921300692-migration-pre-develop-user-channel-exported-product.js.map
|
package/dist/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1688921300692-migration-pre-develop-user-channel-exported-product.js","sourceRoot":"","sources":["../../src/migrations/1688921300692-migration-pre-develop-user-channel-exported-product.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,0DAA0D;IAAvE;QACI,SAAI,GAAG,4DAA4D,CAAA;IAYvE,CAAC;IAVgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;YAC7F,MAAM,WAAW,CAAC,KAAK,CAAC,0LAA0L,CAAC,CAAC;QACxN,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,sFAAsF,CAAC,CAAC;YAChH,MAAM,WAAW,CAAC,KAAK,CAAC,kEAAkE,CAAC,CAAC;QAChG,CAAC;KAAA;CAEJ;AAbD,gIAaC"}
|
package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class migrationPreDevelopUserChannelExportedProductV11688925248106 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|
package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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.migrationPreDevelopUserChannelExportedProductV11688925248106 = void 0;
|
|
13
|
+
class migrationPreDevelopUserChannelExportedProductV11688925248106 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'migrationPreDevelopUserChannelExportedProductV11688925248106';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP FOREIGN KEY \`FK_f8bdfc8b3e1fdf9e96a351d73e2\``);
|
|
20
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD CONSTRAINT \`FK_f8bdfc8b3e1fdf9e96a351d73e2\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`channel_user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
down(queryRunner) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP FOREIGN KEY \`FK_f8bdfc8b3e1fdf9e96a351d73e2\``);
|
|
26
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD CONSTRAINT \`FK_f8bdfc8b3e1fdf9e96a351d73e2\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.migrationPreDevelopUserChannelExportedProductV11688925248106 = migrationPreDevelopUserChannelExportedProductV11688925248106;
|
|
31
|
+
//# sourceMappingURL=1688925248106-migration-pre-develop-user-channel-exported-product_v1.js.map
|
package/dist/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1688925248106-migration-pre-develop-user-channel-exported-product_v1.js","sourceRoot":"","sources":["../../src/migrations/1688925248106-migration-pre-develop-user-channel-exported-product_v1.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,4DAA4D;IAAzE;QACI,SAAI,GAAG,8DAA8D,CAAA;IAYzE,CAAC;IAVgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,sFAAsF,CAAC,CAAC;YAChH,MAAM,WAAW,CAAC,KAAK,CAAC,kMAAkM,CAAC,CAAC;QAChO,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,sFAAsF,CAAC,CAAC;YAChH,MAAM,WAAW,CAAC,KAAK,CAAC,0LAA0L,CAAC,CAAC;QACxN,CAAC;KAAA;CAEJ;AAbD,oIAaC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.addActiveColumInVariant1689005718747 = void 0;
|
|
13
|
+
class addActiveColumInVariant1689005718747 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'addActiveColumInVariant1689005718747';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` DROP FOREIGN KEY \`FK_adc2206f21efb67f9f6425a4ce8\``);
|
|
20
|
+
yield queryRunner.query(`DROP INDEX \`IDX_db41f18c3701a209c734457fa3\` ON \`shopify_connection\``);
|
|
21
|
+
yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` DROP COLUMN \`channel_user_id\``);
|
|
22
|
+
yield queryRunner.query(`ALTER TABLE \`variant\` ADD \`active\` tinyint NOT NULL DEFAULT 1`);
|
|
23
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`shopify_connection_id\` int NULL`);
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`user_channel_api_key_id\` int NULL`);
|
|
25
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`channel_user_id\` int NULL`);
|
|
26
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD CONSTRAINT \`FK_687a267ae83f576c002baf0198a\` FOREIGN KEY (\`shopify_connection_id\`) REFERENCES \`shopify_connection\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
27
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD CONSTRAINT \`FK_83f345b5912388def4fa4253040\` FOREIGN KEY (\`user_channel_api_key_id\`) REFERENCES \`user_channel_api_key\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
28
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD CONSTRAINT \`FK_f8bdfc8b3e1fdf9e96a351d73e2\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`channel_user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
down(queryRunner) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP FOREIGN KEY \`FK_f8bdfc8b3e1fdf9e96a351d73e2\``);
|
|
34
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP FOREIGN KEY \`FK_83f345b5912388def4fa4253040\``);
|
|
35
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP FOREIGN KEY \`FK_687a267ae83f576c002baf0198a\``);
|
|
36
|
+
yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`channel_user_id\``);
|
|
37
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`user_channel_api_key_id\``);
|
|
38
|
+
yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`shopify_connection_id\``);
|
|
39
|
+
yield queryRunner.query(`ALTER TABLE \`variant\` DROP COLUMN \`active\``);
|
|
40
|
+
yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` ADD \`channel_user_id\` int NULL`);
|
|
41
|
+
yield queryRunner.query(`CREATE UNIQUE INDEX \`IDX_db41f18c3701a209c734457fa3\` ON \`shopify_connection\` (\`reseller_id\`, \`deleted_at\`)`);
|
|
42
|
+
yield queryRunner.query(`ALTER TABLE \`user_channel_api_key\` ADD CONSTRAINT \`FK_adc2206f21efb67f9f6425a4ce8\` FOREIGN KEY (\`channel_user_id\`) REFERENCES \`channel_user\`(\`id\`) ON DELETE NO ACTION ON UPDATE NO ACTION`);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.addActiveColumInVariant1689005718747 = addActiveColumInVariant1689005718747;
|
|
47
|
+
//# sourceMappingURL=1689005718747-add-active-colum-in-variant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1689005718747-add-active-colum-in-variant.js","sourceRoot":"","sources":["../../src/migrations/1689005718747-add-active-colum-in-variant.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,oCAAoC;IAAjD;QACI,SAAI,GAAG,sCAAsC,CAAA;IA4BjD,CAAC;IA1BgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,0FAA0F,CAAC,CAAC;YACpH,MAAM,WAAW,CAAC,KAAK,CAAC,yEAAyE,CAAC,CAAC;YACnG,MAAM,WAAW,CAAC,KAAK,CAAC,sEAAsE,CAAC,CAAC;YAChG,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;YAC7F,MAAM,WAAW,CAAC,KAAK,CAAC,qEAAqE,CAAC,CAAC;YAC/F,MAAM,WAAW,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAC;YACjG,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;YAC7F,MAAM,WAAW,CAAC,KAAK,CAAC,0MAA0M,CAAC,CAAC;YACpO,MAAM,WAAW,CAAC,KAAK,CAAC,8MAA8M,CAAC,CAAC;YACxO,MAAM,WAAW,CAAC,KAAK,CAAC,kMAAkM,CAAC,CAAC;QAChO,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,sFAAsF,CAAC,CAAC;YAChH,MAAM,WAAW,CAAC,KAAK,CAAC,kFAAkF,CAAC,CAAC;YAC5G,MAAM,WAAW,CAAC,KAAK,CAAC,kFAAkF,CAAC,CAAC;YAC5G,MA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