@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/{chunk-WTKUZWRS.mjs → chunk-EIX3V4IW.mjs} +8 -8
- package/dist/chunk-EIX3V4IW.mjs.map +1 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +7 -7
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +7 -7
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-WTKUZWRS.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -8553,8 +8553,8 @@ var VENDOR_DATETIME_FIELDS_FRAGMENT = gql`
|
|
|
8553
8553
|
startTime
|
|
8554
8554
|
}
|
|
8555
8555
|
`;
|
|
8556
|
-
var
|
|
8557
|
-
fragment
|
|
8556
|
+
var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = gql`
|
|
8557
|
+
fragment VendorProductListFields on VendorProductListType {
|
|
8558
8558
|
description
|
|
8559
8559
|
name
|
|
8560
8560
|
price
|
|
@@ -8612,8 +8612,8 @@ var VENDOR = gql`
|
|
|
8612
8612
|
}
|
|
8613
8613
|
products {
|
|
8614
8614
|
active
|
|
8615
|
-
|
|
8616
|
-
...
|
|
8615
|
+
productsList {
|
|
8616
|
+
...VendorProductListFields
|
|
8617
8617
|
}
|
|
8618
8618
|
}
|
|
8619
8619
|
promoCodes
|
|
@@ -8646,7 +8646,7 @@ var VENDOR = gql`
|
|
|
8646
8646
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
8647
8647
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
8648
8648
|
${ASSOCIATES_FIELDS_FRAGMENT}
|
|
8649
|
-
${
|
|
8649
|
+
${VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT}
|
|
8650
8650
|
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
8651
8651
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
8652
8652
|
${RELATION_DATES_FRAGMENT}
|
|
@@ -10249,7 +10249,7 @@ var vendorSchema = globalResourceSchema.shape({
|
|
|
10249
10249
|
categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
10250
10250
|
foodTruck: create$7().label("Food Truck").required("Please specify if the vendor is a food truck"),
|
|
10251
10251
|
products: create$3().shape({
|
|
10252
|
-
|
|
10252
|
+
productsList: create$2().of(vendroMenuSchema).nullable().optional()
|
|
10253
10253
|
}).nullable().optional(),
|
|
10254
10254
|
vendorType: create$8().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
|
|
10255
10255
|
});
|
|
@@ -11555,7 +11555,7 @@ var productTypeSchema = new MongooseSchema13(
|
|
|
11555
11555
|
var productWrapperSchema = new MongooseSchema13(
|
|
11556
11556
|
{
|
|
11557
11557
|
active: { default: false, type: Boolean },
|
|
11558
|
-
|
|
11558
|
+
productsList: { required: false, type: [productTypeSchema] }
|
|
11559
11559
|
},
|
|
11560
11560
|
{ _id: false }
|
|
11561
11561
|
);
|