@timardex/cluemart-shared 2.0.9 → 2.0.11
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/auth/index.mjs +1 -1
- package/dist/{chunk-P4NLBWEJ.mjs → chunk-3DYFIY72.mjs} +10 -1
- package/dist/chunk-3DYFIY72.mjs.map +1 -0
- package/dist/{chunk-ACCOACCV.mjs → chunk-4T3GEF5H.mjs} +9 -3
- package/dist/chunk-4T3GEF5H.mjs.map +1 -0
- package/dist/{chunk-JX7Q5EI4.mjs → chunk-AUWZYZK5.mjs} +3 -3
- package/dist/{chunk-JAIBL6IU.mjs → chunk-PNKTKJ47.mjs} +2 -2
- package/dist/{chunk-YRO6KEZG.mjs → chunk-UH6POK3Y.mjs} +2 -2
- package/dist/enums/index.cjs +10 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +8 -1
- package/dist/enums/index.d.ts +8 -1
- package/dist/enums/index.mjs +3 -1
- package/dist/formFields/index.cjs +5 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +4 -4
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +6 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +6 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +17 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +9 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.mjs +7 -5
- package/package.json +1 -1
- package/dist/chunk-ACCOACCV.mjs.map +0 -1
- package/dist/chunk-P4NLBWEJ.mjs.map +0 -1
- /package/dist/{chunk-JX7Q5EI4.mjs.map → chunk-AUWZYZK5.mjs.map} +0 -0
- /package/dist/{chunk-JAIBL6IU.mjs.map → chunk-PNKTKJ47.mjs.map} +0 -0
- /package/dist/{chunk-YRO6KEZG.mjs.map → chunk-UH6POK3Y.mjs.map} +0 -0
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
vendorStallSize,
|
|
43
43
|
vendorStartDateFields,
|
|
44
44
|
vendorTable
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-AUWZYZK5.mjs";
|
|
46
46
|
import {
|
|
47
47
|
availableCategories,
|
|
48
48
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
} from "../chunk-4T3GEF5H.mjs";
|
|
50
|
+
import "../chunk-UH6POK3Y.mjs";
|
|
51
51
|
import "../chunk-L45XTF3X.mjs";
|
|
52
52
|
import "../chunk-RAYUJODN.mjs";
|
|
53
53
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
54
54
|
import "../chunk-7DQBUZXY.mjs";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-3DYFIY72.mjs";
|
|
56
56
|
export {
|
|
57
57
|
availableCategories,
|
|
58
58
|
availableTagTypes,
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
useValidateVerificationToken
|
|
193
193
|
} from "../chunk-JOA6W4SP.mjs";
|
|
194
194
|
import "../chunk-7DQBUZXY.mjs";
|
|
195
|
-
import "../chunk-
|
|
195
|
+
import "../chunk-3DYFIY72.mjs";
|
|
196
196
|
export {
|
|
197
197
|
ACTIVATE_VENDOR_CLAIM_MUTATION,
|
|
198
198
|
AD_BOOKING_FIELDS_FRAGMENT,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -550,6 +550,11 @@ var licenseNiceNames = {
|
|
|
550
550
|
["standard_affiliate" /* STANDARD_AFFILIATE */]: "Affiliate",
|
|
551
551
|
["standard_school" /* STANDARD_SCHOOL */]: "School"
|
|
552
552
|
};
|
|
553
|
+
var vendorLicences = [
|
|
554
|
+
"standard_vendor" /* STANDARD_VENDOR */,
|
|
555
|
+
"pro_vendor" /* PRO_VENDOR */,
|
|
556
|
+
"pro_plus_vendor" /* PRO_PLUS_VENDOR */
|
|
557
|
+
];
|
|
553
558
|
var cluemartSocialMedia = [
|
|
554
559
|
{
|
|
555
560
|
link: "https://www.facebook.com/ClueMartApp",
|
|
@@ -6408,7 +6413,7 @@ var couponPurchaseOptionSchema = yup10.object().shape({
|
|
|
6408
6413
|
if (value === void 0 || buy === void 0) return true;
|
|
6409
6414
|
return value < buy;
|
|
6410
6415
|
}),
|
|
6411
|
-
maxRewardCount: yup10.number().transform((_, originalValue) => toOptionalNumber(originalValue)).label("Max
|
|
6416
|
+
maxRewardCount: yup10.number().transform((_, originalValue) => toOptionalNumber(originalValue)).label("Max coupon count").typeError("Max coupon count must be a number").integer("Max coupon count must be a whole number").min(20, "Max coupon count must be at least 20").max(200, "Max coupon count cannot exceed 200").required("Max coupon count is required"),
|
|
6412
6417
|
type: yup10.mixed().oneOf(["PURCHASE" /* PURCHASE */], "Type must be PURCHASE").required("Type is required"),
|
|
6413
6418
|
unit: yup10.string().label("Unit").trim().required("Unit is required")
|
|
6414
6419
|
}).nullable().defined("Coupon option is required");
|