@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
|
@@ -7741,6 +7741,9 @@ var COUPON_CODE_FIELDS_FRAGMENT = gql`
|
|
|
7741
7741
|
qrCode {
|
|
7742
7742
|
...ResourceImageFields
|
|
7743
7743
|
}
|
|
7744
|
+
shareableQrCode {
|
|
7745
|
+
...ResourceImageFields
|
|
7746
|
+
}
|
|
7744
7747
|
}
|
|
7745
7748
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
7746
7749
|
`;
|
|
@@ -7867,14 +7870,6 @@ var GET_COUPON = gql`
|
|
|
7867
7870
|
}
|
|
7868
7871
|
${COUPON}
|
|
7869
7872
|
`;
|
|
7870
|
-
var GET_RESOURCE_COUPONS = gql`
|
|
7871
|
-
query getResourceCoupons($resourceId: ID!, $resourceType: ResourceTypeEnum!) {
|
|
7872
|
-
resourceCoupons(resourceId: $resourceId, resourceType: $resourceType) {
|
|
7873
|
-
...CouponFields
|
|
7874
|
-
}
|
|
7875
|
-
}
|
|
7876
|
-
${COUPON}
|
|
7877
|
-
`;
|
|
7878
7873
|
var CREATE_COUPON_MUTATION = gql`
|
|
7879
7874
|
mutation createCoupon($input: CouponInputType!) {
|
|
7880
7875
|
createCoupon(input: $input) {
|
|
@@ -9104,7 +9099,8 @@ var couponRewardSchema = new MongooseSchema13(
|
|
|
9104
9099
|
var couponCodeSchema = new MongooseSchema13(
|
|
9105
9100
|
{
|
|
9106
9101
|
code: { required: true, type: String },
|
|
9107
|
-
qrCode: { required: true, type: ResourceImageTypeSchema }
|
|
9102
|
+
qrCode: { required: true, type: ResourceImageTypeSchema },
|
|
9103
|
+
shareableQrCode: { required: true, type: ResourceImageTypeSchema }
|
|
9108
9104
|
},
|
|
9109
9105
|
{ _id: false }
|
|
9110
9106
|
);
|
|
@@ -9913,4 +9909,4 @@ export {
|
|
|
9913
9909
|
SchoolModel,
|
|
9914
9910
|
AffiliateModel
|
|
9915
9911
|
};
|
|
9916
|
-
//# sourceMappingURL=chunk-
|
|
9912
|
+
//# sourceMappingURL=chunk-3JRVRK2N.mjs.map
|