@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/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
3
|
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-CJRTZROh.mjs';
|
|
4
|
-
import { E as
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-
|
|
4
|
+
import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-Dcnzbzvv.mjs';
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-DktxiaUW.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -191,10 +191,10 @@ declare const useUpdateEventInfo: () => {
|
|
|
191
191
|
|
|
192
192
|
declare const useGetEvents: () => {
|
|
193
193
|
error: _apollo_client.ApolloError | undefined;
|
|
194
|
-
events:
|
|
194
|
+
events: EventListItemType[];
|
|
195
195
|
loading: boolean;
|
|
196
196
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
197
|
-
events:
|
|
197
|
+
events: EventListItemType[];
|
|
198
198
|
}>>;
|
|
199
199
|
};
|
|
200
200
|
declare const useGetEvent: (_id: string) => {
|
|
@@ -207,18 +207,18 @@ declare const useGetEvent: (_id: string) => {
|
|
|
207
207
|
};
|
|
208
208
|
declare const useGetEventsByRegion: (region: string) => {
|
|
209
209
|
error: _apollo_client.ApolloError | undefined;
|
|
210
|
-
eventsByRegion:
|
|
210
|
+
eventsByRegion: EventListItemType[];
|
|
211
211
|
loading: boolean;
|
|
212
212
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
213
|
-
eventsByRegion:
|
|
213
|
+
eventsByRegion: EventListItemType[];
|
|
214
214
|
}>>;
|
|
215
215
|
};
|
|
216
216
|
declare const useSearchEvents: (search: string, region: string) => {
|
|
217
217
|
error: _apollo_client.ApolloError | undefined;
|
|
218
|
-
eventsSearch:
|
|
218
|
+
eventsSearch: EventListItemType[];
|
|
219
219
|
loading: boolean;
|
|
220
220
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
221
|
-
eventsSearch:
|
|
221
|
+
eventsSearch: EventListItemType[];
|
|
222
222
|
}>>;
|
|
223
223
|
};
|
|
224
224
|
declare const useGetEventsNearMe: (location: {
|
|
@@ -227,10 +227,10 @@ declare const useGetEventsNearMe: (location: {
|
|
|
227
227
|
radius?: number;
|
|
228
228
|
}) => {
|
|
229
229
|
error: _apollo_client.ApolloError | undefined;
|
|
230
|
-
eventsNearMe:
|
|
230
|
+
eventsNearMe: EventListItemType[];
|
|
231
231
|
loading: boolean;
|
|
232
232
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
233
|
-
eventsNearMe:
|
|
233
|
+
eventsNearMe: EventListItemType[];
|
|
234
234
|
}>>;
|
|
235
235
|
};
|
|
236
236
|
declare const useGetEventInfo: (eventId: string) => {
|
|
@@ -636,7 +636,7 @@ declare const useGetUserActivities: () => {
|
|
|
636
636
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
637
637
|
userActivities: {
|
|
638
638
|
favourites: {
|
|
639
|
-
events:
|
|
639
|
+
events: EventListItemType[];
|
|
640
640
|
vendors: VendorType[];
|
|
641
641
|
};
|
|
642
642
|
going: {
|
|
@@ -652,7 +652,7 @@ declare const useGetUserActivities: () => {
|
|
|
652
652
|
}>>;
|
|
653
653
|
userActivities: {
|
|
654
654
|
favourites: {
|
|
655
|
-
events:
|
|
655
|
+
events: EventListItemType[];
|
|
656
656
|
vendors: VendorType[];
|
|
657
657
|
};
|
|
658
658
|
going: {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
3
|
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-CVwxvGeC.js';
|
|
4
|
-
import { E as
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-
|
|
4
|
+
import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-sRP-50jD.js';
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-Dy8piocE.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
|
@@ -191,10 +191,10 @@ declare const useUpdateEventInfo: () => {
|
|
|
191
191
|
|
|
192
192
|
declare const useGetEvents: () => {
|
|
193
193
|
error: _apollo_client.ApolloError | undefined;
|
|
194
|
-
events:
|
|
194
|
+
events: EventListItemType[];
|
|
195
195
|
loading: boolean;
|
|
196
196
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
197
|
-
events:
|
|
197
|
+
events: EventListItemType[];
|
|
198
198
|
}>>;
|
|
199
199
|
};
|
|
200
200
|
declare const useGetEvent: (_id: string) => {
|
|
@@ -207,18 +207,18 @@ declare const useGetEvent: (_id: string) => {
|
|
|
207
207
|
};
|
|
208
208
|
declare const useGetEventsByRegion: (region: string) => {
|
|
209
209
|
error: _apollo_client.ApolloError | undefined;
|
|
210
|
-
eventsByRegion:
|
|
210
|
+
eventsByRegion: EventListItemType[];
|
|
211
211
|
loading: boolean;
|
|
212
212
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
213
|
-
eventsByRegion:
|
|
213
|
+
eventsByRegion: EventListItemType[];
|
|
214
214
|
}>>;
|
|
215
215
|
};
|
|
216
216
|
declare const useSearchEvents: (search: string, region: string) => {
|
|
217
217
|
error: _apollo_client.ApolloError | undefined;
|
|
218
|
-
eventsSearch:
|
|
218
|
+
eventsSearch: EventListItemType[];
|
|
219
219
|
loading: boolean;
|
|
220
220
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
221
|
-
eventsSearch:
|
|
221
|
+
eventsSearch: EventListItemType[];
|
|
222
222
|
}>>;
|
|
223
223
|
};
|
|
224
224
|
declare const useGetEventsNearMe: (location: {
|
|
@@ -227,10 +227,10 @@ declare const useGetEventsNearMe: (location: {
|
|
|
227
227
|
radius?: number;
|
|
228
228
|
}) => {
|
|
229
229
|
error: _apollo_client.ApolloError | undefined;
|
|
230
|
-
eventsNearMe:
|
|
230
|
+
eventsNearMe: EventListItemType[];
|
|
231
231
|
loading: boolean;
|
|
232
232
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
233
|
-
eventsNearMe:
|
|
233
|
+
eventsNearMe: EventListItemType[];
|
|
234
234
|
}>>;
|
|
235
235
|
};
|
|
236
236
|
declare const useGetEventInfo: (eventId: string) => {
|
|
@@ -636,7 +636,7 @@ declare const useGetUserActivities: () => {
|
|
|
636
636
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
637
637
|
userActivities: {
|
|
638
638
|
favourites: {
|
|
639
|
-
events:
|
|
639
|
+
events: EventListItemType[];
|
|
640
640
|
vendors: VendorType[];
|
|
641
641
|
};
|
|
642
642
|
going: {
|
|
@@ -652,7 +652,7 @@ declare const useGetUserActivities: () => {
|
|
|
652
652
|
}>>;
|
|
653
653
|
userActivities: {
|
|
654
654
|
favourites: {
|
|
655
|
-
events:
|
|
655
|
+
events: EventListItemType[];
|
|
656
656
|
vendors: VendorType[];
|
|
657
657
|
};
|
|
658
658
|
going: {
|
package/dist/graphql/index.mjs
CHANGED
|
@@ -1432,12 +1432,9 @@ var useUpdateEventInfo = () => {
|
|
|
1432
1432
|
// src/graphql/hooks/event/hooksQuery.ts
|
|
1433
1433
|
import { useQuery as useQuery2 } from "@apollo/client";
|
|
1434
1434
|
var useGetEvents = () => {
|
|
1435
|
-
const { loading, error, data, refetch } = useQuery2(
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
fetchPolicy: "network-only"
|
|
1439
|
-
}
|
|
1440
|
-
);
|
|
1435
|
+
const { loading, error, data, refetch } = useQuery2(GET_EVENTS, {
|
|
1436
|
+
fetchPolicy: "network-only"
|
|
1437
|
+
});
|
|
1441
1438
|
const events = data?.events || [];
|
|
1442
1439
|
return { error, events, loading, refetch };
|
|
1443
1440
|
};
|