@timardex/cluemart-shared 1.5.775 → 1.5.777
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-ATTUHVWE.mjs → chunk-5R3KIHUK.mjs} +5 -4
- package/dist/chunk-5R3KIHUK.mjs.map +1 -0
- package/dist/{chunk-2RPU74Z4.mjs → chunk-I2V5GDNE.mjs} +3 -1
- package/dist/chunk-I2V5GDNE.mjs.map +1 -0
- package/dist/{chunk-B6ZIAYXA.mjs → chunk-SJQN4KJV.mjs} +3 -3
- package/dist/{chunk-KL3J2JBI.mjs → chunk-TL5T6TUR.mjs} +6 -4
- package/dist/chunk-TL5T6TUR.mjs.map +1 -0
- package/dist/{chunk-4FU5YRN2.mjs → chunk-VZEYSSC3.mjs} +3 -2
- package/dist/{chunk-4FU5YRN2.mjs.map → chunk-VZEYSSC3.mjs.map} +1 -1
- package/dist/enums/index.cjs +2 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +4 -2
- package/dist/enums/index.d.ts +4 -2
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +4 -2
- 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 +10 -4
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +5 -5
- package/dist/index.cjs +10 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +8 -4
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +2 -2
- package/dist/sharing/index.d.ts +2 -2
- package/dist/sharing/index.mjs +4 -4
- package/dist/types/index.cjs +2 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.mjs +2 -2
- package/dist/utils/index.cjs +4 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-2RPU74Z4.mjs.map +0 -1
- package/dist/chunk-ATTUHVWE.mjs.map +0 -1
- package/dist/chunk-KL3J2JBI.mjs.map +0 -1
- /package/dist/{chunk-B6ZIAYXA.mjs.map → chunk-SJQN4KJV.mjs.map} +0 -0
package/dist/sharing/index.cjs
CHANGED
|
@@ -271,7 +271,8 @@ var TIER_FROM_LICENCE = {
|
|
|
271
271
|
["standard_event" /* STANDARD_EVENT */]: "standard",
|
|
272
272
|
["standard_partner" /* STANDARD_PARTNER */]: "standard",
|
|
273
273
|
["standard_vendor" /* STANDARD_VENDOR */]: "standard",
|
|
274
|
-
["standard_affiliate" /* STANDARD_AFFILIATE */]: "standard"
|
|
274
|
+
["standard_affiliate" /* STANDARD_AFFILIATE */]: "standard",
|
|
275
|
+
["standard_school" /* STANDARD_SCHOOL */]: "standard"
|
|
275
276
|
};
|
|
276
277
|
|
|
277
278
|
// src/utils/utils.ts
|
|
@@ -299,7 +300,8 @@ var licenseNiceNames = {
|
|
|
299
300
|
["pro_plus_event" /* PRO_PLUS_EVENT */]: "Pro+Ads Event",
|
|
300
301
|
["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "Pro+Ads Stallholder",
|
|
301
302
|
["standard_partner" /* STANDARD_PARTNER */]: "Partner",
|
|
302
|
-
["standard_affiliate" /* STANDARD_AFFILIATE */]: "Affiliate"
|
|
303
|
+
["standard_affiliate" /* STANDARD_AFFILIATE */]: "Affiliate",
|
|
304
|
+
["standard_school" /* STANDARD_SCHOOL */]: "School"
|
|
303
305
|
};
|
|
304
306
|
var cluemartSocialMedia = [
|
|
305
307
|
{
|
|
@@ -1449,7 +1451,8 @@ var DEFAULT_SHARE_OG_IMAGE = `${SHARE_SITE_URL}/assets/logo.webp`;
|
|
|
1449
1451
|
var RESOURCE_SHARE_TYPES = [
|
|
1450
1452
|
"market",
|
|
1451
1453
|
"stallholder",
|
|
1452
|
-
"partner"
|
|
1454
|
+
"partner",
|
|
1455
|
+
"affiliate"
|
|
1453
1456
|
];
|
|
1454
1457
|
var POST_SHARE_RESOURCE_TYPES = [
|
|
1455
1458
|
"market_faces",
|
|
@@ -1464,7 +1467,8 @@ var SHARE_RESOURCE_LABEL = {
|
|
|
1464
1467
|
play_and_win: "Play & Win",
|
|
1465
1468
|
market: "Market",
|
|
1466
1469
|
partner: "Partner",
|
|
1467
|
-
stallholder: "Stallholder"
|
|
1470
|
+
stallholder: "Stallholder",
|
|
1471
|
+
affiliate: "Affiliate"
|
|
1468
1472
|
};
|
|
1469
1473
|
function isPostShareResourceType(resourceType) {
|
|
1470
1474
|
return POST_SHARE_RESOURCE_TYPES.includes(
|