@ludo.ninja/api 2.8.89 → 2.8.91
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__/identityHost/schema.d.ts +4 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +29 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +27 -1
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +6 -2
- package/build/graphql_tools/__generated__/tapHost/schema.js +4 -0
- package/build/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +4 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +37 -0
- package/src/graphql_tools/__generated__/tapHost/schema.ts +10 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -71,6 +71,8 @@ export type IIdentity = {
|
|
|
71
71
|
role: IRole;
|
|
72
72
|
newUser?: Maybe<Scalars['Boolean']>;
|
|
73
73
|
inviteCode?: Maybe<Scalars['String']>;
|
|
74
|
+
refypeId?: Maybe<Scalars['ID']>;
|
|
75
|
+
reftypeName?: Maybe<Scalars['String']>;
|
|
74
76
|
};
|
|
75
77
|
export type IInputProfile = {
|
|
76
78
|
username?: Maybe<Scalars['String']>;
|
|
@@ -489,6 +491,8 @@ export type IIdentityResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
489
491
|
role?: Resolver<IResolversTypes['Role'], ParentType, ContextType>;
|
|
490
492
|
newUser?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
491
493
|
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
494
|
+
refypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
495
|
+
reftypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
492
496
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
493
497
|
};
|
|
494
498
|
export type IInviteCodeResolvers<ContextType = any, ParentType extends IResolversParentTypes['InviteCode'] = IResolversParentTypes['InviteCode']> = {
|
|
@@ -432,6 +432,10 @@ export type ICreateOpportunityMutationVariables = Exact<{
|
|
|
432
432
|
input: IOpportunityInput;
|
|
433
433
|
}>;
|
|
434
434
|
export type ICreateOpportunityMutation = Pick<IMutation, 'createOpportunity'>;
|
|
435
|
+
export type IHideOpportunityMutationVariables = Exact<{
|
|
436
|
+
opportunityId: Scalars['ID'];
|
|
437
|
+
}>;
|
|
438
|
+
export type IHideOpportunityMutation = Pick<IMutation, 'hideOpportunity'>;
|
|
435
439
|
export type IOpenOpportunityMutationVariables = Exact<{
|
|
436
440
|
opportunityId: Scalars['ID'];
|
|
437
441
|
}>;
|
|
@@ -532,6 +536,31 @@ export declare function useCreateOpportunityMutation(baseOptions?: Apollo.Mutati
|
|
|
532
536
|
export type CreateOpportunityMutationHookResult = ReturnType<typeof useCreateOpportunityMutation>;
|
|
533
537
|
export type CreateOpportunityMutationResult = Apollo.MutationResult<ICreateOpportunityMutation>;
|
|
534
538
|
export type CreateOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateOpportunityMutation, ICreateOpportunityMutationVariables>;
|
|
539
|
+
export declare const HideOpportunityDocument: Apollo.DocumentNode;
|
|
540
|
+
export type IHideOpportunityMutationFn = Apollo.MutationFunction<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
541
|
+
/**
|
|
542
|
+
* __useHideOpportunityMutation__
|
|
543
|
+
*
|
|
544
|
+
* To run a mutation, you first call `useHideOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
545
|
+
* When your component renders, `useHideOpportunityMutation` returns a tuple that includes:
|
|
546
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
547
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
548
|
+
*
|
|
549
|
+
* @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;
|
|
550
|
+
*
|
|
551
|
+
* @example
|
|
552
|
+
* const [hideOpportunityMutation, { data, loading, error }] = useHideOpportunityMutation({
|
|
553
|
+
* variables: {
|
|
554
|
+
* opportunityId: // value for 'opportunityId'
|
|
555
|
+
* },
|
|
556
|
+
* });
|
|
557
|
+
*/
|
|
558
|
+
export declare function useHideOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>): Apollo.MutationTuple<IHideOpportunityMutation, Exact<{
|
|
559
|
+
opportunityId: string;
|
|
560
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
561
|
+
export type HideOpportunityMutationHookResult = ReturnType<typeof useHideOpportunityMutation>;
|
|
562
|
+
export type HideOpportunityMutationResult = Apollo.MutationResult<IHideOpportunityMutation>;
|
|
563
|
+
export type HideOpportunityMutationOptions = Apollo.BaseMutationOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
535
564
|
export declare const OpenOpportunityDocument: Apollo.DocumentNode;
|
|
536
565
|
export type IOpenOpportunityMutationFn = Apollo.MutationFunction<IOpenOpportunityMutation, IOpenOpportunityMutationVariables>;
|
|
537
566
|
/**
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useFetchOpportunitiesForProfileLazyQuery = exports.useFetchOpportunitiesForProfileQuery = exports.FetchOpportunitiesForProfileDocument = exports.useFetchOpportunitiesByIdsLazyQuery = exports.useFetchOpportunitiesByIdsQuery = exports.FetchOpportunitiesByIdsDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = void 0;
|
|
26
|
+
exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useFetchOpportunitiesForProfileLazyQuery = exports.useFetchOpportunitiesForProfileQuery = exports.FetchOpportunitiesForProfileDocument = exports.useFetchOpportunitiesByIdsLazyQuery = exports.useFetchOpportunitiesByIdsQuery = exports.FetchOpportunitiesByIdsDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useHideOpportunityMutation = exports.HideOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = void 0;
|
|
27
27
|
const client_1 = require("@apollo/client");
|
|
28
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
29
|
exports.DislikeOpportunityDocument = (0, client_1.gql) `
|
|
@@ -104,6 +104,32 @@ function useCreateOpportunityMutation(baseOptions) {
|
|
|
104
104
|
return Apollo.useMutation(exports.CreateOpportunityDocument, baseOptions);
|
|
105
105
|
}
|
|
106
106
|
exports.useCreateOpportunityMutation = useCreateOpportunityMutation;
|
|
107
|
+
exports.HideOpportunityDocument = (0, client_1.gql) `
|
|
108
|
+
mutation HideOpportunity($opportunityId: ID!) {
|
|
109
|
+
hideOpportunity(opportunityId: $opportunityId)
|
|
110
|
+
}
|
|
111
|
+
`;
|
|
112
|
+
/**
|
|
113
|
+
* __useHideOpportunityMutation__
|
|
114
|
+
*
|
|
115
|
+
* To run a mutation, you first call `useHideOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
116
|
+
* When your component renders, `useHideOpportunityMutation` returns a tuple that includes:
|
|
117
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
118
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
119
|
+
*
|
|
120
|
+
* @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;
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* const [hideOpportunityMutation, { data, loading, error }] = useHideOpportunityMutation({
|
|
124
|
+
* variables: {
|
|
125
|
+
* opportunityId: // value for 'opportunityId'
|
|
126
|
+
* },
|
|
127
|
+
* });
|
|
128
|
+
*/
|
|
129
|
+
function useHideOpportunityMutation(baseOptions) {
|
|
130
|
+
return Apollo.useMutation(exports.HideOpportunityDocument, baseOptions);
|
|
131
|
+
}
|
|
132
|
+
exports.useHideOpportunityMutation = useHideOpportunityMutation;
|
|
107
133
|
exports.OpenOpportunityDocument = (0, client_1.gql) `
|
|
108
134
|
mutation OpenOpportunity($opportunityId: ID!) {
|
|
109
135
|
openOpportunity(opportunityId: $opportunityId)
|
|
@@ -40,6 +40,8 @@ export type IFarmingTask = {
|
|
|
40
40
|
taskId: Scalars['ID'];
|
|
41
41
|
status: IFarmingStatus;
|
|
42
42
|
startedAt: Scalars['Long'];
|
|
43
|
+
claimDelayMs: Scalars['Long'];
|
|
44
|
+
rewardCoins: Scalars['Int'];
|
|
43
45
|
};
|
|
44
46
|
export type IFrensData = {
|
|
45
47
|
activeInviteCodes: Array<IActiveInviteCode>;
|
|
@@ -205,6 +207,8 @@ export type IFarmingTaskResolvers<ContextType = any, ParentType extends IResolve
|
|
|
205
207
|
taskId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
206
208
|
status?: Resolver<IResolversTypes['FarmingStatus'], ParentType, ContextType>;
|
|
207
209
|
startedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
210
|
+
claimDelayMs?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
211
|
+
rewardCoins?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
208
212
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
209
213
|
};
|
|
210
214
|
export type IFrensDataResolvers<ContextType = any, ParentType extends IResolversParentTypes['FrensData'] = IResolversParentTypes['FrensData']> = {
|
|
@@ -321,7 +325,7 @@ export type IFetchPlayerStateQueryVariables = Exact<{
|
|
|
321
325
|
}>;
|
|
322
326
|
export type IFetchPlayerStateQuery = {
|
|
323
327
|
fetchPlayerState: (Pick<IPlayerState, 'userId' | 'coins'> & {
|
|
324
|
-
farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>;
|
|
328
|
+
farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt' | 'claimDelayMs' | 'rewardCoins'>>;
|
|
325
329
|
playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>;
|
|
326
330
|
notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>>;
|
|
327
331
|
});
|
|
@@ -331,7 +335,7 @@ export type IOnPlayerStateUpdatedSubscriptionVariables = Exact<{
|
|
|
331
335
|
}>;
|
|
332
336
|
export type IOnPlayerStateUpdatedSubscription = {
|
|
333
337
|
onPlayerStateUpdated: (Pick<IPlayerState, 'userId' | 'coins'> & {
|
|
334
|
-
farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>;
|
|
338
|
+
farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt' | 'claimDelayMs' | 'rewardCoins'>>;
|
|
335
339
|
playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>;
|
|
336
340
|
notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>>;
|
|
337
341
|
});
|
|
@@ -260,6 +260,8 @@ exports.FetchPlayerStateDocument = (0, client_1.gql) `
|
|
|
260
260
|
taskId
|
|
261
261
|
status
|
|
262
262
|
startedAt
|
|
263
|
+
claimDelayMs
|
|
264
|
+
rewardCoins
|
|
263
265
|
}
|
|
264
266
|
playingStreaks {
|
|
265
267
|
streakId
|
|
@@ -311,6 +313,8 @@ exports.OnPlayerStateUpdatedDocument = (0, client_1.gql) `
|
|
|
311
313
|
taskId
|
|
312
314
|
status
|
|
313
315
|
startedAt
|
|
316
|
+
claimDelayMs
|
|
317
|
+
rewardCoins
|
|
314
318
|
}
|
|
315
319
|
playingStreaks {
|
|
316
320
|
streakId
|
package/build/index.d.ts
CHANGED
|
@@ -516,6 +516,11 @@ declare const schema: {
|
|
|
516
516
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.ICreateOpportunityMutation, opportunitiesSchema.Exact<{
|
|
517
517
|
input: opportunitiesSchema.IOpportunityInput;
|
|
518
518
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
519
|
+
useHideOpportunityMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.IHideOpportunityMutation, opportunitiesSchema.Exact<{
|
|
520
|
+
opportunityId: string;
|
|
521
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IHideOpportunityMutation, opportunitiesSchema.Exact<{
|
|
522
|
+
opportunityId: string;
|
|
523
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
519
524
|
useOpenOpportunityMutation(baseOptions?: import("@apollo/client").MutationHookOptions<opportunitiesSchema.IOpenOpportunityMutation, opportunitiesSchema.Exact<{
|
|
520
525
|
opportunityId: string;
|
|
521
526
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<opportunitiesSchema.IOpenOpportunityMutation, opportunitiesSchema.Exact<{
|
|
@@ -554,6 +559,7 @@ declare const schema: {
|
|
|
554
559
|
DislikeOpportunityDocument: import("graphql").DocumentNode;
|
|
555
560
|
LikeOpportunityDocument: import("graphql").DocumentNode;
|
|
556
561
|
CreateOpportunityDocument: import("graphql").DocumentNode;
|
|
562
|
+
HideOpportunityDocument: import("graphql").DocumentNode;
|
|
557
563
|
OpenOpportunityDocument: import("graphql").DocumentNode;
|
|
558
564
|
FetchOpportunitiesByIdsDocument: import("graphql").DocumentNode;
|
|
559
565
|
FetchOpportunitiesForProfileDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -76,6 +76,8 @@ export type IIdentity = {
|
|
|
76
76
|
role: IRole;
|
|
77
77
|
newUser?: Maybe<Scalars['Boolean']>;
|
|
78
78
|
inviteCode?: Maybe<Scalars['String']>;
|
|
79
|
+
refypeId?: Maybe<Scalars['ID']>;
|
|
80
|
+
reftypeName?: Maybe<Scalars['String']>;
|
|
79
81
|
};
|
|
80
82
|
|
|
81
83
|
export type IInputProfile = {
|
|
@@ -626,6 +628,8 @@ export type IIdentityResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
626
628
|
role?: Resolver<IResolversTypes['Role'], ParentType, ContextType>;
|
|
627
629
|
newUser?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
628
630
|
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
631
|
+
refypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
632
|
+
reftypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
629
633
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
630
634
|
};
|
|
631
635
|
|
|
@@ -535,6 +535,13 @@ export type ICreateOpportunityMutationVariables = Exact<{
|
|
|
535
535
|
|
|
536
536
|
export type ICreateOpportunityMutation = Pick<IMutation, 'createOpportunity'>;
|
|
537
537
|
|
|
538
|
+
export type IHideOpportunityMutationVariables = Exact<{
|
|
539
|
+
opportunityId: Scalars['ID'];
|
|
540
|
+
}>;
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
export type IHideOpportunityMutation = Pick<IMutation, 'hideOpportunity'>;
|
|
544
|
+
|
|
538
545
|
export type IOpenOpportunityMutationVariables = Exact<{
|
|
539
546
|
opportunityId: Scalars['ID'];
|
|
540
547
|
}>;
|
|
@@ -652,6 +659,36 @@ export function useCreateOpportunityMutation(baseOptions?: Apollo.MutationHookOp
|
|
|
652
659
|
export type CreateOpportunityMutationHookResult = ReturnType<typeof useCreateOpportunityMutation>;
|
|
653
660
|
export type CreateOpportunityMutationResult = Apollo.MutationResult<ICreateOpportunityMutation>;
|
|
654
661
|
export type CreateOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateOpportunityMutation, ICreateOpportunityMutationVariables>;
|
|
662
|
+
export const HideOpportunityDocument = gql`
|
|
663
|
+
mutation HideOpportunity($opportunityId: ID!) {
|
|
664
|
+
hideOpportunity(opportunityId: $opportunityId)
|
|
665
|
+
}
|
|
666
|
+
`;
|
|
667
|
+
export type IHideOpportunityMutationFn = Apollo.MutationFunction<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* __useHideOpportunityMutation__
|
|
671
|
+
*
|
|
672
|
+
* To run a mutation, you first call `useHideOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
673
|
+
* When your component renders, `useHideOpportunityMutation` returns a tuple that includes:
|
|
674
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
675
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
676
|
+
*
|
|
677
|
+
* @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;
|
|
678
|
+
*
|
|
679
|
+
* @example
|
|
680
|
+
* const [hideOpportunityMutation, { data, loading, error }] = useHideOpportunityMutation({
|
|
681
|
+
* variables: {
|
|
682
|
+
* opportunityId: // value for 'opportunityId'
|
|
683
|
+
* },
|
|
684
|
+
* });
|
|
685
|
+
*/
|
|
686
|
+
export function useHideOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>) {
|
|
687
|
+
return Apollo.useMutation<IHideOpportunityMutation, IHideOpportunityMutationVariables>(HideOpportunityDocument, baseOptions);
|
|
688
|
+
}
|
|
689
|
+
export type HideOpportunityMutationHookResult = ReturnType<typeof useHideOpportunityMutation>;
|
|
690
|
+
export type HideOpportunityMutationResult = Apollo.MutationResult<IHideOpportunityMutation>;
|
|
691
|
+
export type HideOpportunityMutationOptions = Apollo.BaseMutationOptions<IHideOpportunityMutation, IHideOpportunityMutationVariables>;
|
|
655
692
|
export const OpenOpportunityDocument = gql`
|
|
656
693
|
mutation OpenOpportunity($opportunityId: ID!) {
|
|
657
694
|
openOpportunity(opportunityId: $opportunityId)
|
|
@@ -36,6 +36,8 @@ export type IFarmingTask = {
|
|
|
36
36
|
taskId: Scalars['ID'];
|
|
37
37
|
status: IFarmingStatus;
|
|
38
38
|
startedAt: Scalars['Long'];
|
|
39
|
+
claimDelayMs: Scalars['Long'];
|
|
40
|
+
rewardCoins: Scalars['Int'];
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
export type IFrensData = {
|
|
@@ -270,6 +272,8 @@ export type IFarmingTaskResolvers<ContextType = any, ParentType extends IResolve
|
|
|
270
272
|
taskId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
271
273
|
status?: Resolver<IResolversTypes['FarmingStatus'], ParentType, ContextType>;
|
|
272
274
|
startedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
275
|
+
claimDelayMs?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
276
|
+
rewardCoins?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
273
277
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
274
278
|
};
|
|
275
279
|
|
|
@@ -411,7 +415,7 @@ export type IFetchPlayerStateQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
411
415
|
|
|
412
416
|
export type IFetchPlayerStateQuery = { fetchPlayerState: (
|
|
413
417
|
Pick<IPlayerState, 'userId' | 'coins'>
|
|
414
|
-
& { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
|
|
418
|
+
& { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt' | 'claimDelayMs' | 'rewardCoins'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
|
|
415
419
|
) };
|
|
416
420
|
|
|
417
421
|
export type IOnPlayerStateUpdatedSubscriptionVariables = Exact<{
|
|
@@ -421,7 +425,7 @@ export type IOnPlayerStateUpdatedSubscriptionVariables = Exact<{
|
|
|
421
425
|
|
|
422
426
|
export type IOnPlayerStateUpdatedSubscription = { onPlayerStateUpdated: (
|
|
423
427
|
Pick<IPlayerState, 'userId' | 'coins'>
|
|
424
|
-
& { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
|
|
428
|
+
& { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt' | 'claimDelayMs' | 'rewardCoins'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
|
|
425
429
|
) };
|
|
426
430
|
|
|
427
431
|
|
|
@@ -656,6 +660,8 @@ export const FetchPlayerStateDocument = gql`
|
|
|
656
660
|
taskId
|
|
657
661
|
status
|
|
658
662
|
startedAt
|
|
663
|
+
claimDelayMs
|
|
664
|
+
rewardCoins
|
|
659
665
|
}
|
|
660
666
|
playingStreaks {
|
|
661
667
|
streakId
|
|
@@ -709,6 +715,8 @@ export const OnPlayerStateUpdatedDocument = gql`
|
|
|
709
715
|
taskId
|
|
710
716
|
status
|
|
711
717
|
startedAt
|
|
718
|
+
claimDelayMs
|
|
719
|
+
rewardCoins
|
|
712
720
|
}
|
|
713
721
|
playingStreaks {
|
|
714
722
|
streakId
|