@timardex/cluemart-shared 1.0.82 → 1.0.84
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/{chunk-3LHMZDI4.mjs → chunk-JIL6JFWC.mjs} +1 -7
- package/dist/chunk-JIL6JFWC.mjs.map +1 -0
- package/dist/{chunk-ZDTBLK7U.mjs → chunk-ORGSRTC4.mjs} +2 -2
- package/dist/enums/index.cjs +0 -7
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +1 -5
- package/dist/enums/index.d.ts +1 -5
- package/dist/enums/index.mjs +1 -3
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +243 -300
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +41 -30
- package/dist/graphql/index.d.ts +41 -30
- package/dist/graphql/index.mjs +238 -300
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +255 -307
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +62 -53
- package/dist/index.d.ts +62 -53
- package/dist/index.mjs +248 -305
- package/dist/index.mjs.map +1 -1
- package/dist/{notification-P3Vnadx_.d.mts → notification-DDVH6HnE.d.mts} +23 -21
- package/dist/{notification-P3Vnadx_.d.ts → notification-DDVH6HnE.d.ts} +23 -21
- package/dist/types/index.cjs +21 -0
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +14 -0
- package/dist/types/index.mjs.map +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3LHMZDI4.mjs.map +0 -1
- /package/dist/{chunk-ZDTBLK7U.mjs.map → chunk-ORGSRTC4.mjs.map} +0 -0
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
import { C as ChatType,
|
|
2
|
+
import { C as ChatType, N as NotificationType, a as NotificationCount } from '../notification-DDVH6HnE.js';
|
|
3
3
|
import { M as MarketType, b as MarketInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType, U as UserType } from '../global-By7aHQ1y.js';
|
|
4
4
|
import { EnumResourceType } from '../enums/index.js';
|
|
5
5
|
import { T as TesterType } from '../testers-CqYqJvlZ.js';
|
|
@@ -164,6 +164,45 @@ declare const useGetMarketInfo: (marketId: string) => {
|
|
|
164
164
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
+
declare const useCreateNotification: () => {
|
|
168
|
+
createNotification: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
169
|
+
error: _apollo_client.ApolloError | undefined;
|
|
170
|
+
loading: boolean;
|
|
171
|
+
};
|
|
172
|
+
declare const useCreateBulkNotifications: () => {
|
|
173
|
+
createBulkNotifications: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
174
|
+
error: _apollo_client.ApolloError | undefined;
|
|
175
|
+
loading: boolean;
|
|
176
|
+
};
|
|
177
|
+
declare const useMarkNotificationRead: () => {
|
|
178
|
+
error: _apollo_client.ApolloError | undefined;
|
|
179
|
+
loading: boolean;
|
|
180
|
+
markNotificationRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
181
|
+
};
|
|
182
|
+
declare const useMarkAllNotificationsRead: () => {
|
|
183
|
+
error: _apollo_client.ApolloError | undefined;
|
|
184
|
+
loading: boolean;
|
|
185
|
+
markAllNotificationsRead: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
186
|
+
};
|
|
187
|
+
declare const useDeleteNotification: () => {
|
|
188
|
+
deleteNotification: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
189
|
+
error: _apollo_client.ApolloError | undefined;
|
|
190
|
+
loading: boolean;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
declare const useGetUserNotifications: (userId: string, limit?: number, offset?: number) => {
|
|
194
|
+
error: _apollo_client.ApolloError | undefined;
|
|
195
|
+
loading: boolean;
|
|
196
|
+
notifications: NotificationType[];
|
|
197
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
198
|
+
};
|
|
199
|
+
declare const useGetNotificationCount: (userId: string) => {
|
|
200
|
+
error: _apollo_client.ApolloError | undefined;
|
|
201
|
+
loading: boolean;
|
|
202
|
+
notificationCount: NotificationCount;
|
|
203
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
204
|
+
};
|
|
205
|
+
|
|
167
206
|
declare const useCreatePoster: () => {
|
|
168
207
|
createPoster: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
169
208
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -370,35 +409,7 @@ declare const useGetUserFavourites: () => {
|
|
|
370
409
|
stallholders: StallholderType[];
|
|
371
410
|
};
|
|
372
411
|
};
|
|
373
|
-
declare const useGetUserNotifications: () => {
|
|
374
|
-
error: _apollo_client.ApolloError | undefined;
|
|
375
|
-
loading: boolean;
|
|
376
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
377
|
-
userNotifications: boolean;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
|
-
declare const useNotifications: (userId: string) => {
|
|
381
|
-
notifications: any;
|
|
382
|
-
count: any;
|
|
383
|
-
unreadNotifications: any;
|
|
384
|
-
notificationsLoading: boolean;
|
|
385
|
-
countLoading: boolean;
|
|
386
|
-
unreadLoading: boolean;
|
|
387
|
-
createLoading: boolean;
|
|
388
|
-
createBulkLoading: boolean;
|
|
389
|
-
markReadLoading: boolean;
|
|
390
|
-
markAllReadLoading: boolean;
|
|
391
|
-
notificationsError: _apollo_client.ApolloError | undefined;
|
|
392
|
-
countError: _apollo_client.ApolloError | undefined;
|
|
393
|
-
unreadError: _apollo_client.ApolloError | undefined;
|
|
394
|
-
createNotification: (input: CreateNotificationInput) => Promise<_apollo_client.FetchResult<any>>;
|
|
395
|
-
createBulkNotifications: (input: CreateBulkNotificationInput) => Promise<_apollo_client.FetchResult<any>>;
|
|
396
|
-
markNotificationRead: (input: MarkNotificationReadInput) => Promise<_apollo_client.FetchResult<any>>;
|
|
397
|
-
markAllNotificationsRead: (input: MarkAllNotificationsReadInput) => Promise<_apollo_client.FetchResult<any>>;
|
|
398
|
-
refetchAll: () => void;
|
|
399
|
-
invalidateCache: () => void;
|
|
400
|
-
};
|
|
401
412
|
|
|
402
413
|
declare const GET_CHAT_MESSAGE: _apollo_client.DocumentNode;
|
|
403
414
|
|
|
404
|
-
export { GET_CHAT_MESSAGE, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLogin, useLogout,
|
|
415
|
+
export { GET_CHAT_MESSAGE, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateBulkNotifications, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreateNotification, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLogin, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchMarkets, useSearchStallholders, useSendChatMessage, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };
|