@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/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -7895,8 +7895,16 @@ var CREATE_COUPON_MUTATION = gql`
|
|
|
7895
7895
|
${COUPON}
|
|
7896
7896
|
`;
|
|
7897
7897
|
var UPDATE_COUPON_MUTATION = gql`
|
|
7898
|
-
mutation updateCoupon(
|
|
7899
|
-
|
|
7898
|
+
mutation updateCoupon(
|
|
7899
|
+
$couponDocumentId: ID!
|
|
7900
|
+
$couponId: ID!
|
|
7901
|
+
$input: CouponInputType!
|
|
7902
|
+
) {
|
|
7903
|
+
updateCoupon(
|
|
7904
|
+
couponDocumentId: $couponDocumentId
|
|
7905
|
+
couponId: $couponId
|
|
7906
|
+
input: $input
|
|
7907
|
+
) {
|
|
7900
7908
|
data {
|
|
7901
7909
|
...CouponFields
|
|
7902
7910
|
}
|
|
@@ -7906,8 +7914,8 @@ var UPDATE_COUPON_MUTATION = gql`
|
|
|
7906
7914
|
${COUPON}
|
|
7907
7915
|
`;
|
|
7908
7916
|
var DELETE_COUPON_MUTATION = gql`
|
|
7909
|
-
mutation deleteCoupon($
|
|
7910
|
-
deleteCoupon(
|
|
7917
|
+
mutation deleteCoupon($couponDocumentId: ID!, $couponId: ID!) {
|
|
7918
|
+
deleteCoupon(couponDocumentId: $couponDocumentId, couponId: $couponId) {
|
|
7911
7919
|
data
|
|
7912
7920
|
message
|
|
7913
7921
|
}
|
|
@@ -9173,7 +9181,7 @@ var vendorProductTypeSchema = new MongooseSchema14(
|
|
|
9173
9181
|
);
|
|
9174
9182
|
var productWrapperSchema = new MongooseSchema14(
|
|
9175
9183
|
{
|
|
9176
|
-
active: { default: false, required:
|
|
9184
|
+
active: { default: false, required: false, type: Boolean },
|
|
9177
9185
|
productsList: { required: false, type: [vendorProductTypeSchema] }
|
|
9178
9186
|
},
|
|
9179
9187
|
{ _id: false }
|
|
@@ -9923,7 +9931,7 @@ var SHARE_RESOURCE_LABEL2 = {
|
|
|
9923
9931
|
school: "School"
|
|
9924
9932
|
};
|
|
9925
9933
|
|
|
9926
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
9934
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-OH7ZORGB.mjs
|
|
9927
9935
|
var PROMO_CODE_PREFIX2 = "CM-";
|
|
9928
9936
|
var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
|
|
9929
9937
|
var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
|
|
@@ -10025,7 +10033,7 @@ var gameScreenIdentifierList2 = [
|
|
|
10025
10033
|
}
|
|
10026
10034
|
];
|
|
10027
10035
|
|
|
10028
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
10036
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-IH3BEKPK.mjs
|
|
10029
10037
|
var import_dayjs4 = __toESM(require("dayjs"), 1);
|
|
10030
10038
|
var statusOptions2 = [
|
|
10031
10039
|
...Object.values(EnumInviteStatus2).map((status) => ({
|