@ludo.ninja/api 2.9.0 → 2.9.2
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__/adminHost/schema.d.ts +64 -1
- package/build/graphql_tools/__generated__/adminHost/schema.js +36 -3
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +0 -7
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +27 -2
- package/build/index.d.ts +9 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +79 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +0 -9
- package/src/graphql_tools/__generated__/tapHost/schema.ts +31 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -61,7 +61,6 @@ export type IMutation = {
|
|
|
61
61
|
updateOpportunity: Scalars['Boolean'];
|
|
62
62
|
likeOpportunity: Scalars['Boolean'];
|
|
63
63
|
dislikeOpportunity: Scalars['Boolean'];
|
|
64
|
-
testNotifyUser: Scalars['Boolean'];
|
|
65
64
|
};
|
|
66
65
|
|
|
67
66
|
|
|
@@ -117,13 +116,6 @@ export type IMutationDislikeOpportunityArgs = {
|
|
|
117
116
|
opportunityId: Scalars['String'];
|
|
118
117
|
};
|
|
119
118
|
|
|
120
|
-
|
|
121
|
-
export type IMutationTestNotifyUserArgs = {
|
|
122
|
-
blockchain?: Maybe<Scalars['String']>;
|
|
123
|
-
address?: Maybe<Scalars['String']>;
|
|
124
|
-
opportunityId?: Maybe<Scalars['ID']>;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
119
|
export type IOpportunitiesPage = {
|
|
128
120
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
129
121
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -408,7 +400,6 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
408
400
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'opportunityId' | 'input'>>;
|
|
409
401
|
likeOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationLikeOpportunityArgs, 'opportunityId'>>;
|
|
410
402
|
dislikeOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationDislikeOpportunityArgs, 'opportunityId'>>;
|
|
411
|
-
testNotifyUser?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationTestNotifyUserArgs>>;
|
|
412
403
|
};
|
|
413
404
|
|
|
414
405
|
export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
|
|
@@ -25,6 +25,12 @@ export type IActiveInviteCode = {
|
|
|
25
25
|
maxUsagesLimit: Scalars['Int'];
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
+
export type IEnergy = {
|
|
29
|
+
availableTapsNum: Scalars['Int'];
|
|
30
|
+
fullEnergyTapsNum: Scalars['Int'];
|
|
31
|
+
refillSpeedTapsPerMs: Scalars['Float'];
|
|
32
|
+
};
|
|
33
|
+
|
|
28
34
|
/** Please, manually sync with FarmingStatus.java */
|
|
29
35
|
export enum IFarmingStatus {
|
|
30
36
|
InProgress = 'IN_PROGRESS',
|
|
@@ -63,6 +69,7 @@ export type IMutation = {
|
|
|
63
69
|
markNotificationAsShown: Scalars['Boolean'];
|
|
64
70
|
markNotificationAsRead: Scalars['Boolean'];
|
|
65
71
|
markNotificationAsNew: Scalars['Boolean'];
|
|
72
|
+
registerTaps: IEnergy;
|
|
66
73
|
};
|
|
67
74
|
|
|
68
75
|
|
|
@@ -85,9 +92,14 @@ export type IMutationMarkNotificationAsNewArgs = {
|
|
|
85
92
|
notificationId: Scalars['ID'];
|
|
86
93
|
};
|
|
87
94
|
|
|
95
|
+
|
|
96
|
+
export type IMutationRegisterTapsArgs = {
|
|
97
|
+
tapsNum?: Maybe<Scalars['Int']>;
|
|
98
|
+
};
|
|
99
|
+
|
|
88
100
|
export type INotification = {
|
|
89
101
|
notificationId: Scalars['ID'];
|
|
90
|
-
status:
|
|
102
|
+
status: INotificationStatus;
|
|
91
103
|
text: Scalars['String'];
|
|
92
104
|
createdAt: Scalars['Long'];
|
|
93
105
|
};
|
|
@@ -103,6 +115,7 @@ export type IPlayerState = {
|
|
|
103
115
|
userId: Scalars['ID'];
|
|
104
116
|
coins: Scalars['Int'];
|
|
105
117
|
farmingTask?: Maybe<IFarmingTask>;
|
|
118
|
+
energy: IEnergy;
|
|
106
119
|
playingStreaks: Array<IPlayingStreak>;
|
|
107
120
|
notifications: Array<INotification>;
|
|
108
121
|
};
|
|
@@ -136,6 +149,7 @@ export type IQuery = {
|
|
|
136
149
|
getDummy: Scalars['String'];
|
|
137
150
|
fetchPlayerState: IPlayerState;
|
|
138
151
|
fetchFrensData: IFrensData;
|
|
152
|
+
fetchEnergy: IEnergy;
|
|
139
153
|
};
|
|
140
154
|
|
|
141
155
|
export type ISubscription = {
|
|
@@ -220,6 +234,8 @@ export type IResolversTypes = {
|
|
|
220
234
|
ActiveInviteCode: ResolverTypeWrapper<IActiveInviteCode>;
|
|
221
235
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
222
236
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
237
|
+
Energy: ResolverTypeWrapper<IEnergy>;
|
|
238
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
223
239
|
FarmingStatus: IFarmingStatus;
|
|
224
240
|
FarmingTask: ResolverTypeWrapper<IFarmingTask>;
|
|
225
241
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
@@ -243,6 +259,8 @@ export type IResolversParentTypes = {
|
|
|
243
259
|
ActiveInviteCode: IActiveInviteCode;
|
|
244
260
|
String: Scalars['String'];
|
|
245
261
|
Int: Scalars['Int'];
|
|
262
|
+
Energy: IEnergy;
|
|
263
|
+
Float: Scalars['Float'];
|
|
246
264
|
FarmingTask: IFarmingTask;
|
|
247
265
|
ID: Scalars['ID'];
|
|
248
266
|
FrensData: IFrensData;
|
|
@@ -268,6 +286,13 @@ export type IActiveInviteCodeResolvers<ContextType = any, ParentType extends IRe
|
|
|
268
286
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
269
287
|
};
|
|
270
288
|
|
|
289
|
+
export type IEnergyResolvers<ContextType = any, ParentType extends IResolversParentTypes['Energy'] = IResolversParentTypes['Energy']> = {
|
|
290
|
+
availableTapsNum?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
291
|
+
fullEnergyTapsNum?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
292
|
+
refillSpeedTapsPerMs?: Resolver<IResolversTypes['Float'], ParentType, ContextType>;
|
|
293
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
294
|
+
};
|
|
295
|
+
|
|
271
296
|
export type IFarmingTaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['FarmingTask'] = IResolversParentTypes['FarmingTask']> = {
|
|
272
297
|
taskId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
273
298
|
status?: Resolver<IResolversTypes['FarmingStatus'], ParentType, ContextType>;
|
|
@@ -305,11 +330,12 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
305
330
|
markNotificationAsShown?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationMarkNotificationAsShownArgs, 'notificationId'>>;
|
|
306
331
|
markNotificationAsRead?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationMarkNotificationAsReadArgs, 'notificationId'>>;
|
|
307
332
|
markNotificationAsNew?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationMarkNotificationAsNewArgs, 'notificationId'>>;
|
|
333
|
+
registerTaps?: Resolver<IResolversTypes['Energy'], ParentType, ContextType, Partial<IMutationRegisterTapsArgs>>;
|
|
308
334
|
};
|
|
309
335
|
|
|
310
336
|
export type INotificationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Notification'] = IResolversParentTypes['Notification']> = {
|
|
311
337
|
notificationId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
312
|
-
status?: Resolver<IResolversTypes['
|
|
338
|
+
status?: Resolver<IResolversTypes['NotificationStatus'], ParentType, ContextType>;
|
|
313
339
|
text?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
314
340
|
createdAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
315
341
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
@@ -319,6 +345,7 @@ export type IPlayerStateResolvers<ContextType = any, ParentType extends IResolve
|
|
|
319
345
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
320
346
|
coins?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
321
347
|
farmingTask?: Resolver<Maybe<IResolversTypes['FarmingTask']>, ParentType, ContextType>;
|
|
348
|
+
energy?: Resolver<IResolversTypes['Energy'], ParentType, ContextType>;
|
|
322
349
|
playingStreaks?: Resolver<Array<IResolversTypes['PlayingStreak']>, ParentType, ContextType>;
|
|
323
350
|
notifications?: Resolver<Array<IResolversTypes['Notification']>, ParentType, ContextType>;
|
|
324
351
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
@@ -339,6 +366,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
339
366
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
340
367
|
fetchPlayerState?: Resolver<IResolversTypes['PlayerState'], ParentType, ContextType>;
|
|
341
368
|
fetchFrensData?: Resolver<IResolversTypes['FrensData'], ParentType, ContextType>;
|
|
369
|
+
fetchEnergy?: Resolver<IResolversTypes['Energy'], ParentType, ContextType>;
|
|
342
370
|
};
|
|
343
371
|
|
|
344
372
|
export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Subscription'] = IResolversParentTypes['Subscription']> = {
|
|
@@ -348,6 +376,7 @@ export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolv
|
|
|
348
376
|
|
|
349
377
|
export type IResolvers<ContextType = any> = {
|
|
350
378
|
ActiveInviteCode?: IActiveInviteCodeResolvers<ContextType>;
|
|
379
|
+
Energy?: IEnergyResolvers<ContextType>;
|
|
351
380
|
FarmingTask?: IFarmingTaskResolvers<ContextType>;
|
|
352
381
|
FrensData?: IFrensDataResolvers<ContextType>;
|
|
353
382
|
Friend?: IFriendResolvers<ContextType>;
|