@timardex/cluemart-server-shared 1.0.94 → 1.0.96

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.
@@ -8114,6 +8114,7 @@ var SOCIAL_MEDIA_FIELDS_FRAGMENT = gql`
8114
8114
  `;
8115
8115
  var RESOURCE_IMAGE_FIELDS_FRAGMENT = gql`
8116
8116
  fragment ResourceImageFields on ResourceImageType {
8117
+ active
8117
8118
  source
8118
8119
  title
8119
8120
  }
@@ -8531,8 +8532,8 @@ var VENDOR_DATETIME_FIELDS_FRAGMENT = gql`
8531
8532
  startTime
8532
8533
  }
8533
8534
  `;
8534
- var VENDOR_PRODUCT_FIELDS_FRAGMENT = gql`
8535
- fragment VendorProductFields on VendorProductType {
8535
+ var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = gql`
8536
+ fragment VendorProductListFields on VendorProductListType {
8536
8537
  description
8537
8538
  name
8538
8539
  price
@@ -8590,8 +8591,8 @@ var VENDOR = gql`
8590
8591
  }
8591
8592
  products {
8592
8593
  active
8593
- productsData {
8594
- ...VendorProductFields
8594
+ productsList {
8595
+ ...VendorProductListFields
8595
8596
  }
8596
8597
  }
8597
8598
  promoCodes
@@ -8624,7 +8625,7 @@ var VENDOR = gql`
8624
8625
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
8625
8626
  ${POSTER_USAGE_FIELDS_FRAGMENT}
8626
8627
  ${ASSOCIATES_FIELDS_FRAGMENT}
8627
- ${VENDOR_PRODUCT_FIELDS_FRAGMENT}
8628
+ ${VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT}
8628
8629
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
8629
8630
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
8630
8631
  ${RELATION_DATES_FRAGMENT}
@@ -10227,7 +10228,7 @@ var vendorSchema = globalResourceSchema.shape({
10227
10228
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
10228
10229
  foodTruck: create$7().label("Food Truck").required("Please specify if the vendor is a food truck"),
10229
10230
  products: create$3().shape({
10230
- productsData: create$2().of(vendroMenuSchema).nullable().optional()
10231
+ productsList: create$2().of(vendroMenuSchema).nullable().optional()
10231
10232
  }).nullable().optional(),
10232
10233
  vendorType: create$8().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
10233
10234
  });
@@ -10503,10 +10504,12 @@ var globalDefaultValues = {
10503
10504
  mobilePhone: null
10504
10505
  },
10505
10506
  cover: {
10507
+ active: true,
10506
10508
  source: "",
10507
10509
  title: ""
10508
10510
  },
10509
10511
  coverUpload: {
10512
+ active: true,
10510
10513
  source: "",
10511
10514
  title: ""
10512
10515
  },
@@ -10763,6 +10766,7 @@ var SocialMediaTypeSchema = new MongooseSchema3(
10763
10766
  );
10764
10767
  var ResourceImageTypeSchema = new MongooseSchema3(
10765
10768
  {
10769
+ active: { default: true, type: Boolean },
10766
10770
  source: { required: false, type: String },
10767
10771
  title: { required: false, type: String }
10768
10772
  },
@@ -11530,7 +11534,7 @@ var productTypeSchema = new MongooseSchema13(
11530
11534
  var productWrapperSchema = new MongooseSchema13(
11531
11535
  {
11532
11536
  active: { default: false, type: Boolean },
11533
- productData: { required: false, type: [productTypeSchema] }
11537
+ productsList: { required: false, type: [productTypeSchema] }
11534
11538
  },
11535
11539
  { _id: false }
11536
11540
  );
@@ -11865,4 +11869,4 @@ react/cjs/react.development.js:
11865
11869
  * LICENSE file in the root directory of this source tree.
11866
11870
  *)
11867
11871
  */
11868
- //# sourceMappingURL=chunk-SDZAM4E4.mjs.map
11872
+ //# sourceMappingURL=chunk-EIX3V4IW.mjs.map