@ludo.ninja/api 3.2.44 → 3.2.45
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__/experiencesHost/schema.d.ts +21 -178
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +14 -173
- package/build/index.d.ts +5 -35
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +32 -250
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -6,7 +6,6 @@ export type Maybe<T> = T | null;
|
|
|
6
6
|
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
7
7
|
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
8
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
9
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
11
10
|
export type Scalars = {
|
|
12
11
|
ID: string;
|
|
@@ -19,6 +18,8 @@ export type Scalars = {
|
|
|
19
18
|
};
|
|
20
19
|
|
|
21
20
|
|
|
21
|
+
|
|
22
|
+
|
|
22
23
|
export type IActivityStreak = {
|
|
23
24
|
userId: Scalars['ID'];
|
|
24
25
|
totalDays: Scalars['Int'];
|
|
@@ -52,31 +53,6 @@ export type IQuery = {
|
|
|
52
53
|
|
|
53
54
|
export type ISubscription = {
|
|
54
55
|
onDummy: Scalars['String'];
|
|
55
|
-
onMyExperienceUpdated: IUserXp;
|
|
56
|
-
onMyExperienceIncremented: IUserXpIncrement;
|
|
57
|
-
onInviteCodeUsed: IUsedInviteCode;
|
|
58
|
-
onCommonOpportunityNotification: IOpportunityNotification;
|
|
59
|
-
onUserOpportunityNotification: IOpportunityNotification;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export type ISubscriptionOnMyExperienceUpdatedArgs = {
|
|
64
|
-
authToken: Scalars['String'];
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export type ISubscriptionOnMyExperienceIncrementedArgs = {
|
|
69
|
-
authToken: Scalars['String'];
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
export type ISubscriptionOnInviteCodeUsedArgs = {
|
|
74
|
-
authToken: Scalars['String'];
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
export type ISubscriptionOnUserOpportunityNotificationArgs = {
|
|
79
|
-
authToken: Scalars['String'];
|
|
80
56
|
};
|
|
81
57
|
|
|
82
58
|
export type ITask = {
|
|
@@ -218,6 +194,17 @@ export type IResolversParentTypes = {
|
|
|
218
194
|
UserXPIncrement: IUserXpIncrement;
|
|
219
195
|
};
|
|
220
196
|
|
|
197
|
+
export type IDeferDirectiveArgs = {
|
|
198
|
+
if?: Scalars['Boolean'];
|
|
199
|
+
label?: Maybe<Scalars['String']>;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
203
|
+
|
|
204
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
205
|
+
|
|
206
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
207
|
+
|
|
221
208
|
export type IOneOfDirectiveArgs = { };
|
|
222
209
|
|
|
223
210
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -260,11 +247,6 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
260
247
|
|
|
261
248
|
export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Subscription'] = IResolversParentTypes['Subscription']> = {
|
|
262
249
|
onDummy?: SubscriptionResolver<IResolversTypes['String'], "onDummy", ParentType, ContextType>;
|
|
263
|
-
onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
|
|
264
|
-
onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
|
|
265
|
-
onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
|
|
266
|
-
onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
|
|
267
|
-
onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
|
|
268
250
|
};
|
|
269
251
|
|
|
270
252
|
export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
|
|
@@ -321,6 +303,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
321
303
|
};
|
|
322
304
|
|
|
323
305
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
306
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
307
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
324
308
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
325
309
|
};
|
|
326
310
|
|
|
@@ -329,10 +313,10 @@ export type IFetchMyActivityStreakQueryVariables = Exact<{ [key: string]: never;
|
|
|
329
313
|
|
|
330
314
|
export type IFetchMyActivityStreakQuery = { fetchMyActivityStreak?: Maybe<Pick<IActivityStreak, 'userId' | 'totalDays' | 'nextStreak' | 'nextBonus'>> };
|
|
331
315
|
|
|
332
|
-
export type
|
|
316
|
+
export type IFetchMyExperienceQueryVariables = Exact<{ [key: string]: never; }>;
|
|
333
317
|
|
|
334
318
|
|
|
335
|
-
export type
|
|
319
|
+
export type IFetchMyExperienceQuery = Pick<IQuery, 'fetchMyExperience'>;
|
|
336
320
|
|
|
337
321
|
export type IFetchMyMonthReferralsXpsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
338
322
|
|
|
@@ -344,39 +328,6 @@ export type IFetchMyTasksQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
344
328
|
|
|
345
329
|
export type IFetchMyTasksQuery = { fetchMyTasks: Array<Maybe<Pick<ITask, 'taskId' | 'userId' | 'taskType' | 'name' | 'description' | 'repeatable' | 'maxRepeats' | 'minPointsAward' | 'maxPointsAward' | 'repeatsCompleted'>>> };
|
|
346
330
|
|
|
347
|
-
export type IOnCommonOpportunityNotificationSubscriptionVariables = Exact<{ [key: string]: never; }>;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
export type IOnCommonOpportunityNotificationSubscription = { onCommonOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'> };
|
|
351
|
-
|
|
352
|
-
export type IOnInviteCodeUsedSubscriptionVariables = Exact<{
|
|
353
|
-
authToken: Scalars['String'];
|
|
354
|
-
}>;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
export type IOnInviteCodeUsedSubscription = { onInviteCodeUsed: Pick<IUsedInviteCode, 'userId' | 'inviteCode' | 'inviteeId'> };
|
|
358
|
-
|
|
359
|
-
export type IOnMyExperienceIncrementedSubscriptionVariables = Exact<{
|
|
360
|
-
authToken: Scalars['String'];
|
|
361
|
-
}>;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
export type IOnMyExperienceIncrementedSubscription = { onMyExperienceIncremented: Pick<IUserXpIncrement, 'xpsIncrement' | 'description' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> };
|
|
365
|
-
|
|
366
|
-
export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
|
|
367
|
-
authToken: Scalars['String'];
|
|
368
|
-
}>;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
export type IOnMyExperienceUpdatedSubscription = { onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> };
|
|
372
|
-
|
|
373
|
-
export type IOnUserOpportunityNotificationSubscriptionVariables = Exact<{
|
|
374
|
-
authToken: Scalars['String'];
|
|
375
|
-
}>;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
export type IOnUserOpportunityNotificationSubscription = { onUserOpportunityNotification: Pick<IOpportunityNotification, 'opportunityId' | 'name' | 'description' | 'notificationType' | 'media' | 'projectUrl'> };
|
|
379
|
-
|
|
380
331
|
|
|
381
332
|
export const FetchMyActivityStreakDocument = gql`
|
|
382
333
|
query FetchMyActivityStreak {
|
|
@@ -413,41 +364,36 @@ export function useFetchMyActivityStreakLazyQuery(baseOptions?: Apollo.LazyQuery
|
|
|
413
364
|
export type FetchMyActivityStreakQueryHookResult = ReturnType<typeof useFetchMyActivityStreakQuery>;
|
|
414
365
|
export type FetchMyActivityStreakLazyQueryHookResult = ReturnType<typeof useFetchMyActivityStreakLazyQuery>;
|
|
415
366
|
export type FetchMyActivityStreakQueryResult = Apollo.QueryResult<IFetchMyActivityStreakQuery, IFetchMyActivityStreakQueryVariables>;
|
|
416
|
-
export const
|
|
417
|
-
query
|
|
418
|
-
|
|
419
|
-
xps
|
|
420
|
-
level
|
|
421
|
-
levelMaxXps
|
|
422
|
-
levelMinXps
|
|
423
|
-
}
|
|
367
|
+
export const FetchMyExperienceDocument = gql`
|
|
368
|
+
query FetchMyExperience {
|
|
369
|
+
fetchMyExperience
|
|
424
370
|
}
|
|
425
371
|
`;
|
|
426
372
|
|
|
427
373
|
/**
|
|
428
|
-
*
|
|
374
|
+
* __useFetchMyExperienceQuery__
|
|
429
375
|
*
|
|
430
|
-
* To run a query within a React component, call `
|
|
431
|
-
* When your component renders, `
|
|
376
|
+
* To run a query within a React component, call `useFetchMyExperienceQuery` and pass it any options that fit your needs.
|
|
377
|
+
* When your component renders, `useFetchMyExperienceQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
432
378
|
* you can use to render your UI.
|
|
433
379
|
*
|
|
434
380
|
* @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;
|
|
435
381
|
*
|
|
436
382
|
* @example
|
|
437
|
-
* const { data, loading, error } =
|
|
383
|
+
* const { data, loading, error } = useFetchMyExperienceQuery({
|
|
438
384
|
* variables: {
|
|
439
385
|
* },
|
|
440
386
|
* });
|
|
441
387
|
*/
|
|
442
|
-
export function
|
|
443
|
-
return Apollo.useQuery<
|
|
388
|
+
export function useFetchMyExperienceQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>) {
|
|
389
|
+
return Apollo.useQuery<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>(FetchMyExperienceDocument, baseOptions);
|
|
444
390
|
}
|
|
445
|
-
export function
|
|
446
|
-
return Apollo.useLazyQuery<
|
|
391
|
+
export function useFetchMyExperienceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>) {
|
|
392
|
+
return Apollo.useLazyQuery<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>(FetchMyExperienceDocument, baseOptions);
|
|
447
393
|
}
|
|
448
|
-
export type
|
|
449
|
-
export type
|
|
450
|
-
export type
|
|
394
|
+
export type FetchMyExperienceQueryHookResult = ReturnType<typeof useFetchMyExperienceQuery>;
|
|
395
|
+
export type FetchMyExperienceLazyQueryHookResult = ReturnType<typeof useFetchMyExperienceLazyQuery>;
|
|
396
|
+
export type FetchMyExperienceQueryResult = Apollo.QueryResult<IFetchMyExperienceQuery, IFetchMyExperienceQueryVariables>;
|
|
451
397
|
export const FetchMyMonthReferralsXpsDocument = gql`
|
|
452
398
|
query FetchMyMonthReferralsXps {
|
|
453
399
|
fetchMyMonthReferralsXps
|
|
@@ -518,168 +464,4 @@ export function useFetchMyTasksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptio
|
|
|
518
464
|
}
|
|
519
465
|
export type FetchMyTasksQueryHookResult = ReturnType<typeof useFetchMyTasksQuery>;
|
|
520
466
|
export type FetchMyTasksLazyQueryHookResult = ReturnType<typeof useFetchMyTasksLazyQuery>;
|
|
521
|
-
export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
|
|
522
|
-
export const OnCommonOpportunityNotificationDocument = gql`
|
|
523
|
-
subscription OnCommonOpportunityNotification {
|
|
524
|
-
onCommonOpportunityNotification {
|
|
525
|
-
opportunityId
|
|
526
|
-
name
|
|
527
|
-
description
|
|
528
|
-
notificationType
|
|
529
|
-
media
|
|
530
|
-
projectUrl
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
`;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* __useOnCommonOpportunityNotificationSubscription__
|
|
537
|
-
*
|
|
538
|
-
* To run a query within a React component, call `useOnCommonOpportunityNotificationSubscription` and pass it any options that fit your needs.
|
|
539
|
-
* When your component renders, `useOnCommonOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
540
|
-
* you can use to render your UI.
|
|
541
|
-
*
|
|
542
|
-
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
543
|
-
*
|
|
544
|
-
* @example
|
|
545
|
-
* const { data, loading, error } = useOnCommonOpportunityNotificationSubscription({
|
|
546
|
-
* variables: {
|
|
547
|
-
* },
|
|
548
|
-
* });
|
|
549
|
-
*/
|
|
550
|
-
export function useOnCommonOpportunityNotificationSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnCommonOpportunityNotificationSubscription, IOnCommonOpportunityNotificationSubscriptionVariables>) {
|
|
551
|
-
return Apollo.useSubscription<IOnCommonOpportunityNotificationSubscription, IOnCommonOpportunityNotificationSubscriptionVariables>(OnCommonOpportunityNotificationDocument, baseOptions);
|
|
552
|
-
}
|
|
553
|
-
export type OnCommonOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnCommonOpportunityNotificationSubscription>;
|
|
554
|
-
export type OnCommonOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnCommonOpportunityNotificationSubscription>;
|
|
555
|
-
export const OnInviteCodeUsedDocument = gql`
|
|
556
|
-
subscription onInviteCodeUsed($authToken: String!) {
|
|
557
|
-
onInviteCodeUsed(authToken: $authToken) {
|
|
558
|
-
userId
|
|
559
|
-
inviteCode
|
|
560
|
-
inviteeId
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
`;
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* __useOnInviteCodeUsedSubscription__
|
|
567
|
-
*
|
|
568
|
-
* To run a query within a React component, call `useOnInviteCodeUsedSubscription` and pass it any options that fit your needs.
|
|
569
|
-
* When your component renders, `useOnInviteCodeUsedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
570
|
-
* you can use to render your UI.
|
|
571
|
-
*
|
|
572
|
-
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
573
|
-
*
|
|
574
|
-
* @example
|
|
575
|
-
* const { data, loading, error } = useOnInviteCodeUsedSubscription({
|
|
576
|
-
* variables: {
|
|
577
|
-
* authToken: // value for 'authToken'
|
|
578
|
-
* },
|
|
579
|
-
* });
|
|
580
|
-
*/
|
|
581
|
-
export function useOnInviteCodeUsedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>) {
|
|
582
|
-
return Apollo.useSubscription<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>(OnInviteCodeUsedDocument, baseOptions);
|
|
583
|
-
}
|
|
584
|
-
export type OnInviteCodeUsedSubscriptionHookResult = ReturnType<typeof useOnInviteCodeUsedSubscription>;
|
|
585
|
-
export type OnInviteCodeUsedSubscriptionResult = Apollo.SubscriptionResult<IOnInviteCodeUsedSubscription>;
|
|
586
|
-
export const OnMyExperienceIncrementedDocument = gql`
|
|
587
|
-
subscription onMyExperienceIncremented($authToken: String!) {
|
|
588
|
-
onMyExperienceIncremented(authToken: $authToken) {
|
|
589
|
-
xpsIncrement
|
|
590
|
-
description
|
|
591
|
-
xps
|
|
592
|
-
level
|
|
593
|
-
levelMinXps
|
|
594
|
-
levelMaxXps
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
`;
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* __useOnMyExperienceIncrementedSubscription__
|
|
601
|
-
*
|
|
602
|
-
* To run a query within a React component, call `useOnMyExperienceIncrementedSubscription` and pass it any options that fit your needs.
|
|
603
|
-
* When your component renders, `useOnMyExperienceIncrementedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
604
|
-
* you can use to render your UI.
|
|
605
|
-
*
|
|
606
|
-
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
607
|
-
*
|
|
608
|
-
* @example
|
|
609
|
-
* const { data, loading, error } = useOnMyExperienceIncrementedSubscription({
|
|
610
|
-
* variables: {
|
|
611
|
-
* authToken: // value for 'authToken'
|
|
612
|
-
* },
|
|
613
|
-
* });
|
|
614
|
-
*/
|
|
615
|
-
export function useOnMyExperienceIncrementedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>) {
|
|
616
|
-
return Apollo.useSubscription<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>(OnMyExperienceIncrementedDocument, baseOptions);
|
|
617
|
-
}
|
|
618
|
-
export type OnMyExperienceIncrementedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceIncrementedSubscription>;
|
|
619
|
-
export type OnMyExperienceIncrementedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceIncrementedSubscription>;
|
|
620
|
-
export const OnMyExperienceUpdatedDocument = gql`
|
|
621
|
-
subscription OnMyExperienceUpdated($authToken: String!) {
|
|
622
|
-
onMyExperienceUpdated(authToken: $authToken) {
|
|
623
|
-
xps
|
|
624
|
-
level
|
|
625
|
-
levelMinXps
|
|
626
|
-
levelMaxXps
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
`;
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* __useOnMyExperienceUpdatedSubscription__
|
|
633
|
-
*
|
|
634
|
-
* To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
|
|
635
|
-
* When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
636
|
-
* you can use to render your UI.
|
|
637
|
-
*
|
|
638
|
-
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
639
|
-
*
|
|
640
|
-
* @example
|
|
641
|
-
* const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
|
|
642
|
-
* variables: {
|
|
643
|
-
* authToken: // value for 'authToken'
|
|
644
|
-
* },
|
|
645
|
-
* });
|
|
646
|
-
*/
|
|
647
|
-
export function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>) {
|
|
648
|
-
return Apollo.useSubscription<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>(OnMyExperienceUpdatedDocument, baseOptions);
|
|
649
|
-
}
|
|
650
|
-
export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
|
|
651
|
-
export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
|
|
652
|
-
export const OnUserOpportunityNotificationDocument = gql`
|
|
653
|
-
subscription OnUserOpportunityNotification($authToken: String!) {
|
|
654
|
-
onUserOpportunityNotification(authToken: $authToken) {
|
|
655
|
-
opportunityId
|
|
656
|
-
name
|
|
657
|
-
description
|
|
658
|
-
notificationType
|
|
659
|
-
media
|
|
660
|
-
projectUrl
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
`;
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* __useOnUserOpportunityNotificationSubscription__
|
|
667
|
-
*
|
|
668
|
-
* To run a query within a React component, call `useOnUserOpportunityNotificationSubscription` and pass it any options that fit your needs.
|
|
669
|
-
* When your component renders, `useOnUserOpportunityNotificationSubscription` returns an object from Apollo Client that contains loading, error, and data properties
|
|
670
|
-
* you can use to render your UI.
|
|
671
|
-
*
|
|
672
|
-
* @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
673
|
-
*
|
|
674
|
-
* @example
|
|
675
|
-
* const { data, loading, error } = useOnUserOpportunityNotificationSubscription({
|
|
676
|
-
* variables: {
|
|
677
|
-
* authToken: // value for 'authToken'
|
|
678
|
-
* },
|
|
679
|
-
* });
|
|
680
|
-
*/
|
|
681
|
-
export function useOnUserOpportunityNotificationSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnUserOpportunityNotificationSubscription, IOnUserOpportunityNotificationSubscriptionVariables>) {
|
|
682
|
-
return Apollo.useSubscription<IOnUserOpportunityNotificationSubscription, IOnUserOpportunityNotificationSubscriptionVariables>(OnUserOpportunityNotificationDocument, baseOptions);
|
|
683
|
-
}
|
|
684
|
-
export type OnUserOpportunityNotificationSubscriptionHookResult = ReturnType<typeof useOnUserOpportunityNotificationSubscription>;
|
|
685
|
-
export type OnUserOpportunityNotificationSubscriptionResult = Apollo.SubscriptionResult<IOnUserOpportunityNotificationSubscription>;
|
|
467
|
+
export type FetchMyTasksQueryResult = Apollo.QueryResult<IFetchMyTasksQuery, IFetchMyTasksQueryVariables>;
|