@timardex/cluemart-shared 1.4.56 → 1.4.58
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-0kdrfCS6.d.ts → auth-CjykW2Lr.d.ts} +1 -1
- package/dist/{auth-BSrnmepa.d.mts → auth-DNycVvkZ.d.mts} +1 -1
- package/dist/{chunk-INEGK3OJ.mjs → chunk-77MGTLHY.mjs} +5 -3
- package/dist/{chunk-INEGK3OJ.mjs.map → chunk-77MGTLHY.mjs.map} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-28X17NZs.d.mts → global-BCkL-Bpy.d.mts} +2 -1
- package/dist/{global-D3WVRbPl.d.ts → global-CPPLdm4G.d.ts} +2 -1
- package/dist/graphql/index.cjs +4 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +4 -4
- package/dist/graphql/index.d.ts +4 -4
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{post-Bik-qNI2.d.ts → post-B8oSaRx5.d.ts} +1 -1
- package/dist/{post-C8a2psdX.d.mts → post-_XBrGUY2.d.mts} +1 -1
- package/dist/{resourceActivities-DNF9OS11.d.mts → resourceActivities-CndYlMM-.d.mts} +1 -1
- package/dist/{resourceActivities-aOmiphoT.d.ts → resourceActivities-CxDUeNpr.d.ts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BCkL-Bpy.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-CPPLdm4G.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -348,8 +348,9 @@ type ResourceDetails = {
|
|
|
348
348
|
};
|
|
349
349
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
350
350
|
type EventStatusType = {
|
|
351
|
-
googlePlaceId?: string | null;
|
|
352
351
|
claimed: boolean;
|
|
352
|
+
eventType: EnumEventType;
|
|
353
|
+
googlePlaceId?: string | null;
|
|
353
354
|
};
|
|
354
355
|
interface FormField {
|
|
355
356
|
disabled?: boolean;
|
|
@@ -348,8 +348,9 @@ type ResourceDetails = {
|
|
|
348
348
|
};
|
|
349
349
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
350
350
|
type EventStatusType = {
|
|
351
|
-
googlePlaceId?: string | null;
|
|
352
351
|
claimed: boolean;
|
|
352
|
+
eventType: EnumEventType;
|
|
353
|
+
googlePlaceId?: string | null;
|
|
353
354
|
};
|
|
354
355
|
interface FormField {
|
|
355
356
|
disabled?: boolean;
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -2786,9 +2786,11 @@ var useGetUserActivities = () => {
|
|
|
2786
2786
|
};
|
|
2787
2787
|
return { error, loading, refetch, userActivities };
|
|
2788
2788
|
};
|
|
2789
|
-
var useGetUserResources = () => {
|
|
2789
|
+
var useGetUserResources = (userId) => {
|
|
2790
2790
|
const { loading, error, data, refetch } = (0, import_client39.useQuery)(GET_USER_RESOURCES, {
|
|
2791
|
-
fetchPolicy: "network-only"
|
|
2791
|
+
fetchPolicy: "network-only",
|
|
2792
|
+
skip: !userId,
|
|
2793
|
+
variables: { userId }
|
|
2792
2794
|
});
|
|
2793
2795
|
const userResources = data?.userResources.resources || [];
|
|
2794
2796
|
return { error, loading, refetch, userResources };
|