@timardex/cluemart-shared 1.3.63 → 1.3.65

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/index.cjs CHANGED
@@ -181,6 +181,7 @@ __export(index_exports, {
181
181
  useGetEvents: () => useGetEvents,
182
182
  useGetEventsByRegion: () => useGetEventsByRegion,
183
183
  useGetEventsNearMe: () => useGetEventsNearMe,
184
+ useGetGoogleImportedMarkets: () => useGetGoogleImportedMarkets,
184
185
  useGetNotificationCount: () => useGetNotificationCount,
185
186
  useGetNotificationCountSubscription: () => useGetNotificationCountSubscription,
186
187
  useGetPartner: () => useGetPartner,
@@ -5740,6 +5741,45 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client64.gql`
5740
5741
  updatedAt
5741
5742
  }
5742
5743
  `;
5744
+ var GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT = import_client64.gql`
5745
+ fragment GoogleImportedMarketsFields on GoogleImportedMarketType {
5746
+ _id
5747
+ name
5748
+ slug
5749
+ image
5750
+ address
5751
+ location {
5752
+ lat
5753
+ lng
5754
+ }
5755
+ googlePlaceId
5756
+ website
5757
+ phone
5758
+ openingHours
5759
+ rating
5760
+ reviewCount
5761
+ photos
5762
+ googleMapsUrl
5763
+ businessStatus
5764
+ addressComponents {
5765
+ longName
5766
+ shortName
5767
+ types
5768
+ }
5769
+ accessibilityOptions
5770
+ allowsDogs
5771
+ goodForChildren
5772
+ goodForGroups
5773
+ liveMusic
5774
+ parkingOptions
5775
+ paymentOptions
5776
+ restroom
5777
+ importedAt
5778
+ claimed
5779
+ createdAt
5780
+ updatedAt
5781
+ }
5782
+ `;
5743
5783
  var GET_APP_SETTINGS = import_client64.gql`
5744
5784
  query getAppSettings {
5745
5785
  appSettings {
@@ -5748,6 +5788,14 @@ var GET_APP_SETTINGS = import_client64.gql`
5748
5788
  }
5749
5789
  ${APP_SETTINGS_FIELDS_FRAGMENT}
5750
5790
  `;
5791
+ var GET_GOOGLE_IMPORTED_MARKETS = import_client64.gql`
5792
+ query getGoogleImportedMarkets {
5793
+ googleImportedMarkets {
5794
+ ...GoogleImportedMarketsFields
5795
+ }
5796
+ }
5797
+ ${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
5798
+ `;
5751
5799
 
5752
5800
  // src/graphql/hooks/appSettings/hooksMutation.ts
5753
5801
  var useUpdateAppSettings = () => {
@@ -5774,6 +5822,13 @@ var useGetAppSettings = () => {
5774
5822
  const appSettings = data?.appSettings || null;
5775
5823
  return { appSettings, error, loading, refetch };
5776
5824
  };
5825
+ var useGetGoogleImportedMarkets = () => {
5826
+ const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_GOOGLE_IMPORTED_MARKETS, {
5827
+ fetchPolicy: "network-only"
5828
+ });
5829
+ const googleImportedMarkets = data?.googleImportedMarkets || [];
5830
+ return { error, googleImportedMarkets, loading, refetch };
5831
+ };
5777
5832
 
5778
5833
  // src/hooks/useLocationSearch.ts
5779
5834
  var handleApiError = (error, message) => {
@@ -7871,6 +7926,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
7871
7926
  useGetEvents,
7872
7927
  useGetEventsByRegion,
7873
7928
  useGetEventsNearMe,
7929
+ useGetGoogleImportedMarkets,
7874
7930
  useGetNotificationCount,
7875
7931
  useGetNotificationCountSubscription,
7876
7932
  useGetPartner,