@timardex/cluemart-server-shared 1.1.15 → 1.1.16
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-VS3WIV6D.mjs → chunk-7GXZS3LI.mjs} +8 -6
- package/dist/chunk-7GXZS3LI.mjs.map +1 -0
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +7 -5
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +7 -5
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-VS3WIV6D.mjs.map +0 -1
|
@@ -5405,6 +5405,7 @@ var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = gql`
|
|
|
5405
5405
|
_id
|
|
5406
5406
|
createdAt
|
|
5407
5407
|
description
|
|
5408
|
+
hasCoupon
|
|
5408
5409
|
name
|
|
5409
5410
|
price
|
|
5410
5411
|
priceUnit
|
|
@@ -8954,16 +8955,17 @@ var MongooseSchema13 = mongoose13.Schema;
|
|
|
8954
8955
|
var vendorProductTypeSchema = new MongooseSchema13(
|
|
8955
8956
|
{
|
|
8956
8957
|
description: { required: false, type: String },
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8958
|
+
hasCoupon: { default: false, required: false, type: Boolean },
|
|
8959
|
+
name: { required: true, type: String },
|
|
8960
|
+
price: { required: true, type: Number },
|
|
8961
|
+
priceUnit: { required: true, type: String },
|
|
8960
8962
|
productGroups: { required: false, type: [String] }
|
|
8961
8963
|
},
|
|
8962
8964
|
{ timestamps: true }
|
|
8963
8965
|
);
|
|
8964
8966
|
var productWrapperSchema = new MongooseSchema13(
|
|
8965
8967
|
{
|
|
8966
|
-
active: { default: false, type: Boolean },
|
|
8968
|
+
active: { default: false, required: true, type: Boolean },
|
|
8967
8969
|
productsList: { required: false, type: [vendorProductTypeSchema] }
|
|
8968
8970
|
},
|
|
8969
8971
|
{ _id: false }
|
|
@@ -8991,7 +8993,7 @@ var calendarSchema = new MongooseSchema13(
|
|
|
8991
8993
|
);
|
|
8992
8994
|
var calendarWrapperSchema = new MongooseSchema13(
|
|
8993
8995
|
{
|
|
8994
|
-
active: { default: false, type: Boolean },
|
|
8996
|
+
active: { default: false, required: true, type: Boolean },
|
|
8995
8997
|
calendarData: { required: false, type: [calendarSchema] }
|
|
8996
8998
|
},
|
|
8997
8999
|
{ _id: false }
|
|
@@ -9759,4 +9761,4 @@ export {
|
|
|
9759
9761
|
AffiliateModel,
|
|
9760
9762
|
CouponModel
|
|
9761
9763
|
};
|
|
9762
|
-
//# sourceMappingURL=chunk-
|
|
9764
|
+
//# sourceMappingURL=chunk-7GXZS3LI.mjs.map
|