tt-entities 0.0.40 → 0.0.42
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/libs/tatayab-entities-library/entities/app-config.entity.d.ts +5 -0
- package/dist/libs/tatayab-entities-library/entities/app-config.entity.js +28 -0
- package/dist/libs/tatayab-entities-library/entities/app-config.entity.js.map +1 -0
- package/dist/libs/tatayab-entities-library/entities/payment-gateway.entity.d.ts +2 -1
- package/dist/libs/tatayab-entities-library/entities/payment-gateway.entity.js +1 -0
- package/dist/libs/tatayab-entities-library/entities/payment-gateway.entity.js.map +1 -1
- package/dist/libs/tatayab-entities-library/index.d.ts +1 -0
- package/dist/libs/tatayab-entities-library/index.js +6 -2
- package/dist/libs/tatayab-entities-library/index.js.map +1 -1
- package/dist/src/main.js +46 -3
- package/libs/tatayab-entities-library/src/entities/app-config.entity.ts +9 -0
- package/libs/tatayab-entities-library/src/entities/payment-gateway.entity.ts +2 -0
- package/libs/tatayab-entities-library/src/index.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AppConfig = void 0;
|
|
13
|
+
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
14
|
+
let AppConfig = class AppConfig extends sequelize_typescript_1.Model {
|
|
15
|
+
};
|
|
16
|
+
exports.AppConfig = AppConfig;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, sequelize_typescript_1.Column)({ unique: true }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], AppConfig.prototype, "key", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, sequelize_typescript_1.Column)(sequelize_typescript_1.DataType.JSON),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], AppConfig.prototype, "value", void 0);
|
|
25
|
+
exports.AppConfig = AppConfig = __decorate([
|
|
26
|
+
sequelize_typescript_1.Table
|
|
27
|
+
], AppConfig);
|
|
28
|
+
//# sourceMappingURL=app-config.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-config.entity.js","sourceRoot":"","sources":["../../../../libs/tatayab-entities-library/src/entities/app-config.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAAsE;AAG/D,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,4BAAK;CAKnC,CAAA;AALY,8BAAS;AAEpB;IADC,IAAA,6BAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;sCACb;AAEZ;IADC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,IAAI,CAAC;;wCACV;oBAJD,SAAS;IADrB,4BAAK;GACO,SAAS,CAKrB"}
|
|
@@ -19,6 +19,7 @@ var PaymentGatewayType;
|
|
|
19
19
|
PaymentGatewayType["KNET"] = "knet";
|
|
20
20
|
PaymentGatewayType["WALLET"] = "wallet";
|
|
21
21
|
PaymentGatewayType["BANK"] = "bank";
|
|
22
|
+
PaymentGatewayType["OFFLINE_PAYMENT"] = "offline_payment";
|
|
22
23
|
})(PaymentGatewayType || (exports.PaymentGatewayType = PaymentGatewayType = {}));
|
|
23
24
|
let PaymentGateway = class PaymentGateway extends sequelize_typescript_1.Model {
|
|
24
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-gateway.entity.js","sourceRoot":"","sources":["../../../../libs/tatayab-entities-library/src/entities/payment-gateway.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAE8B;AAC9B,mEAAwD;AAExD,IAAY,
|
|
1
|
+
{"version":3,"file":"payment-gateway.entity.js","sourceRoot":"","sources":["../../../../libs/tatayab-entities-library/src/entities/payment-gateway.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAE8B;AAC9B,mEAAwD;AAExD,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC5B,mCAAoB,CAAA;IACpB,mCAAoB,CAAA;IACpB,mCAAoB,CAAA;IACpB,uCAAsB,CAAA;IACtB,mCAAoB,CAAA;IACpB,yDAAmC,CAAA;AAErC,CAAC,EARW,kBAAkB,kCAAlB,kBAAkB,QAQ7B;AAGM,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAK;CAyCxC,CAAA;AAzCY,wCAAc;AAEjB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;4CACtB;AAGb;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;8CACN;AAGf;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;;8CACN;AAMf;IAJP,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;QACzD,SAAS,EAAE,KAAK;KACjB,CAAC;;4CAC+B;AAGzB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;4CACN;AAGd;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;+CACH;AAKjB;IADP,IAAA,6BAAM,EAAC,EAAE,IAAI,EAAE,+BAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;mDACpB;AAIrB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;;iDACvB;AAGnB;IADP,IAAA,6BAAM,EAAC,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;;iDACF;AAGlB;IADP,IAAA,6BAAM,EAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;;gDACvB;AAKlB;IADP,IAAA,8BAAO,EAAC,GAAG,EAAE,CAAC,qCAAa,CAAC;;+CACI;yBAxCtB,cAAc;IAD1B,4BAAK;GACO,cAAc,CAyC1B"}
|
|
@@ -10,6 +10,7 @@ export { UserAddress } from './entities/user-address.entity';
|
|
|
10
10
|
export { UserFavorite } from './entities/user-favorite.entity';
|
|
11
11
|
export { UserFavoriteCatalog, FavoriteCatalogItemType, } from './entities/user-favorite-catalog.entity';
|
|
12
12
|
export { Banner, BannerPlacement, BannerStatus, BannerFilters, } from './entities/banner.entity';
|
|
13
|
+
export { AppConfig } from './entities/app-config.entity';
|
|
13
14
|
export { Category } from './entities/category.entity';
|
|
14
15
|
export { Brand } from './entities/brand.entity';
|
|
15
16
|
export { VariantType } from './entities/variant-type.entity';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.StockMovementType = exports.PurchaseOrderStatus = exports.Gender = exports.Status = exports.Language = exports.VersionType = exports.ProductApp = exports.OsName = exports.PurchaseOrderOrderItem = exports.TransactionCategory = exports.TransactionType = exports.UserTransaction = exports.OrderStatusHistory = exports.OrderItemBundleSelection = exports.OrderItemFulfillmentStatus = exports.OrderItemType = exports.OrderItem = exports.Order = exports.OrderStatusCode = exports.OrderStatus = exports.CouponUser = exports.CouponProduct = exports.CouponStore = exports.CouponOsTarget = exports.CouponAppliesTo = exports.CouponDiscountType = exports.Coupon = exports.CartItemBundleSelection = exports.CartItemType = exports.CartItem = void 0;
|
|
3
|
+
exports.Cart = exports.StorePaymentMethod = exports.PaymentMethodCountry = exports.PaymentMethodType = exports.PaymentMethod = exports.PaymentGatewayType = exports.PaymentGateway = exports.RolePermission = exports.Permission = exports.PurchaseOrderItemStatus = exports.PurchaseOrderItem = exports.PurchaseOrder = exports.VendorProduct = exports.Vendor = exports.ShippingRule = exports.StockMovement = exports.InventoryStock = exports.StoreInventory = exports.Inventory = exports.ProductStore = exports.Store = exports.BundleStore = exports.BundleProduct = exports.Bundle = exports.ProductTag = exports.Tag = exports.ProductVariantOption = exports.ProductVariant = exports.MediaType = exports.ProductMedia = exports.Product = exports.VariantOption = exports.VariantType = exports.Brand = exports.Category = exports.AppConfig = exports.BannerStatus = exports.BannerPlacement = exports.Banner = exports.FavoriteCatalogItemType = exports.UserFavoriteCatalog = exports.UserFavorite = exports.UserAddress = exports.UserDevice = exports.User = exports.SysUser = exports.SysRole = exports.Area = exports.Country = exports.ApiKey = void 0;
|
|
4
|
+
exports.StockMovementType = exports.PurchaseOrderStatus = exports.Gender = exports.Status = exports.Language = exports.VersionType = exports.ProductApp = exports.OsName = exports.PurchaseOrderOrderItem = exports.TransactionCategory = exports.TransactionType = exports.UserTransaction = exports.OrderStatusHistory = exports.OrderItemBundleSelection = exports.OrderItemFulfillmentStatus = exports.OrderItemType = exports.OrderItem = exports.Order = exports.OrderStatusCode = exports.OrderStatus = exports.CouponUser = exports.CouponProduct = exports.CouponStore = exports.CouponOsTarget = exports.CouponAppliesTo = exports.CouponDiscountType = exports.Coupon = exports.CartItemBundleSelection = exports.CartItemType = exports.CartItem = exports.CartStatus = void 0;
|
|
5
5
|
exports.getDbModels = getDbModels;
|
|
6
6
|
const country_entity_1 = require("./entities/country.entity");
|
|
7
7
|
const area_entity_1 = require("./entities/area.entity");
|
|
@@ -14,6 +14,7 @@ const user_address_entity_1 = require("./entities/user-address.entity");
|
|
|
14
14
|
const user_favorite_entity_1 = require("./entities/user-favorite.entity");
|
|
15
15
|
const user_favorite_catalog_entity_1 = require("./entities/user-favorite-catalog.entity");
|
|
16
16
|
const banner_entity_1 = require("./entities/banner.entity");
|
|
17
|
+
const app_config_entity_1 = require("./entities/app-config.entity");
|
|
17
18
|
const category_entity_1 = require("./entities/category.entity");
|
|
18
19
|
const brand_entity_1 = require("./entities/brand.entity");
|
|
19
20
|
const variant_type_entity_1 = require("./entities/variant-type.entity");
|
|
@@ -83,6 +84,8 @@ var banner_entity_2 = require("./entities/banner.entity");
|
|
|
83
84
|
Object.defineProperty(exports, "Banner", { enumerable: true, get: function () { return banner_entity_2.Banner; } });
|
|
84
85
|
Object.defineProperty(exports, "BannerPlacement", { enumerable: true, get: function () { return banner_entity_2.BannerPlacement; } });
|
|
85
86
|
Object.defineProperty(exports, "BannerStatus", { enumerable: true, get: function () { return banner_entity_2.BannerStatus; } });
|
|
87
|
+
var app_config_entity_2 = require("./entities/app-config.entity");
|
|
88
|
+
Object.defineProperty(exports, "AppConfig", { enumerable: true, get: function () { return app_config_entity_2.AppConfig; } });
|
|
86
89
|
var category_entity_2 = require("./entities/category.entity");
|
|
87
90
|
Object.defineProperty(exports, "Category", { enumerable: true, get: function () { return category_entity_2.Category; } });
|
|
88
91
|
var brand_entity_2 = require("./entities/brand.entity");
|
|
@@ -258,6 +261,7 @@ function getDbModels() {
|
|
|
258
261
|
user_transaction_entity_1.UserTransaction,
|
|
259
262
|
purchase_order_order_item_entity_1.PurchaseOrderOrderItem,
|
|
260
263
|
banner_entity_1.Banner,
|
|
264
|
+
app_config_entity_1.AppConfig,
|
|
261
265
|
];
|
|
262
266
|
}
|
|
263
267
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../libs/tatayab-entities-library/src/index.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../libs/tatayab-entities-library/src/index.ts"],"names":[],"mappings":";;;;AA2MA,kCAiFC;AAzRD,8DAAoD;AACpD,wDAA8C;AAC9C,gEAAqD;AACrD,gEAAqD;AACrD,wDAA8C;AAC9C,oEAA0D;AAC1D,4DAAkD;AAClD,wEAA6D;AAC7D,0EAA+D;AAC/D,0FAA8E;AAC9E,4DAAkD;AAClD,oEAAyD;AAGzD,gEAAsD;AACtD,0DAAgD;AAChD,wEAA6D;AAC7D,4EAAiE;AACjE,8DAAoD;AACpD,0EAA+D;AAC/D,8EAAmE;AACnE,4FAAgF;AAChF,sDAA4C;AAC5C,sEAA2D;AAC3D,4DAAkD;AAClD,4EAAiE;AACjE,wEAA6D;AAG7D,0DAAgD;AAChD,0EAA+D;AAG/D,kEAAwD;AACxD,8EAAmE;AACnE,8EAAmE;AACnE,4EAAiE;AACjE,0EAA+D;AAG/D,4DAAkD;AAClD,4EAAiE;AACjE,4EAAiE;AACjE,sFAA0E;AAG1E,oEAA0D;AAC1D,8EAAmE;AAGnE,8EAAmE;AACnE,4EAAiE;AACjE,4FAAgF;AAChF,wFAA4E;AAG5E,wDAA8C;AAC9C,kEAAuD;AACvD,oGAAuF;AAGvF,4DAAkD;AAClD,wEAA6D;AAC7D,4EAAiE;AACjE,sEAA2D;AAG3D,wEAA6D;AAC7D,0DAAgD;AAChD,oEAAyD;AACzD,sGAAyF;AACzF,wFAA4E;AAC5E,gFAAqE;AACrE,kGAAqF;AAOrF,0DAAkD;AAAzC,uGAAA,MAAM,OAAA;AACf,4DAAoD;AAA3C,yGAAA,OAAO,OAAA;AAChB,sDAA8C;AAArC,mGAAA,IAAI,OAAA;AACb,8DAAqD;AAA5C,0GAAA,OAAO,OAAA;AAChB,8DAAqD;AAA5C,0GAAA,OAAO,OAAA;AAChB,sDAA8C;AAArC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