@timardex/cluemart-shared 1.3.68 → 1.3.70

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.
@@ -1,4 +1,4 @@
1
- import { z as CreateFormData, T as TermsAgreement } from './global-DjZooB3t.mjs';
1
+ import { z as CreateFormData, T as TermsAgreement } from './global-CbccsHaO.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { z as CreateFormData, T as TermsAgreement } from './global-BKEcBQxZ.js';
1
+ import { z as CreateFormData, T as TermsAgreement } from './global-tKKfQw2k.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DjZooB3t.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-CbccsHaO.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 Requirement, S as StallType, C as Category } from '../global-BKEcBQxZ.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-tKKfQw2k.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -85,22 +85,29 @@ interface EventType extends BaseResourceType {
85
85
  relationDates: RelationDate[] | null;
86
86
  }[] | null;
87
87
  }
88
- type EventInfoType = Omit<EventInfoFormData, "_id"> & {
89
- _id: string;
90
- };
91
- type UserActivityEventType = {
88
+ interface EventListItemType {
92
89
  _id: string;
93
90
  active: boolean;
94
- cover: ResourceImageType;
95
- dateTime: DateTimeType;
96
- description: string;
91
+ claimed: boolean;
92
+ cover?: ResourceImageType | null;
93
+ createdAt: Date;
94
+ dateTime: DateTimeType[];
95
+ deletedAt: Date | null;
96
+ description?: string | null;
97
97
  eventType: EnumEventType;
98
+ googlePlaceId?: string | null;
99
+ images?: ResourceImageType[] | null;
98
100
  location: LocationType;
99
101
  logo?: ResourceImageType | null;
100
102
  name: string;
101
103
  rainOrShine: boolean;
104
+ rating?: number | null;
102
105
  region: string;
103
- socialMedia?: SocialMediaType[] | null;
106
+ reviewCount?: number | null;
107
+ updatedAt: Date | null;
108
+ }
109
+ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
110
+ _id: string;
104
111
  };
105
112
 
106
113
  type VendorLocation = {
@@ -373,4 +380,4 @@ interface CreateFormData<T extends FieldValues> {
373
380
  watch: UseFormWatch<T>;
374
381
  }
375
382
 
376
- export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, UserActivityEventType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceContactDetailsType as q, ResourceImageType as r, SocialMediaType as s, OwnerType as t, BaseResourceType as u, DateTimeType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
383
+ export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, EventListItemType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, DeviceInfo as q, ResourceContactDetailsType as r, ResourceImageType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
@@ -85,22 +85,29 @@ interface EventType extends BaseResourceType {
85
85
  relationDates: RelationDate[] | null;
86
86
  }[] | null;
87
87
  }
88
- type EventInfoType = Omit<EventInfoFormData, "_id"> & {
89
- _id: string;
90
- };
91
- type UserActivityEventType = {
88
+ interface EventListItemType {
92
89
  _id: string;
93
90
  active: boolean;
94
- cover: ResourceImageType;
95
- dateTime: DateTimeType;
96
- description: string;
91
+ claimed: boolean;
92
+ cover?: ResourceImageType | null;
93
+ createdAt: Date;
94
+ dateTime: DateTimeType[];
95
+ deletedAt: Date | null;
96
+ description?: string | null;
97
97
  eventType: EnumEventType;
98
+ googlePlaceId?: string | null;
99
+ images?: ResourceImageType[] | null;
98
100
  location: LocationType;
99
101
  logo?: ResourceImageType | null;
100
102
  name: string;
101
103
  rainOrShine: boolean;
104
+ rating?: number | null;
102
105
  region: string;
103
- socialMedia?: SocialMediaType[] | null;
106
+ reviewCount?: number | null;
107
+ updatedAt: Date | null;
108
+ }
109
+ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
110
+ _id: string;
104
111
  };
105
112
 
