@lyxa.ai/core 1.0.36 → 1.0.38
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/libraries/mongo/models/embedded/delivery-info.model.d.ts +4 -0
- package/dist/libraries/mongo/models/embedded/delivery-info.model.js +27 -0
- package/dist/libraries/mongo/models/embedded/delivery-info.model.js.map +1 -0
- package/dist/libraries/mongo/models/shop-review.model.js +1 -0
- package/dist/libraries/mongo/models/shop-review.model.js.map +1 -1
- package/dist/libraries/mongo/models/shop.model.d.ts +2 -0
- package/dist/libraries/mongo/models/shop.model.js +6 -0
- package/dist/libraries/mongo/models/shop.model.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
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.DeliveryInfo = void 0;
|
|
13
|
+
const typegoose_1 = require("@typegoose/typegoose");
|
|
14
|
+
class DeliveryInfo {
|
|
15
|
+
totalDeliveries;
|
|
16
|
+
totalDeliveryTime;
|
|
17
|
+
}
|
|
18
|
+
exports.DeliveryInfo = DeliveryInfo;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], DeliveryInfo.prototype, "totalDeliveries", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], DeliveryInfo.prototype, "totalDeliveryTime", void 0);
|
|
27
|
+
//# sourceMappingURL=delivery-info.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delivery-info.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/delivery-info.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAE5C,MAAa,YAAY;IAEjB,eAAe,CAAU;IAGzB,iBAAiB,CAAS;CACjC;AAND,oCAMC;AAJO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;qDACH;AAGzB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;uDACF","sourcesContent":["import { prop } from '@typegoose/typegoose';\r\n\r\nexport class DeliveryInfo {\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic totalDeliveries!: string;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic totalDeliveryTime: number; // in seconds\r\n}\r\n"]}
|
|
@@ -22,6 +22,7 @@ __decorate([
|
|
|
22
22
|
__metadata("design:type", Object)
|
|
23
23
|
], ShopReview.prototype, "shop", void 0);
|
|
24
24
|
exports.ShopReview = ShopReview = __decorate([
|
|
25
|
+
(0, typegoose_1.Index)({ shop: 1 }),
|
|
25
26
|
(0, typegoose_1.modelOptions)({ schemaOptions: { collection: 'shopReviews' } })
|
|
26
27
|
], ShopReview);
|
|
27
28
|
//# sourceMappingURL=shop-review.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shop-review.model.js","sourceRoot":"/","sources":["libraries/mongo/models/shop-review.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"shop-review.model.js","sourceRoot":"/","sources":["libraries/mongo/models/shop-review.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAsE;AACtE,gEAAsD;AACtD,6CAAoC;AAI7B,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,8BAAU;IAElC,IAAI,CAAa;CACxB,CAAA;AAHY,gCAAU;AAEf;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,iBAAI,EAAE,CAAC;;wCAClB;qBAFZ,UAAU;IAFtB,IAAA,iBAAK,EAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;IAClB,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,CAAC;GAClD,UAAU,CAGtB","sourcesContent":["import { modelOptions, prop, Ref, Index } from '@typegoose/typegoose';\r\nimport { BaseReview } from './base/base-review.model';\r\nimport { Shop } from './shop.model';\r\n\r\n@Index({ shop: 1 })\r\n@modelOptions({ schemaOptions: { collection: 'shopReviews' } })\r\nexport class ShopReview extends BaseReview {\r\n\t@prop({ required: true, ref: () => Shop })\r\n\tpublic shop!: Ref<Shop>;\r\n}\r\n"]}
|
|
@@ -8,6 +8,7 @@ import { Address } from './shared/address.model';
|
|
|
8
8
|
import { StartEndTime, WorkHourSetting } from './shared/work-hour.model';
|
|
9
9
|
import { Tag } from './tag.model';
|
|
10
10
|
import { Zone } from './zone.model';
|
|
11
|
+
import { DeliveryInfo } from './embedded/delivery-info.model';
|
|
11
12
|
export declare class Shop extends TimeStamps {
|
|
12
13
|
slug: string;
|
|
13
14
|
parent: Ref<Parent>;
|
|
@@ -47,4 +48,5 @@ export declare class Shop extends TimeStamps {
|
|
|
47
48
|
isBestSellerCategoryVisible?: boolean;
|
|
48
49
|
bestSellerCategoryTitle?: string;
|
|
49
50
|
sortingOrder?: number;
|
|
51
|
+
deliveryInfo?: DeliveryInfo;
|
|
50
52
|
}
|
|
@@ -20,6 +20,7 @@ const address_model_1 = require("./shared/address.model");
|
|
|
20
20
|
const work_hour_model_1 = require("./shared/work-hour.model");
|
|
21
21
|
const tag_model_1 = require("./tag.model");
|
|
22
22
|
const zone_model_1 = require("./zone.model");
|
|
23
|
+
const delivery_info_model_1 = require("./embedded/delivery-info.model");
|
|
23
24
|
let Shop = class Shop extends defaultClasses_1.TimeStamps {
|
|
24
25
|
slug;
|
|
25
26
|
parent;
|
|
@@ -59,6 +60,7 @@ let Shop = class Shop extends defaultClasses_1.TimeStamps {
|
|
|
59
60
|
isBestSellerCategoryVisible;
|
|
60
61
|
bestSellerCategoryTitle;
|
|
61
62
|
sortingOrder;
|
|
63
|
+
deliveryInfo;
|
|
62
64
|
};
|
|
63
65
|
exports.Shop = Shop;
|
|
64
66
|
__decorate([
|
|
@@ -217,6 +219,10 @@ __decorate([
|
|
|
217
219
|
(0, typegoose_1.prop)({ type: Number, default: 0 }),
|
|
218
220
|
__metadata("design:type", Number)
|
|
219
221
|
], Shop.prototype, "sortingOrder", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, typegoose_1.prop)({ type: delivery_info_model_1.DeliveryInfo }),
|
|
224
|
+
__metadata("design:type", delivery_info_model_1.DeliveryInfo)
|
|
225
|
+
], Shop.prototype, "deliveryInfo", void 0);
|
|
220
226
|
exports.Shop = Shop = __decorate([
|
|
221
227
|
(0, typegoose_1.modelOptions)({
|
|
222
228
|
schemaOptions: { collection: 'shops' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shop.model.js","sourceRoot":"/","sources":["libraries/mongo/models/shop.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAgF;AAChF,4EAAqE;AACrE,kDAA6E;AAC7E,+CAAsC;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,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC;;oDACP;AAGhC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC;;yDACF;AAGtC;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC;;qDACN;AAGjC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;0CACN;AAGtB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,kCAAY,EAAE,CAAC;8BACP,kCAAY;0CAAC;eAzHvB,IAAI;IARhB,IAAA,wBAAY,EAAC;QACb,aAAa,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE;QACtC,OAAO,EAAE,EAAE,UAAU,EAAE,oBAAQ,CAAC,KAAK,EAAE;KACvC,CAAC;IACD,IAAA,iBAAK,EACL,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,EACxB,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAC,EAAE,CAC7D;GACY,IAAI,CA0HhB","sourcesContent":["import { modelOptions, prop, Ref, Severity, Index } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\nimport { ItemType, ShopOnlineStatus, Status } from '../../../utilities/enum';\r\nimport { Brand } from './brand.model';\r\nimport { ShopDocument } from './embedded/shop-document.model';\r\nimport { Parent } from './parent.model';\r\nimport { Address } from './shared/address.model';\r\nimport { StartEndTime, WorkHourSetting } from './shared/work-hour.model';\r\nimport { Tag } from './tag.model';\r\nimport { Zone } from './zone.model';\r\nimport { DeliveryInfo } from './embedded/delivery-info.model';\r\n\r\n\r\n@modelOptions({\r\n\tschemaOptions: { collection: 'shops' },\r\n\toptions: { allowMixed: Severity.ALLOW },\r\n})\r\n@Index(\r\n\t{ name: 1, itemType: 1 },\r\n\t{ unique: true, partialFilterExpression: { deletedAt: null} }\r\n)\r\nexport class Shop extends TimeStamps {\r\n\t@prop({ required: true, unique: true, type: String })\r\n\tpublic slug!: string;\r\n\r\n\t@prop({ required: true, ref: () => Parent })\r\n\tpublic parent: Ref<Parent>;\r\n\r\n\t@prop({ required: true, type: String, enum: ItemType })\r\n\tpublic itemType!: ItemType;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic name!: string;\r\n\r\n\t@prop({ required: true, ref: () => Brand })\r\n\tpublic brand: Ref<Brand>;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic ownerName!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic email!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic phoneNumber!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic userPhoneNumber!: string;\r\n\r\n\t@prop({ type: () => [String], default: [] })\r\n\tpublic additionalPhoneNumbers?: string[];\r\n\r\n\t@prop({ required: true, type: Address })\r\n\tpublic address!: Address;\r\n\r\n\t@prop({ required: true, ref: () => Zone })\r\n\tpublic zone!: Ref<Zone>;\r\n\r\n\t@prop({ type: String })\r\n\tpublic logo?: string;\r\n\r\n\t@prop({ type: String })\r\n\tpublic banner?: string;\r\n\r\n\t@prop({ type: ShopDocument })\r\n\tpublic document?: ShopDocument;\r\n\r\n\t@prop({ required: true, type: Boolean })\r\n\tpublic isBeirutAuthentic!: boolean;\r\n\r\n\t@prop({ required: true, type: Boolean })\r\n\tpublic isVisibleToUser!: boolean;\r\n\r\n\t@prop({ required: true, type: String, enum: Status, default: Status.ACTIVE })\r\n\tpublic status!: Status;\r\n\r\n\t@prop({\r\n\t\ttype: String,\r\n\t\tenum: ShopOnlineStatus,\r\n\t\tdefault: ShopOnlineStatus.OFFLINE,\r\n\t})\r\n\tpublic onlineStatus?: ShopOnlineStatus;\r\n\r\n\t// Setting\r\n\t@prop({ type: Boolean, default: false })\r\n\tpublic allowSpecialInstructions?: boolean;\r\n\r\n\t@prop({ type: Boolean, default: false })\r\n\tpublic isRiderNoteVisible?: boolean;\r\n\r\n\t@prop({ type: String })\r\n\tpublic riderNote?: string;\r\n\r\n\t@prop({ type: Number, default: 1, min: 1, max: 4 })\r\n\tpublic priceRange?: number;\r\n\r\n\t@prop({ type: () => [String], default: [] })\r\n\tpublic dietaries?: string[];\r\n\r\n\t@prop({ ref: () => Tag, default: [] })\r\n\tpublic tags?: Ref<Tag>[];\r\n\r\n\t@prop({ type: Boolean, default: false })\r\n\tpublic isShopDelivery?: boolean;\r\n\r\n\t@prop({ type: Number })\r\n\tpublic deliveryFee?: number;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic minimumOrderAmount?: number;\r\n\r\n\t@prop({ type: Number, default: Infinity })\r\n\tpublic orderCapacity?: number;\r\n\r\n\t@prop({ type: Number, default: 10 })\r\n\tpublic defaultPreparationTime?: number;\r\n\r\n\t@prop({ type: Number, default: null })\r\n\texchangeRate?: number;\r\n\r\n\t@prop({ type: WorkHourSetting })\r\n\tpublic workHourSetting?: WorkHourSetting;\r\n\r\n\t@prop({ type: () => [StartEndTime], default: []})\r\n\tpublic shopActiveTimingsOfCurrentDate?: StartEndTime[];\r\n\r\n\t@prop({ required: false, type: () => Boolean })\r\n\tpublic isFavouriteCategoryVisible?: boolean;\r\n\r\n\t@prop({ required: false, type: () => String })\r\n\tpublic favouriteCategoryTitle?: string;\r\n\r\n\t@prop({ required: false, type: () => Boolean })\r\n\tpublic isBestSellerCategoryVisible?: boolean;\r\n\r\n\t@prop({ required: false, type: () => String })\r\n\tpublic bestSellerCategoryTitle?: string;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic sortingOrder?: number;\r\n\r\n\t@prop({ type: DeliveryInfo })\r\n\tpublic deliveryInfo?: DeliveryInfo;\r\n}"]}
|