@managesome/eposmatic-toolkit 0.2.734 → 0.2.735

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.
@@ -428,7 +428,6 @@ function convertHalfHalfToItem(halfhalfSetup, itemsMap, options) {
428
428
  featured_sort_id: 0,
429
429
  display_price: null,
430
430
  show_starting_from: false,
431
- use_source_ingredients: false,
432
431
  createdAt: halfhalfSetup.createdAt,
433
432
  updatedAt: halfhalfSetup.updatedAt,
434
433
  };
@@ -160,7 +160,7 @@ function convertMinifiedCategoryToOriginalCategory(category) {
160
160
  function convertMinifiedItemToOriginalItem(item, tenantId) {
161
161
  const {
162
162
  // Optional properties
163
- brand_id = 'xxx', tenants = [], ingredients = null, createdAt = new Date(), updatedAt = new Date(), hide_name = false, caveats = [], dietary_preferences = [], is_featured = false, featured_sort_id = 0, display_price = null, show_starting_from = false, use_source_ingredients = false, keywords = [], is_discount_percentage = false,
163
+ brand_id = 'xxx', tenants = [], ingredients = null, createdAt = new Date(), updatedAt = new Date(), hide_name = false, caveats = [], dietary_preferences = [], is_featured = false, featured_sort_id = 0, display_price = null, show_starting_from = false, keywords = [], is_discount_percentage = false,
164
164
  // Changed properties
165
165
  // sold_out,
166
166
  // price,
@@ -187,7 +187,6 @@ function convertMinifiedItemToOriginalItem(item, tenantId) {
187
187
  featured_sort_id,
188
188
  display_price,
189
189
  show_starting_from,
190
- use_source_ingredients,
191
190
  is_discount_percentage,
192
191
  // changed properties
193
192
  price,
@@ -594,7 +594,6 @@ function convertSpecialToItem(special, itemsMap, halfhalfSetups) {
594
594
  featured_sort_id: 0,
595
595
  display_price: special.display_price,
596
596
  show_starting_from: special.show_starting_from,
597
- use_source_ingredients: false,
598
597
  createdAt: special.createdAt,
599
598
  updatedAt: special.updatedAt,
600
599
  };
@@ -4015,7 +4015,6 @@ export declare const ItemSchema: Schema<any, import("mongoose").Model<any, any,
4015
4015
  featured_sort_id: number;
4016
4016
  display_price: number;
4017
4017
  show_starting_from?: boolean | null | undefined;
4018
- use_source_ingredients?: boolean | null | undefined;
4019
4018
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
4020
4019
  createdAt: NativeDate;
4021
4020
  updatedAt: NativeDate;
@@ -7711,7 +7710,6 @@ export declare const ItemSchema: Schema<any, import("mongoose").Model<any, any,
7711
7710
  featured_sort_id: number;
7712
7711
  display_price: number;
7713
7712
  show_starting_from?: boolean | null | undefined;
7714
- use_source_ingredients?: boolean | null | undefined;
7715
7713
  }>> & import("mongoose").FlatRecord<{
7716
7714
  createdAt: NativeDate;
7717
7715
  updatedAt: NativeDate;
@@ -11407,7 +11405,6 @@ export declare const ItemSchema: Schema<any, import("mongoose").Model<any, any,
11407
11405
  featured_sort_id: number;
11408
11406
  display_price: number;
11409
11407
  show_starting_from?: boolean | null | undefined;
11410
- use_source_ingredients?: boolean | null | undefined;
11411
11408
  }> & Required<{
11412
11409
  _id: import("mongoose").Types.ObjectId;
11413
11410
  }> & {
@@ -318,10 +318,6 @@ exports.ItemSchema = new mongoose_1.Schema({
318
318
  type: Boolean,
319
319
  required: false,
320
320
  },
321
- use_source_ingredients: {
322
- type: Boolean,
323
- required: false,
324
- },
325
321
  // =====><=====
326
322
  createdAt: {
327
323
  type: mongoose_1.Schema.Types.Date,
@@ -63,7 +63,6 @@ export interface IItem {
63
63
  featured_sort_id: number;
64
64
  display_price?: number | null;
65
65
  show_starting_from?: boolean;
66
- use_source_ingredients?: boolean;
67
66
  createdAt: Date;
68
67
  updatedAt: Date;
69
68
  }
@@ -742,7 +742,6 @@ function makeCatalogItem(id, overrides = {}) {
742
742
  item_special_hours: null,
743
743
  display_price: null,
744
744
  show_starting_from: false,
745
- use_source_ingredients: false,
746
745
  is_featured: false,
747
746
  featured_sort_id: 0,
748
747
  createdAt: new Date('2024-01-01'),
@@ -56,7 +56,6 @@ function makeItem(id, overrides = {}) {
56
56
  item_special_hours: null,
57
57
  display_price: null,
58
58
  show_starting_from: false,
59
- use_source_ingredients: false,
60
59
  is_featured: false,
61
60
  featured_sort_id: 0,
62
61
  createdAt: new Date('2024-01-01'),
@@ -30,7 +30,6 @@ function makeItem(id, overrides = {}) {
30
30
  item_special_hours: null,
31
31
  display_price: null,
32
32
  show_starting_from: false,
33
- use_source_ingredients: false,
34
33
  createdAt: new Date('2024-01-01'),
35
34
  updatedAt: new Date('2024-01-02'),
36
35
  modifiers: null,
@@ -34,7 +34,6 @@ function makeItem(id, overrides = {}) {
34
34
  item_special_hours: null,
35
35
  display_price: null,
36
36
  show_starting_from: false,
37
- use_source_ingredients: false,
38
37
  is_featured: false,
39
38
  featured_sort_id: 0,
40
39
  createdAt: new Date('2024-01-01'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.734",
3
+ "version": "0.2.735",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",