@ludo.ninja/api 2.4.2 → 2.4.4
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.
|
@@ -256,6 +256,20 @@ export type IBannerAssetsPage = {
|
|
|
256
256
|
assets?: Maybe<Array<Maybe<IBannerAsset>>>;
|
|
257
257
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
258
258
|
};
|
|
259
|
+
export type IBrand = {
|
|
260
|
+
brandId: Scalars['ID'];
|
|
261
|
+
name: Scalars['String'];
|
|
262
|
+
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
263
|
+
description?: Maybe<Scalars['String']>;
|
|
264
|
+
industry?: Maybe<Scalars['String']>;
|
|
265
|
+
link?: Maybe<Scalars['String']>;
|
|
266
|
+
media?: Maybe<Scalars['String']>;
|
|
267
|
+
};
|
|
268
|
+
export type ICategory = {
|
|
269
|
+
categoryId: Scalars['ID'];
|
|
270
|
+
name: Scalars['String'];
|
|
271
|
+
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
272
|
+
};
|
|
259
273
|
export type ICollection = {
|
|
260
274
|
blockchain?: Maybe<Scalars['String']>;
|
|
261
275
|
collectionAssets?: Maybe<Array<Maybe<ICollectionAsset>>>;
|
|
@@ -746,10 +760,12 @@ export type IMutation = {
|
|
|
746
760
|
hideAsset: Scalars['Boolean'];
|
|
747
761
|
hideAssets: Scalars['Boolean'];
|
|
748
762
|
hideBannerAsset: Scalars['Boolean'];
|
|
763
|
+
hideOpportunityV2: Scalars['Boolean'];
|
|
749
764
|
hideShowcaseAsset: Scalars['Boolean'];
|
|
750
765
|
likeAsset: Scalars['Boolean'];
|
|
751
766
|
likeCollection: Scalars['Boolean'];
|
|
752
767
|
openOpportunity: Scalars['Boolean'];
|
|
768
|
+
openOpportunityV2: Scalars['Boolean'];
|
|
753
769
|
refreshToken: ITokenPair;
|
|
754
770
|
rejectAssetReport: Scalars['Boolean'];
|
|
755
771
|
rejectAssetReports: Scalars['Boolean'];
|
|
@@ -802,6 +818,7 @@ export type IMutation = {
|
|
|
802
818
|
uploadGalleryBanner: Scalars['String'];
|
|
803
819
|
uploadUserpic: Scalars['String'];
|
|
804
820
|
useInviteCode: Scalars['Boolean'];
|
|
821
|
+
visitPageV2?: Maybe<IOpportunityV2>;
|
|
805
822
|
};
|
|
806
823
|
export type IMutationAddAssetsToGalleryArgs = {
|
|
807
824
|
galleryId: Scalars['ID'];
|
|
@@ -968,6 +985,9 @@ export type IMutationHideAssetsArgs = {
|
|
|
968
985
|
export type IMutationHideBannerAssetArgs = {
|
|
969
986
|
id: Scalars['String'];
|
|
970
987
|
};
|
|
988
|
+
export type IMutationHideOpportunityV2Args = {
|
|
989
|
+
opportunityId: Scalars['ID'];
|
|
990
|
+
};
|
|
971
991
|
export type IMutationHideShowcaseAssetArgs = {
|
|
972
992
|
id: Scalars['String'];
|
|
973
993
|
};
|
|
@@ -980,6 +1000,9 @@ export type IMutationLikeCollectionArgs = {
|
|
|
980
1000
|
export type IMutationOpenOpportunityArgs = {
|
|
981
1001
|
opportunityId: Scalars['ID'];
|
|
982
1002
|
};
|
|
1003
|
+
export type IMutationOpenOpportunityV2Args = {
|
|
1004
|
+
opportunityId: Scalars['ID'];
|
|
1005
|
+
};
|
|
983
1006
|
export type IMutationRefreshTokenArgs = {
|
|
984
1007
|
refreshToken: Scalars['String'];
|
|
985
1008
|
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
@@ -1174,6 +1197,14 @@ export type IMutationUploadUserpicArgs = {
|
|
|
1174
1197
|
export type IMutationUseInviteCodeArgs = {
|
|
1175
1198
|
inviteCode: Scalars['String'];
|
|
1176
1199
|
};
|
|
1200
|
+
export type IMutationVisitPageV2Args = {
|
|
1201
|
+
domain: Scalars['String'];
|
|
1202
|
+
title: Scalars['String'];
|
|
1203
|
+
description?: Maybe<Scalars['String']>;
|
|
1204
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1205
|
+
brandId?: Maybe<Scalars['String']>;
|
|
1206
|
+
category?: Maybe<Scalars['String']>;
|
|
1207
|
+
};
|
|
1177
1208
|
export type INftData = {
|
|
1178
1209
|
blockchain: Scalars['String'];
|
|
1179
1210
|
contractAddress?: Maybe<Scalars['String']>;
|
|
@@ -1242,6 +1273,28 @@ export type IOpportunityPage = {
|
|
|
1242
1273
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
1243
1274
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
1244
1275
|
};
|
|
1276
|
+
export type IOpportunityV2 = {
|
|
1277
|
+
opportunityId?: Maybe<Scalars['ID']>;
|
|
1278
|
+
brandId?: Maybe<Scalars['String']>;
|
|
1279
|
+
categoryId?: Maybe<Scalars['String']>;
|
|
1280
|
+
opportunityStatus?: Maybe<Scalars['String']>;
|
|
1281
|
+
opportunityType?: Maybe<Scalars['String']>;
|
|
1282
|
+
notificationType?: Maybe<Scalars['String']>;
|
|
1283
|
+
name?: Maybe<Scalars['String']>;
|
|
1284
|
+
brandName?: Maybe<Scalars['String']>;
|
|
1285
|
+
brandDescription?: Maybe<Scalars['String']>;
|
|
1286
|
+
brandMedia?: Maybe<Scalars['String']>;
|
|
1287
|
+
brandUrl?: Maybe<Scalars['String']>;
|
|
1288
|
+
brandIndustry?: Maybe<Scalars['String']>;
|
|
1289
|
+
categoryName?: Maybe<Scalars['String']>;
|
|
1290
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
1291
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
1292
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
1293
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
1294
|
+
media?: Maybe<Scalars['String']>;
|
|
1295
|
+
reportLink?: Maybe<Scalars['String']>;
|
|
1296
|
+
shareLink?: Maybe<Scalars['String']>;
|
|
1297
|
+
};
|
|
1245
1298
|
export type IPage = {
|
|
1246
1299
|
token?: Maybe<Scalars['String']>;
|
|
1247
1300
|
num?: Maybe<Scalars['Int']>;
|
|
@@ -1314,6 +1367,9 @@ export type IQuery = {
|
|
|
1314
1367
|
fetchDynamicCollectionData: IDynamicCollectionData;
|
|
1315
1368
|
fetchDynamicCollectionsData: Array<IDynamicCollectionData>;
|
|
1316
1369
|
fetchExpectations: Array<Maybe<IExpectation>>;
|
|
1370
|
+
fetchExtensionBrands: Array<Maybe<IBrand>>;
|
|
1371
|
+
fetchExtensionCategories: Array<Maybe<ICategory>>;
|
|
1372
|
+
fetchExtensionOpportunities: Array<Maybe<IOpportunityV2>>;
|
|
1317
1373
|
fetchFavorites: IGalleriesPage;
|
|
1318
1374
|
fetchFavoritesV2: IGalleriesPageV2;
|
|
1319
1375
|
fetchFollowers: Array<Maybe<IFollower>>;
|
|
@@ -1520,6 +1576,11 @@ export type IQueryFetchDynamicCollectionDataArgs = {
|
|
|
1520
1576
|
export type IQueryFetchDynamicCollectionsDataArgs = {
|
|
1521
1577
|
input: Array<IDynamicCollectionDataInput>;
|
|
1522
1578
|
};
|
|
1579
|
+
export type IQueryFetchExtensionOpportunitiesArgs = {
|
|
1580
|
+
userId?: Maybe<Scalars['String']>;
|
|
1581
|
+
brandId?: Maybe<Scalars['String']>;
|
|
1582
|
+
category?: Maybe<Scalars['String']>;
|
|
1583
|
+
};
|
|
1523
1584
|
export type IQueryFetchFavoritesArgs = {
|
|
1524
1585
|
pageSize: Scalars['Int'];
|
|
1525
1586
|
pageToken?: Maybe<Scalars['String']>;
|
|
@@ -2098,6 +2159,20 @@ export type IXpSortInput = {
|
|
|
2098
2159
|
sortByConnectedWalletsNum: ISort;
|
|
2099
2160
|
sortBySuggestedOpportunities: ISort;
|
|
2100
2161
|
};
|
|
2162
|
+
export type IChangeXpPointsMutationVariables = Exact<{
|
|
2163
|
+
userId: Scalars['ID'];
|
|
2164
|
+
pointsDiff: Scalars['Int'];
|
|
2165
|
+
}>;
|
|
2166
|
+
export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
|
|
2167
|
+
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2168
|
+
userId: Scalars['String'];
|
|
2169
|
+
codesNum: Scalars['Int'];
|
|
2170
|
+
}>;
|
|
2171
|
+
export type IAddInviteCodesMutation = Pick<IMutation, 'addInviteCodes'>;
|
|
2172
|
+
export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
2173
|
+
inviteCode: Scalars['String'];
|
|
2174
|
+
}>;
|
|
2175
|
+
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
2101
2176
|
export type IFetchAdminXpPageQueryVariables = Exact<{
|
|
2102
2177
|
filter: IXpFilterInput;
|
|
2103
2178
|
sort: IXpSortInput;
|
|
@@ -2276,12 +2351,51 @@ export type IOnMyExperienceUpdatedSubscriptionVariables = Exact<{
|
|
|
2276
2351
|
export type IOnMyExperienceUpdatedSubscription = {
|
|
2277
2352
|
onMyExperienceUpdated: Pick<IUserXp, 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>;
|
|
2278
2353
|
};
|
|
2354
|
+
export type IHideOpportunityV2MutationVariables = Exact<{
|
|
2355
|
+
opportunityId: Scalars['ID'];
|
|
2356
|
+
}>;
|
|
2357
|
+
export type IHideOpportunityV2Mutation = Pick<IMutation, 'hideOpportunityV2'>;
|
|
2358
|
+
export type IOpenOpportunityV2MutationVariables = Exact<{
|
|
2359
|
+
opportunityId: Scalars['ID'];
|
|
2360
|
+
}>;
|
|
2361
|
+
export type IOpenOpportunityV2Mutation = Pick<IMutation, 'openOpportunityV2'>;
|
|
2362
|
+
export type IVisitPageV2MutationVariables = Exact<{
|
|
2363
|
+
domain: Scalars['String'];
|
|
2364
|
+
title: Scalars['String'];
|
|
2365
|
+
description?: Maybe<Scalars['String']>;
|
|
2366
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
2367
|
+
brandId?: Maybe<Scalars['String']>;
|
|
2368
|
+
category?: Maybe<Scalars['String']>;
|
|
2369
|
+
}>;
|
|
2370
|
+
export type IVisitPageV2Mutation = {
|
|
2371
|
+
visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>;
|
|
2372
|
+
};
|
|
2279
2373
|
export type IFetchCollectionRanksQueryVariables = Exact<{
|
|
2280
2374
|
collectionKeys: Array<ICollectionKey>;
|
|
2281
2375
|
}>;
|
|
2282
2376
|
export type IFetchCollectionRanksQuery = {
|
|
2283
2377
|
fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank'>>;
|
|
2284
2378
|
};
|
|
2379
|
+
export type IFetchExtensionBrandsQueryVariables = Exact<{
|
|
2380
|
+
[key: string]: never;
|
|
2381
|
+
}>;
|
|
2382
|
+
export type IFetchExtensionBrandsQuery = {
|
|
2383
|
+
fetchExtensionBrands: Array<Maybe<Pick<IBrand, 'brandId' | 'name' | 'matchingWords' | 'description' | 'industry' | 'link' | 'media'>>>;
|
|
2384
|
+
};
|
|
2385
|
+
export type IFetchExtensionCategoriesQueryVariables = Exact<{
|
|
2386
|
+
[key: string]: never;
|
|
2387
|
+
}>;
|
|
2388
|
+
export type IFetchExtensionCategoriesQuery = {
|
|
2389
|
+
fetchExtensionCategories: Array<Maybe<Pick<ICategory, 'categoryId' | 'name' | 'matchingWords'>>>;
|
|
2390
|
+
};
|
|
2391
|
+
export type IFetchExtensionOpportunitiesQueryVariables = Exact<{
|
|
2392
|
+
userId?: Maybe<Scalars['String']>;
|
|
2393
|
+
brandId?: Maybe<Scalars['String']>;
|
|
2394
|
+
category?: Maybe<Scalars['String']>;
|
|
2395
|
+
}>;
|
|
2396
|
+
export type IFetchExtensionOpportunitiesQuery = {
|
|
2397
|
+
fetchExtensionOpportunities: Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>;
|
|
2398
|
+
};
|
|
2285
2399
|
export type IFetchNftDataQueryVariables = Exact<{
|
|
2286
2400
|
blockchain: Scalars['String'];
|
|
2287
2401
|
contractAddress?: Maybe<Scalars['String']>;
|
|
@@ -2904,6 +3018,85 @@ export type IFindUserShowcaseItemsQuery = {
|
|
|
2904
3018
|
showcaseItems: Array<Maybe<Pick<IShowcaseItem, 'itemType' | 'itemId' | 'blockchain' | 'name' | 'media' | 'mediaPreview' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'likes' | 'visible' | 'blurred' | 'creatorsAddresses'>>>;
|
|
2905
3019
|
});
|
|
2906
3020
|
};
|
|
3021
|
+
export declare const ChangeXpPointsDocument: Apollo.DocumentNode;
|
|
3022
|
+
export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3023
|
+
/**
|
|
3024
|
+
* __useChangeXpPointsMutation__
|
|
3025
|
+
*
|
|
3026
|
+
* To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
|
|
3027
|
+
* When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
|
|
3028
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3029
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3030
|
+
*
|
|
3031
|
+
* @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;
|
|
3032
|
+
*
|
|
3033
|
+
* @example
|
|
3034
|
+
* const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
|
|
3035
|
+
* variables: {
|
|
3036
|
+
* userId: // value for 'userId'
|
|
3037
|
+
* pointsDiff: // value for 'pointsDiff'
|
|
3038
|
+
* },
|
|
3039
|
+
* });
|
|
3040
|
+
*/
|
|
3041
|
+
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
3042
|
+
userId: string;
|
|
3043
|
+
pointsDiff: number;
|
|
3044
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3045
|
+
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
3046
|
+
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
3047
|
+
export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3048
|
+
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
3049
|
+
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3050
|
+
/**
|
|
3051
|
+
* __useAddInviteCodesMutation__
|
|
3052
|
+
*
|
|
3053
|
+
* To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
|
|
3054
|
+
* When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
|
|
3055
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3056
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3057
|
+
*
|
|
3058
|
+
* @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;
|
|
3059
|
+
*
|
|
3060
|
+
* @example
|
|
3061
|
+
* const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
|
|
3062
|
+
* variables: {
|
|
3063
|
+
* userId: // value for 'userId'
|
|
3064
|
+
* codesNum: // value for 'codesNum'
|
|
3065
|
+
* },
|
|
3066
|
+
* });
|
|
3067
|
+
*/
|
|
3068
|
+
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
3069
|
+
userId: string;
|
|
3070
|
+
codesNum: number;
|
|
3071
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3072
|
+
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
3073
|
+
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
3074
|
+
export type AddInviteCodesMutationOptions = Apollo.BaseMutationOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3075
|
+
export declare const RemoveInviteCodeDocument: Apollo.DocumentNode;
|
|
3076
|
+
export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
3077
|
+
/**
|
|
3078
|
+
* __useRemoveInviteCodeMutation__
|
|
3079
|
+
*
|
|
3080
|
+
* To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
|
|
3081
|
+
* When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
|
|
3082
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3083
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3084
|
+
*
|
|
3085
|
+
* @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;
|
|
3086
|
+
*
|
|
3087
|
+
* @example
|
|
3088
|
+
* const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
|
|
3089
|
+
* variables: {
|
|
3090
|
+
* inviteCode: // value for 'inviteCode'
|
|
3091
|
+
* },
|
|
3092
|
+
* });
|
|
3093
|
+
*/
|
|
3094
|
+
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
3095
|
+
inviteCode: string;
|
|
3096
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3097
|
+
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
3098
|
+
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
3099
|
+
export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
2907
3100
|
export declare const FetchAdminXpPageDocument: Apollo.DocumentNode;
|
|
2908
3101
|
/**
|
|
2909
3102
|
* __useFetchAdminXpPageQuery__
|
|
@@ -3453,6 +3646,91 @@ export declare function useOnMyExperienceUpdatedSubscription(baseOptions: Apollo
|
|
|
3453
3646
|
}>>;
|
|
3454
3647
|
export type OnMyExperienceUpdatedSubscriptionHookResult = ReturnType<typeof useOnMyExperienceUpdatedSubscription>;
|
|
3455
3648
|
export type OnMyExperienceUpdatedSubscriptionResult = Apollo.SubscriptionResult<IOnMyExperienceUpdatedSubscription>;
|
|
3649
|
+
export declare const HideOpportunityV2Document: Apollo.DocumentNode;
|
|
3650
|
+
export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
|
|
3651
|
+
/**
|
|
3652
|
+
* __useHideOpportunityV2Mutation__
|
|
3653
|
+
*
|
|
3654
|
+
* To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
|
|
3655
|
+
* When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
|
|
3656
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3657
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3658
|
+
*
|
|
3659
|
+
* @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;
|
|
3660
|
+
*
|
|
3661
|
+
* @example
|
|
3662
|
+
* const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
|
|
3663
|
+
* variables: {
|
|
3664
|
+
* opportunityId: // value for 'opportunityId'
|
|
3665
|
+
* },
|
|
3666
|
+
* });
|
|
3667
|
+
*/
|
|
3668
|
+
export declare function useHideOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>): Apollo.MutationTuple<IHideOpportunityV2Mutation, Exact<{
|
|
3669
|
+
opportunityId: string;
|
|
3670
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3671
|
+
export type HideOpportunityV2MutationHookResult = ReturnType<typeof useHideOpportunityV2Mutation>;
|
|
3672
|
+
export type HideOpportunityV2MutationResult = Apollo.MutationResult<IHideOpportunityV2Mutation>;
|
|
3673
|
+
export type HideOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
|
|
3674
|
+
export declare const OpenOpportunityV2Document: Apollo.DocumentNode;
|
|
3675
|
+
export type IOpenOpportunityV2MutationFn = Apollo.MutationFunction<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
|
|
3676
|
+
/**
|
|
3677
|
+
* __useOpenOpportunityV2Mutation__
|
|
3678
|
+
*
|
|
3679
|
+
* To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
|
|
3680
|
+
* When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
|
|
3681
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3682
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3683
|
+
*
|
|
3684
|
+
* @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;
|
|
3685
|
+
*
|
|
3686
|
+
* @example
|
|
3687
|
+
* const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
|
|
3688
|
+
* variables: {
|
|
3689
|
+
* opportunityId: // value for 'opportunityId'
|
|
3690
|
+
* },
|
|
3691
|
+
* });
|
|
3692
|
+
*/
|
|
3693
|
+
export declare function useOpenOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>): Apollo.MutationTuple<IOpenOpportunityV2Mutation, Exact<{
|
|
3694
|
+
opportunityId: string;
|
|
3695
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3696
|
+
export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOpportunityV2Mutation>;
|
|
3697
|
+
export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
|
|
3698
|
+
export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
|
|
3699
|
+
export declare const VisitPageV2Document: Apollo.DocumentNode;
|
|
3700
|
+
export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
|
|
3701
|
+
/**
|
|
3702
|
+
* __useVisitPageV2Mutation__
|
|
3703
|
+
*
|
|
3704
|
+
* To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
|
|
3705
|
+
* When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
|
|
3706
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3707
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3708
|
+
*
|
|
3709
|
+
* @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;
|
|
3710
|
+
*
|
|
3711
|
+
* @example
|
|
3712
|
+
* const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
|
|
3713
|
+
* variables: {
|
|
3714
|
+
* domain: // value for 'domain'
|
|
3715
|
+
* title: // value for 'title'
|
|
3716
|
+
* description: // value for 'description'
|
|
3717
|
+
* tags: // value for 'tags'
|
|
3718
|
+
* brandId: // value for 'brandId'
|
|
3719
|
+
* category: // value for 'category'
|
|
3720
|
+
* },
|
|
3721
|
+
* });
|
|
3722
|
+
*/
|
|
3723
|
+
export declare function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHookOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>): Apollo.MutationTuple<IVisitPageV2Mutation, Exact<{
|
|
3724
|
+
domain: string;
|
|
3725
|
+
title: string;
|
|
3726
|
+
description?: Maybe<string> | undefined;
|
|
3727
|
+
tags?: Maybe<Maybe<string>[]> | undefined;
|
|
3728
|
+
brandId?: Maybe<string> | undefined;
|
|
3729
|
+
category?: Maybe<string> | undefined;
|
|
3730
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3731
|
+
export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
|
|
3732
|
+
export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
|
|
3733
|
+
export type VisitPageV2MutationOptions = Apollo.BaseMutationOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
|
|
3456
3734
|
export declare const FetchCollectionRanksDocument: Apollo.DocumentNode;
|
|
3457
3735
|
/**
|
|
3458
3736
|
* __useFetchCollectionRanksQuery__
|
|
@@ -3479,6 +3757,88 @@ export declare function useFetchCollectionRanksLazyQuery(baseOptions?: Apollo.La
|
|
|
3479
3757
|
export type FetchCollectionRanksQueryHookResult = ReturnType<typeof useFetchCollectionRanksQuery>;
|
|
3480
3758
|
export type FetchCollectionRanksLazyQueryHookResult = ReturnType<typeof useFetchCollectionRanksLazyQuery>;
|
|
3481
3759
|
export type FetchCollectionRanksQueryResult = Apollo.QueryResult<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>;
|
|
3760
|
+
export declare const FetchExtensionBrandsDocument: Apollo.DocumentNode;
|
|
3761
|
+
/**
|
|
3762
|
+
* __useFetchExtensionBrandsQuery__
|
|
3763
|
+
*
|
|
3764
|
+
* To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
|
|
3765
|
+
* When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3766
|
+
* you can use to render your UI.
|
|
3767
|
+
*
|
|
3768
|
+
* @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;
|
|
3769
|
+
*
|
|
3770
|
+
* @example
|
|
3771
|
+
* const { data, loading, error } = useFetchExtensionBrandsQuery({
|
|
3772
|
+
* variables: {
|
|
3773
|
+
* },
|
|
3774
|
+
* });
|
|
3775
|
+
*/
|
|
3776
|
+
export declare function useFetchExtensionBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>): Apollo.QueryResult<IFetchExtensionBrandsQuery, Exact<{
|
|
3777
|
+
[key: string]: never;
|
|
3778
|
+
}>>;
|
|
3779
|
+
export declare function useFetchExtensionBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchExtensionBrandsQuery, Exact<{
|
|
3780
|
+
[key: string]: never;
|
|
3781
|
+
}>>;
|
|
3782
|
+
export type FetchExtensionBrandsQueryHookResult = ReturnType<typeof useFetchExtensionBrandsQuery>;
|
|
3783
|
+
export type FetchExtensionBrandsLazyQueryHookResult = ReturnType<typeof useFetchExtensionBrandsLazyQuery>;
|
|
3784
|
+
export type FetchExtensionBrandsQueryResult = Apollo.QueryResult<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>;
|
|
3785
|
+
export declare const FetchExtensionCategoriesDocument: Apollo.DocumentNode;
|
|
3786
|
+
/**
|
|
3787
|
+
* __useFetchExtensionCategoriesQuery__
|
|
3788
|
+
*
|
|
3789
|
+
* To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
|
|
3790
|
+
* When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3791
|
+
* you can use to render your UI.
|
|
3792
|
+
*
|
|
3793
|
+
* @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;
|
|
3794
|
+
*
|
|
3795
|
+
* @example
|
|
3796
|
+
* const { data, loading, error } = useFetchExtensionCategoriesQuery({
|
|
3797
|
+
* variables: {
|
|
3798
|
+
* },
|
|
3799
|
+
* });
|
|
3800
|
+
*/
|
|
3801
|
+
export declare function useFetchExtensionCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>): Apollo.QueryResult<IFetchExtensionCategoriesQuery, Exact<{
|
|
3802
|
+
[key: string]: never;
|
|
3803
|
+
}>>;
|
|
3804
|
+
export declare function useFetchExtensionCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchExtensionCategoriesQuery, Exact<{
|
|
3805
|
+
[key: string]: never;
|
|
3806
|
+
}>>;
|
|
3807
|
+
export type FetchExtensionCategoriesQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesQuery>;
|
|
3808
|
+
export type FetchExtensionCategoriesLazyQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesLazyQuery>;
|
|
3809
|
+
export type FetchExtensionCategoriesQueryResult = Apollo.QueryResult<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>;
|
|
3810
|
+
export declare const FetchExtensionOpportunitiesDocument: Apollo.DocumentNode;
|
|
3811
|
+
/**
|
|
3812
|
+
* __useFetchExtensionOpportunitiesQuery__
|
|
3813
|
+
*
|
|
3814
|
+
* To run a query within a React component, call `useFetchExtensionOpportunitiesQuery` and pass it any options that fit your needs.
|
|
3815
|
+
* When your component renders, `useFetchExtensionOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3816
|
+
* you can use to render your UI.
|
|
3817
|
+
*
|
|
3818
|
+
* @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;
|
|
3819
|
+
*
|
|
3820
|
+
* @example
|
|
3821
|
+
* const { data, loading, error } = useFetchExtensionOpportunitiesQuery({
|
|
3822
|
+
* variables: {
|
|
3823
|
+
* userId: // value for 'userId'
|
|
3824
|
+
* brandId: // value for 'brandId'
|
|
3825
|
+
* category: // value for 'category'
|
|
3826
|
+
* },
|
|
3827
|
+
* });
|
|
3828
|
+
*/
|
|
3829
|
+
export declare function useFetchExtensionOpportunitiesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>): Apollo.QueryResult<IFetchExtensionOpportunitiesQuery, Exact<{
|
|
3830
|
+
userId?: Maybe<string> | undefined;
|
|
3831
|
+
brandId?: Maybe<string> | undefined;
|
|
3832
|
+
category?: Maybe<string> | undefined;
|
|
3833
|
+
}>>;
|
|
3834
|
+
export declare function useFetchExtensionOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchExtensionOpportunitiesQuery, Exact<{
|
|
3835
|
+
userId?: Maybe<string> | undefined;
|
|
3836
|
+
brandId?: Maybe<string> | undefined;
|
|
3837
|
+
category?: Maybe<string> | undefined;
|
|
3838
|
+
}>>;
|
|
3839
|
+
export type FetchExtensionOpportunitiesQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesQuery>;
|
|
3840
|
+
export type FetchExtensionOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesLazyQuery>;
|
|
3841
|
+
export type FetchExtensionOpportunitiesQueryResult = Apollo.QueryResult<IFetchExtensionOpportunitiesQuery, IFetchExtensionOpportunitiesQueryVariables>;
|
|
3482
3842
|
export declare const FetchNftDataDocument: Apollo.DocumentNode;
|
|
3483
3843
|
/**
|
|
3484
3844
|
* __useFetchNftDataQuery__
|
|
@@ -23,12 +23,12 @@ 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.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = void 0;
|
|
26
|
+
exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = void 0;
|
|
27
|
+
exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchDynamicCollectionsDataLazyQuery = void 0;
|
|
28
|
+
exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchUserFavoritesLazyQuery = exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = void 0;
|
|
29
|
+
exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = void 0;
|
|
30
|
+
exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = void 0;
|
|
31
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = void 0;
|
|
32
32
|
/* eslint-disable */
|
|
33
33
|
const client_1 = require("@apollo/client");
|
|
34
34
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -37,6 +37,86 @@ var ISortDirection;
|
|
|
37
37
|
ISortDirection["Asc"] = "ASC";
|
|
38
38
|
ISortDirection["Desc"] = "DESC";
|
|
39
39
|
})(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
|
|
40
|
+
exports.ChangeXpPointsDocument = (0, client_1.gql) `
|
|
41
|
+
mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
|
|
42
|
+
changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
/**
|
|
46
|
+
* __useChangeXpPointsMutation__
|
|
47
|
+
*
|
|
48
|
+
* To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
|
|
49
|
+
* When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
|
|
50
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
51
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
52
|
+
*
|
|
53
|
+
* @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;
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
|
|
57
|
+
* variables: {
|
|
58
|
+
* userId: // value for 'userId'
|
|
59
|
+
* pointsDiff: // value for 'pointsDiff'
|
|
60
|
+
* },
|
|
61
|
+
* });
|
|
62
|
+
*/
|
|
63
|
+
function useChangeXpPointsMutation(baseOptions) {
|
|
64
|
+
return Apollo.useMutation(exports.ChangeXpPointsDocument, baseOptions);
|
|
65
|
+
}
|
|
66
|
+
exports.useChangeXpPointsMutation = useChangeXpPointsMutation;
|
|
67
|
+
exports.AddInviteCodesDocument = (0, client_1.gql) `
|
|
68
|
+
mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
|
|
69
|
+
addInviteCodes(userId: $userId, codesNum: $codesNum)
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
72
|
+
/**
|
|
73
|
+
* __useAddInviteCodesMutation__
|
|
74
|
+
*
|
|
75
|
+
* To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
|
|
76
|
+
* When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
|
|
77
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
78
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
79
|
+
*
|
|
80
|
+
* @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;
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
|
|
84
|
+
* variables: {
|
|
85
|
+
* userId: // value for 'userId'
|
|
86
|
+
* codesNum: // value for 'codesNum'
|
|
87
|
+
* },
|
|
88
|
+
* });
|
|
89
|
+
*/
|
|
90
|
+
function useAddInviteCodesMutation(baseOptions) {
|
|
91
|
+
return Apollo.useMutation(exports.AddInviteCodesDocument, baseOptions);
|
|
92
|
+
}
|
|
93
|
+
exports.useAddInviteCodesMutation = useAddInviteCodesMutation;
|
|
94
|
+
exports.RemoveInviteCodeDocument = (0, client_1.gql) `
|
|
95
|
+
mutation RemoveInviteCode($inviteCode: String!) {
|
|
96
|
+
removeInviteCode(inviteCode: $inviteCode)
|
|
97
|
+
}
|
|
98
|
+
`;
|
|
99
|
+
/**
|
|
100
|
+
* __useRemoveInviteCodeMutation__
|
|
101
|
+
*
|
|
102
|
+
* To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
|
|
103
|
+
* When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
|
|
104
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
105
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
106
|
+
*
|
|
107
|
+
* @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;
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
|
|
111
|
+
* variables: {
|
|
112
|
+
* inviteCode: // value for 'inviteCode'
|
|
113
|
+
* },
|
|
114
|
+
* });
|
|
115
|
+
*/
|
|
116
|
+
function useRemoveInviteCodeMutation(baseOptions) {
|
|
117
|
+
return Apollo.useMutation(exports.RemoveInviteCodeDocument, baseOptions);
|
|
118
|
+
}
|
|
119
|
+
exports.useRemoveInviteCodeMutation = useRemoveInviteCodeMutation;
|
|
40
120
|
exports.FetchAdminXpPageDocument = (0, client_1.gql) `
|
|
41
121
|
query FetchAdminXpPage($filter: XpFilterInput!, $sort: XpSortInput!, $page: AdminPageInput!) {
|
|
42
122
|
fetchAdminXpPage(filter: $filter, sort: $sort, page: $page) {
|