@timardex/cluemart-shared 1.2.70 → 1.2.72
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/{ad-CJBWZnb9.d.ts → ad-DIpc7lyr.d.ts} +1 -1
- package/dist/{ad-BdK9N1Fw.d.mts → ad-_p1gmLNT.d.mts} +1 -1
- package/dist/{auth-Dxb3_Ak-.d.ts → auth-Bjqk92cx.d.ts} +1 -1
- package/dist/{auth-BKpylbaZ.d.mts → auth-CcX2zTDU.d.mts} +1 -1
- package/dist/formFields/index.cjs +198 -105
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +198 -105
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-CfX05e2q.d.mts → global-B0AzhgkH.d.mts} +4 -4
- package/dist/{global-flZOvt2w.d.ts → global-BH6qrlBv.d.ts} +4 -4
- package/dist/graphql/index.cjs +573 -565
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +459 -211
- package/dist/graphql/index.d.ts +459 -211
- package/dist/graphql/index.mjs +378 -370
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +10 -5
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +10 -5
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +787 -681
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +460 -212
- package/dist/index.d.ts +460 -212
- package/dist/index.mjs +586 -480
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +2 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
2
|
import * as _apollo_client from '@apollo/client';
|
|
3
|
+
import { useMutation } from '@apollo/client/react';
|
|
3
4
|
|
|
4
5
|
declare enum EnumInviteStatus {
|
|
5
6
|
ACCEPTED = "Accepted",
|
|
@@ -376,7 +377,7 @@ interface VendorFormData extends BaseResourceTypeFormData {
|
|
|
376
377
|
foodTruck: boolean;
|
|
377
378
|
locations?: VendorLocation[] | null;
|
|
378
379
|
multiLocation: boolean;
|
|
379
|
-
products
|
|
380
|
+
products: VendorMenuType[] | null;
|
|
380
381
|
vendorType: EnumVendorType;
|
|
381
382
|
}
|
|
382
383
|
type CreateVendorFormData = CreateFormData<VendorFormData>;
|
|
@@ -482,8 +483,8 @@ type OwnerType = {
|
|
|
482
483
|
interface BaseResourceTypeFormData {
|
|
483
484
|
_id?: string;
|
|
484
485
|
active: boolean;
|
|
485
|
-
associates
|
|
486
|
-
contactDetails
|
|
486
|
+
associates: AssociateType[] | null;
|
|
487
|
+
contactDetails: ResourceContactDetailsType | null;
|
|
487
488
|
cover: ResourceImageType;
|
|
488
489
|
coverUpload?: ResourceImageType | null;
|
|
489
490
|
description: string;
|
|
@@ -495,7 +496,7 @@ interface BaseResourceTypeFormData {
|
|
|
495
496
|
owner?: OwnerType | null;
|
|
496
497
|
promoCodes?: string[] | null;
|
|
497
498
|
region: string;
|
|
498
|
-
socialMedia
|
|
499
|
+
socialMedia: SocialMediaType[] | null;
|
|
499
500
|
termsAgreement?: TermsAgreement | null;
|
|
500
501
|
}
|
|
501
502
|
type PosterUsageType = {
|
|
@@ -911,449 +912,664 @@ declare const companyContactFields: FormField[];
|
|
|
911
912
|
declare const partnerBasicInfoFields: FormField[];
|
|
912
913
|
|
|
913
914
|
declare const useAdminUpdateResourceType: () => {
|
|
914
|
-
adminUpdateResourceType:
|
|
915
|
-
|
|
915
|
+
adminUpdateResourceType: useMutation.MutationFunction<{
|
|
916
|
+
adminUpdateResourceType: {
|
|
917
|
+
resourceId: string;
|
|
918
|
+
resourceType: EnumResourceType;
|
|
919
|
+
};
|
|
920
|
+
}, {
|
|
921
|
+
[x: string]: any;
|
|
922
|
+
}, _apollo_client.ApolloCache>;
|
|
923
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
916
924
|
loading: boolean;
|
|
917
925
|
};
|
|
918
926
|
|
|
919
927
|
declare const useRegister: () => {
|
|
920
|
-
error: _apollo_client.
|
|
928
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
921
929
|
loading: boolean;
|
|
922
|
-
register:
|
|
930
|
+
register: useMutation.MutationFunction<unknown, {
|
|
931
|
+
[x: string]: any;
|
|
932
|
+
}, _apollo_client.ApolloCache>;
|
|
923
933
|
};
|
|
924
934
|
declare const useLogin: () => {
|
|
925
|
-
error: _apollo_client.
|
|
935
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
926
936
|
loading: boolean;
|
|
927
|
-
login:
|
|
937
|
+
login: useMutation.MutationFunction<unknown, {
|
|
938
|
+
[x: string]: any;
|
|
939
|
+
}, _apollo_client.ApolloCache>;
|
|
928
940
|
};
|
|
929
941
|
declare const useLogout: () => {
|
|
930
|
-
error: _apollo_client.
|
|
942
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
931
943
|
loading: boolean;
|
|
932
|
-
logout:
|
|
944
|
+
logout: useMutation.MutationFunction<unknown, {
|
|
945
|
+
[x: string]: any;
|
|
946
|
+
}, _apollo_client.ApolloCache>;
|
|
933
947
|
};
|
|
934
948
|
declare const useRefreshToken: () => {
|
|
935
|
-
error: _apollo_client.
|
|
949
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
936
950
|
loading: boolean;
|
|
937
|
-
refreshToken:
|
|
951
|
+
refreshToken: useMutation.MutationFunction<unknown, {
|
|
952
|
+
[x: string]: any;
|
|
953
|
+
}, _apollo_client.ApolloCache>;
|
|
938
954
|
};
|
|
939
955
|
declare const useRequestPasswordReset: () => {
|
|
940
|
-
error: _apollo_client.
|
|
956
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
941
957
|
loading: boolean;
|
|
942
|
-
requestPasswordReset:
|
|
958
|
+
requestPasswordReset: useMutation.MutationFunction<unknown, {
|
|
959
|
+
[x: string]: any;
|
|
960
|
+
}, _apollo_client.ApolloCache>;
|
|
943
961
|
};
|
|
944
962
|
declare const useValidateVerificationToken: () => {
|
|
945
|
-
error: _apollo_client.
|
|
963
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
946
964
|
loading: boolean;
|
|
947
|
-
validateVerificationToken:
|
|
965
|
+
validateVerificationToken: useMutation.MutationFunction<unknown, {
|
|
966
|
+
[x: string]: any;
|
|
967
|
+
}, _apollo_client.ApolloCache>;
|
|
948
968
|
};
|
|
949
969
|
declare const useResetPassword: () => {
|
|
950
|
-
error: _apollo_client.
|
|
970
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
951
971
|
loading: boolean;
|
|
952
|
-
resetPassword:
|
|
972
|
+
resetPassword: useMutation.MutationFunction<unknown, {
|
|
973
|
+
[x: string]: any;
|
|
974
|
+
}, _apollo_client.ApolloCache>;
|
|
953
975
|
};
|
|
954
976
|
|
|
955
977
|
declare const useSendChatMessage: () => {
|
|
956
|
-
error: _apollo_client.
|
|
978
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
957
979
|
loading: boolean;
|
|
958
|
-
sendChatMessage:
|
|
980
|
+
sendChatMessage: useMutation.MutationFunction<{
|
|
981
|
+
sendChatMessage: {
|
|
982
|
+
_id: string;
|
|
983
|
+
};
|
|
984
|
+
}, {
|
|
985
|
+
[x: string]: any;
|
|
986
|
+
}, _apollo_client.ApolloCache>;
|
|
959
987
|
};
|
|
960
988
|
declare const useDeleteChat: () => {
|
|
961
|
-
deleteChat:
|
|
962
|
-
|
|
989
|
+
deleteChat: useMutation.MutationFunction<unknown, {
|
|
990
|
+
[x: string]: any;
|
|
991
|
+
}, _apollo_client.ApolloCache>;
|
|
992
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
963
993
|
loading: boolean;
|
|
964
994
|
};
|
|
965
995
|
declare const useAddParticipantToChat: () => {
|
|
966
|
-
addParticipantToChat:
|
|
967
|
-
|
|
996
|
+
addParticipantToChat: useMutation.MutationFunction<{
|
|
997
|
+
addParticipantToChat: {
|
|
998
|
+
_id: string;
|
|
999
|
+
};
|
|
1000
|
+
}, {
|
|
1001
|
+
[x: string]: any;
|
|
1002
|
+
}, _apollo_client.ApolloCache>;
|
|
1003
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
968
1004
|
loading: boolean;
|
|
969
1005
|
};
|
|
970
1006
|
declare const useRemoveParticipantFromChat: () => {
|
|
971
|
-
error: _apollo_client.
|
|
1007
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
972
1008
|
loading: boolean;
|
|
973
|
-
removeParticipantFromChat:
|
|
1009
|
+
removeParticipantFromChat: useMutation.MutationFunction<unknown, {
|
|
1010
|
+
[x: string]: any;
|
|
1011
|
+
}, _apollo_client.ApolloCache>;
|
|
974
1012
|
};
|
|
975
1013
|
|
|
976
1014
|
declare const useGetChat: (_id: string) => {
|
|
977
|
-
chat: ChatType;
|
|
978
|
-
error: _apollo_client.
|
|
1015
|
+
chat: ChatType | undefined;
|
|
1016
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
979
1017
|
loading: boolean;
|
|
980
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1018
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1019
|
+
chat: ChatType;
|
|
1020
|
+
}>>;
|
|
981
1021
|
};
|
|
982
1022
|
declare const useGetUserChats: () => {
|
|
983
|
-
error: _apollo_client.
|
|
1023
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
984
1024
|
loading: boolean;
|
|
985
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1025
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1026
|
+
userChats: ChatType[];
|
|
1027
|
+
}>>;
|
|
986
1028
|
userChats: ChatType[];
|
|
987
1029
|
};
|
|
988
1030
|
declare const useGetChatSubscription: () => {
|
|
989
|
-
chat: ChatType;
|
|
990
|
-
error: _apollo_client.
|
|
1031
|
+
chat: ChatType | undefined;
|
|
1032
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
991
1033
|
loading: boolean;
|
|
992
1034
|
};
|
|
993
1035
|
|
|
994
1036
|
declare const useContactUs: () => {
|
|
995
|
-
contactUs:
|
|
996
|
-
|
|
1037
|
+
contactUs: useMutation.MutationFunction<unknown, {
|
|
1038
|
+
[x: string]: any;
|
|
1039
|
+
}, _apollo_client.ApolloCache>;
|
|
1040
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
997
1041
|
loading: boolean;
|
|
998
1042
|
};
|
|
999
1043
|
|
|
1000
1044
|
declare const useCreateEvent: () => {
|
|
1001
|
-
createEvent:
|
|
1002
|
-
|
|
1045
|
+
createEvent: useMutation.MutationFunction<unknown, {
|
|
1046
|
+
[x: string]: any;
|
|
1047
|
+
}, _apollo_client.ApolloCache>;
|
|
1048
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1003
1049
|
loading: boolean;
|
|
1004
1050
|
};
|
|
1005
1051
|
declare const useUpdateEvent: () => {
|
|
1006
|
-
error: _apollo_client.
|
|
1052
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1007
1053
|
loading: boolean;
|
|
1008
|
-
updateEvent:
|
|
1054
|
+
updateEvent: useMutation.MutationFunction<unknown, {
|
|
1055
|
+
[x: string]: any;
|
|
1056
|
+
}, _apollo_client.ApolloCache>;
|
|
1009
1057
|
};
|
|
1010
1058
|
declare const useDeleteEvent: () => {
|
|
1011
|
-
deleteEvent:
|
|
1012
|
-
|
|
1059
|
+
deleteEvent: useMutation.MutationFunction<unknown, {
|
|
1060
|
+
[x: string]: any;
|
|
1061
|
+
}, _apollo_client.ApolloCache>;
|
|
1062
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1013
1063
|
loading: boolean;
|
|
1014
1064
|
};
|
|
1015
1065
|
declare const useCreateEventInfo: () => {
|
|
1016
|
-
createEventInfo:
|
|
1017
|
-
|
|
1066
|
+
createEventInfo: useMutation.MutationFunction<{
|
|
1067
|
+
createEventInfo: {
|
|
1068
|
+
eventId: string;
|
|
1069
|
+
};
|
|
1070
|
+
}, {
|
|
1071
|
+
[x: string]: any;
|
|
1072
|
+
}, _apollo_client.ApolloCache>;
|
|
1073
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1018
1074
|
loading: boolean;
|
|
1019
1075
|
};
|
|
1020
1076
|
declare const useUpdateEventInfo: () => {
|
|
1021
|
-
error: _apollo_client.
|
|
1077
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1022
1078
|
loading: boolean;
|
|
1023
|
-
updateEventInfo:
|
|
1079
|
+
updateEventInfo: useMutation.MutationFunction<{
|
|
1080
|
+
updateEventInfo: {
|
|
1081
|
+
eventId: string;
|
|
1082
|
+
};
|
|
1083
|
+
}, {
|
|
1084
|
+
[x: string]: any;
|
|
1085
|
+
}, _apollo_client.ApolloCache>;
|
|
1024
1086
|
};
|
|
1025
1087
|
|
|
1026
1088
|
declare const useGetEvents: () => {
|
|
1027
|
-
error: _apollo_client.
|
|
1089
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1028
1090
|
events: EventType[];
|
|
1029
1091
|
loading: boolean;
|
|
1030
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1092
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1093
|
+
events: EventType[];
|
|
1094
|
+
}>>;
|
|
1031
1095
|
};
|
|
1032
1096
|
declare const useGetEvent: (_id: string) => {
|
|
1033
|
-
error: _apollo_client.
|
|
1034
|
-
event: EventType;
|
|
1097
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1098
|
+
event: EventType | undefined;
|
|
1035
1099
|
loading: boolean;
|
|
1036
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1100
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1101
|
+
event: EventType;
|
|
1102
|
+
}>>;
|
|
1037
1103
|
};
|
|
1038
1104
|
declare const useGetEventsByRegion: (region: string) => {
|
|
1039
|
-
error: _apollo_client.
|
|
1105
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1040
1106
|
eventsByRegion: EventType[];
|
|
1041
1107
|
loading: boolean;
|
|
1042
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1108
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1109
|
+
eventsByRegion: EventType[];
|
|
1110
|
+
}>>;
|
|
1043
1111
|
};
|
|
1044
1112
|
declare const useSearchEvents: (search: string, region: string) => {
|
|
1045
|
-
error: _apollo_client.
|
|
1113
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1046
1114
|
eventsSearch: EventType[];
|
|
1047
1115
|
loading: boolean;
|
|
1048
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1116
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1117
|
+
eventsSearch: EventType[];
|
|
1118
|
+
}>>;
|
|
1049
1119
|
};
|
|
1050
1120
|
declare const useGetEventsNearMe: (location: {
|
|
1051
1121
|
latitude: number;
|
|
1052
1122
|
longitude: number;
|
|
1053
1123
|
radius?: number;
|
|
1054
1124
|
}) => {
|
|
1055
|
-
error: _apollo_client.
|
|
1125
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1056
1126
|
eventsNearMe: EventType[];
|
|
1057
1127
|
loading: boolean;
|
|
1058
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1128
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1129
|
+
eventsNearMe: EventType[];
|
|
1130
|
+
}>>;
|
|
1059
1131
|
};
|
|
1060
1132
|
declare const useGetEventInfo: (eventId: string) => {
|
|
1061
|
-
error: _apollo_client.
|
|
1062
|
-
eventInfo: EventInfoType;
|
|
1133
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1134
|
+
eventInfo: EventInfoType | undefined;
|
|
1063
1135
|
loading: boolean;
|
|
1064
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1136
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1137
|
+
eventInfo: EventInfoType;
|
|
1138
|
+
}>>;
|
|
1065
1139
|
};
|
|
1066
1140
|
|
|
1067
1141
|
declare const useCreateBulkNotifications: () => {
|
|
1068
|
-
createBulkNotifications:
|
|
1069
|
-
|
|
1142
|
+
createBulkNotifications: useMutation.MutationFunction<unknown, {
|
|
1143
|
+
[x: string]: any;
|
|
1144
|
+
}, _apollo_client.ApolloCache>;
|
|
1145
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1070
1146
|
loading: boolean;
|
|
1071
1147
|
};
|
|
1072
1148
|
declare const useMarkNotificationRead: () => {
|
|
1073
|
-
error: _apollo_client.
|
|
1149
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1074
1150
|
loading: boolean;
|
|
1075
|
-
markNotificationRead:
|
|
1151
|
+
markNotificationRead: useMutation.MutationFunction<unknown, {
|
|
1152
|
+
[x: string]: any;
|
|
1153
|
+
}, _apollo_client.ApolloCache>;
|
|
1076
1154
|
};
|
|
1077
1155
|
declare const useMarkAllNotificationsRead: () => {
|
|
1078
|
-
error: _apollo_client.
|
|
1156
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1079
1157
|
loading: boolean;
|
|
1080
|
-
markAllNotificationsRead:
|
|
1158
|
+
markAllNotificationsRead: useMutation.MutationFunction<unknown, {
|
|
1159
|
+
[x: string]: any;
|
|
1160
|
+
}, _apollo_client.ApolloCache>;
|
|
1081
1161
|
};
|
|
1082
1162
|
declare const useDeleteNotification: () => {
|
|
1083
|
-
deleteNotification:
|
|
1084
|
-
|
|
1163
|
+
deleteNotification: useMutation.MutationFunction<unknown, {
|
|
1164
|
+
[x: string]: any;
|
|
1165
|
+
}, _apollo_client.ApolloCache>;
|
|
1166
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1085
1167
|
loading: boolean;
|
|
1086
1168
|
};
|
|
1087
1169
|
declare const useDeleteAllNotifications: () => {
|
|
1088
|
-
deleteAllNotifications:
|
|
1089
|
-
|
|
1170
|
+
deleteAllNotifications: useMutation.MutationFunction<unknown, {
|
|
1171
|
+
[x: string]: any;
|
|
1172
|
+
}, _apollo_client.ApolloCache>;
|
|
1173
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1090
1174
|
loading: boolean;
|
|
1091
1175
|
};
|
|
1092
1176
|
|
|
1093
1177
|
declare const useGetUserNotifications: (limit?: number, offset?: number) => {
|
|
1094
|
-
error: _apollo_client.
|
|
1178
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1095
1179
|
loading: boolean;
|
|
1096
1180
|
notifications: NotificationType[];
|
|
1097
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1181
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1098
1182
|
userNotifications: NotificationType[];
|
|
1099
1183
|
}>>;
|
|
1100
1184
|
};
|
|
1101
1185
|
declare const useGetNotificationCount: () => {
|
|
1102
|
-
error: _apollo_client.
|
|
1186
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1103
1187
|
loading: boolean;
|
|
1104
1188
|
notificationCount: NotificationCount;
|
|
1105
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1189
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1106
1190
|
notificationCount: NotificationCount;
|
|
1107
1191
|
}>>;
|
|
1108
1192
|
};
|
|
1109
1193
|
|
|
1110
1194
|
declare const useGetUserNotificationsSubscription: () => {
|
|
1111
|
-
error: _apollo_client.
|
|
1195
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1112
1196
|
loading: boolean;
|
|
1113
1197
|
notifications: NotificationType[] | undefined;
|
|
1114
1198
|
};
|
|
1115
1199
|
declare const useGetNotificationCountSubscription: () => {
|
|
1116
|
-
error: _apollo_client.
|
|
1200
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1117
1201
|
loading: boolean;
|
|
1118
1202
|
notificationCount: NotificationCount | undefined;
|
|
1119
1203
|
};
|
|
1120
1204
|
|
|
1121
1205
|
declare const useCreatePoster: () => {
|
|
1122
|
-
createPoster:
|
|
1123
|
-
|
|
1206
|
+
createPoster: useMutation.MutationFunction<unknown, {
|
|
1207
|
+
[x: string]: any;
|
|
1208
|
+
}, _apollo_client.ApolloCache>;
|
|
1209
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1124
1210
|
loading: boolean;
|
|
1125
1211
|
};
|
|
1126
1212
|
|
|
1127
1213
|
declare const useCreatePushToken: () => {
|
|
1128
|
-
createPushToken:
|
|
1129
|
-
|
|
1214
|
+
createPushToken: useMutation.MutationFunction<unknown, {
|
|
1215
|
+
[x: string]: any;
|
|
1216
|
+
}, _apollo_client.ApolloCache>;
|
|
1217
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1130
1218
|
loading: boolean;
|
|
1131
1219
|
};
|
|
1132
1220
|
|
|
1133
1221
|
declare const useCreateRelation: () => {
|
|
1134
|
-
createRelation:
|
|
1135
|
-
|
|
1222
|
+
createRelation: useMutation.MutationFunction<{
|
|
1223
|
+
createRelation: {
|
|
1224
|
+
eventId: string;
|
|
1225
|
+
vendorId: string;
|
|
1226
|
+
lastUpdateBy: EnumResourceType;
|
|
1227
|
+
};
|
|
1228
|
+
}, {
|
|
1229
|
+
[x: string]: any;
|
|
1230
|
+
}, _apollo_client.ApolloCache>;
|
|
1231
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1136
1232
|
loading: boolean;
|
|
1137
1233
|
};
|
|
1138
1234
|
declare const useUpdateRelation: () => {
|
|
1139
|
-
error: _apollo_client.
|
|
1235
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1140
1236
|
loading: boolean;
|
|
1141
|
-
updateRelation:
|
|
1237
|
+
updateRelation: useMutation.MutationFunction<{
|
|
1238
|
+
updateRelation: {
|
|
1239
|
+
eventId: string;
|
|
1240
|
+
vendorId: string;
|
|
1241
|
+
lastUpdateBy: EnumResourceType;
|
|
1242
|
+
};
|
|
1243
|
+
}, {
|
|
1244
|
+
[x: string]: any;
|
|
1245
|
+
}, _apollo_client.ApolloCache>;
|
|
1142
1246
|
};
|
|
1143
1247
|
declare const useDeleteRelation: () => {
|
|
1144
|
-
deleteRelation:
|
|
1145
|
-
|
|
1248
|
+
deleteRelation: useMutation.MutationFunction<{
|
|
1249
|
+
deleteRelation: {
|
|
1250
|
+
eventId: string;
|
|
1251
|
+
vendorId: string;
|
|
1252
|
+
lastUpdateBy: EnumResourceType;
|
|
1253
|
+
};
|
|
1254
|
+
}, {
|
|
1255
|
+
[x: string]: any;
|
|
1256
|
+
}, _apollo_client.ApolloCache>;
|
|
1257
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1146
1258
|
loading: boolean;
|
|
1147
1259
|
};
|
|
1148
1260
|
|
|
1149
1261
|
declare const useGetRelation: (_id: string) => {
|
|
1150
|
-
error: _apollo_client.
|
|
1262
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1151
1263
|
loading: boolean;
|
|
1152
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1153
|
-
|
|
1264
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1265
|
+
relation: RelationType;
|
|
1266
|
+
}>>;
|
|
1267
|
+
relation: RelationType | undefined;
|
|
1154
1268
|
};
|
|
1155
1269
|
declare const useGetRelationByEventAndVendor: (eventId: string, vendorId: string) => {
|
|
1156
|
-
error: _apollo_client.
|
|
1270
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1157
1271
|
loading: boolean;
|
|
1158
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1159
|
-
|
|
1272
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1273
|
+
relationByEventAndVendor: RelationType;
|
|
1274
|
+
}>>;
|
|
1275
|
+
relationByEventAndVendor: RelationType | undefined;
|
|
1160
1276
|
};
|
|
1161
1277
|
declare const useGetEventRelations: (eventId: string) => {
|
|
1162
|
-
error: _apollo_client.
|
|
1278
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1163
1279
|
eventRelations: RelationType[];
|
|
1164
1280
|
loading: boolean;
|
|
1165
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1281
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1282
|
+
eventRelations: RelationType[];
|
|
1283
|
+
}>>;
|
|
1166
1284
|
};
|
|
1167
1285
|
declare const useGetVendorRelations: (vendorId: string) => {
|
|
1168
|
-
error: _apollo_client.
|
|
1286
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1169
1287
|
loading: boolean;
|
|
1170
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1288
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1289
|
+
vendorRelations: RelationType[];
|
|
1290
|
+
}>>;
|
|
1171
1291
|
vendorRelations: RelationType[];
|
|
1172
1292
|
};
|
|
1173
1293
|
declare const useGetResourceConnections: (resourceId: string, resourceType: EnumResourceType) => {
|
|
1174
|
-
error: _apollo_client.
|
|
1294
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1175
1295
|
loading: boolean;
|
|
1176
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1177
|
-
|
|
1296
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1297
|
+
resourceConnections: ResourceConnectionsType;
|
|
1298
|
+
}>>;
|
|
1299
|
+
resourceConnections: ResourceConnectionsType | never[];
|
|
1178
1300
|
};
|
|
1179
1301
|
|
|
1180
1302
|
declare const useCreateVendor: () => {
|
|
1181
|
-
createVendor:
|
|
1182
|
-
|
|
1303
|
+
createVendor: useMutation.MutationFunction<unknown, {
|
|
1304
|
+
[x: string]: any;
|
|
1305
|
+
}, _apollo_client.ApolloCache>;
|
|
1306
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1183
1307
|
loading: boolean;
|
|
1184
1308
|
};
|
|
1185
1309
|
declare const useUpdateVendor: () => {
|
|
1186
|
-
error: _apollo_client.
|
|
1310
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1187
1311
|
loading: boolean;
|
|
1188
|
-
updateVendor:
|
|
1312
|
+
updateVendor: useMutation.MutationFunction<unknown, {
|
|
1313
|
+
[x: string]: any;
|
|
1314
|
+
}, _apollo_client.ApolloCache>;
|
|
1189
1315
|
};
|
|
1190
1316
|
declare const useDeleteVendor: () => {
|
|
1191
|
-
deleteVendor:
|
|
1192
|
-
|
|
1317
|
+
deleteVendor: useMutation.MutationFunction<unknown, {
|
|
1318
|
+
[x: string]: any;
|
|
1319
|
+
}, _apollo_client.ApolloCache>;
|
|
1320
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1193
1321
|
loading: boolean;
|
|
1194
1322
|
};
|
|
1195
1323
|
declare const useCreateVendorInfo: () => {
|
|
1196
|
-
createVendorInfo:
|
|
1197
|
-
|
|
1324
|
+
createVendorInfo: useMutation.MutationFunction<{
|
|
1325
|
+
createVendorInfo: {
|
|
1326
|
+
vendorId: string;
|
|
1327
|
+
};
|
|
1328
|
+
}, {
|
|
1329
|
+
[x: string]: any;
|
|
1330
|
+
}, _apollo_client.ApolloCache>;
|
|
1331
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1198
1332
|
loading: boolean;
|
|
1199
1333
|
};
|
|
1200
1334
|
declare const useUpdateVendorInfo: () => {
|
|
1201
|
-
error: _apollo_client.
|
|
1335
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1202
1336
|
loading: boolean;
|
|
1203
|
-
updateVendorInfo:
|
|
1337
|
+
updateVendorInfo: useMutation.MutationFunction<{
|
|
1338
|
+
updateVendorInfo: {
|
|
1339
|
+
vendorId: string;
|
|
1340
|
+
};
|
|
1341
|
+
}, {
|
|
1342
|
+
[x: string]: any;
|
|
1343
|
+
}, _apollo_client.ApolloCache>;
|
|
1204
1344
|
};
|
|
1205
1345
|
|
|
1206
1346
|
declare const useGetVendors: () => {
|
|
1207
|
-
error: _apollo_client.
|
|
1347
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1208
1348
|
loading: boolean;
|
|
1209
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1349
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1350
|
+
vendors: VendorType[];
|
|
1351
|
+
}>>;
|
|
1210
1352
|
vendors: VendorType[];
|
|
1211
1353
|
};
|
|
1212
1354
|
declare const useGetVendor: (_id: string) => {
|
|
1213
|
-
error: _apollo_client.
|
|
1355
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1214
1356
|
loading: boolean;
|
|
1215
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1216
|
-
|
|
1357
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1358
|
+
vendor: VendorType;
|
|
1359
|
+
}>>;
|
|
1360
|
+
vendor: VendorType | undefined;
|
|
1217
1361
|
};
|
|
1218
1362
|
declare const useGetVendorsByRegion: (region: string) => {
|
|
1219
|
-
error: _apollo_client.
|
|
1363
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1220
1364
|
loading: boolean;
|
|
1221
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1365
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1366
|
+
vendorsByRegion: VendorType[];
|
|
1367
|
+
}>>;
|
|
1222
1368
|
vendorsByRegion: VendorType[];
|
|
1223
1369
|
};
|
|
1224
1370
|
declare const useSearchVendors: (search: string, region: string) => {
|
|
1225
|
-
error: _apollo_client.
|
|
1371
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1226
1372
|
loading: boolean;
|
|
1227
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1373
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1374
|
+
vendorSearch: VendorType[];
|
|
1375
|
+
}>>;
|
|
1228
1376
|
vendorSearch: VendorType[];
|
|
1229
1377
|
};
|
|
1230
1378
|
declare const useGetVendorInfo: (vendorId: string) => {
|
|
1231
|
-
error: _apollo_client.
|
|
1379
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1232
1380
|
loading: boolean;
|
|
1233
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1234
|
-
|
|
1381
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1382
|
+
vendorInfo: VendorInfoType;
|
|
1383
|
+
}>>;
|
|
1384
|
+
vendorInfo: VendorInfoType | undefined;
|
|
1235
1385
|
};
|
|
1236
1386
|
|
|
1237
1387
|
declare const useCreateTester: () => {
|
|
1238
|
-
createTester:
|
|
1239
|
-
|
|
1240
|
-
|
|
1388
|
+
createTester: useMutation.MutationFunction<unknown, {
|
|
1389
|
+
[x: string]: any;
|
|
1390
|
+
}, _apollo_client.ApolloCache>;
|
|
1391
|
+
data: unknown;
|
|
1392
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1241
1393
|
loading: boolean;
|
|
1242
1394
|
};
|
|
1243
1395
|
declare const useUpdateTester: () => {
|
|
1244
|
-
data:
|
|
1245
|
-
error: _apollo_client.
|
|
1396
|
+
data: unknown;
|
|
1397
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1246
1398
|
loading: boolean;
|
|
1247
|
-
updateTester:
|
|
1399
|
+
updateTester: useMutation.MutationFunction<unknown, {
|
|
1400
|
+
[x: string]: any;
|
|
1401
|
+
}, _apollo_client.ApolloCache>;
|
|
1248
1402
|
};
|
|
1249
1403
|
declare const useDeleteTester: () => {
|
|
1250
|
-
deleteTester:
|
|
1251
|
-
|
|
1404
|
+
deleteTester: useMutation.MutationFunction<unknown, {
|
|
1405
|
+
[x: string]: any;
|
|
1406
|
+
}, _apollo_client.ApolloCache>;
|
|
1407
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1252
1408
|
loading: boolean;
|
|
1253
1409
|
};
|
|
1254
1410
|
|
|
1255
1411
|
declare const useGetTesters: () => {
|
|
1256
|
-
error: _apollo_client.
|
|
1412
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1257
1413
|
loading: boolean;
|
|
1258
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1414
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1415
|
+
testers: TesterType[];
|
|
1416
|
+
}>>;
|
|
1259
1417
|
testers: TesterType[];
|
|
1260
1418
|
};
|
|
1261
1419
|
declare const useGetTester: (_id: string) => {
|
|
1262
|
-
error: _apollo_client.
|
|
1420
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1263
1421
|
loading: boolean;
|
|
1264
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1265
|
-
|
|
1422
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1423
|
+
tester: TesterType;
|
|
1424
|
+
}>>;
|
|
1425
|
+
tester: TesterType | undefined;
|
|
1266
1426
|
};
|
|
1267
1427
|
|
|
1268
1428
|
declare const useCreateUser: () => {
|
|
1269
|
-
createUser:
|
|
1270
|
-
|
|
1429
|
+
createUser: useMutation.MutationFunction<unknown, {
|
|
1430
|
+
[x: string]: any;
|
|
1431
|
+
}, _apollo_client.ApolloCache>;
|
|
1432
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1271
1433
|
loading: boolean;
|
|
1272
1434
|
};
|
|
1273
1435
|
declare const useUpdateUser: () => {
|
|
1274
|
-
error: _apollo_client.
|
|
1436
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1275
1437
|
loading: boolean;
|
|
1276
|
-
updateUser:
|
|
1438
|
+
updateUser: useMutation.MutationFunction<{
|
|
1439
|
+
updateUser: {
|
|
1440
|
+
_id: string;
|
|
1441
|
+
};
|
|
1442
|
+
}, {
|
|
1443
|
+
[x: string]: any;
|
|
1444
|
+
}, _apollo_client.ApolloCache>;
|
|
1277
1445
|
};
|
|
1278
1446
|
declare const useDeleteUser: () => {
|
|
1279
|
-
deleteUser:
|
|
1280
|
-
|
|
1447
|
+
deleteUser: useMutation.MutationFunction<unknown, {
|
|
1448
|
+
[x: string]: any;
|
|
1449
|
+
}, _apollo_client.ApolloCache>;
|
|
1450
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1281
1451
|
loading: boolean;
|
|
1282
1452
|
};
|
|
1283
1453
|
declare const useAddUserFavouriteResource: () => {
|
|
1284
|
-
addUserFavouriteResource:
|
|
1285
|
-
|
|
1454
|
+
addUserFavouriteResource: useMutation.MutationFunction<unknown, {
|
|
1455
|
+
[x: string]: any;
|
|
1456
|
+
}, _apollo_client.ApolloCache>;
|
|
1457
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1286
1458
|
loading: boolean;
|
|
1287
1459
|
};
|
|
1288
1460
|
declare const useRemoveUserFavouriteResource: () => {
|
|
1289
|
-
error: _apollo_client.
|
|
1461
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1290
1462
|
loading: boolean;
|
|
1291
|
-
removeUserFavouriteResource:
|
|
1463
|
+
removeUserFavouriteResource: useMutation.MutationFunction<unknown, {
|
|
1464
|
+
[x: string]: any;
|
|
1465
|
+
}, _apollo_client.ApolloCache>;
|
|
1292
1466
|
};
|
|
1293
1467
|
declare const useSelectPackage: () => {
|
|
1294
|
-
error: _apollo_client.
|
|
1468
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1295
1469
|
loading: boolean;
|
|
1296
|
-
selectPackage:
|
|
1470
|
+
selectPackage: useMutation.MutationFunction<{
|
|
1471
|
+
selectPackage: {
|
|
1472
|
+
userId: string;
|
|
1473
|
+
};
|
|
1474
|
+
}, {
|
|
1475
|
+
[x: string]: any;
|
|
1476
|
+
}, _apollo_client.ApolloCache>;
|
|
1297
1477
|
};
|
|
1298
1478
|
declare const useAddUserInterestResource: () => {
|
|
1299
|
-
addUserInterestResource:
|
|
1300
|
-
|
|
1479
|
+
addUserInterestResource: useMutation.MutationFunction<unknown, {
|
|
1480
|
+
[x: string]: any;
|
|
1481
|
+
}, _apollo_client.ApolloCache>;
|
|
1482
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1301
1483
|
loading: boolean;
|
|
1302
1484
|
};
|
|
1303
1485
|
declare const useRemoveUserInterestResource: () => {
|
|
1304
|
-
error: _apollo_client.
|
|
1486
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1305
1487
|
loading: boolean;
|
|
1306
|
-
removeUserInterestResource:
|
|
1488
|
+
removeUserInterestResource: useMutation.MutationFunction<unknown, {
|
|
1489
|
+
[x: string]: any;
|
|
1490
|
+
}, _apollo_client.ApolloCache>;
|
|
1307
1491
|
};
|
|
1308
1492
|
declare const useAddUserGoingResource: () => {
|
|
1309
|
-
addUserGoingResource:
|
|
1310
|
-
|
|
1493
|
+
addUserGoingResource: useMutation.MutationFunction<unknown, {
|
|
1494
|
+
[x: string]: any;
|
|
1495
|
+
}, _apollo_client.ApolloCache>;
|
|
1496
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1311
1497
|
loading: boolean;
|
|
1312
1498
|
};
|
|
1313
1499
|
declare const useRemoveUserGoingResource: () => {
|
|
1314
|
-
error: _apollo_client.
|
|
1500
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1315
1501
|
loading: boolean;
|
|
1316
|
-
removeUserGoingResource:
|
|
1502
|
+
removeUserGoingResource: useMutation.MutationFunction<unknown, {
|
|
1503
|
+
[x: string]: any;
|
|
1504
|
+
}, _apollo_client.ApolloCache>;
|
|
1317
1505
|
};
|
|
1318
1506
|
declare const useAddUserPresentResource: () => {
|
|
1319
|
-
addUserPresentResource:
|
|
1320
|
-
|
|
1507
|
+
addUserPresentResource: useMutation.MutationFunction<unknown, {
|
|
1508
|
+
[x: string]: any;
|
|
1509
|
+
}, _apollo_client.ApolloCache>;
|
|
1510
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1321
1511
|
loading: boolean;
|
|
1322
1512
|
};
|
|
1323
1513
|
declare const useRemoveUserPresentResource: () => {
|
|
1324
|
-
error: _apollo_client.
|
|
1514
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1325
1515
|
loading: boolean;
|
|
1326
|
-
removeUserPresentResource:
|
|
1516
|
+
removeUserPresentResource: useMutation.MutationFunction<unknown, {
|
|
1517
|
+
[x: string]: any;
|
|
1518
|
+
}, _apollo_client.ApolloCache>;
|
|
1327
1519
|
};
|
|
1328
1520
|
|
|
1329
1521
|
declare const useGetUsers: () => {
|
|
1330
|
-
error: _apollo_client.
|
|
1522
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1331
1523
|
loading: boolean;
|
|
1332
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1524
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1525
|
+
users: UserType[];
|
|
1526
|
+
}>>;
|
|
1333
1527
|
users: UserType[];
|
|
1334
1528
|
};
|
|
1335
1529
|
declare const useGetUser: (_id: string) => {
|
|
1336
|
-
error: _apollo_client.
|
|
1530
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1337
1531
|
loading: boolean;
|
|
1338
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1339
|
-
|
|
1532
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1533
|
+
user: UserType;
|
|
1534
|
+
}>>;
|
|
1535
|
+
user: UserType | undefined;
|
|
1340
1536
|
};
|
|
1341
1537
|
declare const useGetUserEvents: () => {
|
|
1342
|
-
error: _apollo_client.
|
|
1538
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1343
1539
|
loading: boolean;
|
|
1344
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1540
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1541
|
+
userEvents: EventType[];
|
|
1542
|
+
}>>;
|
|
1345
1543
|
userEvents: EventType[];
|
|
1346
1544
|
};
|
|
1347
1545
|
declare const useGetUserVendors: () => {
|
|
1348
|
-
error: _apollo_client.
|
|
1546
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1349
1547
|
loading: boolean;
|
|
1350
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1548
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1549
|
+
userVendors: VendorType[];
|
|
1550
|
+
}>>;
|
|
1351
1551
|
userVendors: VendorType[];
|
|
1352
1552
|
};
|
|
1353
1553
|
declare const useGetUserActivities: () => {
|
|
1354
|
-
error: _apollo_client.
|
|
1355
|
-
loading: boolean;
|
|
1356
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1554
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1555
|
+
loading: boolean;
|
|
1556
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1557
|
+
userActivities: {
|
|
1558
|
+
favourites: {
|
|
1559
|
+
events: EventType[];
|
|
1560
|
+
vendors: VendorType[];
|
|
1561
|
+
};
|
|
1562
|
+
going: {
|
|
1563
|
+
events: EventType[];
|
|
1564
|
+
};
|
|
1565
|
+
interested: {
|
|
1566
|
+
events: EventType[];
|
|
1567
|
+
};
|
|
1568
|
+
present: {
|
|
1569
|
+
events: EventType[];
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
}>>;
|
|
1357
1573
|
userActivities: {
|
|
1358
1574
|
favourites: {
|
|
1359
1575
|
events: EventType[];
|
|
@@ -1372,121 +1588,153 @@ declare const useGetUserActivities: () => {
|
|
|
1372
1588
|
};
|
|
1373
1589
|
|
|
1374
1590
|
declare const useCreateAd: () => {
|
|
1375
|
-
createAd:
|
|
1376
|
-
|
|
1591
|
+
createAd: useMutation.MutationFunction<unknown, {
|
|
1592
|
+
[x: string]: any;
|
|
1593
|
+
}, _apollo_client.ApolloCache>;
|
|
1594
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1377
1595
|
loading: boolean;
|
|
1378
1596
|
};
|
|
1379
1597
|
declare const useUpdateAd: () => {
|
|
1380
|
-
error: _apollo_client.
|
|
1598
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1381
1599
|
loading: boolean;
|
|
1382
|
-
updateAd:
|
|
1600
|
+
updateAd: useMutation.MutationFunction<unknown, {
|
|
1601
|
+
[x: string]: any;
|
|
1602
|
+
}, _apollo_client.ApolloCache>;
|
|
1383
1603
|
};
|
|
1384
1604
|
declare const useDeleteAd: () => {
|
|
1385
|
-
deleteAd:
|
|
1386
|
-
|
|
1605
|
+
deleteAd: useMutation.MutationFunction<unknown, {
|
|
1606
|
+
[x: string]: any;
|
|
1607
|
+
}, _apollo_client.ApolloCache>;
|
|
1608
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1387
1609
|
loading: boolean;
|
|
1388
1610
|
};
|
|
1389
1611
|
|
|
1390
1612
|
declare const useGetAds: () => {
|
|
1391
|
-
ads: AdType[]
|
|
1392
|
-
error: _apollo_client.
|
|
1613
|
+
ads: AdType[];
|
|
1614
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1393
1615
|
loading: boolean;
|
|
1394
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1616
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1395
1617
|
ads: AdType[];
|
|
1396
1618
|
}>>;
|
|
1397
1619
|
};
|
|
1398
1620
|
declare const useGetAd: (_id: string) => {
|
|
1399
1621
|
ad: AdType | undefined;
|
|
1400
|
-
error: _apollo_client.
|
|
1622
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1401
1623
|
loading: boolean;
|
|
1402
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1624
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1403
1625
|
ad: AdType;
|
|
1404
1626
|
}>>;
|
|
1405
1627
|
};
|
|
1406
1628
|
declare const useGetAdsByRegion: (region: string, status?: EnumAdStatus) => {
|
|
1407
|
-
adsByRegion: AdType[]
|
|
1408
|
-
error: _apollo_client.
|
|
1629
|
+
adsByRegion: AdType[];
|
|
1630
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1409
1631
|
loading: boolean;
|
|
1410
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1632
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1411
1633
|
adsByRegion: AdType[];
|
|
1412
1634
|
}>>;
|
|
1413
1635
|
};
|
|
1414
1636
|
|
|
1415
1637
|
declare const useCreateResourceActivity: () => {
|
|
1416
|
-
createResourceActivity:
|
|
1417
|
-
|
|
1638
|
+
createResourceActivity: useMutation.MutationFunction<unknown, {
|
|
1639
|
+
[x: string]: any;
|
|
1640
|
+
}, _apollo_client.ApolloCache>;
|
|
1641
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1418
1642
|
loading: boolean;
|
|
1419
1643
|
};
|
|
1420
1644
|
|
|
1421
1645
|
declare const useGetResourceActivities: (resourceId: string, resourceType: EnumResourceType) => {
|
|
1422
|
-
error: _apollo_client.
|
|
1646
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1423
1647
|
loading: boolean;
|
|
1424
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1648
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1649
|
+
resourceActivities: ResourceActivityType[];
|
|
1650
|
+
}>>;
|
|
1425
1651
|
resourceActivities: ResourceActivityType[];
|
|
1426
1652
|
};
|
|
1427
1653
|
|
|
1428
1654
|
declare const useCreateCheckoutSession: () => {
|
|
1429
|
-
createCheckoutSession:
|
|
1430
|
-
|
|
1655
|
+
createCheckoutSession: useMutation.MutationFunction<unknown, {
|
|
1656
|
+
[x: string]: any;
|
|
1657
|
+
}, _apollo_client.ApolloCache>;
|
|
1658
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1431
1659
|
loading: boolean;
|
|
1432
1660
|
};
|
|
1433
1661
|
declare const useCancelSubscription: () => {
|
|
1434
|
-
cancelSubscription:
|
|
1435
|
-
|
|
1662
|
+
cancelSubscription: useMutation.MutationFunction<unknown, {
|
|
1663
|
+
[x: string]: any;
|
|
1664
|
+
}, _apollo_client.ApolloCache>;
|
|
1665
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1436
1666
|
loading: boolean;
|
|
1437
1667
|
};
|
|
1438
1668
|
declare const useUpdateSubscriptionPlan: () => {
|
|
1439
|
-
error: _apollo_client.
|
|
1669
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1440
1670
|
loading: boolean;
|
|
1441
|
-
updateSubscriptionPlan:
|
|
1671
|
+
updateSubscriptionPlan: useMutation.MutationFunction<unknown, {
|
|
1672
|
+
[x: string]: any;
|
|
1673
|
+
}, _apollo_client.ApolloCache>;
|
|
1442
1674
|
};
|
|
1443
1675
|
|
|
1444
1676
|
declare const useGetSubscriptionStatus: () => {
|
|
1445
1677
|
data: SubscriptionStatusData | undefined;
|
|
1446
|
-
error: _apollo_client.
|
|
1678
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1447
1679
|
loading: boolean;
|
|
1448
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1680
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1681
|
+
getSubscriptionStatus: SubscriptionStatusData;
|
|
1682
|
+
}>>;
|
|
1449
1683
|
};
|
|
1450
1684
|
|
|
1451
1685
|
declare const useCreatePartner: () => {
|
|
1452
|
-
createPartner:
|
|
1453
|
-
|
|
1686
|
+
createPartner: useMutation.MutationFunction<unknown, {
|
|
1687
|
+
[x: string]: any;
|
|
1688
|
+
}, _apollo_client.ApolloCache>;
|
|
1689
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1454
1690
|
loading: boolean;
|
|
1455
1691
|
};
|
|
1456
1692
|
declare const useUpdatePartner: () => {
|
|
1457
|
-
error: _apollo_client.
|
|
1693
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1458
1694
|
loading: boolean;
|
|
1459
|
-
updatePartner:
|
|
1695
|
+
updatePartner: useMutation.MutationFunction<unknown, {
|
|
1696
|
+
[x: string]: any;
|
|
1697
|
+
}, _apollo_client.ApolloCache>;
|
|
1460
1698
|
};
|
|
1461
1699
|
declare const useDeletePartner: () => {
|
|
1462
|
-
deletePartner:
|
|
1463
|
-
|
|
1700
|
+
deletePartner: useMutation.MutationFunction<unknown, {
|
|
1701
|
+
[x: string]: any;
|
|
1702
|
+
}, _apollo_client.ApolloCache>;
|
|
1703
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1464
1704
|
loading: boolean;
|
|
1465
1705
|
};
|
|
1466
1706
|
|
|
1467
1707
|
declare const useGetPartners: () => {
|
|
1468
|
-
error: _apollo_client.
|
|
1708
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1469
1709
|
loading: boolean;
|
|
1470
1710
|
partners: PartnerType[];
|
|
1471
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1711
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1712
|
+
partners: PartnerType[];
|
|
1713
|
+
}>>;
|
|
1472
1714
|
};
|
|
1473
1715
|
declare const useGetPartner: (_id: string) => {
|
|
1474
|
-
error: _apollo_client.
|
|
1716
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1475
1717
|
loading: boolean;
|
|
1476
|
-
partner: PartnerType;
|
|
1477
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1718
|
+
partner: PartnerType | undefined;
|
|
1719
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1720
|
+
partner: PartnerType;
|
|
1721
|
+
}>>;
|
|
1478
1722
|
};
|
|
1479
1723
|
declare const useGetPartnersByRegion: (region: string) => {
|
|
1480
|
-
error: _apollo_client.
|
|
1724
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1481
1725
|
loading: boolean;
|
|
1482
1726
|
partnersByRegion: PartnerType[];
|
|
1483
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1727
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1728
|
+
partnersByRegion: PartnerType[];
|
|
1729
|
+
}>>;
|
|
1484
1730
|
};
|
|
1485
1731
|
declare const useSearchPartners: (search: string, region: string) => {
|
|
1486
|
-
error: _apollo_client.
|
|
1732
|
+
error: _apollo_client.ErrorLike | undefined;
|
|
1487
1733
|
loading: boolean;
|
|
1488
1734
|
partnersSearch: PartnerType[];
|
|
1489
|
-
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.
|
|
1735
|
+
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloClient.QueryResult<{
|
|
1736
|
+
partnersSearch: PartnerType[];
|
|
1737
|
+
}>>;
|
|
1490
1738
|
};
|
|
1491
1739
|
|
|
1492
1740
|
interface PlacePrediction {
|