@timardex/cluemart-shared 1.0.65 → 1.0.67
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/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-CmHtFudt.d.ts → global-BGkMOKi_.d.ts} +3 -3
- package/dist/{global-DFWO619h.d.mts → global-CQkmy_ty.d.mts} +3 -3
- package/dist/graphql/index.cjs +766 -722
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +45 -39
- package/dist/graphql/index.d.ts +45 -39
- package/dist/graphql/index.mjs +743 -698
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +17 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +17 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +780 -720
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +151 -139
- package/dist/index.d.ts +151 -139
- package/dist/index.mjs +755 -696
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +9 -3
- package/dist/types/index.d.ts +9 -3
- 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.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { C as ChatType } from '../chat-BUVCf9Tu.js';
|
|
3
|
-
import { M as MarketType, b as MarketInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType, N as NotificationType, U as UserType } from '../global-
|
|
3
|
+
import { M as MarketType, b as MarketInfoType, c as RelationType, d as ResourceConnectionsType, e as StallholderType, f as StallholderInfoType, N as NotificationType, U as UserType } from '../global-BGkMOKi_.js';
|
|
4
4
|
import { EnumResourceType } from '../enums/index.js';
|
|
5
5
|
import { T as TesterType } from '../testers-CqYqJvlZ.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
|
+
declare const useAdminUpdateResourceType: () => {
|
|
9
|
+
adminUpdateResourceType: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
10
|
+
error: _apollo_client.ApolloError | undefined;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
};
|
|
13
|
+
|
|
8
14
|
declare const useRegister: () => {
|
|
9
15
|
error: _apollo_client.ApolloError | undefined;
|
|
10
16
|
loading: boolean;
|
|
@@ -80,6 +86,12 @@ declare const useGetUserChats: () => {
|
|
|
80
86
|
userChats: ChatType[];
|
|
81
87
|
};
|
|
82
88
|
|
|
89
|
+
declare const useContactUs: () => {
|
|
90
|
+
contactUs: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
91
|
+
error: _apollo_client.ApolloError | undefined;
|
|
92
|
+
loading: boolean;
|
|
93
|
+
};
|
|
94
|
+
|
|
83
95
|
declare const useCreateMarket: () => {
|
|
84
96
|
createMarket: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
85
97
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -268,6 +280,37 @@ declare const useGetChatSubscription: () => {
|
|
|
268
280
|
loading: boolean;
|
|
269
281
|
};
|
|
270
282
|
|
|
283
|
+
declare const useCreateTester: () => {
|
|
284
|
+
createTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
285
|
+
data: any;
|
|
286
|
+
error: _apollo_client.ApolloError | undefined;
|
|
287
|
+
loading: boolean;
|
|
288
|
+
};
|
|
289
|
+
declare const useUpdateTester: () => {
|
|
290
|
+
data: any;
|
|
291
|
+
error: _apollo_client.ApolloError | undefined;
|
|
292
|
+
loading: boolean;
|
|
293
|
+
updateTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
294
|
+
};
|
|
295
|
+
declare const useDeleteTester: () => {
|
|
296
|
+
deleteTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
297
|
+
error: _apollo_client.ApolloError | undefined;
|
|
298
|
+
loading: boolean;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
declare const useGetTesters: () => {
|
|
302
|
+
error: _apollo_client.ApolloError | undefined;
|
|
303
|
+
loading: boolean;
|
|
304
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
305
|
+
testers: TesterType[];
|
|
306
|
+
};
|
|
307
|
+
declare const useGetTester: (_id: string) => {
|
|
308
|
+
error: _apollo_client.ApolloError | undefined;
|
|
309
|
+
loading: boolean;
|
|
310
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
311
|
+
tester: TesterType;
|
|
312
|
+
};
|
|
313
|
+
|
|
271
314
|
declare const useCreateUser: () => {
|
|
272
315
|
createUser: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
273
316
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -334,41 +377,4 @@ declare const useGetUserNotifications: () => {
|
|
|
334
377
|
userNotifications: boolean;
|
|
335
378
|
};
|
|
336
379
|
|
|
337
|
-
|
|
338
|
-
createTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
339
|
-
data: any;
|
|
340
|
-
error: _apollo_client.ApolloError | undefined;
|
|
341
|
-
loading: boolean;
|
|
342
|
-
};
|
|
343
|
-
declare const useUpdateTester: () => {
|
|
344
|
-
data: any;
|
|
345
|
-
error: _apollo_client.ApolloError | undefined;
|
|
346
|
-
loading: boolean;
|
|
347
|
-
updateTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
348
|
-
};
|
|
349
|
-
declare const useDeleteTester: () => {
|
|
350
|
-
deleteTester: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
351
|
-
error: _apollo_client.ApolloError | undefined;
|
|
352
|
-
loading: boolean;
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
declare const useGetTesters: () => {
|
|
356
|
-
error: _apollo_client.ApolloError | undefined;
|
|
357
|
-
loading: boolean;
|
|
358
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
359
|
-
testers: TesterType[];
|
|
360
|
-
};
|
|
361
|
-
declare const useGetTester: (_id: string) => {
|
|
362
|
-
error: _apollo_client.ApolloError | undefined;
|
|
363
|
-
loading: boolean;
|
|
364
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
365
|
-
tester: TesterType;
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
declare const useContactUs: () => {
|
|
369
|
-
contactUs: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
370
|
-
error: _apollo_client.ApolloError | undefined;
|
|
371
|
-
loading: boolean;
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
export { useAddParticipantToChat, useAddUserFavouriteResource, useContactUs, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLogin, useLogout, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchMarkets, useSearchStallholders, useSendChatMessage, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };
|
|
380
|
+
export { useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLogin, useLogout, useRefreshToken, useRegister, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useResetPassword, useSearchMarkets, useSearchStallholders, useSendChatMessage, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useValidateVerificationToken };
|