@timardex/cluemart-shared 1.5.787 → 1.5.789
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/{affiliate-DOhfbYFj.d.mts → affiliate-Dw6otGha.d.mts} +3 -2
- package/dist/{affiliate-BEePbi9S.d.ts → affiliate-VNlbrvgi.d.ts} +3 -2
- package/dist/{chunk-E4KHWSQE.mjs → chunk-63F5FP5R.mjs} +1 -1
- package/dist/{chunk-E4KHWSQE.mjs.map → chunk-63F5FP5R.mjs.map} +1 -1
- package/dist/{chunk-RTF7BGNH.mjs → chunk-G4LVRM53.mjs} +2 -2
- package/dist/{chunk-JP76OR4F.mjs → chunk-JVBD55SQ.mjs} +30 -1
- package/dist/{chunk-JP76OR4F.mjs.map → chunk-JVBD55SQ.mjs.map} +1 -1
- package/dist/{chunk-RUM5PJHN.mjs → chunk-UGA3F23W.mjs} +2 -2
- package/dist/{chunk-QFGYDBE7.mjs → chunk-ZZBBANGP.mjs} +2 -2
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +30 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -2
- package/dist/graphql/index.d.ts +10 -2
- package/dist/graphql/index.mjs +3 -1
- package/dist/hooks/index.cjs +25 -19
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +16 -24
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.mjs +29 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-RTF7BGNH.mjs.map → chunk-G4LVRM53.mjs.map} +0 -0
- /package/dist/{chunk-RUM5PJHN.mjs.map → chunk-UGA3F23W.mjs.map} +0 -0
- /package/dist/{chunk-QFGYDBE7.mjs.map → chunk-ZZBBANGP.mjs.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PROMO_CODE_PREFIX,
|
|
3
3
|
gameScreenIdentifierList
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-63F5FP5R.mjs";
|
|
5
5
|
import {
|
|
6
6
|
EnumEventDateStatus,
|
|
7
7
|
EnumInviteStatus,
|
|
@@ -1662,4 +1662,4 @@ export {
|
|
|
1662
1662
|
getVendorEventRelationDateOptions,
|
|
1663
1663
|
getVendorEventsEmptyMessage
|
|
1664
1664
|
};
|
|
1665
|
-
//# sourceMappingURL=chunk-
|
|
1665
|
+
//# sourceMappingURL=chunk-UGA3F23W.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLUEMART_MAIN_DOMAIN_URL,
|
|
3
3
|
formatDate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UGA3F23W.mjs";
|
|
5
5
|
|
|
6
6
|
// src/sharing/relationShareTypes.ts
|
|
7
7
|
var RELATION_SHARE_INVITATION = "invitation";
|
|
@@ -369,4 +369,4 @@ export {
|
|
|
369
369
|
buildSharePagePath,
|
|
370
370
|
shareSlugResourceId
|
|
371
371
|
};
|
|
372
|
-
//# sourceMappingURL=chunk-
|
|
372
|
+
//# sourceMappingURL=chunk-ZZBBANGP.mjs.map
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
vendorStallSize,
|
|
42
42
|
vendorStartDateFields,
|
|
43
43
|
vendorTable
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-G4LVRM53.mjs";
|
|
45
45
|
import {
|
|
46
46
|
availableCategories,
|
|
47
47
|
categoryColors
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
} from "../chunk-UGA3F23W.mjs";
|
|
49
|
+
import "../chunk-63F5FP5R.mjs";
|
|
50
50
|
import "../chunk-LETM2YHF.mjs";
|
|
51
51
|
export {
|
|
52
52
|
availableCategories,
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -78,6 +78,7 @@ __export(graphql_exports, {
|
|
|
78
78
|
useGetAds: () => useGetAds,
|
|
79
79
|
useGetAdsByRegion: () => useGetAdsByRegion,
|
|
80
80
|
useGetAffiliate: () => useGetAffiliate,
|
|
81
|
+
useGetAffiliateResourceByAffiliateIdAndResourceId: () => useGetAffiliateResourceByAffiliateIdAndResourceId,
|
|
81
82
|
useGetAffiliates: () => useGetAffiliates,
|
|
82
83
|
useGetAppSettings: () => useGetAppSettings,
|
|
83
84
|
useGetChat: () => useGetChat,
|
|
@@ -5325,6 +5326,20 @@ var GET_AFFILIATES = import_client74.gql`
|
|
|
5325
5326
|
}
|
|
5326
5327
|
${AFFILIATE_FIELDS_FRAGMENT}
|
|
5327
5328
|
`;
|
|
5329
|
+
var GET_AFFILIATE_RESOURCE_BY_AFFILIATE_ID_AND_RESOURCE_ID = import_client74.gql`
|
|
5330
|
+
query getAffiliateResourceByAffiliateIdAndResourceId(
|
|
5331
|
+
$affiliateId: ID!
|
|
5332
|
+
$resourceId: ID!
|
|
5333
|
+
) {
|
|
5334
|
+
affiliateResourceByAffiliateIdAndResourceId(
|
|
5335
|
+
affiliateId: $affiliateId
|
|
5336
|
+
resourceId: $resourceId
|
|
5337
|
+
) {
|
|
5338
|
+
...AffiliateResourceFields
|
|
5339
|
+
}
|
|
5340
|
+
}
|
|
5341
|
+
${AFFILIATE_RESOURCE_FIELDS_FRAGMENT}
|
|
5342
|
+
`;
|
|
5328
5343
|
|
|
5329
5344
|
// src/graphql/hooks/affiliate/hooksQuery.ts
|
|
5330
5345
|
var useGetAffiliate = (_id) => {
|
|
@@ -5353,6 +5368,20 @@ var useGetAffiliates = () => {
|
|
|
5353
5368
|
refetch
|
|
5354
5369
|
};
|
|
5355
5370
|
};
|
|
5371
|
+
var useGetAffiliateResourceByAffiliateIdAndResourceId = (affiliateId, resourceId) => {
|
|
5372
|
+
const { data, loading, error, refetch } = (0, import_client75.useQuery)(GET_AFFILIATE_RESOURCE_BY_AFFILIATE_ID_AND_RESOURCE_ID, {
|
|
5373
|
+
fetchPolicy: "network-only",
|
|
5374
|
+
skip: !affiliateId || affiliateId === "" || !resourceId || resourceId === "",
|
|
5375
|
+
variables: { affiliateId, resourceId }
|
|
5376
|
+
});
|
|
5377
|
+
const affiliateResource = data?.affiliateResourceByAffiliateIdAndResourceId;
|
|
5378
|
+
return {
|
|
5379
|
+
affiliateResource,
|
|
5380
|
+
error,
|
|
5381
|
+
loading,
|
|
5382
|
+
refetch
|
|
5383
|
+
};
|
|
5384
|
+
};
|
|
5356
5385
|
|
|
5357
5386
|
// src/graphql/hooks/affiliate/hooksMutation.ts
|
|
5358
5387
|
var import_client77 = require("@apollo/client");
|
|
@@ -5461,6 +5490,7 @@ var useDeleteAffiliate = () => {
|
|
|
5461
5490
|
useGetAds,
|
|
5462
5491
|
useGetAdsByRegion,
|
|
5463
5492
|
useGetAffiliate,
|
|
5493
|
+
useGetAffiliateResourceByAffiliateIdAndResourceId,
|
|
5464
5494
|
useGetAffiliates,
|
|
5465
5495
|
useGetAppSettings,
|
|
5466
5496
|
useGetChat,
|