@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.cjs
CHANGED
|
@@ -8606,8 +8606,8 @@ var VENDOR_DATETIME_FIELDS_FRAGMENT = gql`
|
|
|
8606
8606
|
startTime
|
|
8607
8607
|
}
|
|
8608
8608
|
`;
|
|
8609
|
-
var
|
|
8610
|
-
fragment
|
|
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
|
-
|
|
8669
|
-
...
|
|
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
|
-
${
|
|
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
|
-
|
|
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
|
-
|
|
11611
|
+
productsList: { required: false, type: [productTypeSchema] }
|
|
11612
11612
|
},
|
|
11613
11613
|
{ _id: false }
|
|
11614
11614
|
);
|