@timardex/cluemart-server-shared 1.0.95 → 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.
package/dist/index.cjs CHANGED
@@ -8606,8 +8606,8 @@ var VENDOR_DATETIME_FIELDS_FRAGMENT = gql`
8606
8606
  startTime
8607
8607
  }
8608
8608
  `;
8609
- var VENDOR_PRODUCT_FIELDS_FRAGMENT = gql`
8610
- fragment VendorProductFields on VendorProductType {
8609
+ var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = gql`
8610
+ fragment VendorProductListFields on VendorProductListType {
8611
8611
  description
8612
8612
  name
8613
8613
  price
@@ -8665,8 +8665,8 @@ var VENDOR = gql`
8665
8665
  }
8666
8666
  products {
8667
8667
  active
8668
- productsData {
8669
- ...VendorProductFields
8668
+ productsList {
8669
+ ...VendorProductListFields
8670
8670
  }
8671
8671
  }
8672
8672
  promoCodes
@@ -8699,7 +8699,7 @@ var VENDOR = gql`
8699
8699
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
8700
8700
  ${POSTER_USAGE_FIELDS_FRAGMENT}
8701
8701
  ${ASSOCIATES_FIELDS_FRAGMENT}
8702
- ${VENDOR_PRODUCT_FIELDS_FRAGMENT}
8702
+ ${VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT}
8703
8703
  ${CONTACT_DETAILS_FIELDS_FRAGMENT}
8704
8704
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
8705
8705
  ${RELATION_DATES_FRAGMENT}
@@ -10302,7 +10302,7 @@ var vendorSchema = globalResourceSchema.shape({
10302
10302
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
10303
10303
  foodTruck: create$7().label("Food Truck").required("Please specify if the vendor is a food truck"),
10304
10304
  products: create$3().shape({
10305
- productsData: create$2().of(vendroMenuSchema).nullable().optional()
10305
+ productsList: create$2().of(vendroMenuSchema).nullable().optional()
10306
10306
  }).nullable().optional(),
10307
10307
  vendorType: create$8().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
10308
10308
  });
@@ -11608,7 +11608,7 @@ var productTypeSchema = new MongooseSchema13(
11608
11608
  var productWrapperSchema = new MongooseSchema13(
11609
11609
  {
11610
11610
  active: { default: false, type: Boolean },
11611
- productData: { required: false, type: [productTypeSchema] }
11611
+ productsList: { required: false, type: [productTypeSchema] }
11612
11612
  },
11613
11613
  { _id: false }
11614
11614
  );