@timardex/cluemart-shared 1.3.63 → 1.3.64
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/{resourceActivities-CVwxvGeC.d.ts → googleImportedMarket-BECKtVJ4.d.ts} +39 -1
- package/dist/{resourceActivities-CJRTZROh.d.mts → googleImportedMarket-Sl0y8deO.d.mts} +39 -1
- package/dist/graphql/index.cjs +56 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -2
- package/dist/graphql/index.d.ts +10 -2
- package/dist/graphql/index.mjs +55 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +56 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.mjs +55 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +2 -27
- package/dist/types/index.d.ts +2 -27
- package/package.json +1 -1
|
@@ -90,4 +90,42 @@ type ResourceActivityInputType = {
|
|
|
90
90
|
activity: Omit<ResourceActivityEntry, "timestamp">;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
type GoogleImportedMarket = {
|
|
94
|
+
_id: string;
|
|
95
|
+
name: string;
|
|
96
|
+
slug: string;
|
|
97
|
+
image?: string;
|
|
98
|
+
address: string;
|
|
99
|
+
location?: {
|
|
100
|
+
lat: number;
|
|
101
|
+
lng: number;
|
|
102
|
+
};
|
|
103
|
+
googlePlaceId: string;
|
|
104
|
+
website?: string;
|
|
105
|
+
phone?: string;
|
|
106
|
+
openingHours?: string[];
|
|
107
|
+
rating?: number;
|
|
108
|
+
reviewCount?: number;
|
|
109
|
+
photos?: string[];
|
|
110
|
+
googleMapsUrl?: string;
|
|
111
|
+
businessStatus?: string;
|
|
112
|
+
addressComponents?: Array<{
|
|
113
|
+
longName?: string;
|
|
114
|
+
shortName?: string;
|
|
115
|
+
types?: string[];
|
|
116
|
+
}>;
|
|
117
|
+
accessibilityOptions?: Record<string, boolean>;
|
|
118
|
+
allowsDogs?: boolean;
|
|
119
|
+
goodForChildren?: boolean;
|
|
120
|
+
goodForGroups?: boolean;
|
|
121
|
+
liveMusic?: boolean;
|
|
122
|
+
parkingOptions?: Record<string, boolean>;
|
|
123
|
+
paymentOptions?: Record<string, boolean>;
|
|
124
|
+
restroom?: boolean;
|
|
125
|
+
importedAt: Date;
|
|
126
|
+
claimed: boolean;
|
|
127
|
+
createdAt: Date;
|
|
128
|
+
updatedAt: Date;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export { type ChatType as C, EnumActivity as E, type GoogleImportedMarket as G, type NotificationType as N, type ParticipantType as P, type ResourceActivityType as R, type NotificationCount as a, type ChatMessageInput as b, type ChatMessageType as c, type NotificationDataType as d, type CreateBulkNotificationInput as e, type ResourceActivityEntry as f, type ResourceActivityInputType as g };
|
|
@@ -90,4 +90,42 @@ type ResourceActivityInputType = {
|
|
|
90
90
|
activity: Omit<ResourceActivityEntry, "timestamp">;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
type GoogleImportedMarket = {
|
|
94
|
+
_id: string;
|
|
95
|
+
name: string;
|
|
96
|
+
slug: string;
|
|
97
|
+
image?: string;
|
|
98
|
+
address: string;
|
|
99
|
+
location?: {
|
|
100
|
+
lat: number;
|
|
101
|
+
lng: number;
|
|
102
|
+
};
|
|
103
|
+
googlePlaceId: string;
|
|
104
|
+
website?: string;
|
|
105
|
+
phone?: string;
|
|
106
|
+
openingHours?: string[];
|
|
107
|
+
rating?: number;
|
|
108
|
+
reviewCount?: number;
|
|
109
|
+
photos?: string[];
|
|
110
|
+
googleMapsUrl?: string;
|
|
111
|
+
businessStatus?: string;
|
|
112
|
+
addressComponents?: Array<{
|
|
113
|
+
longName?: string;
|
|
114
|
+
shortName?: string;
|
|
115
|
+
types?: string[];
|
|
116
|
+
}>;
|
|
117
|
+
accessibilityOptions?: Record<string, boolean>;
|
|
118
|
+
allowsDogs?: boolean;
|
|
119
|
+
goodForChildren?: boolean;
|
|
120
|
+
goodForGroups?: boolean;
|
|
121
|
+
liveMusic?: boolean;
|
|
122
|
+
parkingOptions?: Record<string, boolean>;
|
|
123
|
+
paymentOptions?: Record<string, boolean>;
|
|
124
|
+
restroom?: boolean;
|
|
125
|
+
importedAt: Date;
|
|
126
|
+
claimed: boolean;
|
|
127
|
+
createdAt: Date;
|
|
128
|
+
updatedAt: Date;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export { type ChatType as C, EnumActivity as E, type GoogleImportedMarket as G, type NotificationType as N, type ParticipantType as P, type ResourceActivityType as R, type NotificationCount as a, type ChatMessageInput as b, type ChatMessageType as c, type NotificationDataType as d, type CreateBulkNotificationInput as e, type ResourceActivityEntry as f, type ResourceActivityInputType as g };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -73,6 +73,7 @@ __export(graphql_exports, {
|
|
|
73
73
|
useGetEvents: () => useGetEvents,
|
|
74
74
|
useGetEventsByRegion: () => useGetEventsByRegion,
|
|
75
75
|
useGetEventsNearMe: () => useGetEventsNearMe,
|
|
76
|
+
useGetGoogleImportedMarkets: () => useGetGoogleImportedMarkets,
|
|
76
77
|
useGetNotificationCount: () => useGetNotificationCount,
|
|
77
78
|
useGetNotificationCountSubscription: () => useGetNotificationCountSubscription,
|
|
78
79
|
useGetPartner: () => useGetPartner,
|
|
@@ -3416,6 +3417,45 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client64.gql`
|
|
|
3416
3417
|
updatedAt
|
|
3417
3418
|
}
|
|
3418
3419
|
`;
|
|
3420
|
+
var GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT = import_client64.gql`
|
|
3421
|
+
fragment GoogleImportedMarketsFields on GoogleImportedMarketType {
|
|
3422
|
+
_id
|
|
3423
|
+
name
|
|
3424
|
+
slug
|
|
3425
|
+
image
|
|
3426
|
+
address
|
|
3427
|
+
location {
|
|
3428
|
+
lat
|
|
3429
|
+
lng
|
|
3430
|
+
}
|
|
3431
|
+
googlePlaceId
|
|
3432
|
+
website
|
|
3433
|
+
phone
|
|
3434
|
+
openingHours
|
|
3435
|
+
rating
|
|
3436
|
+
reviewCount
|
|
3437
|
+
photos
|
|
3438
|
+
googleMapsUrl
|
|
3439
|
+
businessStatus
|
|
3440
|
+
addressComponents {
|
|
3441
|
+
longName
|
|
3442
|
+
shortName
|
|
3443
|
+
types
|
|
3444
|
+
}
|
|
3445
|
+
accessibilityOptions
|
|
3446
|
+
allowsDogs
|
|
3447
|
+
goodForChildren
|
|
3448
|
+
goodForGroups
|
|
3449
|
+
liveMusic
|
|
3450
|
+
parkingOptions
|
|
3451
|
+
paymentOptions
|
|
3452
|
+
restroom
|
|
3453
|
+
importedAt
|
|
3454
|
+
claimed
|
|
3455
|
+
createdAt
|
|
3456
|
+
updatedAt
|
|
3457
|
+
}
|
|
3458
|
+
`;
|
|
3419
3459
|
var GET_APP_SETTINGS = import_client64.gql`
|
|
3420
3460
|
query getAppSettings {
|
|
3421
3461
|
appSettings {
|
|
@@ -3424,6 +3464,14 @@ var GET_APP_SETTINGS = import_client64.gql`
|
|
|
3424
3464
|
}
|
|
3425
3465
|
${APP_SETTINGS_FIELDS_FRAGMENT}
|
|
3426
3466
|
`;
|
|
3467
|
+
var GET_GOOGLE_IMPORTED_MARKETS = import_client64.gql`
|
|
3468
|
+
query getGoogleImportedMarkets {
|
|
3469
|
+
googleImportedMarkets {
|
|
3470
|
+
...GoogleImportedMarketsFields
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
${GOOGLE_IMPORTED_MARKETS_FIELDS_FRAGMENT}
|
|
3474
|
+
`;
|
|
3427
3475
|
|
|
3428
3476
|
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
3429
3477
|
var useUpdateAppSettings = () => {
|
|
@@ -3450,6 +3498,13 @@ var useGetAppSettings = () => {
|
|
|
3450
3498
|
const appSettings = data?.appSettings || null;
|
|
3451
3499
|
return { appSettings, error, loading, refetch };
|
|
3452
3500
|
};
|
|
3501
|
+
var useGetGoogleImportedMarkets = () => {
|
|
3502
|
+
const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_GOOGLE_IMPORTED_MARKETS, {
|
|
3503
|
+
fetchPolicy: "network-only"
|
|
3504
|
+
});
|
|
3505
|
+
const googleImportedMarkets = data?.googleImportedMarkets || [];
|
|
3506
|
+
return { error, googleImportedMarkets, loading, refetch };
|
|
3507
|
+
};
|
|
3453
3508
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3454
3509
|
0 && (module.exports = {
|
|
3455
3510
|
useAddParticipantToChat,
|
|
@@ -3505,6 +3560,7 @@ var useGetAppSettings = () => {
|
|
|
3505
3560
|
useGetEvents,
|
|
3506
3561
|
useGetEventsByRegion,
|
|
3507
3562
|
useGetEventsNearMe,
|
|
3563
|
+
useGetGoogleImportedMarkets,
|
|
3508
3564
|
useGetNotificationCount,
|
|
3509
3565
|
useGetNotificationCountSubscription,
|
|
3510
3566
|
useGetPartner,
|