@ludo.ninja/api 2.8.76 → 2.8.78
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/graphql_tools/__generated__/assetsHost/schema.d.ts +0 -5
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +14 -3
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -8
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +20 -4
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +8 -1
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +0 -7
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +9 -5
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1 -1
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +35 -6
- package/build/graphql_tools/__generated__/tapHost/schema.js +30 -1
- package/build/hosts/index.d.ts +1 -0
- package/build/hosts/index.js +2 -1
- package/build/index.d.ts +18 -1
- package/build/index.js +5 -2
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/assetsHost/schema.ts +0 -5
- package/src/graphql_tools/__generated__/authHost/schema.ts +16 -3
- package/src/graphql_tools/__generated__/collectionsHost/schema.ts +2 -8
- package/src/graphql_tools/__generated__/identityHost/schema.ts +22 -4
- package/src/graphql_tools/__generated__/mediasHost/schema.ts +10 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +0 -7
- package/src/graphql_tools/__generated__/preferencesHost/schema.ts +11 -5
- package/src/graphql_tools/__generated__/searchHost/schema.ts +1 -1
- package/src/graphql_tools/__generated__/tapHost/schema.ts +39 -6
- package/src/hosts/index.ts +2 -0
- package/src/index.ts +6 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -58,7 +58,6 @@ export type IMutationGenerateCompanyTokenArgs = {
|
|
|
58
58
|
input: IGenerateCompanyTokenInput;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
/** scalar Upload */
|
|
62
61
|
export type IQuery = {
|
|
63
62
|
getDummy: Scalars['String'];
|
|
64
63
|
isValidAuthToken: Scalars['Boolean'];
|
|
@@ -66,18 +65,22 @@ export type IQuery = {
|
|
|
66
65
|
};
|
|
67
66
|
|
|
68
67
|
|
|
69
|
-
/** scalar Upload */
|
|
70
68
|
export type IQueryIsValidAuthTokenArgs = {
|
|
71
69
|
authToken: Scalars['String'];
|
|
72
70
|
};
|
|
73
71
|
|
|
74
72
|
|
|
75
|
-
/** scalar Upload */
|
|
76
73
|
export type IQueryFetchLoginsArgs = {
|
|
77
74
|
pageSize: Scalars['Int'];
|
|
78
75
|
pageToken?: Maybe<Scalars['String']>;
|
|
79
76
|
};
|
|
80
77
|
|
|
78
|
+
export type ITestResponse = {
|
|
79
|
+
name?: Maybe<Scalars['String']>;
|
|
80
|
+
value?: Maybe<Scalars['String']>;
|
|
81
|
+
test?: Maybe<Scalars['String']>;
|
|
82
|
+
};
|
|
83
|
+
|
|
81
84
|
export type ITokenPair = {
|
|
82
85
|
userId?: Maybe<Scalars['String']>;
|
|
83
86
|
tokenAuth?: Maybe<Scalars['String']>;
|
|
@@ -163,6 +166,7 @@ export type IResolversTypes = {
|
|
|
163
166
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
164
167
|
Mutation: ResolverTypeWrapper<{}>;
|
|
165
168
|
Query: ResolverTypeWrapper<{}>;
|
|
169
|
+
TestResponse: ResolverTypeWrapper<ITestResponse>;
|
|
166
170
|
TokenPair: ResolverTypeWrapper<ITokenPair>;
|
|
167
171
|
};
|
|
168
172
|
|
|
@@ -177,6 +181,7 @@ export type IResolversParentTypes = {
|
|
|
177
181
|
Long: Scalars['Long'];
|
|
178
182
|
Mutation: {};
|
|
179
183
|
Query: {};
|
|
184
|
+
TestResponse: ITestResponse;
|
|
180
185
|
TokenPair: ITokenPair;
|
|
181
186
|
};
|
|
182
187
|
|
|
@@ -215,6 +220,13 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
215
220
|
fetchLogins?: Resolver<IResolversTypes['LoginsPage'], ParentType, ContextType, RequireFields<IQueryFetchLoginsArgs, 'pageSize'>>;
|
|
216
221
|
};
|
|
217
222
|
|
|
223
|
+
export type ITestResponseResolvers<ContextType = any, ParentType extends IResolversParentTypes['TestResponse'] = IResolversParentTypes['TestResponse']> = {
|
|
224
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
225
|
+
value?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
226
|
+
test?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
227
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
228
|
+
};
|
|
229
|
+
|
|
218
230
|
export type ITokenPairResolvers<ContextType = any, ParentType extends IResolversParentTypes['TokenPair'] = IResolversParentTypes['TokenPair']> = {
|
|
219
231
|
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
220
232
|
tokenAuth?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -229,6 +241,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
229
241
|
Long?: GraphQLScalarType;
|
|
230
242
|
Mutation?: IMutationResolvers<ContextType>;
|
|
231
243
|
Query?: IQueryResolvers<ContextType>;
|
|
244
|
+
TestResponse?: ITestResponseResolvers<ContextType>;
|
|
232
245
|
TokenPair?: ITokenPairResolvers<ContextType>;
|
|
233
246
|
};
|
|
234
247
|
|
|
@@ -45,7 +45,7 @@ export type ICollection = {
|
|
|
45
45
|
medias?: Maybe<Array<Maybe<IMedia>>>;
|
|
46
46
|
likes?: Maybe<Scalars['Int']>;
|
|
47
47
|
liked?: Maybe<Scalars['Boolean']>;
|
|
48
|
-
/**
|
|
48
|
+
/** TODO: remove */
|
|
49
49
|
rank?: Maybe<Scalars['Float']>;
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -72,7 +72,7 @@ export type ICollectionAsset = {
|
|
|
72
72
|
attributes?: Maybe<Array<Maybe<IAttribute>>>;
|
|
73
73
|
likes?: Maybe<Scalars['Int']>;
|
|
74
74
|
liked?: Maybe<Scalars['Boolean']>;
|
|
75
|
-
/**
|
|
75
|
+
/** TODO: remove */
|
|
76
76
|
views?: Maybe<Scalars['Int']>;
|
|
77
77
|
visible?: Maybe<Scalars['Boolean']>;
|
|
78
78
|
createdAt?: Maybe<Scalars['Long']>;
|
|
@@ -157,7 +157,6 @@ export type IProfile = {
|
|
|
157
157
|
visible?: Maybe<Scalars['Boolean']>;
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
/** scalar Upload */
|
|
161
160
|
export type IQuery = {
|
|
162
161
|
getDummy: Scalars['String'];
|
|
163
162
|
fetchCollectionV1: ICollection;
|
|
@@ -168,32 +167,27 @@ export type IQuery = {
|
|
|
168
167
|
};
|
|
169
168
|
|
|
170
169
|
|
|
171
|
-
/** scalar Upload */
|
|
172
170
|
export type IQueryFetchCollectionV1Args = {
|
|
173
171
|
collectionId: Scalars['String'];
|
|
174
172
|
};
|
|
175
173
|
|
|
176
174
|
|
|
177
|
-
/** scalar Upload */
|
|
178
175
|
export type IQueryFetchCollectionsArgs = {
|
|
179
176
|
pageSize: Scalars['Int'];
|
|
180
177
|
pageToken?: Maybe<Scalars['String']>;
|
|
181
178
|
};
|
|
182
179
|
|
|
183
180
|
|
|
184
|
-
/** scalar Upload */
|
|
185
181
|
export type IQueryFetchCollectionsByIdsV1Args = {
|
|
186
182
|
collectionIds: Array<Scalars['String']>;
|
|
187
183
|
};
|
|
188
184
|
|
|
189
185
|
|
|
190
|
-
/** scalar Upload */
|
|
191
186
|
export type IQueryFetchDynamicCollectionDataV1Args = {
|
|
192
187
|
input: IDynamicCollectionDataInput;
|
|
193
188
|
};
|
|
194
189
|
|
|
195
190
|
|
|
196
|
-
/** scalar Upload */
|
|
197
191
|
export type IQueryFetchDynamicCollectionsDataV1Args = {
|
|
198
192
|
input: Array<IDynamicCollectionDataInput>;
|
|
199
193
|
};
|
|
@@ -36,7 +36,7 @@ export type IAuditInterest = {
|
|
|
36
36
|
percentage?: Maybe<Scalars['Float']>;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
/**
|
|
39
|
+
/** noinspection SpellCheckingInspection */
|
|
40
40
|
export type IAuditNftBalance = {
|
|
41
41
|
nativeValue?: Maybe<Scalars['Float']>;
|
|
42
42
|
totalNfts?: Maybe<Scalars['Int']>;
|
|
@@ -55,6 +55,13 @@ export type IDomain = {
|
|
|
55
55
|
value?: Maybe<Scalars['String']>;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
+
export type IFollower = {
|
|
59
|
+
userId: Scalars['ID'];
|
|
60
|
+
username?: Maybe<Scalars['String']>;
|
|
61
|
+
userpic?: Maybe<Scalars['String']>;
|
|
62
|
+
following?: Maybe<Scalars['Boolean']>;
|
|
63
|
+
};
|
|
64
|
+
|
|
58
65
|
export type IFollowingStatus = {
|
|
59
66
|
userId: Scalars['ID'];
|
|
60
67
|
following: Scalars['Boolean'];
|
|
@@ -99,7 +106,7 @@ export type IInviteCodeUser = {
|
|
|
99
106
|
};
|
|
100
107
|
|
|
101
108
|
|
|
102
|
-
/**
|
|
109
|
+
/** noinspection SpellCheckingInspection */
|
|
103
110
|
export type IMultiversxAudit = {
|
|
104
111
|
delegated?: Maybe<Scalars['Float']>;
|
|
105
112
|
interests?: Maybe<Array<IAuditInterest>>;
|
|
@@ -495,9 +502,10 @@ export type IResolversTypes = {
|
|
|
495
502
|
AuditNFTBalance: ResolverTypeWrapper<IAuditNftBalance>;
|
|
496
503
|
CheckTonProofRequest: ICheckTonProofRequest;
|
|
497
504
|
Domain: IDomain;
|
|
498
|
-
|
|
505
|
+
Follower: ResolverTypeWrapper<IFollower>;
|
|
499
506
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
500
507
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
508
|
+
FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
|
|
501
509
|
Identity: ResolverTypeWrapper<IIdentity>;
|
|
502
510
|
InputProfile: IInputProfile;
|
|
503
511
|
InputSocial: IInputSocial;
|
|
@@ -528,9 +536,10 @@ export type IResolversParentTypes = {
|
|
|
528
536
|
AuditNFTBalance: IAuditNftBalance;
|
|
529
537
|
CheckTonProofRequest: ICheckTonProofRequest;
|
|
530
538
|
Domain: IDomain;
|
|
531
|
-
|
|
539
|
+
Follower: IFollower;
|
|
532
540
|
ID: Scalars['ID'];
|
|
533
541
|
Boolean: Scalars['Boolean'];
|
|
542
|
+
FollowingStatus: IFollowingStatus;
|
|
534
543
|
Identity: IIdentity;
|
|
535
544
|
InputProfile: IInputProfile;
|
|
536
545
|
InputSocial: IInputSocial;
|
|
@@ -605,6 +614,14 @@ export type IAuditNftBalanceResolvers<ContextType = any, ParentType extends IRes
|
|
|
605
614
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
606
615
|
};
|
|
607
616
|
|
|
617
|
+
export type IFollowerResolvers<ContextType = any, ParentType extends IResolversParentTypes['Follower'] = IResolversParentTypes['Follower']> = {
|
|
618
|
+
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
619
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
620
|
+
userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
621
|
+
following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
622
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
623
|
+
};
|
|
624
|
+
|
|
608
625
|
export type IFollowingStatusResolvers<ContextType = any, ParentType extends IResolversParentTypes['FollowingStatus'] = IResolversParentTypes['FollowingStatus']> = {
|
|
609
626
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
610
627
|
following?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
@@ -782,6 +799,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
782
799
|
AuditBalanceCollection?: IAuditBalanceCollectionResolvers<ContextType>;
|
|
783
800
|
AuditInterest?: IAuditInterestResolvers<ContextType>;
|
|
784
801
|
AuditNFTBalance?: IAuditNftBalanceResolvers<ContextType>;
|
|
802
|
+
Follower?: IFollowerResolvers<ContextType>;
|
|
785
803
|
FollowingStatus?: IFollowingStatusResolvers<ContextType>;
|
|
786
804
|
Identity?: IIdentityResolvers<ContextType>;
|
|
787
805
|
InviteCode?: IInviteCodeResolvers<ContextType>;
|
|
@@ -14,11 +14,13 @@ export type Scalars = {
|
|
|
14
14
|
Boolean: boolean;
|
|
15
15
|
Int: number;
|
|
16
16
|
Float: number;
|
|
17
|
-
/**
|
|
17
|
+
/** A 64-bit signed integer */
|
|
18
|
+
Long: any;
|
|
18
19
|
Upload: any;
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
|
|
23
|
+
|
|
22
24
|
export type IMutation = {
|
|
23
25
|
setDummy: Scalars['String'];
|
|
24
26
|
uploadUserpic: Scalars['String'];
|
|
@@ -161,6 +163,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
161
163
|
|
|
162
164
|
/** Mapping between all available schema types and the resolvers types */
|
|
163
165
|
export type IResolversTypes = {
|
|
166
|
+
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
164
167
|
Mutation: ResolverTypeWrapper<{}>;
|
|
165
168
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
166
169
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
@@ -171,6 +174,7 @@ export type IResolversTypes = {
|
|
|
171
174
|
|
|
172
175
|
/** Mapping between all available schema types and the resolvers parents */
|
|
173
176
|
export type IResolversParentTypes = {
|
|
177
|
+
Long: Scalars['Long'];
|
|
174
178
|
Mutation: {};
|
|
175
179
|
String: Scalars['String'];
|
|
176
180
|
ID: Scalars['ID'];
|
|
@@ -183,6 +187,10 @@ export type IOneOfDirectiveArgs = { };
|
|
|
183
187
|
|
|
184
188
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
185
189
|
|
|
190
|
+
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
191
|
+
name: 'Long';
|
|
192
|
+
}
|
|
193
|
+
|
|
186
194
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
187
195
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
188
196
|
uploadUserpic?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationUploadUserpicArgs, 'file'>>;
|
|
@@ -207,6 +215,7 @@ export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversT
|
|
|
207
215
|
}
|
|
208
216
|
|
|
209
217
|
export type IResolvers<ContextType = any> = {
|
|
218
|
+
Long?: GraphQLScalarType;
|
|
210
219
|
Mutation?: IMutationResolvers<ContextType>;
|
|
211
220
|
Query?: IQueryResolvers<ContextType>;
|
|
212
221
|
Upload?: GraphQLScalarType;
|
|
@@ -218,7 +218,6 @@ export type IOpportunityV2 = {
|
|
|
218
218
|
liked?: Maybe<Scalars['Boolean']>;
|
|
219
219
|
};
|
|
220
220
|
|
|
221
|
-
/** scalar Upload */
|
|
222
221
|
export type IQuery = {
|
|
223
222
|
getDummy: Scalars['String'];
|
|
224
223
|
fetchBrands?: Maybe<Array<Maybe<IBrand>>>;
|
|
@@ -234,37 +233,31 @@ export type IQuery = {
|
|
|
234
233
|
};
|
|
235
234
|
|
|
236
235
|
|
|
237
|
-
/** scalar Upload */
|
|
238
236
|
export type IQueryFetchBrandArgs = {
|
|
239
237
|
brandId: Scalars['ID'];
|
|
240
238
|
};
|
|
241
239
|
|
|
242
240
|
|
|
243
|
-
/** scalar Upload */
|
|
244
241
|
export type IQueryFetchCategoryArgs = {
|
|
245
242
|
categoryId: Scalars['ID'];
|
|
246
243
|
};
|
|
247
244
|
|
|
248
245
|
|
|
249
|
-
/** scalar Upload */
|
|
250
246
|
export type IQueryFetchOpportunitiesArgs = {
|
|
251
247
|
domain?: Maybe<Scalars['String']>;
|
|
252
248
|
};
|
|
253
249
|
|
|
254
250
|
|
|
255
|
-
/** scalar Upload */
|
|
256
251
|
export type IQueryFetchOpportunityArgs = {
|
|
257
252
|
opportunityId: Scalars['ID'];
|
|
258
253
|
};
|
|
259
254
|
|
|
260
255
|
|
|
261
|
-
/** scalar Upload */
|
|
262
256
|
export type IQueryFetchOpportunitiesByIdsArgs = {
|
|
263
257
|
opportunityIds: Array<Scalars['ID']>;
|
|
264
258
|
};
|
|
265
259
|
|
|
266
260
|
|
|
267
|
-
/** scalar Upload */
|
|
268
261
|
export type IQueryFetchOpportunitiesForWalletArgs = {
|
|
269
262
|
blockchain: Scalars['String'];
|
|
270
263
|
wallet: Scalars['String'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import { GraphQLResolveInfo } from 'graphql';
|
|
2
|
+
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
|
3
3
|
import { gql } from '@apollo/client';
|
|
4
4
|
import * as Apollo from '@apollo/client';
|
|
5
5
|
export type Maybe<T> = T | null;
|
|
@@ -14,6 +14,8 @@ export type Scalars = {
|
|
|
14
14
|
Boolean: boolean;
|
|
15
15
|
Int: number;
|
|
16
16
|
Float: number;
|
|
17
|
+
/** A 64-bit signed integer */
|
|
18
|
+
Long: any;
|
|
17
19
|
};
|
|
18
20
|
|
|
19
21
|
|
|
@@ -27,6 +29,7 @@ export type IInterest = {
|
|
|
27
29
|
imageUrl: Scalars['String'];
|
|
28
30
|
};
|
|
29
31
|
|
|
32
|
+
|
|
30
33
|
export type IMutation = {
|
|
31
34
|
setDummy: Scalars['String'];
|
|
32
35
|
saveUserInterests: Scalars['Boolean'];
|
|
@@ -43,10 +46,6 @@ export type IMutationSaveUserExpectationsArgs = {
|
|
|
43
46
|
expectations: Array<Maybe<Scalars['String']>>;
|
|
44
47
|
};
|
|
45
48
|
|
|
46
|
-
/**
|
|
47
|
-
* scalar Long
|
|
48
|
-
* scalar Upload
|
|
49
|
-
*/
|
|
50
49
|
export type IQuery = {
|
|
51
50
|
getDummy: Scalars['String'];
|
|
52
51
|
fetchInterests: Array<Maybe<IInterest>>;
|
|
@@ -166,6 +165,7 @@ export type IResolversTypes = {
|
|
|
166
165
|
Expectation: ResolverTypeWrapper<IExpectation>;
|
|
167
166
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
168
167
|
Interest: ResolverTypeWrapper<IInterest>;
|
|
168
|
+
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
169
169
|
Mutation: ResolverTypeWrapper<{}>;
|
|
170
170
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
171
171
|
Query: ResolverTypeWrapper<{}>;
|
|
@@ -181,6 +181,7 @@ export type IResolversParentTypes = {
|
|
|
181
181
|
Expectation: IExpectation;
|
|
182
182
|
String: Scalars['String'];
|
|
183
183
|
Interest: IInterest;
|
|
184
|
+
Long: Scalars['Long'];
|
|
184
185
|
Mutation: {};
|
|
185
186
|
Boolean: Scalars['Boolean'];
|
|
186
187
|
Query: {};
|
|
@@ -207,6 +208,10 @@ export type IInterestResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
207
208
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
208
209
|
};
|
|
209
210
|
|
|
211
|
+
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
212
|
+
name: 'Long';
|
|
213
|
+
}
|
|
214
|
+
|
|
210
215
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
211
216
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
212
217
|
saveUserInterests?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSaveUserInterestsArgs, 'interests'>>;
|
|
@@ -267,6 +272,7 @@ export type IUserInterestResolvers<ContextType = any, ParentType extends IResolv
|
|
|
267
272
|
export type IResolvers<ContextType = any> = {
|
|
268
273
|
Expectation?: IExpectationResolvers<ContextType>;
|
|
269
274
|
Interest?: IInterestResolvers<ContextType>;
|
|
275
|
+
Long?: GraphQLScalarType;
|
|
270
276
|
Mutation?: IMutationResolvers<ContextType>;
|
|
271
277
|
Query?: IQueryResolvers<ContextType>;
|
|
272
278
|
SearchResultSelectionsPage?: ISearchResultSelectionsPageResolvers<ContextType>;
|
|
@@ -25,9 +25,16 @@ export type IActiveInviteCode = {
|
|
|
25
25
|
maxUsagesLimit: Scalars['Int'];
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
+
/** Please, manually sync with FarmingStatus.java */
|
|
29
|
+
export enum IFarmingStatus {
|
|
30
|
+
InProgress = 'IN_PROGRESS',
|
|
31
|
+
ReadyToBeClaimed = 'READY_TO_BE_CLAIMED',
|
|
32
|
+
Finished = 'FINISHED'
|
|
33
|
+
}
|
|
34
|
+
|
|
28
35
|
export type IFarmingTask = {
|
|
29
36
|
taskId: Scalars['ID'];
|
|
30
|
-
status:
|
|
37
|
+
status: IFarmingStatus;
|
|
31
38
|
startedAt: Scalars['Long'];
|
|
32
39
|
};
|
|
33
40
|
|
|
@@ -81,6 +88,13 @@ export type INotification = {
|
|
|
81
88
|
createdAt: Scalars['Long'];
|
|
82
89
|
};
|
|
83
90
|
|
|
91
|
+
/** Please, manually sync with NotificationStatus.java */
|
|
92
|
+
export enum INotificationStatus {
|
|
93
|
+
New = 'NEW',
|
|
94
|
+
Shown = 'SHOWN',
|
|
95
|
+
Read = 'READ'
|
|
96
|
+
}
|
|
97
|
+
|
|
84
98
|
export type IPlayerState = {
|
|
85
99
|
userId: Scalars['ID'];
|
|
86
100
|
coins: Scalars['Int'];
|
|
@@ -91,11 +105,26 @@ export type IPlayerState = {
|
|
|
91
105
|
|
|
92
106
|
export type IPlayingStreak = {
|
|
93
107
|
streakId: Scalars['ID'];
|
|
94
|
-
status:
|
|
95
|
-
type:
|
|
108
|
+
status: IPlayingStreakStatus;
|
|
109
|
+
type: IPlayingStreakType;
|
|
96
110
|
startedAt: Scalars['Long'];
|
|
97
111
|
};
|
|
98
112
|
|
|
113
|
+
/** Please, manually sync with PlayingStreakStatus.java */
|
|
114
|
+
export enum IPlayingStreakStatus {
|
|
115
|
+
InProgress = 'IN_PROGRESS',
|
|
116
|
+
OnlyClaimed = 'ONLY_CLAIMED',
|
|
117
|
+
ClaimedAndNotified = 'CLAIMED_AND_NOTIFIED',
|
|
118
|
+
Canceled = 'CANCELED'
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/** Please, manually sync with PlayingStreakType.java */
|
|
122
|
+
export enum IPlayingStreakType {
|
|
123
|
+
A_3Days = 'A_3_DAYS',
|
|
124
|
+
A_21Days = 'A_21_DAYS',
|
|
125
|
+
A_90Days = 'A_90_DAYS'
|
|
126
|
+
}
|
|
127
|
+
|
|
99
128
|
export type IQuery = {
|
|
100
129
|
getDummy: Scalars['String'];
|
|
101
130
|
fetchPlayerState: IPlayerState;
|
|
@@ -184,6 +213,7 @@ export type IResolversTypes = {
|
|
|
184
213
|
ActiveInviteCode: ResolverTypeWrapper<IActiveInviteCode>;
|
|
185
214
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
186
215
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
216
|
+
FarmingStatus: IFarmingStatus;
|
|
187
217
|
FarmingTask: ResolverTypeWrapper<IFarmingTask>;
|
|
188
218
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
189
219
|
FrensData: ResolverTypeWrapper<IFrensData>;
|
|
@@ -192,8 +222,11 @@ export type IResolversTypes = {
|
|
|
192
222
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
193
223
|
Mutation: ResolverTypeWrapper<{}>;
|
|
194
224
|
Notification: ResolverTypeWrapper<INotification>;
|
|
225
|
+
NotificationStatus: INotificationStatus;
|
|
195
226
|
PlayerState: ResolverTypeWrapper<IPlayerState>;
|
|
196
227
|
PlayingStreak: ResolverTypeWrapper<IPlayingStreak>;
|
|
228
|
+
PlayingStreakStatus: IPlayingStreakStatus;
|
|
229
|
+
PlayingStreakType: IPlayingStreakType;
|
|
197
230
|
Query: ResolverTypeWrapper<{}>;
|
|
198
231
|
Subscription: ResolverTypeWrapper<{}>;
|
|
199
232
|
};
|
|
@@ -230,7 +263,7 @@ export type IActiveInviteCodeResolvers<ContextType = any, ParentType extends IRe
|
|
|
230
263
|
|
|
231
264
|
export type IFarmingTaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['FarmingTask'] = IResolversParentTypes['FarmingTask']> = {
|
|
232
265
|
taskId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
233
|
-
status?: Resolver<IResolversTypes['
|
|
266
|
+
status?: Resolver<IResolversTypes['FarmingStatus'], ParentType, ContextType>;
|
|
234
267
|
startedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
235
268
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
236
269
|
};
|
|
@@ -282,8 +315,8 @@ export type IPlayerStateResolvers<ContextType = any, ParentType extends IResolve
|
|
|
282
315
|
|
|
283
316
|
export type IPlayingStreakResolvers<ContextType = any, ParentType extends IResolversParentTypes['PlayingStreak'] = IResolversParentTypes['PlayingStreak']> = {
|
|
284
317
|
streakId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
285
|
-
status?: Resolver<IResolversTypes['
|
|
286
|
-
type?: Resolver<IResolversTypes['
|
|
318
|
+
status?: Resolver<IResolversTypes['PlayingStreakStatus'], ParentType, ContextType>;
|
|
319
|
+
type?: Resolver<IResolversTypes['PlayingStreakType'], ParentType, ContextType>;
|
|
287
320
|
startedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
288
321
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
289
322
|
};
|
package/src/hosts/index.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ import * as preferencesSchema from "./graphql_tools/__generated__/preferencesHos
|
|
|
15
15
|
import * as searchSchema from "./graphql_tools/__generated__/searchHost/schema";
|
|
16
16
|
import * as formsSchema from "./graphql_tools/__generated__/formsHost/schema";
|
|
17
17
|
import * as tapsSchema from "./graphql_tools/__generated__/tapHost/schema";
|
|
18
|
+
import * as notificationsSchema from "./graphql_tools/__generated__/notificationsHost/schema";
|
|
18
19
|
|
|
19
20
|
const schema = {
|
|
20
21
|
...adminSchema,
|
|
@@ -30,8 +31,9 @@ const schema = {
|
|
|
30
31
|
...preferencesSchema,
|
|
31
32
|
...searchSchema,
|
|
32
33
|
...formsSchema,
|
|
33
|
-
...tapsSchema
|
|
34
|
-
|
|
34
|
+
...tapsSchema,
|
|
35
|
+
...notificationsSchema,
|
|
36
|
+
};
|
|
35
37
|
|
|
36
38
|
export {
|
|
37
39
|
hosts,
|
|
@@ -51,5 +53,6 @@ export {
|
|
|
51
53
|
preferencesSchema,
|
|
52
54
|
searchSchema,
|
|
53
55
|
formsSchema,
|
|
54
|
-
tapsSchema
|
|
56
|
+
tapsSchema,
|
|
57
|
+
notificationsSchema,
|
|
55
58
|
};
|