106
113
  type VendorLocation = {
@@ -373,4 +380,4 @@ interface CreateFormData<T extends FieldValues> {
373
380
  watch: UseFormWatch<T>;
374
381
  }
375
382
 
376
- export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, UserActivityEventType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceContactDetailsType as q, ResourceImageType as r, SocialMediaType as s, OwnerType as t, BaseResourceType as u, DateTimeType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
383
+ export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, DateTimeWithPriceType as H, ImageObjectType as I, PaymentInfoType as J, RelationDate as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, EventListItemType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, DeviceInfo as q, ResourceContactDetailsType as r, ResourceImageType as s, SocialMediaType as t, OwnerType as u, BaseResourceType as v, Region as w, SubcategoryItems as x, Subcategory as y, CreateFormData as z };
@@ -73,9 +73,6 @@ __export(graphql_exports, {
73
73
  useGetEvents: () => useGetEvents,
74
74
  useGetEventsByRegion: () => useGetEventsByRegion,
75
75
  useGetEventsNearMe: () => useGetEventsNearMe,
76
- useGetGoogleImportedMarkets: () => useGetGoogleImportedMarkets,
77
- useGetGoogleImportedMarketsByRegion: () => useGetGoogleImportedMarketsByRegion,
78
- useGetGoogleImportedMarketsNearMe: () => useGetGoogleImportedMarketsNearMe,
79
76
  useGetNotificationCount: () => useGetNotificationCount,
80
77
  useGetNotificationCountSubscription: () => useGetNotificationCountSubscription,
81
78
  useGetPartner: () => useGetPartner,
@@ -120,7 +117,6 @@ __export(graphql_exports, {
120
117
  useRequestPasswordReset: () => useRequestPasswordReset,
121
118
  useResetPassword: () => useResetPassword,
122
119
  useSearchEvents: () => useSearchEvents,
123
- useSearchGoogleImportedMarkets: () => useSearchGoogleImportedMarkets,
124
120
  useSearchPartners: () => useSearchPartners,
125
121
  useSearchVendors: () => useSearchVendors,
126
122
  useSelectPackage: () => useSelectPackage,
@@ -384,6 +380,42 @@ var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
384
380
  type
385
381
  }
386
382
  `;
383
+ var EVENT_LIST_ITEM = import_client2.gql`
384
+ fragment EventListItemFields on EventListItemType {
385
+ _id
386
+ active
387
+ claimed
388
+ cover {
389
+ ...ResourceImageFields
390
+ }
391
+ createdAt
392
+ dateTime {
393
+ ...EventDateTimeFields
394
+ }
395
+ deletedAt
396
+ description
397
+ eventType
398
+ googlePlaceId
399
+ images {
400
+ ...ResourceImageFields
401
+ }
402
+ location {
403
+ ...LocationFields
404
+ }
405
+ logo {
406
+ ...ResourceImageFields
407
+ }
408
+ name
409
+ rainOrShine
410
+ rating
411
+ region
412
+ reviewCount
413
+ updatedAt
414
+ }
415
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
416
+ ${LOCATION_FIELDS_FRAGMENT}
417
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
418
+ `;
387
419
 
388
420
  // src/graphql/queries/event.ts
389
421
  var EVENT_INFO = import_client3.gql`
@@ -489,10 +521,10 @@ var EVENT = import_client3.gql`
489
521
  var GET_EVENTS = import_client3.gql`
490
522
  query getEvents {
491
523
  events {
492
- ...EventFields
524
+ ...EventListItemFields
493
525
  }
494
526
  }
495
- ${EVENT}
527
+ ${EVENT_LIST_ITEM}
496
528
  `;
497
529
  var GET_EVENT = import_client3.gql`
498
530
  query getEvent($_id: ID!) {
@@ -505,26 +537,26 @@ var GET_EVENT = import_client3.gql`
505
537
  var GET_EVENTS_BY_REGION = import_client3.gql`
506
538
  query getEventsByRegion($region: String!) {
507
539
  eventsByRegion(region: $region) {
508
- ...EventFields
540
+ ...EventListItemFields
509
541
  }
510
542
  }
511
- ${EVENT}
543
+ ${EVENT_LIST_ITEM}
512
544
  `;
513
545
  var SEARCH_EVENTS = import_client3.gql`
514
546
  query searchEvents($search: String!, $region: String) {
515
547
  eventsSearch(search: $search, region: $region) {
516
- ...EventFields
548
+ ...EventListItemFields
517
549
  }
518
550
  }
519
- ${EVENT}
551
+ ${EVENT_LIST_ITEM}
520
552
  `;
521
553
  var GET_EVENTS_NEAR_ME = import_client3.gql`
522
554
  query getEventsNearMe($latitude: Float!, $longitude: Float!, $radius: Int) {
523
555
  eventsNearMe(latitude: $latitude, longitude: $longitude, radius: $radius) {
524
- ...EventFields
556
+ ...EventListItemFields
525
557
  }
526
558
  }
527
- ${EVENT}
559
+ ${EVENT_LIST_ITEM}
528
560
  `;
529
561
  var GET_EVENT_INFO = import_client3.gql`
530
562
  query getEventInfo($eventId: ID!) {
@@ -1394,36 +1426,6 @@ var SEARCH_PARTNERS = import_client17.gql`
1394
1426
  `;
1395
1427
 
1396
1428
  // src/graphql/queries/user.ts
1397
- var USER_ACTIVITY_EVENT_FRAGMENT = import_client18.gql`
1398
- fragment UserActivityEventFields on UserActivityEventType {
1399
- _id
1400
- active
1401
- cover {
1402
- ...ResourceImageFields
1403
- }
1404
- dateTime {
1405
- ...EventDateTimeFields
1406
- }
1407
- description
1408
- eventType
1409
- location {
1410
- ...LocationFields
1411
- }
1412
- logo {
1413
- ...ResourceImageFields
1414
- }
1415
- name
1416
- rainOrShine
1417
- region
1418
- socialMedia {
1419
- ...SocialMediaFields
1420
- }
1421
- }
1422
- ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
1423
- ${LOCATION_FIELDS_FRAGMENT}
1424
- ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
1425
- ${EVENT_DATETIME_FIELDS_FRAGMENT}
1426
- `;
1427
1429
  var GET_USERS = import_client18.gql`
1428
1430
  query getUsers {
1429
1431
  users {
@@ -1469,7 +1471,7 @@ var GET_USER_ACTIVITIES = import_client18.gql`
1469
1471
  userActivities {
1470
1472
  favourites {
1471
1473
  events {
1472
- ...EventFields
1474
+ ...EventListItemFields
1473
1475
  }
1474
1476
  vendors {
1475
1477
  ...VendorFields
@@ -1477,24 +1479,23 @@ var GET_USER_ACTIVITIES = import_client18.gql`
1477
1479
  }
1478
1480
  going {
1479
1481
  events {
1480
- ...UserActivityEventFields
1482
+ ...EventListItemFields
1481
1483
  }
1482
1484
  }
1483
1485
  interested {
1484
1486
  events {
1485
- ...UserActivityEventFields
1487
+ ...EventListItemFields
1486
1488
  }
1487
1489
  }
1488
1490
  present {
1489
1491
  events {
1490
- ...UserActivityEventFields
1492
+ ...EventListItemFields
1491
1493
  }
1492
1494
  }
1493
1495
  }
1494
1496
  }
1495
- ${EVENT}
1497
+ ${EVENT_LIST_ITEM}
1496
1498
  ${VENDOR}
1497
- ${USER_ACTIVITY_EVENT_FRAGMENT}
1498
1499
  `;
1499
1500
 
1500
1501
  // src/graphql/hooks/event/hooksMutation.ts
@@ -1965,7 +1966,7 @@ var GET_RESOURCE_CONNECTIONS = import_client31.gql`
1965
1966
  ) {
1966
1967
  resourceConnections(resourceId: $resourceId, resourceType: $resourceType) {
1967
1968
  events {
1968
- ...EventFields
1969
+ ...EventListItemFields
1969
1970
  }
1970
1971
  vendors {
1971
1972
  ...VendorFields
@@ -1973,7 +1974,7 @@ var GET_RESOURCE_CONNECTIONS = import_client31.gql`
1973
1974
  }
1974
1975
  }
1975
1976
  ${VENDOR}
1976
- ${EVENT}
1977
+ ${EVENT_LIST_ITEM}
1977
1978
  `;
1978
1979
 
1979
1980
  // src/graphql/mutations/relation.ts
@@ -3401,6 +3402,13 @@ var UPDATE_APP_SETTINGS_MUTATION = import_client63.gql`
3401
3402
  updateAppSettings(input: $input)
3402
3403
  }
3403
3404
  `;
3405
+ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client63.gql`
3406
+ mutation crawlGoogleMarkets {
3407
+ crawlGoogleMarkets {
3408
+ message
3409
+ }
3410
+ }
3411
+ `;
3404
3412
 
3405
3413
  // src/graphql/queries/appSettings.ts
3406
3414
  var import_client64 = require("@apollo/client");
@@ -3433,6 +3441,10 @@ var useUpdateAppSettings = () => {
3433
3441
  );
3434
3442
  return { error, loading, updateAppSettings };
3435
3443
  };
3444
+ var useCrawlGoogleMarkets = () => {
3445
+ const [crawlGoogleMarkets, { loading, error }] = (0, import_client65.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
3446
+ return { crawlGoogleMarkets, error, loading };
3447
+ };
3436
3448
 
3437
3449
  // src/graphql/hooks/appSettings/hooksQuery.ts
3438
3450
  var import_client66 = require("@apollo/client");
@@ -3443,156 +3455,6 @@ var useGetAppSettings = () => {
3443
3455
  const appSettings = data?.appSettings || null;
3444
3456
  return { appSettings, error, loading, refetch };
3445
3457
  };
3446
-
3447
- // src/graphql/hooks/googleImportedMarkets/hooksMutation.ts
3448
- var import_client68 = require("@apollo/client");
3449
-
3450
- // src/graphql/mutations/googleImportedMarkets.ts
3451
- var import_client67 = require("@apollo/client");
3452
- var CRAWL_GOOGLE_MARKETS_MUTATION = import_client67.gql`
3453
- mutation crawlGoogleMarkets {
3454
- crawlGoogleMarkets {
3455
- message
3456
- }
3457
- }
3458
- `;
3459
-
3460
- // src/graphql/hooks/googleImportedMarkets/hooksMutation.ts
3461
- var useCrawlGoogleMarkets = () => {
3462
- const [crawlGoogleMarkets, { loading, error }] = (0, import_client68.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
3463
- return { crawlGoogleMarkets, error, loading };
3464
- };
3465
-
3466
- // src/graphql/hooks/googleImportedMarkets/hooksQuery.ts
3467
- var import_client70 = require("@apollo/client");
3468
-
3469
- // src/graphql/queries/googleImportedMarkets.ts
3470
- var import_client69 = require("@apollo/client");
3471
- var GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT = import_client69.gql`
3472
- fragment GoogleImportedMarketsFields on GoogleImportedMarketType {
3473
- _id
3474
- accessibilityOptions
3475
- address
3476
- addressComponents {
3477
- longName
3478
- shortName
3479
- types
3480
- }
3481
- allowsDogs
3482
- businessStatus
3483
- claimed
3484
- createdAt
3485
- dateTime {
3486
- ...EventDateTimeFields
3487
- }
3488
- goodForChildren
3489
- goodForGroups
3490
- googleMapsUrl
3491
- googlePlaceId
3492
- image
3493
- importedAt
3494
- liveMusic
3495
- location {
3496
- lat
3497
- lng
3498
- }
3499
- name
3500
- openingHours
3501
- parkingOptions
3502
- paymentOptions
3503
- phone
3504
- photos
3505
- rating
3506
- region
3507
- restroom
3508
- reviewCount
3509
- slug
3510
- updatedAt
3511
- website
3512
- }
3513
- ${EVENT_DATETIME_FIELDS_FRAGMENT}
3514
- `;
3515
- var GET_GOOGLE_IMPORTED_MARKETS = import_client69.gql`
3516
- query getGoogleImportedMarkets {
3517
- googleImportedMarkets {
3518
- ...GoogleImportedMarketsFields
3519
- }
3520
- }
3521
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3522
- `;
3523
- var GET_GOOGLE_IMPORTED_MARKETS_BY_REGION = import_client69.gql`
3524
- query getGoogleImportedMarketsByRegion($region: String!) {
3525
- googleImportedMarketsByRegion(region: $region) {
3526
- ...GoogleImportedMarketsFields
3527
- }
3528
- }
3529
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3530
- `;
3531
- var SEARCH_GOOGLE_IMPORTED_MARKETS = import_client69.gql`
3532
- query searchGoogleImportedMarkets($search: String!, $region: String) {
3533
- googleImportedMarketsSearch(search: $search, region: $region) {
3534
- ...GoogleImportedMarketsFields
3535
- }
3536
- }
3537
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3538
- `;
3539
- var GET_GOOGLE_IMPORTED_MARKETS_NEAR_ME = import_client69.gql`
3540
- query getGoogleImportedMarketsNearMe(
3541
- $latitude: Float!
3542
- $longitude: Float!
3543
- $radius: Int
3544
- ) {
3545
- googleImportedMarketsNearMe(
3546
- lat: $latitude
3547
- lng: $longitude
3548
- radius: $radius
3549
- ) {
3550
- ...GoogleImportedMarketsFields
3551
- }
3552
- }
3553
- ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
3554
- `;
3555
-
3556
- // src/graphql/hooks/googleImportedMarkets/hooksQuery.ts
3557
- var useGetGoogleImportedMarkets = () => {
3558
- const { loading, error, data, refetch } = (0, import_client70.useQuery)(GET_GOOGLE_IMPORTED_MARKETS, {
3559
- fetchPolicy: "network-only"
3560
- });
3561
- const googleImportedMarkets = data?.googleImportedMarkets || [];
3562
- return { error, googleImportedMarkets, loading, refetch };
3563
- };
3564
- var useGetGoogleImportedMarketsByRegion = (region) => {
3565
- const { loading, error, data, refetch } = (0, import_client70.useQuery)(GET_GOOGLE_IMPORTED_MARKETS_BY_REGION, {
3566
- fetchPolicy: "network-only",
3567
- skip: !region,
3568
- variables: { region }
3569
- });
3570
- const googleImportedMarketsByRegion = data?.googleImportedMarketsByRegion || [];
3571
- return { error, googleImportedMarketsByRegion, loading, refetch };
3572
- };
3573
- var useSearchGoogleImportedMarkets = (search, region) => {
3574
- const { loading, error, data, refetch } = (0, import_client70.useQuery)(SEARCH_GOOGLE_IMPORTED_MARKETS, {
3575
- fetchPolicy: "network-only",
3576
- skip: search.length < 3,
3577
- variables: { region, search }
3578
- });
3579
- const googleImportedMarketsSearch = data?.googleImportedMarketsSearch || [];
3580
- return { error, googleImportedMarketsSearch, loading, refetch };
3581
- };
3582
- var useGetGoogleImportedMarketsNearMe = (latitude, longitude, radius) => {
3583
- const { loading, error, data, refetch } = (0, import_client70.useQuery)(GET_GOOGLE_IMPORTED_MARKETS_NEAR_ME, {
3584
- fetchPolicy: "network-only",
3585
- skip: !latitude || !longitude,
3586
- variables: {
3587
- latitude,
3588
- longitude,
3589
- radius: radius || 1e4
3590
- // Default to 10km if no radius is provided
3591
- }
3592
- });
3593
- const googleImportedMarketsNearMe = data?.googleImportedMarketsNearMe || [];
3594
- return { error, googleImportedMarketsNearMe, loading, refetch };
3595
- };
3596
3458
  // Annotate the CommonJS export names for ESM import in node:
3597
3459
  0 && (module.exports = {
3598
3460
  useAddParticipantToChat,
@@ -3648,9 +3510,6 @@ var useGetGoogleImportedMarketsNearMe = (latitude, longitude, radius) => {
3648
3510
  useGetEvents,
3649
3511
  useGetEventsByRegion,
3650
3512
  useGetEventsNearMe,
3651
- useGetGoogleImportedMarkets,
3652
- useGetGoogleImportedMarketsByRegion,
3653
- useGetGoogleImportedMarketsNearMe,
3654
3513
  useGetNotificationCount,
3655
3514
  useGetNotificationCountSubscription,
3656
3515
  useGetPartner,
@@ -3695,7 +3554,6 @@ var useGetGoogleImportedMarketsNearMe = (latitude, longitude, radius) => {
3695
3554
  useRequestPasswordReset,
3696
3555
  useResetPassword,
3697
3556
  useSearchEvents,
3698
- useSearchGoogleImportedMarkets,
3699
3557
  useSearchPartners,
3700
3558
  useSearchVendors,
3701
3559
  useSelectPackage,