@timardex/cluemart-server-shared 1.1.20 → 1.1.21
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-WDKTIULG.mjs → chunk-3JRVRK2N.mjs} +6 -10
- package/dist/chunk-3JRVRK2N.mjs.map +1 -0
- package/dist/index.cjs +7 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -11
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +5 -9
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +7 -11
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +3 -3
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-WDKTIULG.mjs.map +0 -1
package/dist/mongoose/index.cjs
CHANGED
|
@@ -7817,6 +7817,9 @@ var COUPON_CODE_FIELDS_FRAGMENT = gql`
|
|
|
7817
7817
|
qrCode {
|
|
7818
7818
|
...ResourceImageFields
|
|
7819
7819
|
}
|
|
7820
|
+
shareableQrCode {
|
|
7821
|
+
...ResourceImageFields
|
|
7822
|
+
}
|
|
7820
7823
|
}
|
|
7821
7824
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
7822
7825
|
`;
|
|
@@ -7943,14 +7946,6 @@ var GET_COUPON = gql`
|
|
|
7943
7946
|
}
|
|
7944
7947
|
${COUPON}
|
|
7945
7948
|
`;
|
|
7946
|
-
var GET_RESOURCE_COUPONS = gql`
|
|
7947
|
-
query getResourceCoupons($resourceId: ID!, $resourceType: ResourceTypeEnum!) {
|
|
7948
|
-
resourceCoupons(resourceId: $resourceId, resourceType: $resourceType) {
|
|
7949
|
-
...CouponFields
|
|
7950
|
-
}
|
|
7951
|
-
}
|
|
7952
|
-
${COUPON}
|
|
7953
|
-
`;
|
|
7954
7949
|
var CREATE_COUPON_MUTATION = gql`
|
|
7955
7950
|
mutation createCoupon($input: CouponInputType!) {
|
|
7956
7951
|
createCoupon(input: $input) {
|
|
@@ -9132,7 +9127,8 @@ var couponRewardSchema = new MongooseSchema13(
|
|
|
9132
9127
|
var couponCodeSchema = new MongooseSchema13(
|
|
9133
9128
|
{
|
|
9134
9129
|
code: { required: true, type: String },
|
|
9135
|
-
qrCode: { required: true, type: ResourceImageTypeSchema }
|
|
9130
|
+
qrCode: { required: true, type: ResourceImageTypeSchema },
|
|
9131
|
+
shareableQrCode: { required: true, type: ResourceImageTypeSchema }
|
|
9136
9132
|
},
|
|
9137
9133
|
{ _id: false }
|
|
9138
9134
|
);
|