@timardex/cluemart-server-shared 1.1.18 → 1.1.19
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-TDAUQKK7.mjs → chunk-XOFBUTNJ.mjs} +14 -6
- package/dist/chunk-XOFBUTNJ.mjs.map +1 -0
- package/dist/index.cjs +15 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +15 -7
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +13 -5
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +15 -7
- 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-TDAUQKK7.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -7941,8 +7941,16 @@ var CREATE_COUPON_MUTATION = gql`
|
|
|
7941
7941
|
${COUPON}
|
|
7942
7942
|
`;
|
|
7943
7943
|
var UPDATE_COUPON_MUTATION = gql`
|
|
7944
|
-
mutation updateCoupon(
|
|
7945
|
-
|
|
7944
|
+
mutation updateCoupon(
|
|
7945
|
+
$couponDocumentId: ID!
|
|
7946
|
+
$couponId: ID!
|
|
7947
|
+
$input: CouponInputType!
|
|
7948
|
+
) {
|
|
7949
|
+
updateCoupon(
|
|
7950
|
+
couponDocumentId: $couponDocumentId
|
|
7951
|
+
couponId: $couponId
|
|
7952
|
+
input: $input
|
|
7953
|
+
) {
|
|
7946
7954
|
data {
|
|
7947
7955
|
...CouponFields
|
|
7948
7956
|
}
|
|
@@ -7952,8 +7960,8 @@ var UPDATE_COUPON_MUTATION = gql`
|
|
|
7952
7960
|
${COUPON}
|
|
7953
7961
|
`;
|
|
7954
7962
|
var DELETE_COUPON_MUTATION = gql`
|
|
7955
|
-
mutation deleteCoupon($
|
|
7956
|
-
deleteCoupon(
|
|
7963
|
+
mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
|
|
7964
|
+
deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
|
|
7957
7965
|
data
|
|
7958
7966
|
message
|
|
7959
7967
|
}
|
|
@@ -9219,7 +9227,7 @@ var vendorProductTypeSchema = new MongooseSchema14(
|
|
|
9219
9227
|
);
|
|
9220
9228
|
var productWrapperSchema = new MongooseSchema14(
|
|
9221
9229
|
{
|
|
9222
|
-
active: { default: false, required:
|
|
9230
|
+
active: { default: false, required: false, type: Boolean },
|
|
9223
9231
|
productsList: { required: false, type: [vendorProductTypeSchema] }
|
|
9224
9232
|
},
|
|
9225
9233
|
{ _id: false }
|
|
@@ -9969,7 +9977,7 @@ var SHARE_RESOURCE_LABEL2 = {
|
|
|
9969
9977
|
school: "School"
|
|
9970
9978
|
};
|
|
9971
9979
|
|
|
9972
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
9980
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OH7ZORGB.mjs
|
|
9973
9981
|
var PROMO_CODE_PREFIX2 = "CM-";
|
|
9974
9982
|
var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
|
|
9975
9983
|
var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
|
|
@@ -10071,7 +10079,7 @@ var gameScreenIdentifierList2 = [
|
|
|
10071
10079
|
}
|
|
10072
10080
|
];
|
|
10073
10081
|
|
|
10074
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10082
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IH3BEKPK.mjs
|
|
10075
10083
|
var import_dayjs4 = __toESM(require("dayjs"), 1);
|
|
10076
10084
|
var statusOptions2 = [
|
|
10077
10085
|
...Object.values(EnumInviteStatus2).map((status) => ({
|