@timardex/cluemart-shared 2.0.2 → 2.0.4
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/{ad-tNoTBv3n.d.mts → ad-BIeSuoVr.d.mts} +2 -2
- package/dist/{ad-C7jlZyUd.d.ts → ad-mouM5TCW.d.ts} +2 -2
- package/dist/{affiliate-BL1ZN-4t.d.mts → affiliate-Bu0aWFSP.d.mts} +2 -2
- package/dist/{affiliate-DStyY84o.d.ts → affiliate-Rw0noqSX.d.ts} +2 -2
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/{chunk-GRP7XQNB.mjs → chunk-5KOHAP3V.mjs} +13 -5
- package/dist/chunk-5KOHAP3V.mjs.map +1 -0
- package/dist/{chunk-XED54CPG.mjs → chunk-LMFBXRR7.mjs} +2 -2
- package/dist/{chunk-D45RNLV2.mjs → chunk-UUIAJ2D6.mjs} +1 -1
- package/dist/chunk-UUIAJ2D6.mjs.map +1 -0
- package/dist/{contactUs-_BHRXUrv.d.ts → contactUs-Q4DAGgQR.d.ts} +1 -1
- package/dist/{contactUs-BYm-iDIH.d.mts → contactUs-c_iBj1E1.d.mts} +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/{global-D_et_d2Y.d.ts → global-td3vSRFK.d.ts} +1 -0
- package/dist/{global-C7-KDYqg.d.mts → global-uaeCep3z.d.mts} +1 -0
- package/dist/graphql/index.cjs +12 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-BJAI4jf-.d.mts → resourceActivities-Bs7XEK0p.d.mts} +1 -1
- package/dist/{resourceActivities-BW648M1v.d.ts → resourceActivities-CVqhJ6Vw.d.ts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-nHjaLZoG.d.ts → user-AUudb_XA.d.ts} +1 -1
- package/dist/{user-BA7TT2yB.d.mts → user-BWZq8kN7.d.mts} +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-D45RNLV2.mjs.map +0 -1
- package/dist/chunk-GRP7XQNB.mjs.map +0 -1
- /package/dist/{chunk-XED54CPG.mjs.map → chunk-LMFBXRR7.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -5618,15 +5618,17 @@ var useGetEventByPlaceId = (googlePlaceId) => {
|
|
|
5618
5618
|
return { error, eventByPlaceId, loading, refetch };
|
|
5619
5619
|
};
|
|
5620
5620
|
var useGetEventsByRegion = (region, options, dateStatus, tags) => {
|
|
5621
|
+
const { skip = false, ...queryOptions } = options ?? {};
|
|
5622
|
+
const hasOptions = Object.keys(queryOptions).length > 0;
|
|
5621
5623
|
const variables = {
|
|
5622
5624
|
dateStatus,
|
|
5623
|
-
options,
|
|
5625
|
+
...hasOptions ? { options: queryOptions } : {},
|
|
5624
5626
|
region,
|
|
5625
5627
|
tags: (tags ?? []).filter(Boolean)
|
|
5626
5628
|
};
|
|
5627
5629
|
const { loading, error, data, refetch, fetchMore } = useQuery2(GET_EVENTS_BY_REGION, {
|
|
5628
5630
|
fetchPolicy: "network-only",
|
|
5629
|
-
skip: !region || region === "",
|
|
5631
|
+
skip: skip || !region || region === "",
|
|
5630
5632
|
variables
|
|
5631
5633
|
});
|
|
5632
5634
|
const eventsByRegion = data?.eventsByRegion || [];
|
|
@@ -6274,12 +6276,15 @@ var useGetVendor = (_id) => {
|
|
|
6274
6276
|
return { error, loading, refetch, vendor };
|
|
6275
6277
|
};
|
|
6276
6278
|
var useGetVendorsByRegion = (region, options) => {
|
|
6279
|
+
const { skip = false, ...queryOptions } = options ?? {};
|
|
6280
|
+
const hasOptions = Object.keys(queryOptions).length > 0;
|
|
6277
6281
|
const variables = {
|
|
6278
|
-
options,
|
|
6282
|
+
...hasOptions ? { options: queryOptions } : {},
|
|
6279
6283
|
region
|
|
6280
6284
|
};
|
|
6281
6285
|
const { loading, error, data, refetch, fetchMore } = useQuery5(GET_VENDORS_BY_REGION, {
|
|
6282
6286
|
fetchPolicy: "network-only",
|
|
6287
|
+
skip,
|
|
6283
6288
|
variables
|
|
6284
6289
|
});
|
|
6285
6290
|
const vendorsByRegion = data?.vendorsByRegion || [];
|
|
@@ -7184,12 +7189,15 @@ var useGetPartner = (_id) => {
|
|
|
7184
7189
|
return { error, loading, partner, refetch };
|
|
7185
7190
|
};
|
|
7186
7191
|
var useGetPartnersByRegion = (region, options) => {
|
|
7192
|
+
const { skip = false, ...queryOptions } = options ?? {};
|
|
7193
|
+
const hasOptions = Object.keys(queryOptions).length > 0;
|
|
7187
7194
|
const variables = {
|
|
7188
|
-
options,
|
|
7195
|
+
...hasOptions ? { options: queryOptions } : {},
|
|
7189
7196
|
region
|
|
7190
7197
|
};
|
|
7191
7198
|
const { loading, error, data, refetch, fetchMore } = useQuery10(GET_PARTNERS_BY_REGION, {
|
|
7192
7199
|
fetchPolicy: "network-only",
|
|
7200
|
+
skip,
|
|
7193
7201
|
variables
|
|
7194
7202
|
});
|
|
7195
7203
|
const partnersByRegion = data?.partnersByRegion || [];
|