@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
package/dist/index.cjs
CHANGED
|
@@ -5507,6 +5507,7 @@ var VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT = gql`
|
|
|
5507
5507
|
_id
|
|
5508
5508
|
createdAt
|
|
5509
5509
|
description
|
|
5510
|
+
hasCoupon
|
|
5510
5511
|
name
|
|
5511
5512
|
price
|
|
5512
5513
|
priceUnit
|
|
@@ -9056,16 +9057,17 @@ var MongooseSchema13 = import_mongoose13.default.Schema;
|
|
|
9056
9057
|
var vendorProductTypeSchema = new MongooseSchema13(
|
|
9057
9058
|
{
|
|
9058
9059
|
description: { required: false, type: String },
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9060
|
+
hasCoupon: { default: false, required: false, type: Boolean },
|
|
9061
|
+
name: { required: true, type: String },
|
|
9062
|
+
price: { required: true, type: Number },
|
|
9063
|
+
priceUnit: { required: true, type: String },
|
|
9062
9064
|
productGroups: { required: false, type: [String] }
|
|
9063
9065
|
},
|
|
9064
9066
|
{ timestamps: true }
|
|
9065
9067
|
);
|
|
9066
9068
|
var productWrapperSchema = new MongooseSchema13(
|
|
9067
9069
|
{
|
|
9068
|
-
active: { default: false, type: Boolean },
|
|
9070
|
+
active: { default: false, required: true, type: Boolean },
|
|
9069
9071
|
productsList: { required: false, type: [vendorProductTypeSchema] }
|
|
9070
9072
|
},
|
|
9071
9073
|
{ _id: false }
|
|
@@ -9093,7 +9095,7 @@ var calendarSchema = new MongooseSchema13(
|
|
|
9093
9095
|
);
|
|
9094
9096
|
var calendarWrapperSchema = new MongooseSchema13(
|
|
9095
9097
|
{
|
|
9096
|
-
active: { default: false, type: Boolean },
|
|
9098
|
+
active: { default: false, required: true, type: Boolean },
|
|
9097
9099
|
calendarData: { required: false, type: [calendarSchema] }
|
|
9098
9100
|
},
|
|
9099
9101
|
{ _id: false }
|