@lyxa.ai/core 1.0.215 → 1.0.216

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.
@@ -1,5 +1,4 @@
1
- import { ProductDietaryType, ProductType } from '../../../../utilities/enum';
2
- import { ProductNutrition } from './product-nutrition.model';
1
+ import { ProductType } from '../../../../utilities/enum';
3
2
  export declare class ProductSnap {
4
3
  name: string;
5
4
  barcode?: string;
@@ -7,15 +6,5 @@ export declare class ProductSnap {
7
6
  logo?: string;
8
7
  images?: string[];
9
8
  description?: string;
10
- isNutritionEnabled?: boolean;
11
- nutritionPackSize?: number;
12
- nutritionPackSizeUnit?: string;
13
- nutritions?: ProductNutrition[];
14
- dietaryTypes?: ProductDietaryType[];
15
- storedTemperature?: number;
16
9
  isDrinkIncluded?: boolean;
17
- isLargeItem?: boolean;
18
- isPreOrderEnabled?: boolean;
19
- numberOfPreparingHours?: number;
20
- note?: string;
21
10
  }
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ProductSnap = void 0;
13
13
  const typegoose_1 = require("@typegoose/typegoose");
14
14
  const enum_1 = require("../../../../utilities/enum");
15
- const product_nutrition_model_1 = require("./product-nutrition.model");
16
15
  class ProductSnap {
17
16
  name;
18
17
  barcode;
@@ -20,17 +19,7 @@ class ProductSnap {
20
19
  logo;
21
20
  images;
22
21
  description;
23
- isNutritionEnabled;
24
- nutritionPackSize;
25
- nutritionPackSizeUnit;
26
- nutritions;
27
- dietaryTypes;
28
- storedTemperature;
29
22
  isDrinkIncluded;
30
- isLargeItem;
31
- isPreOrderEnabled;
32
- numberOfPreparingHours;
33
- note;
34
23
  }
35
24
  exports.ProductSnap = ProductSnap;
36
25
  __decorate([
@@ -57,48 +46,8 @@ __decorate([
57
46
  (0, typegoose_1.prop)({ type: String }),
58
47
  __metadata("design:type", String)
59
48
  ], ProductSnap.prototype, "description", void 0);
60
- __decorate([
61
- (0, typegoose_1.prop)({ type: Boolean, default: false }),
62
- __metadata("design:type", Boolean)
63
- ], ProductSnap.prototype, "isNutritionEnabled", void 0);
64
- __decorate([
65
- (0, typegoose_1.prop)({ type: Number }),
66
- __metadata("design:type", Number)
67
- ], ProductSnap.prototype, "nutritionPackSize", void 0);
68
- __decorate([
69
- (0, typegoose_1.prop)({ type: String }),
70
- __metadata("design:type", String)
71
- ], ProductSnap.prototype, "nutritionPackSizeUnit", void 0);
72
- __decorate([
73
- (0, typegoose_1.prop)({ type: [product_nutrition_model_1.ProductNutrition], default: [] }),
74
- __metadata("design:type", Array)
75
- ], ProductSnap.prototype, "nutritions", void 0);
76
- __decorate([
77
- (0, typegoose_1.prop)({ type: [String], enum: enum_1.ProductDietaryType, default: [] }),
78
- __metadata("design:type", Array)
79
- ], ProductSnap.prototype, "dietaryTypes", void 0);
80
- __decorate([
81
- (0, typegoose_1.prop)({ type: Number }),
82
- __metadata("design:type", Number)
83
- ], ProductSnap.prototype, "storedTemperature", void 0);
84
49
  __decorate([
85
50
  (0, typegoose_1.prop)({ type: Boolean, default: false }),
86
51
  __metadata("design:type", Boolean)
87
52
  ], ProductSnap.prototype, "isDrinkIncluded", void 0);
88
- __decorate([
89
- (0, typegoose_1.prop)({ type: Boolean, default: false }),
90
- __metadata("design:type", Boolean)
91
- ], ProductSnap.prototype, "isLargeItem", void 0);
92
- __decorate([
93
- (0, typegoose_1.prop)({ type: Boolean, default: false }),
94
- __metadata("design:type", Boolean)
95
- ], ProductSnap.prototype, "isPreOrderEnabled", void 0);
96
- __decorate([
97
- (0, typegoose_1.prop)({ type: Number }),
98
- __metadata("design:type", Number)
99
- ], ProductSnap.prototype, "numberOfPreparingHours", void 0);
100
- __decorate([
101
- (0, typegoose_1.prop)({ type: String }),
102
- __metadata("design:type", String)
103
- ], ProductSnap.prototype, "note", void 0);
104
53
  //# sourceMappingURL=product-snap.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-snap.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/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AAE,CAAC;;0DACe;AAG/B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,CAAC,0CAAgB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;+CACT;AAGhC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,yBAAkB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;iDACrB;AAGpC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDACW;AAG3B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;oDACP;AAG1B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;gDACX;AAGtB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;sDACL;AAG5B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2DACgB;AAGhC;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACF","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { ProductDietaryType, ProductType } from '../../../../utilities/enum';\nimport { ProductNutrition } from './product-nutrition.model';\n\nexport class ProductSnap {\n\t@prop({ required: true, type: String })\n\tpublic name!: string;\n\n\t@prop({ type: String })\n\tpublic barcode?: string;\n\n\t@prop({ type: String, enum: ProductType })\n\tpublic productType?: ProductType;\n\n\t@prop({ type: String })\n\tpublic logo?: string;\n\n\t@prop({ type: [String], default: [] })\n\tpublic images?: string[];\n\n\t@prop({ type: String })\n\tpublic description?: string;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isNutritionEnabled?: boolean;\n\n\t@prop({ type: Number })\n\tpublic nutritionPackSize?: number;\n\n\t@prop({ type: String })\n\tpublic nutritionPackSizeUnit?: string;\n\n\t@prop({ type: [ProductNutrition], default: [] })\n\tpublic nutritions?: ProductNutrition[];\n\n\t@prop({ type: [String], enum: ProductDietaryType, default: [] })\n\tpublic dietaryTypes?: ProductDietaryType[];\n\n\t@prop({ type: Number })\n\tpublic storedTemperature?: number;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isDrinkIncluded?: boolean;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isLargeItem?: boolean;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isPreOrderEnabled?: boolean;\n\n\t@prop({ type: Number })\n\tpublic numberOfPreparingHours?: number;\n\n\t@prop({ type: String })\n\tpublic note?: string;\n}\n"]}
1
+ {"version":3,"file":"product-snap.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/product-snap.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4C;AAC5C,qDAAyD;AAEzD,MAAa,WAAW;IAEhB,IAAI,CAAU;IAGd,OAAO,CAAU;IAGjB,WAAW,CAAe;IAG1B,IAAI,CAAU;IAGd,MAAM,CAAY;IAGlB,WAAW,CAAU;IAGrB,eAAe,CAAW;CACjC;AArBD,kCAqBC;AAnBO;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCAClB;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACC;AAGjB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAW,EAAE,CAAC;;gDACT;AAG1B;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACF;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;2CACb;AAGlB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gDACK;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;oDACP","sourcesContent":["import { prop } from '@typegoose/typegoose';\nimport { ProductType } from '../../../../utilities/enum';\n\nexport class ProductSnap {\n\t@prop({ required: true, type: String })\n\tpublic name!: string;\n\n\t@prop({ type: String })\n\tpublic barcode?: string;\n\n\t@prop({ type: String, enum: ProductType })\n\tpublic productType?: ProductType;\n\n\t@prop({ type: String })\n\tpublic logo?: string;\n\n\t@prop({ type: [String], default: [] })\n\tpublic images?: string[];\n\n\t@prop({ type: String })\n\tpublic description?: string;\n\n\t@prop({ type: Boolean, default: false })\n\tpublic isDrinkIncluded?: boolean;\n}\n"]}
@@ -22,7 +22,7 @@ Perfect for sharing types between frontend and backend applications.
22
22
 
23
23
  ## Version
24
24
 
25
- Version: 1.0.215
25
+ Version: 1.0.216
26
26
 
27
27
  ## Dependencies
28
28
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/types",
3
- "version": "1.0.215",
3
+ "version": "1.0.216",
4
4
  "description": "Lyxa type definitions and validation schemas for both frontend and backend",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/core",
3
- "version": "1.0.215",
3
+ "version": "1.0.216",
4
4
  "description": "The Core system of the Lyxa services.",
5
5
  "author": "elie <42282499+Internalizable@users.noreply.github.com>",
6
6
  "license": "MIT",