@timardex/cluemart-shared 1.3.72 → 1.3.73
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-DYuoZZVF.d.ts → auth-DM358xTT.d.ts} +1 -1
- package/dist/{auth-D80VFGbC.d.mts → auth-D_ipdv5q.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BAP95-Jh.d.mts → global-Dcnzbzvv.d.mts} +3 -3
- package/dist/{global-CZFlP3JK.d.ts → global-sRP-50jD.d.ts} +3 -3
- package/dist/graphql/index.cjs +3 -6
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +12 -12
- package/dist/graphql/index.d.ts +12 -12
- package/dist/graphql/index.mjs +3 -6
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +3 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.mjs +3 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{post-8m11ia1u.d.mts → post-DktxiaUW.d.mts} +1 -1
- package/dist/{post-U8yX-D4F.d.ts → post-Dy8piocE.d.ts} +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -554,7 +554,7 @@ type ImageObjectType = {
|
|
|
554
554
|
name: string;
|
|
555
555
|
};
|
|
556
556
|
interface ResourceConnectionsType {
|
|
557
|
-
events:
|
|
557
|
+
events: EventListItemType[] | null;
|
|
558
558
|
vendors: VendorType[] | null;
|
|
559
559
|
}
|
|
560
560
|
interface CreateFormData<T extends FieldValues> {
|
|
@@ -1322,10 +1322,10 @@ declare const useUpdateEventInfo: () => {
|
|
|
1322
1322
|
|
|
1323
1323
|
declare const useGetEvents: () => {
|
|
1324
1324
|
error: _apollo_client.ApolloError | undefined;
|
|
1325
|
-
events:
|
|
1325
|
+
events: EventListItemType[];
|
|
1326
1326
|
loading: boolean;
|
|
1327
1327
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1328
|
-
events:
|
|
1328
|
+
events: EventListItemType[];
|
|
1329
1329
|
}>>;
|
|
1330
1330
|
};
|
|
1331
1331
|
declare const useGetEvent: (_id: string) => {
|
|
@@ -1338,18 +1338,18 @@ declare const useGetEvent: (_id: string) => {
|
|
|
1338
1338
|
};
|
|
1339
1339
|
declare const useGetEventsByRegion: (region: string) => {
|
|
1340
1340
|
error: _apollo_client.ApolloError | undefined;
|
|
1341
|
-
eventsByRegion:
|
|
1341
|
+
eventsByRegion: EventListItemType[];
|
|
1342
1342
|
loading: boolean;
|
|
1343
1343
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1344
|
-
eventsByRegion:
|
|
1344
|
+
eventsByRegion: EventListItemType[];
|
|
1345
1345
|
}>>;
|
|
1346
1346
|
};
|
|
1347
1347
|
declare const useSearchEvents: (search: string, region: string) => {
|
|
1348
1348
|
error: _apollo_client.ApolloError | undefined;
|
|
1349
|
-
eventsSearch:
|
|
1349
|
+
eventsSearch: EventListItemType[];
|
|
1350
1350
|
loading: boolean;
|
|
1351
1351
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1352
|
-
eventsSearch:
|
|
1352
|
+
eventsSearch: EventListItemType[];
|
|
1353
1353
|
}>>;
|
|
1354
1354
|
};
|
|
1355
1355
|
declare const useGetEventsNearMe: (location: {
|
|
@@ -1358,10 +1358,10 @@ declare const useGetEventsNearMe: (location: {
|
|
|
1358
1358
|
radius?: number;
|
|
1359
1359
|
}) => {
|
|
1360
1360
|
error: _apollo_client.ApolloError | undefined;
|
|
1361
|
-
eventsNearMe:
|
|
1361
|
+
eventsNearMe: EventListItemType[];
|
|
1362
1362
|
loading: boolean;
|
|
1363
1363
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1364
|
-
eventsNearMe:
|
|
1364
|
+
eventsNearMe: EventListItemType[];
|
|
1365
1365
|
}>>;
|
|
1366
1366
|
};
|
|
1367
1367
|
declare const useGetEventInfo: (eventId: string) => {
|
|
@@ -1767,7 +1767,7 @@ declare const useGetUserActivities: () => {
|
|
|
1767
1767
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1768
1768
|
userActivities: {
|
|
1769
1769
|
favourites: {
|
|
1770
|
-
events:
|
|
1770
|
+
events: EventListItemType[];
|
|
1771
1771
|
vendors: VendorType[];
|
|
1772
1772
|
};
|
|
1773
1773
|
going: {
|
|
@@ -1783,7 +1783,7 @@ declare const useGetUserActivities: () => {
|
|
|
1783
1783
|
}>>;
|
|
1784
1784
|
userActivities: {
|
|
1785
1785
|
favourites: {
|
|
1786
|
-
events:
|
|
1786
|
+
events: EventListItemType[];
|
|
1787
1787
|
vendors: VendorType[];
|
|
1788
1788
|
};
|
|
1789
1789
|
going: {
|
package/dist/index.d.ts
CHANGED
|
@@ -554,7 +554,7 @@ type ImageObjectType = {
|
|
|
554
554
|
name: string;
|
|
555
555
|
};
|
|
556
556
|
interface ResourceConnectionsType {
|
|
557
|
-
events:
|
|
557
|
+
events: EventListItemType[] | null;
|
|
558
558
|
vendors: VendorType[] | null;
|
|
559
559
|
}
|
|
560
560
|
interface CreateFormData<T extends FieldValues> {
|
|
@@ -1322,10 +1322,10 @@ declare const useUpdateEventInfo: () => {
|
|
|
1322
1322
|
|
|
1323
1323
|
declare const useGetEvents: () => {
|
|
1324
1324
|
error: _apollo_client.ApolloError | undefined;
|
|
1325
|
-
events:
|
|
1325
|
+
events: EventListItemType[];
|
|
1326
1326
|
loading: boolean;
|
|
1327
1327
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1328
|
-
events:
|
|
1328
|
+
events: EventListItemType[];
|
|
1329
1329
|
}>>;
|
|
1330
1330
|
};
|
|
1331
1331
|
declare const useGetEvent: (_id: string) => {
|
|
@@ -1338,18 +1338,18 @@ declare const useGetEvent: (_id: string) => {
|
|
|
1338
1338
|
};
|
|
1339
1339
|
declare const useGetEventsByRegion: (region: string) => {
|
|
1340
1340
|
error: _apollo_client.ApolloError | undefined;
|
|
1341
|
-
eventsByRegion:
|
|
1341
|
+
eventsByRegion: EventListItemType[];
|
|
1342
1342
|
loading: boolean;
|
|
1343
1343
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1344
|
-
eventsByRegion:
|
|
1344
|
+
eventsByRegion: EventListItemType[];
|
|
1345
1345
|
}>>;
|
|
1346
1346
|
};
|
|
1347
1347
|
declare const useSearchEvents: (search: string, region: string) => {
|
|
1348
1348
|
error: _apollo_client.ApolloError | undefined;
|
|
1349
|
-
eventsSearch:
|
|
1349
|
+
eventsSearch: EventListItemType[];
|
|
1350
1350
|
loading: boolean;
|
|
1351
1351
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1352
|
-
eventsSearch:
|
|
1352
|
+
eventsSearch: EventListItemType[];
|
|
1353
1353
|
}>>;
|
|
1354
1354
|
};
|
|
1355
1355
|
declare const useGetEventsNearMe: (location: {
|
|
@@ -1358,10 +1358,10 @@ declare const useGetEventsNearMe: (location: {
|
|
|
1358
1358
|
radius?: number;
|
|
1359
1359
|
}) => {
|
|
1360
1360
|
error: _apollo_client.ApolloError | undefined;
|
|
1361
|
-
eventsNearMe:
|
|
1361
|
+
eventsNearMe: EventListItemType[];
|
|
1362
1362
|
loading: boolean;
|
|
1363
1363
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1364
|
-
eventsNearMe:
|
|
1364
|
+
eventsNearMe: EventListItemType[];
|
|
1365
1365
|
}>>;
|
|
1366
1366
|
};
|
|
1367
1367
|
declare const useGetEventInfo: (eventId: string) => {
|
|
@@ -1767,7 +1767,7 @@ declare const useGetUserActivities: () => {
|
|
|
1767
1767
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1768
1768
|
userActivities: {
|
|
1769
1769
|
favourites: {
|
|
1770
|
-
events:
|
|
1770
|
+
events: EventListItemType[];
|
|
1771
1771
|
vendors: VendorType[];
|
|
1772
1772
|
};
|
|
1773
1773
|
going: {
|
|
@@ -1783,7 +1783,7 @@ declare const useGetUserActivities: () => {
|
|
|
1783
1783
|
}>>;
|
|
1784
1784
|
userActivities: {
|
|
1785
1785
|
favourites: {
|
|
1786
|
-
events:
|
|
1786
|
+
events: EventListItemType[];
|
|
1787
1787
|
vendors: VendorType[];
|
|
1788
1788
|
};
|
|
1789
1789
|
going: {
|
package/dist/index.mjs
CHANGED
|
@@ -3616,12 +3616,9 @@ var useUpdateEventInfo = () => {
|
|
|
3616
3616
|
// src/graphql/hooks/event/hooksQuery.ts
|
|
3617
3617
|
import { useQuery as useQuery2 } from "@apollo/client";
|
|
3618
3618
|
var useGetEvents = () => {
|
|
3619
|
-
const { loading, error, data, refetch } = useQuery2(
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
fetchPolicy: "network-only"
|
|
3623
|
-
}
|
|
3624
|
-
);
|
|
3619
|
+
const { loading, error, data, refetch } = useQuery2(GET_EVENTS, {
|
|
3620
|
+
fetchPolicy: "network-only"
|
|
3621
|
+
});
|
|
3625
3622
|
const events = data?.events || [];
|
|
3626
3623
|
return { error, events, loading, refetch };
|
|
3627
3624
|
};
|