@ludo.ninja/api 3.0.73 → 3.0.74
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 +42 -1
- package/build/graphql_tools/__generated__/adminHost/schema.js +31 -4
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +19 -29
- package/build/graphql_tools/__generated__/extensionHost/schema.js +14 -20
- package/build/graphql_tools/__generated__/formsHost/schema.d.ts +29 -0
- package/build/graphql_tools/__generated__/formsHost/schema.js +28 -1
- package/build/index.d.ts +8 -1
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +53 -1
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +32 -48
- package/src/graphql_tools/__generated__/formsHost/schema.ts +31 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -195,6 +195,7 @@ export type IAdminOpportunity = {
|
|
|
195
195
|
participantsLimit?: Maybe<Scalars['Int']>;
|
|
196
196
|
availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
|
|
197
197
|
encodePayload?: Maybe<Scalars['Boolean']>;
|
|
198
|
+
payloadSecretKey?: Maybe<Scalars['String']>;
|
|
198
199
|
payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
|
|
199
200
|
parentOpportunityId?: Maybe<Scalars['String']>;
|
|
200
201
|
slug?: Maybe<Scalars['String']>;
|
|
@@ -388,6 +389,7 @@ export type IBrandsFilterInput = {
|
|
|
388
389
|
linkTerm?: Maybe<Scalars['String']>;
|
|
389
390
|
matchingWordsTerm?: Maybe<Scalars['String']>;
|
|
390
391
|
addedByTerm?: Maybe<Scalars['String']>;
|
|
392
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
391
393
|
};
|
|
392
394
|
|
|
393
395
|
export type IBrandsPage = {
|
|
@@ -405,6 +407,7 @@ export type ICategoriesFilterInput = {
|
|
|
405
407
|
nameTerm?: Maybe<Scalars['String']>;
|
|
406
408
|
matchingWordsTerm?: Maybe<Scalars['String']>;
|
|
407
409
|
addedByTerm?: Maybe<Scalars['String']>;
|
|
410
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
408
411
|
};
|
|
409
412
|
|
|
410
413
|
export type ICategoriesPage = {
|
|
@@ -657,6 +660,7 @@ export type IMutation = {
|
|
|
657
660
|
updateOpportunityArchivedStatus: Scalars['Boolean'];
|
|
658
661
|
triggerOpportunityNotification: Scalars['Boolean'];
|
|
659
662
|
updateAirdrop: Scalars['Boolean'];
|
|
663
|
+
regenerateOpportunityPayloadSecretKey: Scalars['Boolean'];
|
|
660
664
|
createProject: Scalars['Boolean'];
|
|
661
665
|
updateProject: Scalars['Boolean'];
|
|
662
666
|
createReferralType?: Maybe<Scalars['Boolean']>;
|
|
@@ -773,6 +777,11 @@ export type IMutationUpdateAirdropArgs = {
|
|
|
773
777
|
};
|
|
774
778
|
|
|
775
779
|
|
|
780
|
+
export type IMutationRegenerateOpportunityPayloadSecretKeyArgs = {
|
|
781
|
+
id: Scalars['ID'];
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
|
|
776
785
|
export type IMutationCreateProjectArgs = {
|
|
777
786
|
blockchain: Scalars['String'];
|
|
778
787
|
contract: Scalars['String'];
|
|
@@ -889,6 +898,7 @@ export type IOpportunitiesFilterInput = {
|
|
|
889
898
|
clicksRange?: Maybe<INumberRangeInput>;
|
|
890
899
|
viewsRange?: Maybe<INumberRangeInput>;
|
|
891
900
|
addedByTerm?: Maybe<Scalars['String']>;
|
|
901
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
892
902
|
};
|
|
893
903
|
|
|
894
904
|
export type IOpportunitiesPage = {
|
|
@@ -1189,6 +1199,7 @@ export type IReferralTypeFilterInput = {
|
|
|
1189
1199
|
nameTerm?: Maybe<Scalars['String']>;
|
|
1190
1200
|
descriptionTerm?: Maybe<Scalars['String']>;
|
|
1191
1201
|
discountPercentage?: Maybe<Scalars['Int']>;
|
|
1202
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
1192
1203
|
};
|
|
1193
1204
|
|
|
1194
1205
|
export type IReferralTypeInput = {
|
|
@@ -1308,6 +1319,7 @@ export type ITiersFilterInput = {
|
|
|
1308
1319
|
nameTerm?: Maybe<Scalars['String']>;
|
|
1309
1320
|
descriptionTerm?: Maybe<Scalars['String']>;
|
|
1310
1321
|
feeTerm?: Maybe<Scalars['String']>;
|
|
1322
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
1311
1323
|
};
|
|
1312
1324
|
|
|
1313
1325
|
export type ITiersPage = {
|
|
@@ -1901,6 +1913,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
|
|
|
1901
1913
|
participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1902
1914
|
availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1903
1915
|
encodePayload?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1916
|
+
payloadSecretKey?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1904
1917
|
payloadTypes?: Resolver<Maybe<Array<Maybe<IResolversTypes['PayloadType']>>>, ParentType, ContextType>;
|
|
1905
1918
|
parentOpportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1906
1919
|
slug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -2117,6 +2130,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
2117
2130
|
updateOpportunityArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
2118
2131
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
2119
2132
|
updateAirdrop?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateAirdropArgs, 'id' | 'input'>>;
|
|
2133
|
+
regenerateOpportunityPayloadSecretKey?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRegenerateOpportunityPayloadSecretKeyArgs, 'id'>>;
|
|
2120
2134
|
createProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateProjectArgs, 'blockchain' | 'contract'>>;
|
|
2121
2135
|
updateProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProjectArgs, 'input'>>;
|
|
2122
2136
|
createReferralType?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationCreateReferralTypeArgs, 'input'>>;
|
|
@@ -2481,6 +2495,13 @@ export type ICreateProjectMutationVariables = Exact<{
|
|
|
2481
2495
|
|
|
2482
2496
|
export type ICreateProjectMutation = Pick<IMutation, 'createProject'>;
|
|
2483
2497
|
|
|
2498
|
+
export type IRegenerateOpportunityPayloadSecretKeyMutationVariables = Exact<{
|
|
2499
|
+
id: Scalars['ID'];
|
|
2500
|
+
}>;
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
export type IRegenerateOpportunityPayloadSecretKeyMutation = Pick<IMutation, 'regenerateOpportunityPayloadSecretKey'>;
|
|
2504
|
+
|
|
2484
2505
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2485
2506
|
userId: Scalars['String'];
|
|
2486
2507
|
codesNum: Scalars['Int'];
|
|
@@ -2758,7 +2779,7 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
|
2758
2779
|
}>;
|
|
2759
2780
|
|
|
2760
2781
|
|
|
2761
|
-
export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'projectName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'encodePayload' | 'payloadTypes' | 'parentOpportunityId' | 'slug'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2782
|
+
export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'projectName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'encodePayload' | 'payloadTypes' | 'parentOpportunityId' | 'slug' | 'payloadSecretKey'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2762
2783
|
|
|
2763
2784
|
export type IFetchAdminProjectsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
2764
2785
|
|
|
@@ -3303,6 +3324,36 @@ export function useCreateProjectMutation(baseOptions?: Apollo.MutationHookOption
|
|
|
3303
3324
|
export type CreateProjectMutationHookResult = ReturnType<typeof useCreateProjectMutation>;
|
|
3304
3325
|
export type CreateProjectMutationResult = Apollo.MutationResult<ICreateProjectMutation>;
|
|
3305
3326
|
export type CreateProjectMutationOptions = Apollo.BaseMutationOptions<ICreateProjectMutation, ICreateProjectMutationVariables>;
|
|
3327
|
+
export const RegenerateOpportunityPayloadSecretKeyDocument = gql`
|
|
3328
|
+
mutation RegenerateOpportunityPayloadSecretKey($id: ID!) {
|
|
3329
|
+
regenerateOpportunityPayloadSecretKey(id: $id)
|
|
3330
|
+
}
|
|
3331
|
+
`;
|
|
3332
|
+
export type IRegenerateOpportunityPayloadSecretKeyMutationFn = Apollo.MutationFunction<IRegenerateOpportunityPayloadSecretKeyMutation, IRegenerateOpportunityPayloadSecretKeyMutationVariables>;
|
|
3333
|
+
|
|
3334
|
+
/**
|
|
3335
|
+
* __useRegenerateOpportunityPayloadSecretKeyMutation__
|
|
3336
|
+
*
|
|
3337
|
+
* To run a mutation, you first call `useRegenerateOpportunityPayloadSecretKeyMutation` within a React component and pass it any options that fit your needs.
|
|
3338
|
+
* When your component renders, `useRegenerateOpportunityPayloadSecretKeyMutation` returns a tuple that includes:
|
|
3339
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3340
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3341
|
+
*
|
|
3342
|
+
* @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;
|
|
3343
|
+
*
|
|
3344
|
+
* @example
|
|
3345
|
+
* const [regenerateOpportunityPayloadSecretKeyMutation, { data, loading, error }] = useRegenerateOpportunityPayloadSecretKeyMutation({
|
|
3346
|
+
* variables: {
|
|
3347
|
+
* id: // value for 'id'
|
|
3348
|
+
* },
|
|
3349
|
+
* });
|
|
3350
|
+
*/
|
|
3351
|
+
export function useRegenerateOpportunityPayloadSecretKeyMutation(baseOptions?: Apollo.MutationHookOptions<IRegenerateOpportunityPayloadSecretKeyMutation, IRegenerateOpportunityPayloadSecretKeyMutationVariables>) {
|
|
3352
|
+
return Apollo.useMutation<IRegenerateOpportunityPayloadSecretKeyMutation, IRegenerateOpportunityPayloadSecretKeyMutationVariables>(RegenerateOpportunityPayloadSecretKeyDocument, baseOptions);
|
|
3353
|
+
}
|
|
3354
|
+
export type RegenerateOpportunityPayloadSecretKeyMutationHookResult = ReturnType<typeof useRegenerateOpportunityPayloadSecretKeyMutation>;
|
|
3355
|
+
export type RegenerateOpportunityPayloadSecretKeyMutationResult = Apollo.MutationResult<IRegenerateOpportunityPayloadSecretKeyMutation>;
|
|
3356
|
+
export type RegenerateOpportunityPayloadSecretKeyMutationOptions = Apollo.BaseMutationOptions<IRegenerateOpportunityPayloadSecretKeyMutation, IRegenerateOpportunityPayloadSecretKeyMutationVariables>;
|
|
3306
3357
|
export const AddInviteCodesDocument = gql`
|
|
3307
3358
|
mutation AddInviteCodes($userId: String!, $codesNum: Int!, $reftypeId: String) {
|
|
3308
3359
|
addInviteCodes(userId: $userId, codesNum: $codesNum, reftypeId: $reftypeId)
|
|
@@ -4705,6 +4756,7 @@ export const FetchAdminOpportunitiesPageDocument = gql`
|
|
|
4705
4756
|
payloadTypes
|
|
4706
4757
|
parentOpportunityId
|
|
4707
4758
|
slug
|
|
4759
|
+
payloadSecretKey
|
|
4708
4760
|
}
|
|
4709
4761
|
nextPage {
|
|
4710
4762
|
elements
|
|
@@ -163,29 +163,23 @@ export type IOpportunity = {
|
|
|
163
163
|
status?: Maybe<Scalars['String']>;
|
|
164
164
|
shareLink?: Maybe<Scalars['String']>;
|
|
165
165
|
notifiable?: Maybe<Scalars['Boolean']>;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
brandLink?: Maybe<Scalars['String']>;
|
|
171
|
-
brandMedia?: Maybe<Scalars['String']>;
|
|
166
|
+
projectId?: Maybe<Scalars['String']>;
|
|
167
|
+
projectName?: Maybe<Scalars['String']>;
|
|
168
|
+
projectSlug?: Maybe<Scalars['String']>;
|
|
169
|
+
slug?: Maybe<Scalars['String']>;
|
|
172
170
|
};
|
|
173
171
|
|
|
174
172
|
export type IOpportunityV2 = {
|
|
175
173
|
opportunityId?: Maybe<Scalars['ID']>;
|
|
176
|
-
|
|
174
|
+
projectId?: Maybe<Scalars['String']>;
|
|
177
175
|
categoryId?: Maybe<Scalars['String']>;
|
|
178
176
|
opportunityStatus?: Maybe<Scalars['String']>;
|
|
179
177
|
opportunityType?: Maybe<Scalars['String']>;
|
|
180
178
|
notificationType?: Maybe<Scalars['String']>;
|
|
181
179
|
name?: Maybe<Scalars['String']>;
|
|
182
180
|
description?: Maybe<Scalars['String']>;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
brandMedia?: Maybe<Scalars['String']>;
|
|
186
|
-
brandUrl?: Maybe<Scalars['String']>;
|
|
187
|
-
brandLudoUrl?: Maybe<Scalars['String']>;
|
|
188
|
-
brandIndustry?: Maybe<Scalars['String']>;
|
|
181
|
+
projectName?: Maybe<Scalars['String']>;
|
|
182
|
+
projectSlug?: Maybe<Scalars['String']>;
|
|
189
183
|
categoryName?: Maybe<Scalars['String']>;
|
|
190
184
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
191
185
|
projectUrl?: Maybe<Scalars['String']>;
|
|
@@ -196,6 +190,7 @@ export type IOpportunityV2 = {
|
|
|
196
190
|
shareLink?: Maybe<Scalars['String']>;
|
|
197
191
|
participantsLimit?: Maybe<Scalars['Int']>;
|
|
198
192
|
availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
|
|
193
|
+
slug?: Maybe<Scalars['String']>;
|
|
199
194
|
};
|
|
200
195
|
|
|
201
196
|
export type IQuery = {
|
|
@@ -505,30 +500,24 @@ export type IOpportunityResolvers<ContextType = any, ParentType extends IResolve
|
|
|
505
500
|
status?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
506
501
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
507
502
|
notifiable?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
brandLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
513
|
-
brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
503
|
+
projectId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
504
|
+
projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
505
|
+
projectSlug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
506
|
+
slug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
514
507
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
515
508
|
};
|
|
516
509
|
|
|
517
510
|
export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityV2'] = IResolversParentTypes['OpportunityV2']> = {
|
|
518
511
|
opportunityId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
519
|
-
|
|
512
|
+
projectId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
520
513
|
categoryId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
521
514
|
opportunityStatus?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
522
515
|
opportunityType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
523
516
|
notificationType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
524
517
|
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
525
518
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
529
|
-
brandUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
530
|
-
brandLudoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
531
|
-
brandIndustry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
519
|
+
projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
520
|
+
projectSlug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
532
521
|
categoryName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
533
522
|
ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
534
523
|
projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -539,6 +528,7 @@ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResol
|
|
|
539
528
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
540
529
|
participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
541
530
|
availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
531
|
+
slug?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
542
532
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
543
533
|
};
|
|
544
534
|
|
|
@@ -615,7 +605,7 @@ export type IVisitPageV2MutationVariables = Exact<{
|
|
|
615
605
|
}>;
|
|
616
606
|
|
|
617
607
|
|
|
618
|
-
export type IVisitPageV2Mutation = { visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | '
|
|
608
|
+
export type IVisitPageV2Mutation = { visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'projectName' | 'projectSlug' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'slug'>> };
|
|
619
609
|
|
|
620
610
|
export type IFetchCollectionRanksQueryVariables = Exact<{
|
|
621
611
|
collectionKeys: Array<ICollectionKey>;
|
|
@@ -641,7 +631,7 @@ export type IFetchExtensionOpportunitiesV2QueryVariables = Exact<{
|
|
|
641
631
|
}>;
|
|
642
632
|
|
|
643
633
|
|
|
644
|
-
export type IFetchExtensionOpportunitiesV2Query = { fetchExtensionOpportunitiesV2: { currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | '
|
|
634
|
+
export type IFetchExtensionOpportunitiesV2Query = { fetchExtensionOpportunitiesV2: { currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'projectName' | 'projectSlug' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'slug'>>>>, similarOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'projectName' | 'projectSlug' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'slug'>>>> } };
|
|
645
635
|
|
|
646
636
|
export type IFetchNftDataQueryVariables = Exact<{
|
|
647
637
|
blockchain: Scalars['String'];
|
|
@@ -749,17 +739,14 @@ export const VisitPageV2Document = gql`
|
|
|
749
739
|
categoryId: $categoryId
|
|
750
740
|
) {
|
|
751
741
|
opportunityId
|
|
752
|
-
|
|
742
|
+
projectId
|
|
753
743
|
categoryId
|
|
754
744
|
opportunityStatus
|
|
755
745
|
opportunityType
|
|
756
746
|
notificationType
|
|
757
747
|
name
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
brandMedia
|
|
761
|
-
brandUrl
|
|
762
|
-
brandIndustry
|
|
748
|
+
projectName
|
|
749
|
+
projectSlug
|
|
763
750
|
categoryName
|
|
764
751
|
description
|
|
765
752
|
ludoUrl
|
|
@@ -769,6 +756,9 @@ export const VisitPageV2Document = gql`
|
|
|
769
756
|
media
|
|
770
757
|
reportLink
|
|
771
758
|
shareLink
|
|
759
|
+
participantsLimit
|
|
760
|
+
availablePlacesForAirdrop
|
|
761
|
+
slug
|
|
772
762
|
}
|
|
773
763
|
}
|
|
774
764
|
`;
|
|
@@ -922,17 +912,14 @@ export const FetchExtensionOpportunitiesV2Document = gql`
|
|
|
922
912
|
) {
|
|
923
913
|
currentOpportunities {
|
|
924
914
|
opportunityId
|
|
925
|
-
|
|
915
|
+
projectId
|
|
926
916
|
categoryId
|
|
927
917
|
opportunityStatus
|
|
928
918
|
opportunityType
|
|
929
919
|
notificationType
|
|
930
920
|
name
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
brandMedia
|
|
934
|
-
brandUrl
|
|
935
|
-
brandIndustry
|
|
921
|
+
projectName
|
|
922
|
+
projectSlug
|
|
936
923
|
categoryName
|
|
937
924
|
description
|
|
938
925
|
ludoUrl
|
|
@@ -944,21 +931,18 @@ export const FetchExtensionOpportunitiesV2Document = gql`
|
|
|
944
931
|
shareLink
|
|
945
932
|
participantsLimit
|
|
946
933
|
availablePlacesForAirdrop
|
|
947
|
-
|
|
934
|
+
slug
|
|
948
935
|
}
|
|
949
936
|
similarOpportunities {
|
|
950
937
|
opportunityId
|
|
951
|
-
|
|
938
|
+
projectId
|
|
952
939
|
categoryId
|
|
953
940
|
opportunityStatus
|
|
954
941
|
opportunityType
|
|
955
942
|
notificationType
|
|
956
943
|
name
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
brandMedia
|
|
960
|
-
brandUrl
|
|
961
|
-
brandIndustry
|
|
944
|
+
projectName
|
|
945
|
+
projectSlug
|
|
962
946
|
categoryName
|
|
963
947
|
description
|
|
964
948
|
ludoUrl
|
|
@@ -970,7 +954,7 @@ export const FetchExtensionOpportunitiesV2Document = gql`
|
|
|
970
954
|
shareLink
|
|
971
955
|
participantsLimit
|
|
972
956
|
availablePlacesForAirdrop
|
|
973
|
-
|
|
957
|
+
slug
|
|
974
958
|
}
|
|
975
959
|
}
|
|
976
960
|
}
|
|
@@ -20,6 +20,26 @@ export type Scalars = {
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
export enum IBlockchainType {
|
|
24
|
+
Ethereum = 'ETHEREUM',
|
|
25
|
+
Optimism = 'OPTIMISM',
|
|
26
|
+
Binance = 'BINANCE',
|
|
27
|
+
Polygon = 'POLYGON',
|
|
28
|
+
Arbitrum = 'ARBITRUM',
|
|
29
|
+
Avalanche = 'AVALANCHE',
|
|
30
|
+
Cronos = 'CRONOS',
|
|
31
|
+
Base = 'BASE',
|
|
32
|
+
Solana = 'SOLANA',
|
|
33
|
+
Tezos = 'TEZOS',
|
|
34
|
+
Multiversx = 'MULTIVERSX',
|
|
35
|
+
Flow = 'FLOW',
|
|
36
|
+
Terra = 'TERRA',
|
|
37
|
+
Bitcoin = 'BITCOIN',
|
|
38
|
+
Near = 'NEAR',
|
|
39
|
+
Wax = 'WAX',
|
|
40
|
+
Ton = 'TON'
|
|
41
|
+
}
|
|
42
|
+
|
|
23
43
|
export type IContactSupportInput = {
|
|
24
44
|
userId?: Maybe<Scalars['ID']>;
|
|
25
45
|
email: Scalars['String'];
|
|
@@ -112,8 +132,17 @@ export type IOpportunityInput = {
|
|
|
112
132
|
startDate?: Maybe<Scalars['Long']>;
|
|
113
133
|
endDate?: Maybe<Scalars['Long']>;
|
|
114
134
|
recaptchaToken: Scalars['String'];
|
|
135
|
+
blockchainType: IBlockchainType;
|
|
136
|
+
opportunityType: IOpportunityType;
|
|
115
137
|
};
|
|
116
138
|
|
|
139
|
+
export enum IOpportunityType {
|
|
140
|
+
TokenAirdrop = 'TOKEN_AIRDROP',
|
|
141
|
+
Marketing = 'MARKETING',
|
|
142
|
+
NftMinting = 'NFT_MINTING',
|
|
143
|
+
Event = 'EVENT'
|
|
144
|
+
}
|
|
145
|
+
|
|
117
146
|
export type IPartnershipInquiryInput = {
|
|
118
147
|
userId?: Maybe<Scalars['ID']>;
|
|
119
148
|
name: Scalars['String'];
|
|
@@ -218,6 +247,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
218
247
|
|
|
219
248
|
/** Mapping between all available schema types and the resolvers types */
|
|
220
249
|
export type IResolversTypes = {
|
|
250
|
+
BlockchainType: IBlockchainType;
|
|
221
251
|
ContactSupportInput: IContactSupportInput;
|
|
222
252
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
223
253
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
@@ -228,6 +258,7 @@ export type IResolversTypes = {
|
|
|
228
258
|
Mutation: ResolverTypeWrapper<{}>;
|
|
229
259
|
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
230
260
|
OpportunityInput: IOpportunityInput;
|
|
261
|
+
OpportunityType: IOpportunityType;
|
|
231
262
|
PartnershipInquiryInput: IPartnershipInquiryInput;
|
|
232
263
|
Query: ResolverTypeWrapper<{}>;
|
|
233
264
|
RegistrationInviteInput: IRegistrationInviteInput;
|