@ludo.ninja/api 2.8.64 → 2.8.66
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 +6 -1
- package/build/graphql_tools/__generated__/adminHost/schema.js +3 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +54 -9
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/extensionHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +30 -0
- package/build/graphql_tools/__generated__/identityHost/schema.js +27 -2
- package/build/index.d.ts +35 -11
- package/package.json +1 -4
- package/src/graphql_tools/__generated__/adminHost/schema.ts +11 -1
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +31 -0
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +5 -5
- package/src/graphql_tools/__generated__/identityHost/schema.ts +36 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -365,6 +365,7 @@ export type IMutation = {
|
|
|
365
365
|
updateCategoryArchivedStatus: Scalars['Boolean'];
|
|
366
366
|
createAdminOpportunity: Scalars['Boolean'];
|
|
367
367
|
updateOpportunity: Scalars['Boolean'];
|
|
368
|
+
triggerOpportunityNotification: Scalars['Boolean'];
|
|
368
369
|
updateProfileStatus: Scalars['Boolean'];
|
|
369
370
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
370
371
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -419,6 +420,9 @@ export type IMutationUpdateOpportunityArgs = {
|
|
|
419
420
|
input: IAdminOpportunityInput;
|
|
420
421
|
file?: Maybe<Scalars['Upload']>;
|
|
421
422
|
};
|
|
423
|
+
export type IMutationTriggerOpportunityNotificationArgs = {
|
|
424
|
+
opportunityId: Scalars['ID'];
|
|
425
|
+
};
|
|
422
426
|
export type IMutationUpdateProfileStatusArgs = {
|
|
423
427
|
userId: Scalars['ID'];
|
|
424
428
|
isActive: Scalars['Boolean'];
|
|
@@ -1138,6 +1142,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1138
1142
|
updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1139
1143
|
createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
|
|
1140
1144
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
1145
|
+
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1141
1146
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1142
1147
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1143
1148
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -1507,7 +1512,7 @@ export type IFetchAdminUsersPageQueryVariables = Exact<{
|
|
|
1507
1512
|
}>;
|
|
1508
1513
|
export type IFetchAdminUsersPageQuery = {
|
|
1509
1514
|
fetchAdminUsersPage: {
|
|
1510
|
-
users: Array<(Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId'> & {
|
|
1515
|
+
users: Array<(Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId' | 'ip' | 'location' | 'userLanguage'> & {
|
|
1511
1516
|
wallets?: Maybe<Array<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>>;
|
|
1512
1517
|
})>;
|
|
1513
1518
|
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>>;
|
|
@@ -28,6 +28,14 @@ export type Scalars = {
|
|
|
28
28
|
export type IMutation = {
|
|
29
29
|
setDummy: Scalars['String'];
|
|
30
30
|
};
|
|
31
|
+
export type IOpportunityNotification = {
|
|
32
|
+
opportunityId?: Maybe<Scalars['String']>;
|
|
33
|
+
name?: Maybe<Scalars['String']>;
|
|
34
|
+
description?: Maybe<Scalars['String']>;
|
|
35
|
+
notificationType?: Maybe<Scalars['String']>;
|
|
36
|
+
media?: Maybe<Scalars['String']>;
|
|
37
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
38
|
+
};
|
|
31
39
|
export type IQuery = {
|
|
32
40
|
getDummy: Scalars['String'];
|
|
33
41
|
fetchMyExperience: Scalars['Int'];
|
|
@@ -40,6 +48,8 @@ export type ISubscription = {
|
|
|
40
48
|
onMyExperienceUpdated: IUserXp;
|
|
41
49
|
onMyExperienceIncremented: IUserXpIncrement;
|
|
42
50
|
onInviteCodeUsed: IUsedInviteCode;
|
|
51
|
+
onCommonOpportunityNotification: IOpportunityNotification;
|
|
52
|
+
onUserOpportunityNotification: IOpportunityNotification;
|
|
43
53
|
};
|
|
44
54
|
export type ISubscriptionOnMyExperienceUpdatedArgs = {
|
|
45
55
|
authToken: Scalars['String'];
|
|
@@ -50,6 +60,9 @@ export type ISubscriptionOnMyExperienceIncrementedArgs = {
|
|
|
50
60
|
export type ISubscriptionOnInviteCodeUsedArgs = {
|
|
51
61
|
authToken: Scalars['String'];
|
|
52
62
|
};
|
|
63
|
+
export type ISubscriptionOnUserOpportunityNotificationArgs = {
|
|
64
|
+
authToken: Scalars['String'];
|
|
65
|
+
};
|
|
53
66
|
export type ITask = {
|
|
54
67
|
taskId?: Maybe<Scalars['ID']>;
|
|
55
68
|
userId?: Maybe<Scalars['ID']>;
|
|
@@ -113,6 +126,7 @@ export type IResolversTypes = {
|
|
|
113
126
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
114
127
|
Mutation: ResolverTypeWrapper<{}>;
|
|
115
128
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
129
|
+
OpportunityNotification: ResolverTypeWrapper<IOpportunityNotification>;
|
|
116
130
|
Query: ResolverTypeWrapper<{}>;
|
|
117
131
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
118
132
|
Subscription: ResolverTypeWrapper<{}>;
|
|
@@ -128,6 +142,7 @@ export type IResolversParentTypes = {
|
|
|
128
142
|
Long: Scalars['Long'];
|
|
129
143
|
Mutation: {};
|
|
130
144
|
String: Scalars['String'];
|
|
145
|
+
OpportunityNotification: IOpportunityNotification;
|
|
131
146
|
Query: {};
|
|
132
147
|
Int: Scalars['Int'];
|
|
133
148
|
Subscription: {};
|
|
@@ -146,6 +161,15 @@ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
|
|
|
146
161
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
147
162
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
148
163
|
};
|
|
164
|
+
export type IOpportunityNotificationResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityNotification'] = IResolversParentTypes['OpportunityNotification']> = {
|
|
165
|
+
opportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
166
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
167
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
168
|
+
notificationType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
169
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
170
|
+
projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
171
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
172
|
+
};
|
|
149
173
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
150
174
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
151
175
|
fetchMyExperience?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
@@ -158,6 +182,8 @@ export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolv
|
|
|
158
182
|
onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
|
|
159
183
|
onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
|
|
160
184
|
onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
|
|
185
|
+
onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
|
|
186
|
+
onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
|
|
161
187
|
};
|
|
162
188
|
export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
|
|
163
189
|
taskId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
@@ -198,6 +224,7 @@ export type IUserXpIncrementResolvers<ContextType = any, ParentType extends IRes
|
|
|
198
224
|
export type IResolvers<ContextType = any> = {
|
|
199
225
|
Long?: GraphQLScalarType;
|
|
200
226
|
Mutation?: IMutationResolvers<ContextType>;
|
|
227
|
+
OpportunityNotification?: IOpportunityNotificationResolvers<ContextType>;
|
|
201
228
|
Query?: IQueryResolvers<ContextType>;
|
|
202
229
|
Subscription?: ISubscriptionResolvers<ContextType>;
|
|
203
230
|
Task?: ITaskResolvers<ContextType>;
|
|
@@ -305,9 +332,15 @@ export declare const OnInviteCodeUsedDocument: Apollo.DocumentNode;
|
|
|
305
332
|
* },
|
|
306
333
|
* });
|
|
307
334
|
*/
|
|
308
|
-
export declare function useOnInviteCodeUsedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>):
|
|
309
|
-
|
|
310
|
-
|
|
335
|
+
export declare function useOnInviteCodeUsedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnInviteCodeUsedSubscription, IOnInviteCodeUsedSubscriptionVariables>): {
|
|
336
|
+
restart(): void;
|
|
337
|
+
loading: boolean;
|
|
338
|
+
data?: IOnInviteCodeUsedSubscription | undefined;
|
|
339
|
+
error?: Apollo.ApolloError | undefined;
|
|
340
|
+
variables?: Exact<{
|
|
341
|
+
authToken: string;
|
|
342
|
+
}> | undefined;
|
|
343
|
+
};
|
|
311
344
|
export type OnInviteCodeUsedSubscriptionHookResult = ReturnType<typeof useOnInviteCodeUsedSubscription>;
|
|
312
345
|
export type OnInviteCodeUsedSubscriptionResult = Apollo.SubscriptionResult<IOnInviteCodeUsedSubscription>;
|
|
313
346
|
export declare const OnMyExperienceIncrementedDocument: Apollo.DocumentNode;
|
|
@@ -327,9 +360,15 @@ export declare const OnMyExperienceIncrementedDocument: Apollo.DocumentNode;
|
|
|
327
360
|
* },
|
|
328
361
|
* });
|
|
329
362
|
*/
|
|
330
|
-
export declare function useOnMyExperienceIncrementedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>):
|
|
331
|
-
|
|
332
|
-
|
|
363
|
+
export declare function useOnMyExperienceIncrementedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceIncrementedSubscription, IOnMyExperienceIncrementedSubscriptionVariables>): {
|
|
364
|
+
restart(): void;
|
|
365
|
+
loading: boolean;
|
|
366
|
+
data?: IOnMyExperienceIncrementedSubscription | undefined;
|
|
367
|
+
error?: Apollo.ApolloError | undefined;
|
|
368
|
+
variables?: Exact<{
|
|
369
|
+
authToken: string;
|
|
370
|
+
}> | undefined;
|
|
371
|
+
};
|
|
333
372
|
export type OnMyExperienceIncrementedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceIncrementedSubscription>;
|
|
334
373
|
export type OnMyExperienceIncrementedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceIncrementedSubscription>;
|
|
335
374
|
export declare const OnMyExperienceUpdatedDocument: Apollo.DocumentNode;
|
|
@@ -349,8 +388,14 @@ export declare const OnMyExperienceUpdatedDocument: Apollo.DocumentNode;
|
|
|
349
388
|
* },
|
|
350
389
|
* });
|
|
351
390
|
*/
|
|
352
|
-
export declare function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>):
|
|
353
|
-
|
|
354
|
-
|
|
391
|
+
export declare function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo.SubscriptionHookOptions<IOnMyExperienceUpdatedSubscription, IOnMyExperienceUpdatedSubscriptionVariables>): {
|
|
392
|
+
restart(): void;
|
|
393
|
+
loading: boolean;
|
|
394
|
+
data?: IOnMyExperienceUpdatedSubscription | undefined;
|
|
395
|
+
error?: Apollo.ApolloError | undefined;
|
|
396
|
+
variables?: Exact<{
|
|
397
|
+
authToken: string;
|
|
398
|
+
}> | undefined;
|
|
399
|
+
};
|
|
355
400
|
export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
|
|
356
401
|
export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
|
|
@@ -90,7 +90,7 @@ export type IMutationVisitPageV2Args = {
|
|
|
90
90
|
description?: Maybe<Scalars['String']>;
|
|
91
91
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
92
92
|
brandId?: Maybe<Scalars['String']>;
|
|
93
|
-
|
|
93
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
94
94
|
};
|
|
95
95
|
export type IMutationOpenOpportunityV2Args = {
|
|
96
96
|
opportunityId: Scalars['ID'];
|
|
@@ -468,7 +468,7 @@ export type IVisitPageV2MutationVariables = Exact<{
|
|
|
468
468
|
description?: Maybe<Scalars['String']>;
|
|
469
469
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
470
470
|
brandId?: Maybe<Scalars['String']>;
|
|
471
|
-
|
|
471
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
472
472
|
}>;
|
|
473
473
|
export type IVisitPageV2Mutation = {
|
|
474
474
|
visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>;
|
|
@@ -596,7 +596,7 @@ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutatio
|
|
|
596
596
|
* description: // value for 'description'
|
|
597
597
|
* tags: // value for 'tags'
|
|
598
598
|
* brandId: // value for 'brandId'
|
|
599
|
-
*
|
|
599
|
+
* categoryId: // value for 'categoryId'
|
|
600
600
|
* },
|
|
601
601
|
* });
|
|
602
602
|
*/
|
|
@@ -606,7 +606,7 @@ export declare function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHook
|
|
|
606
606
|
description?: Maybe<string> | undefined;
|
|
607
607
|
tags?: Maybe<Maybe<string>[]> | undefined;
|
|
608
608
|
brandId?: Maybe<string> | undefined;
|
|
609
|
-
|
|
609
|
+
categoryId?: Maybe<string> | undefined;
|
|
610
610
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
611
611
|
export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
|
|
612
612
|
export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
|
|
@@ -79,14 +79,14 @@ function useOpenOpportunityV2Mutation(baseOptions) {
|
|
|
79
79
|
}
|
|
80
80
|
exports.useOpenOpportunityV2Mutation = useOpenOpportunityV2Mutation;
|
|
81
81
|
exports.VisitPageV2Document = (0, client_1.gql) `
|
|
82
|
-
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $
|
|
82
|
+
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $categoryId: String) {
|
|
83
83
|
visitPageV2(
|
|
84
84
|
domain: $domain
|
|
85
85
|
title: $title
|
|
86
86
|
description: $description
|
|
87
87
|
tags: $tags
|
|
88
88
|
brandId: $brandId
|
|
89
|
-
|
|
89
|
+
categoryId: $categoryId
|
|
90
90
|
) {
|
|
91
91
|
opportunityId
|
|
92
92
|
brandId
|
|
@@ -130,7 +130,7 @@ exports.VisitPageV2Document = (0, client_1.gql) `
|
|
|
130
130
|
* description: // value for 'description'
|
|
131
131
|
* tags: // value for 'tags'
|
|
132
132
|
* brandId: // value for 'brandId'
|
|
133
|
-
*
|
|
133
|
+
* categoryId: // value for 'categoryId'
|
|
134
134
|
* },
|
|
135
135
|
* });
|
|
136
136
|
*/
|
|
@@ -101,6 +101,7 @@ export type IMutation = {
|
|
|
101
101
|
setDummy: Scalars['String'];
|
|
102
102
|
createNonce: Scalars['String'];
|
|
103
103
|
createTonNonce: Scalars['String'];
|
|
104
|
+
createEvmNonce: Scalars['String'];
|
|
104
105
|
signInAdminMetamask: IIdentity;
|
|
105
106
|
signInMetamask: IIdentity;
|
|
106
107
|
signInTezos: IIdentity;
|
|
@@ -510,6 +511,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
510
511
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
511
512
|
createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
|
|
512
513
|
createTonNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
514
|
+
createEvmNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
513
515
|
signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
514
516
|
signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
|
|
515
517
|
signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
|
|
@@ -678,6 +680,10 @@ export type IAddWalletTonMutationVariables = Exact<{
|
|
|
678
680
|
request: ICheckTonProofRequest;
|
|
679
681
|
}>;
|
|
680
682
|
export type IAddWalletTonMutation = Pick<IMutation, 'addWalletTon'>;
|
|
683
|
+
export type ICreateEvmNonceMutationVariables = Exact<{
|
|
684
|
+
[key: string]: never;
|
|
685
|
+
}>;
|
|
686
|
+
export type ICreateEvmNonceMutation = Pick<IMutation, 'createEvmNonce'>;
|
|
681
687
|
export type ICreateNonceMutationVariables = Exact<{
|
|
682
688
|
address: Scalars['String'];
|
|
683
689
|
blockchain: Scalars['String'];
|
|
@@ -1011,6 +1017,30 @@ export declare function useAddWalletTonMutation(baseOptions?: Apollo.MutationHoo
|
|
|
1011
1017
|
export type AddWalletTonMutationHookResult = ReturnType<typeof useAddWalletTonMutation>;
|
|
1012
1018
|
export type AddWalletTonMutationResult = Apollo.MutationResult<IAddWalletTonMutation>;
|
|
1013
1019
|
export type AddWalletTonMutationOptions = Apollo.BaseMutationOptions<IAddWalletTonMutation, IAddWalletTonMutationVariables>;
|
|
1020
|
+
export declare const CreateEvmNonceDocument: Apollo.DocumentNode;
|
|
1021
|
+
export type ICreateEvmNonceMutationFn = Apollo.MutationFunction<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1022
|
+
/**
|
|
1023
|
+
* __useCreateEvmNonceMutation__
|
|
1024
|
+
*
|
|
1025
|
+
* To run a mutation, you first call `useCreateEvmNonceMutation` within a React component and pass it any options that fit your needs.
|
|
1026
|
+
* When your component renders, `useCreateEvmNonceMutation` returns a tuple that includes:
|
|
1027
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1028
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1029
|
+
*
|
|
1030
|
+
* @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;
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* const [createEvmNonceMutation, { data, loading, error }] = useCreateEvmNonceMutation({
|
|
1034
|
+
* variables: {
|
|
1035
|
+
* },
|
|
1036
|
+
* });
|
|
1037
|
+
*/
|
|
1038
|
+
export declare function useCreateEvmNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>): Apollo.MutationTuple<ICreateEvmNonceMutation, Exact<{
|
|
1039
|
+
[key: string]: never;
|
|
1040
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1041
|
+
export type CreateEvmNonceMutationHookResult = ReturnType<typeof useCreateEvmNonceMutation>;
|
|
1042
|
+
export type CreateEvmNonceMutationResult = Apollo.MutationResult<ICreateEvmNonceMutation>;
|
|
1043
|
+
export type CreateEvmNonceMutationOptions = Apollo.BaseMutationOptions<ICreateEvmNonceMutation, ICreateEvmNonceMutationVariables>;
|
|
1014
1044
|
export declare const CreateNonceDocument: Apollo.DocumentNode;
|
|
1015
1045
|
export type ICreateNonceMutationFn = Apollo.MutationFunction<ICreateNonceMutation, ICreateNonceMutationVariables>;
|
|
1016
1046
|
/**
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = void 0;
|
|
26
|
+
exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.IRole = void 0;
|
|
27
|
+
exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
var IRole;
|
|
@@ -194,6 +194,31 @@ function useAddWalletTonMutation(baseOptions) {
|
|
|
194
194
|
return Apollo.useMutation(exports.AddWalletTonDocument, baseOptions);
|
|
195
195
|
}
|
|
196
196
|
exports.useAddWalletTonMutation = useAddWalletTonMutation;
|
|
197
|
+
exports.CreateEvmNonceDocument = (0, client_1.gql) `
|
|
198
|
+
mutation CreateEvmNonce {
|
|
199
|
+
createEvmNonce
|
|
200
|
+
}
|
|
201
|
+
`;
|
|
202
|
+
/**
|
|
203
|
+
* __useCreateEvmNonceMutation__
|
|
204
|
+
*
|
|
205
|
+
* To run a mutation, you first call `useCreateEvmNonceMutation` within a React component and pass it any options that fit your needs.
|
|
206
|
+
* When your component renders, `useCreateEvmNonceMutation` returns a tuple that includes:
|
|
207
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
208
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
209
|
+
*
|
|
210
|
+
* @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;
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* const [createEvmNonceMutation, { data, loading, error }] = useCreateEvmNonceMutation({
|
|
214
|
+
* variables: {
|
|
215
|
+
* },
|
|
216
|
+
* });
|
|
217
|
+
*/
|
|
218
|
+
function useCreateEvmNonceMutation(baseOptions) {
|
|
219
|
+
return Apollo.useMutation(exports.CreateEvmNonceDocument, baseOptions);
|
|
220
|
+
}
|
|
221
|
+
exports.useCreateEvmNonceMutation = useCreateEvmNonceMutation;
|
|
197
222
|
exports.CreateNonceDocument = (0, client_1.gql) `
|
|
198
223
|
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
199
224
|
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
package/build/index.d.ts
CHANGED
|
@@ -527,6 +527,11 @@ declare const schema: {
|
|
|
527
527
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.IAddWalletTonMutation, identitySchema.Exact<{
|
|
528
528
|
request: identitySchema.ICheckTonProofRequest;
|
|
529
529
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
530
|
+
useCreateEvmNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateEvmNonceMutation, identitySchema.Exact<{
|
|
531
|
+
[key: string]: never;
|
|
532
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ICreateEvmNonceMutation, identitySchema.Exact<{
|
|
533
|
+
[key: string]: never;
|
|
534
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
530
535
|
useCreateNonceMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ICreateNonceMutation, identitySchema.Exact<{
|
|
531
536
|
address: string;
|
|
532
537
|
blockchain: string;
|
|
@@ -693,6 +698,7 @@ declare const schema: {
|
|
|
693
698
|
AddWalletSolanaDocument: import("graphql").DocumentNode;
|
|
694
699
|
AddWalletTezosDocument: import("graphql").DocumentNode;
|
|
695
700
|
AddWalletTonDocument: import("graphql").DocumentNode;
|
|
701
|
+
CreateEvmNonceDocument: import("graphql").DocumentNode;
|
|
696
702
|
CreateNonceDocument: import("graphql").DocumentNode;
|
|
697
703
|
CreateTonNonceDocument: import("graphql").DocumentNode;
|
|
698
704
|
GenerateNewInviteCodesDocument: import("graphql").DocumentNode;
|
|
@@ -895,14 +901,14 @@ declare const schema: {
|
|
|
895
901
|
description?: extensionSchema.Maybe<string> | undefined;
|
|
896
902
|
tags?: extensionSchema.Maybe<extensionSchema.Maybe<string>[]> | undefined;
|
|
897
903
|
brandId?: extensionSchema.Maybe<string> | undefined;
|
|
898
|
-
|
|
904
|
+
categoryId?: extensionSchema.Maybe<string> | undefined;
|
|
899
905
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<extensionSchema.IVisitPageV2Mutation, extensionSchema.Exact<{
|
|
900
906
|
domain: string;
|
|
901
907
|
title: string;
|
|
902
908
|
description?: extensionSchema.Maybe<string> | undefined;
|
|
903
909
|
tags?: extensionSchema.Maybe<extensionSchema.Maybe<string>[]> | undefined;
|
|
904
910
|
brandId?: extensionSchema.Maybe<string> | undefined;
|
|
905
|
-
|
|
911
|
+
categoryId?: extensionSchema.Maybe<string> | undefined;
|
|
906
912
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
907
913
|
useFetchCollectionRanksQuery(baseOptions: import("@apollo/client").QueryHookOptions<extensionSchema.IFetchCollectionRanksQuery, extensionSchema.Exact<{
|
|
908
914
|
collectionKeys: extensionSchema.ICollectionKey[];
|
|
@@ -1026,19 +1032,37 @@ declare const schema: {
|
|
|
1026
1032
|
}>>;
|
|
1027
1033
|
useOnInviteCodeUsedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnInviteCodeUsedSubscription, experiencesSchema.Exact<{
|
|
1028
1034
|
authToken: string;
|
|
1029
|
-
}>>):
|
|
1030
|
-
|
|
1031
|
-
|
|
1035
|
+
}>>): {
|
|
1036
|
+
restart(): void;
|
|
1037
|
+
loading: boolean;
|
|
1038
|
+
data?: experiencesSchema.IOnInviteCodeUsedSubscription | undefined;
|
|
1039
|
+
error?: import("@apollo/client").ApolloError | undefined;
|
|
1040
|
+
variables?: experiencesSchema.Exact<{
|
|
1041
|
+
authToken: string;
|
|
1042
|
+
}> | undefined;
|
|
1043
|
+
};
|
|
1032
1044
|
useOnMyExperienceIncrementedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnMyExperienceIncrementedSubscription, experiencesSchema.Exact<{
|
|
1033
1045
|
authToken: string;
|
|
1034
|
-
}>>):
|
|
1035
|
-
|
|
1036
|
-
|
|
1046
|
+
}>>): {
|
|
1047
|
+
restart(): void;
|
|
1048
|
+
loading: boolean;
|
|
1049
|
+
data?: experiencesSchema.IOnMyExperienceIncrementedSubscription | undefined;
|
|
1050
|
+
error?: import("@apollo/client").ApolloError | undefined;
|
|
1051
|
+
variables?: experiencesSchema.Exact<{
|
|
1052
|
+
authToken: string;
|
|
1053
|
+
}> | undefined;
|
|
1054
|
+
};
|
|
1037
1055
|
useOnMyExperienceUpdatedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<experiencesSchema.IOnMyExperienceUpdatedSubscription, experiencesSchema.Exact<{
|
|
1038
1056
|
authToken: string;
|
|
1039
|
-
}>>):
|
|
1040
|
-
|
|
1041
|
-
|
|
1057
|
+
}>>): {
|
|
1058
|
+
restart(): void;
|
|
1059
|
+
loading: boolean;
|
|
1060
|
+
data?: experiencesSchema.IOnMyExperienceUpdatedSubscription | undefined;
|
|
1061
|
+
error?: import("@apollo/client").ApolloError | undefined;
|
|
1062
|
+
variables?: experiencesSchema.Exact<{
|
|
1063
|
+
authToken: string;
|
|
1064
|
+
}> | undefined;
|
|
1065
|
+
};
|
|
1042
1066
|
FetchMyExperienceV2Document: import("graphql").DocumentNode;
|
|
1043
1067
|
FetchMyTasksDocument: import("graphql").DocumentNode;
|
|
1044
1068
|
OnInviteCodeUsedDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ludo.ninja/api",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.66",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -11,11 +11,8 @@
|
|
|
11
11
|
"author": "Dan Akenford",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@apollo/client": "^3.7.3",
|
|
15
14
|
"apollo-upload-client": "^17.0.0",
|
|
16
15
|
"deepmerge": "^4.3.1",
|
|
17
|
-
"graphql": "^15.7.2",
|
|
18
|
-
"graphql-ws": "^5.14.3",
|
|
19
16
|
"lodash.isequal": "^4.5.0",
|
|
20
17
|
"nookies": "^2.5.2"
|
|
21
18
|
},
|
|
@@ -402,6 +402,7 @@ export type IMutation = {
|
|
|
402
402
|
updateCategoryArchivedStatus: Scalars['Boolean'];
|
|
403
403
|
createAdminOpportunity: Scalars['Boolean'];
|
|
404
404
|
updateOpportunity: Scalars['Boolean'];
|
|
405
|
+
triggerOpportunityNotification: Scalars['Boolean'];
|
|
405
406
|
updateProfileStatus: Scalars['Boolean'];
|
|
406
407
|
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
407
408
|
addSuggestedOpportunity: Scalars['Boolean'];
|
|
@@ -482,6 +483,11 @@ export type IMutationUpdateOpportunityArgs = {
|
|
|
482
483
|
};
|
|
483
484
|
|
|
484
485
|
|
|
486
|
+
export type IMutationTriggerOpportunityNotificationArgs = {
|
|
487
|
+
opportunityId: Scalars['ID'];
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
|
|
485
491
|
export type IMutationUpdateProfileStatusArgs = {
|
|
486
492
|
userId: Scalars['ID'];
|
|
487
493
|
isActive: Scalars['Boolean'];
|
|
@@ -1339,6 +1345,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1339
1345
|
updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1340
1346
|
createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
|
|
1341
1347
|
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
1348
|
+
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1342
1349
|
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
1343
1350
|
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
1344
1351
|
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
@@ -1739,7 +1746,7 @@ export type IFetchAdminUsersPageQueryVariables = Exact<{
|
|
|
1739
1746
|
|
|
1740
1747
|
|
|
1741
1748
|
export type IFetchAdminUsersPageQuery = { fetchAdminUsersPage: { users: Array<(
|
|
1742
|
-
Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId'>
|
|
1749
|
+
Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId' | 'ip' | 'location' | 'userLanguage'>
|
|
1743
1750
|
& { wallets?: Maybe<Array<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>> }
|
|
1744
1751
|
)>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>> } };
|
|
1745
1752
|
|
|
@@ -2921,6 +2928,9 @@ export const FetchAdminUsersPageDocument = gql`
|
|
|
2921
2928
|
xpLevel
|
|
2922
2929
|
ludoRank
|
|
2923
2930
|
inviterId
|
|
2931
|
+
ip
|
|
2932
|
+
location
|
|
2933
|
+
userLanguage
|
|
2924
2934
|
}
|
|
2925
2935
|
nextPage {
|
|
2926
2936
|
num
|
|
@@ -24,6 +24,15 @@ export type IMutation = {
|
|
|
24
24
|
setDummy: Scalars['String'];
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
+
export type IOpportunityNotification = {
|
|
28
|
+
opportunityId?: Maybe<Scalars['String']>;
|
|
29
|
+
name?: Maybe<Scalars['String']>;
|
|
30
|
+
description?: Maybe<Scalars['String']>;
|
|
31
|
+
notificationType?: Maybe<Scalars['String']>;
|
|
32
|
+
media?: Maybe<Scalars['String']>;
|
|
33
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
34
|
+
};
|
|
35
|
+
|
|
27
36
|
export type IQuery = {
|
|
28
37
|
getDummy: Scalars['String'];
|
|
29
38
|
fetchMyExperience: Scalars['Int'];
|
|
@@ -37,6 +46,8 @@ export type ISubscription = {
|
|
|
37
46
|
onMyExperienceUpdated: IUserXp;
|
|
38
47
|
onMyExperienceIncremented: IUserXpIncrement;
|
|
39
48
|
onInviteCodeUsed: IUsedInviteCode;
|
|
49
|
+
onCommonOpportunityNotification: IOpportunityNotification;
|
|
50
|
+
onUserOpportunityNotification: IOpportunityNotification;
|
|
40
51
|
};
|
|
41
52
|
|
|
42
53
|
|
|
@@ -54,6 +65,11 @@ export type ISubscriptionOnInviteCodeUsedArgs = {
|
|
|
54
65
|
authToken: Scalars['String'];
|
|
55
66
|
};
|
|
56
67
|
|
|
68
|
+
|
|
69
|
+
export type ISubscriptionOnUserOpportunityNotificationArgs = {
|
|
70
|
+
authToken: Scalars['String'];
|
|
71
|
+
};
|
|
72
|
+
|
|
57
73
|
export type ITask = {
|
|
58
74
|
taskId?: Maybe<Scalars['ID']>;
|
|
59
75
|
userId?: Maybe<Scalars['ID']>;
|
|
@@ -162,6 +178,7 @@ export type IResolversTypes = {
|
|
|
162
178
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
163
179
|
Mutation: ResolverTypeWrapper<{}>;
|
|
164
180
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
181
|
+
OpportunityNotification: ResolverTypeWrapper<IOpportunityNotification>;
|
|
165
182
|
Query: ResolverTypeWrapper<{}>;
|
|
166
183
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
167
184
|
Subscription: ResolverTypeWrapper<{}>;
|
|
@@ -178,6 +195,7 @@ export type IResolversParentTypes = {
|
|
|
178
195
|
Long: Scalars['Long'];
|
|
179
196
|
Mutation: {};
|
|
180
197
|
String: Scalars['String'];
|
|
198
|
+
OpportunityNotification: IOpportunityNotification;
|
|
181
199
|
Query: {};
|
|
182
200
|
Int: Scalars['Int'];
|
|
183
201
|
Subscription: {};
|
|
@@ -201,6 +219,16 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
201
219
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
202
220
|
};
|
|
203
221
|
|
|
222
|
+
export type IOpportunityNotificationResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityNotification'] = IResolversParentTypes['OpportunityNotification']> = {
|
|
223
|
+
opportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
224
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
225
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
226
|
+
notificationType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
227
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
228
|
+
projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
229
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
230
|
+
};
|
|
231
|
+
|
|
204
232
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
205
233
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
206
234
|
fetchMyExperience?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
@@ -214,6 +242,8 @@ export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolv
|
|
|
214
242
|
onMyExperienceUpdated?: SubscriptionResolver<IResolversTypes['UserXP'], "onMyExperienceUpdated", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceUpdatedArgs, 'authToken'>>;
|
|
215
243
|
onMyExperienceIncremented?: SubscriptionResolver<IResolversTypes['UserXPIncrement'], "onMyExperienceIncremented", ParentType, ContextType, RequireFields<ISubscriptionOnMyExperienceIncrementedArgs, 'authToken'>>;
|
|
216
244
|
onInviteCodeUsed?: SubscriptionResolver<IResolversTypes['UsedInviteCode'], "onInviteCodeUsed", ParentType, ContextType, RequireFields<ISubscriptionOnInviteCodeUsedArgs, 'authToken'>>;
|
|
245
|
+
onCommonOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onCommonOpportunityNotification", ParentType, ContextType>;
|
|
246
|
+
onUserOpportunityNotification?: SubscriptionResolver<IResolversTypes['OpportunityNotification'], "onUserOpportunityNotification", ParentType, ContextType, RequireFields<ISubscriptionOnUserOpportunityNotificationArgs, 'authToken'>>;
|
|
217
247
|
};
|
|
218
248
|
|
|
219
249
|
export type ITaskResolvers<ContextType = any, ParentType extends IResolversParentTypes['Task'] = IResolversParentTypes['Task']> = {
|
|
@@ -259,6 +289,7 @@ export type IUserXpIncrementResolvers<ContextType = any, ParentType extends IRes
|
|
|
259
289
|
export type IResolvers<ContextType = any> = {
|
|
260
290
|
Long?: GraphQLScalarType;
|
|
261
291
|
Mutation?: IMutationResolvers<ContextType>;
|
|
292
|
+
OpportunityNotification?: IOpportunityNotificationResolvers<ContextType>;
|
|
262
293
|
Query?: IQueryResolvers<ContextType>;
|
|
263
294
|
Subscription?: ISubscriptionResolvers<ContextType>;
|
|
264
295
|
Task?: ITaskResolvers<ContextType>;
|
|
@@ -95,7 +95,7 @@ export type IMutationVisitPageV2Args = {
|
|
|
95
95
|
description?: Maybe<Scalars['String']>;
|
|
96
96
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
97
97
|
brandId?: Maybe<Scalars['String']>;
|
|
98
|
-
|
|
98
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
|
|
@@ -565,7 +565,7 @@ export type IVisitPageV2MutationVariables = Exact<{
|
|
|
565
565
|
description?: Maybe<Scalars['String']>;
|
|
566
566
|
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
567
567
|
brandId?: Maybe<Scalars['String']>;
|
|
568
|
-
|
|
568
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
569
569
|
}>;
|
|
570
570
|
|
|
571
571
|
|
|
@@ -686,14 +686,14 @@ export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOppor
|
|
|
686
686
|
export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
|
|
687
687
|
export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
|
|
688
688
|
export const VisitPageV2Document = gql`
|
|
689
|
-
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $
|
|
689
|
+
mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $categoryId: String) {
|
|
690
690
|
visitPageV2(
|
|
691
691
|
domain: $domain
|
|
692
692
|
title: $title
|
|
693
693
|
description: $description
|
|
694
694
|
tags: $tags
|
|
695
695
|
brandId: $brandId
|
|
696
|
-
|
|
696
|
+
categoryId: $categoryId
|
|
697
697
|
) {
|
|
698
698
|
opportunityId
|
|
699
699
|
brandId
|
|
@@ -739,7 +739,7 @@ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutatio
|
|
|
739
739
|
* description: // value for 'description'
|
|
740
740
|
* tags: // value for 'tags'
|
|
741
741
|
* brandId: // value for 'brandId'
|
|
742
|
-
*
|
|
742
|
+
* categoryId: // value for 'categoryId'
|
|
743
743
|
* },
|
|
744
744
|
* });
|
|
745
745
|
*/
|