@ludo.ninja/api 2.8.28 → 2.8.30
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/build/config/index.js +4 -4
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +1434 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +688 -0
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +392 -0
- package/build/graphql_tools/__generated__/assetsHost/schema.js +80 -0
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +238 -0
- package/build/graphql_tools/__generated__/authHost/schema.js +85 -0
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +455 -0
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +80 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +356 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +191 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +808 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.js +449 -0
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +794 -0
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +575 -0
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +1205 -0
- package/build/graphql_tools/__generated__/identityHost/schema.js +757 -0
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +242 -0
- package/build/graphql_tools/__generated__/mediasHost/schema.js +110 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +486 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +148 -0
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +604 -0
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +411 -0
- package/build/graphql_tools/__generated__/schema.d.ts +1 -0
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1304 -0
- package/build/graphql_tools/__generated__/searchHost/schema.js +1191 -0
- package/build/hosts/index.d.ts +0 -3
- package/build/hosts/index.js +1 -4
- package/build/index.d.ts +13 -2
- package/build/index.js +25 -3
- package/package.json +1 -1
- package/src/config/index.ts +50 -50
- package/src/graphql_tools/__generated__/adminHost/schema.ts +1814 -0
- package/src/graphql_tools/__generated__/assetsHost/schema.ts +482 -0
- package/src/graphql_tools/__generated__/authHost/schema.ts +317 -0
- package/src/graphql_tools/__generated__/collectionsHost/schema.ts +554 -0
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +478 -0
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +1074 -0
- package/src/graphql_tools/__generated__/galleriesHost/schema.ts +1090 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +1584 -0
- package/src/graphql_tools/__generated__/mediasHost/schema.ts +333 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +629 -0
- package/src/graphql_tools/__generated__/preferencesHost/schema.ts +772 -0
- package/src/graphql_tools/__generated__/schema.ts +1 -0
- package/src/graphql_tools/__generated__/searchHost/schema.ts +2137 -0
- package/src/hosts/index.ts +0 -6
- package/src/index.ts +29 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,772 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { GraphQLResolveInfo } from 'graphql';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import * as Apollo from '@apollo/client';
|
|
5
|
+
export type Maybe<T> = T | null;
|
|
6
|
+
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
7
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
8
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
9
|
+
export type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]> };
|
|
10
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
11
|
+
export type Scalars = {
|
|
12
|
+
ID: string;
|
|
13
|
+
String: string;
|
|
14
|
+
Boolean: boolean;
|
|
15
|
+
Int: number;
|
|
16
|
+
Float: number;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export type IExpectation = {
|
|
21
|
+
name: Scalars['String'];
|
|
22
|
+
imageUrl: Scalars['String'];
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export type IInterest = {
|
|
26
|
+
name: Scalars['String'];
|
|
27
|
+
imageUrl: Scalars['String'];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export type IMutation = {
|
|
31
|
+
setDummy: Scalars['String'];
|
|
32
|
+
saveUserInterests: Scalars['Boolean'];
|
|
33
|
+
saveUserExpectations: Scalars['Boolean'];
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export type IMutationSaveUserInterestsArgs = {
|
|
38
|
+
interests: Array<Maybe<Scalars['String']>>;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
export type IMutationSaveUserExpectationsArgs = {
|
|
43
|
+
expectations: Array<Maybe<Scalars['String']>>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* scalar Long
|
|
48
|
+
* scalar Upload
|
|
49
|
+
*/
|
|
50
|
+
export type IQuery = {
|
|
51
|
+
getDummy: Scalars['String'];
|
|
52
|
+
fetchInterests: Array<Maybe<IInterest>>;
|
|
53
|
+
fetchExpectations: Array<Maybe<IExpectation>>;
|
|
54
|
+
fetchUserInterests: Array<Maybe<IUserInterest>>;
|
|
55
|
+
fetchUserExpectations: Array<Maybe<IUserExpectation>>;
|
|
56
|
+
fetchSortSelections: Array<Maybe<ISelection>>;
|
|
57
|
+
fetchVarietyOfAddressSelections: Array<Maybe<ISelection>>;
|
|
58
|
+
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
59
|
+
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
60
|
+
fetchSearchSortSelections: Array<Maybe<ISelection>>;
|
|
61
|
+
fetchSearchResultTypeSelections: Array<Maybe<ISelection>>;
|
|
62
|
+
fetchSearchResultBlockchainSelections: Array<Maybe<ISelection>>;
|
|
63
|
+
fetchSearchResultCategorySelections: Array<Maybe<ISelection>>;
|
|
64
|
+
fetchSearchResultTimeSelections: Array<Maybe<ISelection>>;
|
|
65
|
+
fetchSearchResultStatusSelections: Array<Maybe<ISelection>>;
|
|
66
|
+
fetchSetsSearchResultTypeSelections: Array<Maybe<ISelection>>;
|
|
67
|
+
fetchSearchResultSelections: ISearchResultSelectionsPage;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export type ISearchResultSelectionsPage = {
|
|
71
|
+
typeSelections: Array<Maybe<ISelection>>;
|
|
72
|
+
blockchainSelections: Array<Maybe<ISelection>>;
|
|
73
|
+
categorySelections: Array<Maybe<ISelection>>;
|
|
74
|
+
timeSelections: Array<Maybe<ISelection>>;
|
|
75
|
+
statusSelections: Array<Maybe<ISelection>>;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type ISelection = {
|
|
79
|
+
name: Scalars['String'];
|
|
80
|
+
ordering: Scalars['Int'];
|
|
81
|
+
label: Scalars['String'];
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type IUserExpectation = {
|
|
85
|
+
userId: Scalars['String'];
|
|
86
|
+
name: Scalars['String'];
|
|
87
|
+
imageUrl: Scalars['String'];
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type IUserInterest = {
|
|
91
|
+
userId: Scalars['String'];
|
|
92
|
+
name: Scalars['String'];
|
|
93
|
+
imageUrl: Scalars['String'];
|
|
94
|
+
percents: Scalars['Int'];
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
103
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
104
|
+
};
|
|
105
|
+
export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
|
106
|
+
|
|
107
|
+
export type ResolverFn<TResult, TParent, TContext, TArgs> = (
|
|
108
|
+
parent: TParent,
|
|
109
|
+
args: TArgs,
|
|
110
|
+
context: TContext,
|
|
111
|
+
info: GraphQLResolveInfo
|
|
112
|
+
) => Promise<TResult> | TResult;
|
|
113
|
+
|
|
114
|
+
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (
|
|
115
|
+
parent: TParent,
|
|
116
|
+
args: TArgs,
|
|
117
|
+
context: TContext,
|
|
118
|
+
info: GraphQLResolveInfo
|
|
119
|
+
) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
120
|
+
|
|
121
|
+
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (
|
|
122
|
+
parent: TParent,
|
|
123
|
+
args: TArgs,
|
|
124
|
+
context: TContext,
|
|
125
|
+
info: GraphQLResolveInfo
|
|
126
|
+
) => TResult | Promise<TResult>;
|
|
127
|
+
|
|
128
|
+
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
129
|
+
subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>;
|
|
130
|
+
resolve?: SubscriptionResolveFn<TResult, { [key in TKey]: TResult }, TContext, TArgs>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
134
|
+
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
135
|
+
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> =
|
|
139
|
+
| SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs>
|
|
140
|
+
| SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
141
|
+
|
|
142
|
+
export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> =
|
|
143
|
+
| ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>)
|
|
144
|
+
| SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
145
|
+
|
|
146
|
+
export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (
|
|
147
|
+
parent: TParent,
|
|
148
|
+
context: TContext,
|
|
149
|
+
info: GraphQLResolveInfo
|
|
150
|
+
) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
151
|
+
|
|
152
|
+
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
153
|
+
|
|
154
|
+
export type NextResolverFn<T> = () => Promise<T>;
|
|
155
|
+
|
|
156
|
+
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (
|
|
157
|
+
next: NextResolverFn<TResult>,
|
|
158
|
+
parent: TParent,
|
|
159
|
+
args: TArgs,
|
|
160
|
+
context: TContext,
|
|
161
|
+
info: GraphQLResolveInfo
|
|
162
|
+
) => TResult | Promise<TResult>;
|
|
163
|
+
|
|
164
|
+
/** Mapping between all available schema types and the resolvers types */
|
|
165
|
+
export type IResolversTypes = {
|
|
166
|
+
Expectation: ResolverTypeWrapper<IExpectation>;
|
|
167
|
+
String: ResolverTypeWrapper<Scalars['String']>;
|
|
168
|
+
Interest: ResolverTypeWrapper<IInterest>;
|
|
169
|
+
Mutation: ResolverTypeWrapper<{}>;
|
|
170
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
171
|
+
Query: ResolverTypeWrapper<{}>;
|
|
172
|
+
SearchResultSelectionsPage: ResolverTypeWrapper<ISearchResultSelectionsPage>;
|
|
173
|
+
Selection: ResolverTypeWrapper<ISelection>;
|
|
174
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
175
|
+
UserExpectation: ResolverTypeWrapper<IUserExpectation>;
|
|
176
|
+
UserInterest: ResolverTypeWrapper<IUserInterest>;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/** Mapping between all available schema types and the resolvers parents */
|
|
180
|
+
export type IResolversParentTypes = {
|
|
181
|
+
Expectation: IExpectation;
|
|
182
|
+
String: Scalars['String'];
|
|
183
|
+
Interest: IInterest;
|
|
184
|
+
Mutation: {};
|
|
185
|
+
Boolean: Scalars['Boolean'];
|
|
186
|
+
Query: {};
|
|
187
|
+
SearchResultSelectionsPage: ISearchResultSelectionsPage;
|
|
188
|
+
Selection: ISelection;
|
|
189
|
+
Int: Scalars['Int'];
|
|
190
|
+
UserExpectation: IUserExpectation;
|
|
191
|
+
UserInterest: IUserInterest;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
export type IOneOfDirectiveArgs = { };
|
|
195
|
+
|
|
196
|
+
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
197
|
+
|
|
198
|
+
export type IExpectationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Expectation'] = IResolversParentTypes['Expectation']> = {
|
|
199
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
200
|
+
imageUrl?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
201
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export type IInterestResolvers<ContextType = any, ParentType extends IResolversParentTypes['Interest'] = IResolversParentTypes['Interest']> = {
|
|
205
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
206
|
+
imageUrl?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
207
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
211
|
+
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
212
|
+
saveUserInterests?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSaveUserInterestsArgs, 'interests'>>;
|
|
213
|
+
saveUserExpectations?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSaveUserExpectationsArgs, 'expectations'>>;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
217
|
+
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
218
|
+
fetchInterests?: Resolver<Array<Maybe<IResolversTypes['Interest']>>, ParentType, ContextType>;
|
|
219
|
+
fetchExpectations?: Resolver<Array<Maybe<IResolversTypes['Expectation']>>, ParentType, ContextType>;
|
|
220
|
+
fetchUserInterests?: Resolver<Array<Maybe<IResolversTypes['UserInterest']>>, ParentType, ContextType>;
|
|
221
|
+
fetchUserExpectations?: Resolver<Array<Maybe<IResolversTypes['UserExpectation']>>, ParentType, ContextType>;
|
|
222
|
+
fetchSortSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
223
|
+
fetchVarietyOfAddressSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
224
|
+
fetchCategorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
225
|
+
fetchBlockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
226
|
+
fetchSearchSortSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
227
|
+
fetchSearchResultTypeSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
228
|
+
fetchSearchResultBlockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
229
|
+
fetchSearchResultCategorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
230
|
+
fetchSearchResultTimeSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
231
|
+
fetchSearchResultStatusSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
232
|
+
fetchSetsSearchResultTypeSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
233
|
+
fetchSearchResultSelections?: Resolver<IResolversTypes['SearchResultSelectionsPage'], ParentType, ContextType>;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
export type ISearchResultSelectionsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['SearchResultSelectionsPage'] = IResolversParentTypes['SearchResultSelectionsPage']> = {
|
|
237
|
+
typeSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
238
|
+
blockchainSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
239
|
+
categorySelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
240
|
+
timeSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
241
|
+
statusSelections?: Resolver<Array<Maybe<IResolversTypes['Selection']>>, ParentType, ContextType>;
|
|
242
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
export type ISelectionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Selection'] = IResolversParentTypes['Selection']> = {
|
|
246
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
247
|
+
ordering?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
248
|
+
label?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
249
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export type IUserExpectationResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserExpectation'] = IResolversParentTypes['UserExpectation']> = {
|
|
253
|
+
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
254
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
255
|
+
imageUrl?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
256
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
export type IUserInterestResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserInterest'] = IResolversParentTypes['UserInterest']> = {
|
|
260
|
+
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
261
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
262
|
+
imageUrl?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
263
|
+
percents?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
264
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
export type IResolvers<ContextType = any> = {
|
|
268
|
+
Expectation?: IExpectationResolvers<ContextType>;
|
|
269
|
+
Interest?: IInterestResolvers<ContextType>;
|
|
270
|
+
Mutation?: IMutationResolvers<ContextType>;
|
|
271
|
+
Query?: IQueryResolvers<ContextType>;
|
|
272
|
+
SearchResultSelectionsPage?: ISearchResultSelectionsPageResolvers<ContextType>;
|
|
273
|
+
Selection?: ISelectionResolvers<ContextType>;
|
|
274
|
+
UserExpectation?: IUserExpectationResolvers<ContextType>;
|
|
275
|
+
UserInterest?: IUserInterestResolvers<ContextType>;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export type IDirectiveResolvers<ContextType = any> = {
|
|
279
|
+
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
export type ISaveUserExpectationsMutationVariables = Exact<{
|
|
283
|
+
expectations: Array<Maybe<Scalars['String']>>;
|
|
284
|
+
}>;
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
export type ISaveUserExpectationsMutation = Pick<IMutation, 'saveUserExpectations'>;
|
|
288
|
+
|
|
289
|
+
export type ISaveUserInterestsMutationVariables = Exact<{
|
|
290
|
+
interests: Array<Maybe<Scalars['String']>>;
|
|
291
|
+
}>;
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
export type ISaveUserInterestsMutation = Pick<IMutation, 'saveUserInterests'>;
|
|
295
|
+
|
|
296
|
+
export type IFetchExpectationsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
export type IFetchExpectationsQuery = { fetchExpectations: Array<Maybe<Pick<IExpectation, 'name' | 'imageUrl'>>> };
|
|
300
|
+
|
|
301
|
+
export type IFetchInterestsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
export type IFetchInterestsQuery = { fetchInterests: Array<Maybe<Pick<IInterest, 'name' | 'imageUrl'>>> };
|
|
305
|
+
|
|
306
|
+
export type IFetchSearchResultSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
export type IFetchSearchResultSelectionsQuery = { fetchSearchResultSelections: { typeSelections: Array<Maybe<(
|
|
310
|
+
Pick<ISelection, 'label'>
|
|
311
|
+
& { id: ISelection['name'] }
|
|
312
|
+
)>>, blockchainSelections: Array<Maybe<(
|
|
313
|
+
Pick<ISelection, 'label'>
|
|
314
|
+
& { id: ISelection['name'] }
|
|
315
|
+
)>>, categorySelections: Array<Maybe<(
|
|
316
|
+
Pick<ISelection, 'label'>
|
|
317
|
+
& { id: ISelection['name'] }
|
|
318
|
+
)>>, timeSelections: Array<Maybe<(
|
|
319
|
+
Pick<ISelection, 'label'>
|
|
320
|
+
& { id: ISelection['name'] }
|
|
321
|
+
)>>, statusSelections: Array<Maybe<(
|
|
322
|
+
Pick<ISelection, 'label'>
|
|
323
|
+
& { id: ISelection['name'] }
|
|
324
|
+
)>> } };
|
|
325
|
+
|
|
326
|
+
export type IFetchSearchResultTimeSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
export type IFetchSearchResultTimeSelectionsQuery = { fetchSearchResultTimeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
330
|
+
|
|
331
|
+
export type IFetchUserExpectationsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
export type IFetchUserExpectationsQuery = { fetchUserExpectations: Array<Maybe<Pick<IUserExpectation, 'userId' | 'name' | 'imageUrl'>>> };
|
|
335
|
+
|
|
336
|
+
export type IFetchUserInterestsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
export type IFetchUserInterestsQuery = { fetchUserInterests: Array<Maybe<Pick<IUserInterest, 'userId' | 'name' | 'imageUrl' | 'percents'>>> };
|
|
340
|
+
|
|
341
|
+
export type IFetchSearchResultBlockchainSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
export type IFetchSearchResultBlockchainSelectionsQuery = { fetchSearchResultBlockchainSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
345
|
+
|
|
346
|
+
export type IFetchSearchResultCategorySelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
export type IFetchSearchResultCategorySelectionsQuery = { fetchSearchResultCategorySelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
350
|
+
|
|
351
|
+
export type IFetchSearchResultStatusSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
export type IFetchSearchResultStatusSelectionsQuery = { fetchSearchResultStatusSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
355
|
+
|
|
356
|
+
export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
export const SaveUserExpectationsDocument = gql`
|
|
363
|
+
mutation SaveUserExpectations($expectations: [String]!) {
|
|
364
|
+
saveUserExpectations(expectations: $expectations)
|
|
365
|
+
}
|
|
366
|
+
`;
|
|
367
|
+
export type ISaveUserExpectationsMutationFn = Apollo.MutationFunction<ISaveUserExpectationsMutation, ISaveUserExpectationsMutationVariables>;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* __useSaveUserExpectationsMutation__
|
|
371
|
+
*
|
|
372
|
+
* To run a mutation, you first call `useSaveUserExpectationsMutation` within a React component and pass it any options that fit your needs.
|
|
373
|
+
* When your component renders, `useSaveUserExpectationsMutation` returns a tuple that includes:
|
|
374
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
375
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
376
|
+
*
|
|
377
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* const [saveUserExpectationsMutation, { data, loading, error }] = useSaveUserExpectationsMutation({
|
|
381
|
+
* variables: {
|
|
382
|
+
* expectations: // value for 'expectations'
|
|
383
|
+
* },
|
|
384
|
+
* });
|
|
385
|
+
*/
|
|
386
|
+
export function useSaveUserExpectationsMutation(baseOptions?: Apollo.MutationHookOptions<ISaveUserExpectationsMutation, ISaveUserExpectationsMutationVariables>) {
|
|
387
|
+
return Apollo.useMutation<ISaveUserExpectationsMutation, ISaveUserExpectationsMutationVariables>(SaveUserExpectationsDocument, baseOptions);
|
|
388
|
+
}
|
|
389
|
+
export type SaveUserExpectationsMutationHookResult = ReturnType<typeof useSaveUserExpectationsMutation>;
|
|
390
|
+
export type SaveUserExpectationsMutationResult = Apollo.MutationResult<ISaveUserExpectationsMutation>;
|
|
391
|
+
export type SaveUserExpectationsMutationOptions = Apollo.BaseMutationOptions<ISaveUserExpectationsMutation, ISaveUserExpectationsMutationVariables>;
|
|
392
|
+
export const SaveUserInterestsDocument = gql`
|
|
393
|
+
mutation SaveUserInterests($interests: [String]!) {
|
|
394
|
+
saveUserInterests(interests: $interests)
|
|
395
|
+
}
|
|
396
|
+
`;
|
|
397
|
+
export type ISaveUserInterestsMutationFn = Apollo.MutationFunction<ISaveUserInterestsMutation, ISaveUserInterestsMutationVariables>;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* __useSaveUserInterestsMutation__
|
|
401
|
+
*
|
|
402
|
+
* To run a mutation, you first call `useSaveUserInterestsMutation` within a React component and pass it any options that fit your needs.
|
|
403
|
+
* When your component renders, `useSaveUserInterestsMutation` returns a tuple that includes:
|
|
404
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
405
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
406
|
+
*
|
|
407
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
408
|
+
*
|
|
409
|
+
* @example
|
|
410
|
+
* const [saveUserInterestsMutation, { data, loading, error }] = useSaveUserInterestsMutation({
|
|
411
|
+
* variables: {
|
|
412
|
+
* interests: // value for 'interests'
|
|
413
|
+
* },
|
|
414
|
+
* });
|
|
415
|
+
*/
|
|
416
|
+
export function useSaveUserInterestsMutation(baseOptions?: Apollo.MutationHookOptions<ISaveUserInterestsMutation, ISaveUserInterestsMutationVariables>) {
|
|
417
|
+
return Apollo.useMutation<ISaveUserInterestsMutation, ISaveUserInterestsMutationVariables>(SaveUserInterestsDocument, baseOptions);
|
|
418
|
+
}
|
|
419
|
+
export type SaveUserInterestsMutationHookResult = ReturnType<typeof useSaveUserInterestsMutation>;
|
|
420
|
+
export type SaveUserInterestsMutationResult = Apollo.MutationResult<ISaveUserInterestsMutation>;
|
|
421
|
+
export type SaveUserInterestsMutationOptions = Apollo.BaseMutationOptions<ISaveUserInterestsMutation, ISaveUserInterestsMutationVariables>;
|
|
422
|
+
export const FetchExpectationsDocument = gql`
|
|
423
|
+
query FetchExpectations {
|
|
424
|
+
fetchExpectations {
|
|
425
|
+
name
|
|
426
|
+
imageUrl
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
`;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* __useFetchExpectationsQuery__
|
|
433
|
+
*
|
|
434
|
+
* To run a query within a React component, call `useFetchExpectationsQuery` and pass it any options that fit your needs.
|
|
435
|
+
* When your component renders, `useFetchExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
436
|
+
* you can use to render your UI.
|
|
437
|
+
*
|
|
438
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
439
|
+
*
|
|
440
|
+
* @example
|
|
441
|
+
* const { data, loading, error } = useFetchExpectationsQuery({
|
|
442
|
+
* variables: {
|
|
443
|
+
* },
|
|
444
|
+
* });
|
|
445
|
+
*/
|
|
446
|
+
export function useFetchExpectationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExpectationsQuery, IFetchExpectationsQueryVariables>) {
|
|
447
|
+
return Apollo.useQuery<IFetchExpectationsQuery, IFetchExpectationsQueryVariables>(FetchExpectationsDocument, baseOptions);
|
|
448
|
+
}
|
|
449
|
+
export function useFetchExpectationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExpectationsQuery, IFetchExpectationsQueryVariables>) {
|
|
450
|
+
return Apollo.useLazyQuery<IFetchExpectationsQuery, IFetchExpectationsQueryVariables>(FetchExpectationsDocument, baseOptions);
|
|
451
|
+
}
|
|
452
|
+
export type FetchExpectationsQueryHookResult = ReturnType<typeof useFetchExpectationsQuery>;
|
|
453
|
+
export type FetchExpectationsLazyQueryHookResult = ReturnType<typeof useFetchExpectationsLazyQuery>;
|
|
454
|
+
export type FetchExpectationsQueryResult = Apollo.QueryResult<IFetchExpectationsQuery, IFetchExpectationsQueryVariables>;
|
|
455
|
+
export const FetchInterestsDocument = gql`
|
|
456
|
+
query FetchInterests {
|
|
457
|
+
fetchInterests {
|
|
458
|
+
name
|
|
459
|
+
imageUrl
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
`;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* __useFetchInterestsQuery__
|
|
466
|
+
*
|
|
467
|
+
* To run a query within a React component, call `useFetchInterestsQuery` and pass it any options that fit your needs.
|
|
468
|
+
* When your component renders, `useFetchInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
469
|
+
* you can use to render your UI.
|
|
470
|
+
*
|
|
471
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
472
|
+
*
|
|
473
|
+
* @example
|
|
474
|
+
* const { data, loading, error } = useFetchInterestsQuery({
|
|
475
|
+
* variables: {
|
|
476
|
+
* },
|
|
477
|
+
* });
|
|
478
|
+
*/
|
|
479
|
+
export function useFetchInterestsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchInterestsQuery, IFetchInterestsQueryVariables>) {
|
|
480
|
+
return Apollo.useQuery<IFetchInterestsQuery, IFetchInterestsQueryVariables>(FetchInterestsDocument, baseOptions);
|
|
481
|
+
}
|
|
482
|
+
export function useFetchInterestsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchInterestsQuery, IFetchInterestsQueryVariables>) {
|
|
483
|
+
return Apollo.useLazyQuery<IFetchInterestsQuery, IFetchInterestsQueryVariables>(FetchInterestsDocument, baseOptions);
|
|
484
|
+
}
|
|
485
|
+
export type FetchInterestsQueryHookResult = ReturnType<typeof useFetchInterestsQuery>;
|
|
486
|
+
export type FetchInterestsLazyQueryHookResult = ReturnType<typeof useFetchInterestsLazyQuery>;
|
|
487
|
+
export type FetchInterestsQueryResult = Apollo.QueryResult<IFetchInterestsQuery, IFetchInterestsQueryVariables>;
|
|
488
|
+
export const FetchSearchResultSelectionsDocument = gql`
|
|
489
|
+
query FetchSearchResultSelections {
|
|
490
|
+
fetchSearchResultSelections {
|
|
491
|
+
typeSelections {
|
|
492
|
+
id: name
|
|
493
|
+
label
|
|
494
|
+
}
|
|
495
|
+
blockchainSelections {
|
|
496
|
+
id: name
|
|
497
|
+
label
|
|
498
|
+
}
|
|
499
|
+
categorySelections {
|
|
500
|
+
id: name
|
|
501
|
+
label
|
|
502
|
+
}
|
|
503
|
+
timeSelections {
|
|
504
|
+
id: name
|
|
505
|
+
label
|
|
506
|
+
}
|
|
507
|
+
statusSelections {
|
|
508
|
+
id: name
|
|
509
|
+
label
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
`;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* __useFetchSearchResultSelectionsQuery__
|
|
517
|
+
*
|
|
518
|
+
* To run a query within a React component, call `useFetchSearchResultSelectionsQuery` and pass it any options that fit your needs.
|
|
519
|
+
* When your component renders, `useFetchSearchResultSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
520
|
+
* you can use to render your UI.
|
|
521
|
+
*
|
|
522
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
523
|
+
*
|
|
524
|
+
* @example
|
|
525
|
+
* const { data, loading, error } = useFetchSearchResultSelectionsQuery({
|
|
526
|
+
* variables: {
|
|
527
|
+
* },
|
|
528
|
+
* });
|
|
529
|
+
*/
|
|
530
|
+
export function useFetchSearchResultSelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>) {
|
|
531
|
+
return Apollo.useQuery<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>(FetchSearchResultSelectionsDocument, baseOptions);
|
|
532
|
+
}
|
|
533
|
+
export function useFetchSearchResultSelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>) {
|
|
534
|
+
return Apollo.useLazyQuery<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>(FetchSearchResultSelectionsDocument, baseOptions);
|
|
535
|
+
}
|
|
536
|
+
export type FetchSearchResultSelectionsQueryHookResult = ReturnType<typeof useFetchSearchResultSelectionsQuery>;
|
|
537
|
+
export type FetchSearchResultSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSearchResultSelectionsLazyQuery>;
|
|
538
|
+
export type FetchSearchResultSelectionsQueryResult = Apollo.QueryResult<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>;
|
|
539
|
+
export const FetchSearchResultTimeSelectionsDocument = gql`
|
|
540
|
+
query FetchSearchResultTimeSelections {
|
|
541
|
+
fetchSearchResultTimeSelections {
|
|
542
|
+
name
|
|
543
|
+
label
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
`;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* __useFetchSearchResultTimeSelectionsQuery__
|
|
550
|
+
*
|
|
551
|
+
* To run a query within a React component, call `useFetchSearchResultTimeSelectionsQuery` and pass it any options that fit your needs.
|
|
552
|
+
* When your component renders, `useFetchSearchResultTimeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
553
|
+
* you can use to render your UI.
|
|
554
|
+
*
|
|
555
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
556
|
+
*
|
|
557
|
+
* @example
|
|
558
|
+
* const { data, loading, error } = useFetchSearchResultTimeSelectionsQuery({
|
|
559
|
+
* variables: {
|
|
560
|
+
* },
|
|
561
|
+
* });
|
|
562
|
+
*/
|
|
563
|
+
export function useFetchSearchResultTimeSelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSearchResultTimeSelectionsQuery, IFetchSearchResultTimeSelectionsQueryVariables>) {
|
|
564
|
+
return Apollo.useQuery<IFetchSearchResultTimeSelectionsQuery, IFetchSearchResultTimeSelectionsQueryVariables>(FetchSearchResultTimeSelectionsDocument, baseOptions);
|
|
565
|
+
}
|
|
566
|
+
export function useFetchSearchResultTimeSelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSearchResultTimeSelectionsQuery, IFetchSearchResultTimeSelectionsQueryVariables>) {
|
|
567
|
+
return Apollo.useLazyQuery<IFetchSearchResultTimeSelectionsQuery, IFetchSearchResultTimeSelectionsQueryVariables>(FetchSearchResultTimeSelectionsDocument, baseOptions);
|
|
568
|
+
}
|
|
569
|
+
export type FetchSearchResultTimeSelectionsQueryHookResult = ReturnType<typeof useFetchSearchResultTimeSelectionsQuery>;
|
|
570
|
+
export type FetchSearchResultTimeSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSearchResultTimeSelectionsLazyQuery>;
|
|
571
|
+
export type FetchSearchResultTimeSelectionsQueryResult = Apollo.QueryResult<IFetchSearchResultTimeSelectionsQuery, IFetchSearchResultTimeSelectionsQueryVariables>;
|
|
572
|
+
export const FetchUserExpectationsDocument = gql`
|
|
573
|
+
query FetchUserExpectations {
|
|
574
|
+
fetchUserExpectations {
|
|
575
|
+
userId
|
|
576
|
+
name
|
|
577
|
+
imageUrl
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
`;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* __useFetchUserExpectationsQuery__
|
|
584
|
+
*
|
|
585
|
+
* To run a query within a React component, call `useFetchUserExpectationsQuery` and pass it any options that fit your needs.
|
|
586
|
+
* When your component renders, `useFetchUserExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
587
|
+
* you can use to render your UI.
|
|
588
|
+
*
|
|
589
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
590
|
+
*
|
|
591
|
+
* @example
|
|
592
|
+
* const { data, loading, error } = useFetchUserExpectationsQuery({
|
|
593
|
+
* variables: {
|
|
594
|
+
* },
|
|
595
|
+
* });
|
|
596
|
+
*/
|
|
597
|
+
export function useFetchUserExpectationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchUserExpectationsQuery, IFetchUserExpectationsQueryVariables>) {
|
|
598
|
+
return Apollo.useQuery<IFetchUserExpectationsQuery, IFetchUserExpectationsQueryVariables>(FetchUserExpectationsDocument, baseOptions);
|
|
599
|
+
}
|
|
600
|
+
export function useFetchUserExpectationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserExpectationsQuery, IFetchUserExpectationsQueryVariables>) {
|
|
601
|
+
return Apollo.useLazyQuery<IFetchUserExpectationsQuery, IFetchUserExpectationsQueryVariables>(FetchUserExpectationsDocument, baseOptions);
|
|
602
|
+
}
|
|
603
|
+
export type FetchUserExpectationsQueryHookResult = ReturnType<typeof useFetchUserExpectationsQuery>;
|
|
604
|
+
export type FetchUserExpectationsLazyQueryHookResult = ReturnType<typeof useFetchUserExpectationsLazyQuery>;
|
|
605
|
+
export type FetchUserExpectationsQueryResult = Apollo.QueryResult<IFetchUserExpectationsQuery, IFetchUserExpectationsQueryVariables>;
|
|
606
|
+
export const FetchUserInterestsDocument = gql`
|
|
607
|
+
query FetchUserInterests {
|
|
608
|
+
fetchUserInterests {
|
|
609
|
+
userId
|
|
610
|
+
name
|
|
611
|
+
imageUrl
|
|
612
|
+
percents
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
`;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* __useFetchUserInterestsQuery__
|
|
619
|
+
*
|
|
620
|
+
* To run a query within a React component, call `useFetchUserInterestsQuery` and pass it any options that fit your needs.
|
|
621
|
+
* When your component renders, `useFetchUserInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
622
|
+
* you can use to render your UI.
|
|
623
|
+
*
|
|
624
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
625
|
+
*
|
|
626
|
+
* @example
|
|
627
|
+
* const { data, loading, error } = useFetchUserInterestsQuery({
|
|
628
|
+
* variables: {
|
|
629
|
+
* },
|
|
630
|
+
* });
|
|
631
|
+
*/
|
|
632
|
+
export function useFetchUserInterestsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchUserInterestsQuery, IFetchUserInterestsQueryVariables>) {
|
|
633
|
+
return Apollo.useQuery<IFetchUserInterestsQuery, IFetchUserInterestsQueryVariables>(FetchUserInterestsDocument, baseOptions);
|
|
634
|
+
}
|
|
635
|
+
export function useFetchUserInterestsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserInterestsQuery, IFetchUserInterestsQueryVariables>) {
|
|
636
|
+
return Apollo.useLazyQuery<IFetchUserInterestsQuery, IFetchUserInterestsQueryVariables>(FetchUserInterestsDocument, baseOptions);
|
|
637
|
+
}
|
|
638
|
+
export type FetchUserInterestsQueryHookResult = ReturnType<typeof useFetchUserInterestsQuery>;
|
|
639
|
+
export type FetchUserInterestsLazyQueryHookResult = ReturnType<typeof useFetchUserInterestsLazyQuery>;
|
|
640
|
+
export type FetchUserInterestsQueryResult = Apollo.QueryResult<IFetchUserInterestsQuery, IFetchUserInterestsQueryVariables>;
|
|
641
|
+
export const FetchSearchResultBlockchainSelectionsDocument = gql`
|
|
642
|
+
query FetchSearchResultBlockchainSelections {
|
|
643
|
+
fetchSearchResultBlockchainSelections {
|
|
644
|
+
name
|
|
645
|
+
label
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
`;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* __useFetchSearchResultBlockchainSelectionsQuery__
|
|
652
|
+
*
|
|
653
|
+
* To run a query within a React component, call `useFetchSearchResultBlockchainSelectionsQuery` and pass it any options that fit your needs.
|
|
654
|
+
* When your component renders, `useFetchSearchResultBlockchainSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
655
|
+
* you can use to render your UI.
|
|
656
|
+
*
|
|
657
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* const { data, loading, error } = useFetchSearchResultBlockchainSelectionsQuery({
|
|
661
|
+
* variables: {
|
|
662
|
+
* },
|
|
663
|
+
* });
|
|
664
|
+
*/
|
|
665
|
+
export function useFetchSearchResultBlockchainSelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSearchResultBlockchainSelectionsQuery, IFetchSearchResultBlockchainSelectionsQueryVariables>) {
|
|
666
|
+
return Apollo.useQuery<IFetchSearchResultBlockchainSelectionsQuery, IFetchSearchResultBlockchainSelectionsQueryVariables>(FetchSearchResultBlockchainSelectionsDocument, baseOptions);
|
|
667
|
+
}
|
|
668
|
+
export function useFetchSearchResultBlockchainSelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSearchResultBlockchainSelectionsQuery, IFetchSearchResultBlockchainSelectionsQueryVariables>) {
|
|
669
|
+
return Apollo.useLazyQuery<IFetchSearchResultBlockchainSelectionsQuery, IFetchSearchResultBlockchainSelectionsQueryVariables>(FetchSearchResultBlockchainSelectionsDocument, baseOptions);
|
|
670
|
+
}
|
|
671
|
+
export type FetchSearchResultBlockchainSelectionsQueryHookResult = ReturnType<typeof useFetchSearchResultBlockchainSelectionsQuery>;
|
|
672
|
+
export type FetchSearchResultBlockchainSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSearchResultBlockchainSelectionsLazyQuery>;
|
|
673
|
+
export type FetchSearchResultBlockchainSelectionsQueryResult = Apollo.QueryResult<IFetchSearchResultBlockchainSelectionsQuery, IFetchSearchResultBlockchainSelectionsQueryVariables>;
|
|
674
|
+
export const FetchSearchResultCategorySelectionsDocument = gql`
|
|
675
|
+
query FetchSearchResultCategorySelections {
|
|
676
|
+
fetchSearchResultCategorySelections {
|
|
677
|
+
name
|
|
678
|
+
label
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
`;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* __useFetchSearchResultCategorySelectionsQuery__
|
|
685
|
+
*
|
|
686
|
+
* To run a query within a React component, call `useFetchSearchResultCategorySelectionsQuery` and pass it any options that fit your needs.
|
|
687
|
+
* When your component renders, `useFetchSearchResultCategorySelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
688
|
+
* you can use to render your UI.
|
|
689
|
+
*
|
|
690
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
691
|
+
*
|
|
692
|
+
* @example
|
|
693
|
+
* const { data, loading, error } = useFetchSearchResultCategorySelectionsQuery({
|
|
694
|
+
* variables: {
|
|
695
|
+
* },
|
|
696
|
+
* });
|
|
697
|
+
*/
|
|
698
|
+
export function useFetchSearchResultCategorySelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSearchResultCategorySelectionsQuery, IFetchSearchResultCategorySelectionsQueryVariables>) {
|
|
699
|
+
return Apollo.useQuery<IFetchSearchResultCategorySelectionsQuery, IFetchSearchResultCategorySelectionsQueryVariables>(FetchSearchResultCategorySelectionsDocument, baseOptions);
|
|
700
|
+
}
|
|
701
|
+
export function useFetchSearchResultCategorySelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSearchResultCategorySelectionsQuery, IFetchSearchResultCategorySelectionsQueryVariables>) {
|
|
702
|
+
return Apollo.useLazyQuery<IFetchSearchResultCategorySelectionsQuery, IFetchSearchResultCategorySelectionsQueryVariables>(FetchSearchResultCategorySelectionsDocument, baseOptions);
|
|
703
|
+
}
|
|
704
|
+
export type FetchSearchResultCategorySelectionsQueryHookResult = ReturnType<typeof useFetchSearchResultCategorySelectionsQuery>;
|
|
705
|
+
export type FetchSearchResultCategorySelectionsLazyQueryHookResult = ReturnType<typeof useFetchSearchResultCategorySelectionsLazyQuery>;
|
|
706
|
+
export type FetchSearchResultCategorySelectionsQueryResult = Apollo.QueryResult<IFetchSearchResultCategorySelectionsQuery, IFetchSearchResultCategorySelectionsQueryVariables>;
|
|
707
|
+
export const FetchSearchResultStatusSelectionsDocument = gql`
|
|
708
|
+
query FetchSearchResultStatusSelections {
|
|
709
|
+
fetchSearchResultStatusSelections {
|
|
710
|
+
name
|
|
711
|
+
label
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
`;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* __useFetchSearchResultStatusSelectionsQuery__
|
|
718
|
+
*
|
|
719
|
+
* To run a query within a React component, call `useFetchSearchResultStatusSelectionsQuery` and pass it any options that fit your needs.
|
|
720
|
+
* When your component renders, `useFetchSearchResultStatusSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
721
|
+
* you can use to render your UI.
|
|
722
|
+
*
|
|
723
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
724
|
+
*
|
|
725
|
+
* @example
|
|
726
|
+
* const { data, loading, error } = useFetchSearchResultStatusSelectionsQuery({
|
|
727
|
+
* variables: {
|
|
728
|
+
* },
|
|
729
|
+
* });
|
|
730
|
+
*/
|
|
731
|
+
export function useFetchSearchResultStatusSelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSearchResultStatusSelectionsQuery, IFetchSearchResultStatusSelectionsQueryVariables>) {
|
|
732
|
+
return Apollo.useQuery<IFetchSearchResultStatusSelectionsQuery, IFetchSearchResultStatusSelectionsQueryVariables>(FetchSearchResultStatusSelectionsDocument, baseOptions);
|
|
733
|
+
}
|
|
734
|
+
export function useFetchSearchResultStatusSelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSearchResultStatusSelectionsQuery, IFetchSearchResultStatusSelectionsQueryVariables>) {
|
|
735
|
+
return Apollo.useLazyQuery<IFetchSearchResultStatusSelectionsQuery, IFetchSearchResultStatusSelectionsQueryVariables>(FetchSearchResultStatusSelectionsDocument, baseOptions);
|
|
736
|
+
}
|
|
737
|
+
export type FetchSearchResultStatusSelectionsQueryHookResult = ReturnType<typeof useFetchSearchResultStatusSelectionsQuery>;
|
|
738
|
+
export type FetchSearchResultStatusSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSearchResultStatusSelectionsLazyQuery>;
|
|
739
|
+
export type FetchSearchResultStatusSelectionsQueryResult = Apollo.QueryResult<IFetchSearchResultStatusSelectionsQuery, IFetchSearchResultStatusSelectionsQueryVariables>;
|
|
740
|
+
export const FetchSetsSearchResultTypeSelectionsDocument = gql`
|
|
741
|
+
query FetchSetsSearchResultTypeSelections {
|
|
742
|
+
fetchSetsSearchResultTypeSelections {
|
|
743
|
+
name
|
|
744
|
+
label
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
`;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* __useFetchSetsSearchResultTypeSelectionsQuery__
|
|
751
|
+
*
|
|
752
|
+
* To run a query within a React component, call `useFetchSetsSearchResultTypeSelectionsQuery` and pass it any options that fit your needs.
|
|
753
|
+
* When your component renders, `useFetchSetsSearchResultTypeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
754
|
+
* you can use to render your UI.
|
|
755
|
+
*
|
|
756
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
757
|
+
*
|
|
758
|
+
* @example
|
|
759
|
+
* const { data, loading, error } = useFetchSetsSearchResultTypeSelectionsQuery({
|
|
760
|
+
* variables: {
|
|
761
|
+
* },
|
|
762
|
+
* });
|
|
763
|
+
*/
|
|
764
|
+
export function useFetchSetsSearchResultTypeSelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>) {
|
|
765
|
+
return Apollo.useQuery<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>(FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
766
|
+
}
|
|
767
|
+
export function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>) {
|
|
768
|
+
return Apollo.useLazyQuery<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>(FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
769
|
+
}
|
|
770
|
+
export type FetchSetsSearchResultTypeSelectionsQueryHookResult = ReturnType<typeof useFetchSetsSearchResultTypeSelectionsQuery>;
|
|
771
|
+
export type FetchSetsSearchResultTypeSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSetsSearchResultTypeSelectionsLazyQuery>;
|
|
772
|
+
export type FetchSetsSearchResultTypeSelectionsQueryResult = Apollo.QueryResult<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>;
|