@ludo.ninja/api 2.8.7 → 2.8.9
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.
|
@@ -41,13 +41,12 @@ export type IAdminInvite = {
|
|
|
41
41
|
export type IAdminOpportunity = {
|
|
42
42
|
opportunityId: Scalars['ID'];
|
|
43
43
|
name?: Maybe<Scalars['String']>;
|
|
44
|
+
description?: Maybe<Scalars['String']>;
|
|
44
45
|
brandName?: Maybe<Scalars['String']>;
|
|
45
46
|
industry?: Maybe<Scalars['String']>;
|
|
46
47
|
category?: Maybe<Scalars['String']>;
|
|
47
48
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
48
49
|
projectUrl?: Maybe<Scalars['String']>;
|
|
49
|
-
media?: Maybe<Scalars['String']>;
|
|
50
|
-
description?: Maybe<Scalars['String']>;
|
|
51
50
|
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
52
51
|
status?: Maybe<Scalars['String']>;
|
|
53
52
|
activeFrom?: Maybe<Scalars['Long']>;
|
|
@@ -56,6 +55,7 @@ export type IAdminOpportunity = {
|
|
|
56
55
|
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
57
56
|
minLudoRank?: Maybe<Scalars['Float']>;
|
|
58
57
|
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
58
|
+
media?: Maybe<Scalars['String']>;
|
|
59
59
|
minWalletValue?: Maybe<Scalars['Float']>;
|
|
60
60
|
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
61
61
|
clicks?: Maybe<Scalars['Int']>;
|
|
@@ -310,17 +310,26 @@ export type IBannerAssetsPage = {
|
|
|
310
310
|
};
|
|
311
311
|
export type IBrand = {
|
|
312
312
|
brandId: Scalars['ID'];
|
|
313
|
-
name: Scalars['String'];
|
|
314
|
-
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
315
313
|
description?: Maybe<Scalars['String']>;
|
|
314
|
+
id: Scalars['String'];
|
|
316
315
|
industry?: Maybe<Scalars['String']>;
|
|
317
316
|
link?: Maybe<Scalars['String']>;
|
|
317
|
+
matchingWords: Array<Scalars['String']>;
|
|
318
318
|
media?: Maybe<Scalars['String']>;
|
|
319
|
+
name: Scalars['String'];
|
|
320
|
+
};
|
|
321
|
+
export type IBrandInput = {
|
|
322
|
+
name: Scalars['String'];
|
|
323
|
+
matchingWords: Array<Scalars['String']>;
|
|
324
|
+
description: Scalars['String'];
|
|
325
|
+
industry?: Maybe<Scalars['String']>;
|
|
326
|
+
link?: Maybe<Scalars['String']>;
|
|
319
327
|
};
|
|
320
328
|
export type ICategory = {
|
|
321
329
|
categoryId: Scalars['ID'];
|
|
330
|
+
id: Scalars['String'];
|
|
331
|
+
matchingWords: Array<Scalars['String']>;
|
|
322
332
|
name: Scalars['String'];
|
|
323
|
-
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
324
333
|
};
|
|
325
334
|
export type ICollection = {
|
|
326
335
|
blockchain?: Maybe<Scalars['String']>;
|
|
@@ -802,6 +811,9 @@ export type IMutation = {
|
|
|
802
811
|
blockUser: Scalars['Boolean'];
|
|
803
812
|
blockUsers: Scalars['Boolean'];
|
|
804
813
|
changeXpPoints: Scalars['Boolean'];
|
|
814
|
+
createAdminOpportunity: Scalars['Boolean'];
|
|
815
|
+
createBrand: Scalars['Boolean'];
|
|
816
|
+
createCategory: Scalars['Boolean'];
|
|
805
817
|
createFavoriteListV2: Scalars['ID'];
|
|
806
818
|
createFavorites: Scalars['ID'];
|
|
807
819
|
createGallery: Scalars['ID'];
|
|
@@ -875,6 +887,7 @@ export type IMutation = {
|
|
|
875
887
|
subscribeGallery: Scalars['Int'];
|
|
876
888
|
unfollowProfile: Scalars['Boolean'];
|
|
877
889
|
unsubscribeGallery: Scalars['Int'];
|
|
890
|
+
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
878
891
|
updateProfile: Scalars['Boolean'];
|
|
879
892
|
updateProfileStatus: Scalars['Boolean'];
|
|
880
893
|
uploadGalleryBanner: Scalars['String'];
|
|
@@ -976,6 +989,18 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
976
989
|
userId: Scalars['ID'];
|
|
977
990
|
pointsDiff: Scalars['Int'];
|
|
978
991
|
};
|
|
992
|
+
export type IMutationCreateAdminOpportunityArgs = {
|
|
993
|
+
input: IOpportunityInput;
|
|
994
|
+
file?: Maybe<Scalars['Upload']>;
|
|
995
|
+
};
|
|
996
|
+
export type IMutationCreateBrandArgs = {
|
|
997
|
+
brand: IBrandInput;
|
|
998
|
+
file?: Maybe<Scalars['Upload']>;
|
|
999
|
+
};
|
|
1000
|
+
export type IMutationCreateCategoryArgs = {
|
|
1001
|
+
name: Scalars['String'];
|
|
1002
|
+
matchingWords: Array<Scalars['String']>;
|
|
1003
|
+
};
|
|
979
1004
|
export type IMutationCreateFavoriteListV2Args = {
|
|
980
1005
|
name: Scalars['String'];
|
|
981
1006
|
description?: Maybe<Scalars['String']>;
|
|
@@ -1250,6 +1275,10 @@ export type IMutationUnfollowProfileArgs = {
|
|
|
1250
1275
|
export type IMutationUnsubscribeGalleryArgs = {
|
|
1251
1276
|
galleryId: Scalars['ID'];
|
|
1252
1277
|
};
|
|
1278
|
+
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
1279
|
+
opportunityId: Scalars['ID'];
|
|
1280
|
+
isActive: Scalars['Boolean'];
|
|
1281
|
+
};
|
|
1253
1282
|
export type IMutationUpdateProfileArgs = {
|
|
1254
1283
|
profile?: Maybe<IInputProfile>;
|
|
1255
1284
|
};
|
|
@@ -1362,19 +1391,35 @@ export type IOpportunity = {
|
|
|
1362
1391
|
status?: Maybe<Scalars['String']>;
|
|
1363
1392
|
};
|
|
1364
1393
|
export type IOpportunityInput = {
|
|
1365
|
-
|
|
1394
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
1395
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
1396
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
1397
|
+
brandId: Scalars['String'];
|
|
1398
|
+
category?: Maybe<Scalars['String']>;
|
|
1399
|
+
categoryId: Scalars['String'];
|
|
1400
|
+
collection?: Maybe<Scalars['String']>;
|
|
1401
|
+
creatorWallet?: Maybe<Scalars['String']>;
|
|
1366
1402
|
description: Scalars['String'];
|
|
1367
|
-
startedAt: Scalars['Long'];
|
|
1368
1403
|
endedAt: Scalars['Long'];
|
|
1369
|
-
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1370
|
-
category?: Maybe<Scalars['String']>;
|
|
1371
1404
|
links?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1372
1405
|
ludoRankRequired?: Maybe<Scalars['Boolean']>;
|
|
1373
1406
|
ludoRankRequiredMax?: Maybe<Scalars['Int']>;
|
|
1374
1407
|
ludoRankRequiredMin?: Maybe<Scalars['Int']>;
|
|
1408
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
1409
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
1410
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
1411
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
1412
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
1413
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
1414
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
1415
|
+
name: Scalars['String'];
|
|
1416
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
1417
|
+
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
1375
1418
|
rewardType?: Maybe<Scalars['String']>;
|
|
1376
|
-
|
|
1419
|
+
startedAt: Scalars['Long'];
|
|
1377
1420
|
status?: Maybe<Scalars['String']>;
|
|
1421
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1422
|
+
type?: Maybe<Scalars['String']>;
|
|
1378
1423
|
};
|
|
1379
1424
|
export type IOpportunityPage = {
|
|
1380
1425
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -1467,6 +1512,9 @@ export type IQuery = {
|
|
|
1467
1512
|
fetchAssetsCount: Scalars['Long'];
|
|
1468
1513
|
fetchBannerAssets: Array<Maybe<IBannerAsset>>;
|
|
1469
1514
|
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1515
|
+
fetchBlockchains: Array<Scalars['String']>;
|
|
1516
|
+
fetchBrands: Array<IBrand>;
|
|
1517
|
+
fetchCategories: Array<ICategory>;
|
|
1470
1518
|
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
1471
1519
|
fetchCollection: ICollection;
|
|
1472
1520
|
fetchCollectionAssets: ICollectionAssetsPage;
|
|
@@ -2359,6 +2407,21 @@ export type IChangeXpPointsMutationVariables = Exact<{
|
|
|
2359
2407
|
pointsDiff: Scalars['Int'];
|
|
2360
2408
|
}>;
|
|
2361
2409
|
export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
|
|
2410
|
+
export type ICreateCategoryMutationVariables = Exact<{
|
|
2411
|
+
name: Scalars['String'];
|
|
2412
|
+
matchingWords: Array<Scalars['String']>;
|
|
2413
|
+
}>;
|
|
2414
|
+
export type ICreateCategoryMutation = Pick<IMutation, 'createCategory'>;
|
|
2415
|
+
export type ICreateBrandMutationVariables = Exact<{
|
|
2416
|
+
brand: IBrandInput;
|
|
2417
|
+
file?: Maybe<Scalars['Upload']>;
|
|
2418
|
+
}>;
|
|
2419
|
+
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
2420
|
+
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
2421
|
+
file?: Maybe<Scalars['Upload']>;
|
|
2422
|
+
input: IOpportunityInput;
|
|
2423
|
+
}>;
|
|
2424
|
+
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
2362
2425
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2363
2426
|
userId: Scalars['String'];
|
|
2364
2427
|
codesNum: Scalars['Int'];
|
|
@@ -3324,6 +3387,87 @@ export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationH
|
|
|
3324
3387
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
3325
3388
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
3326
3389
|
export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
3390
|
+
export declare const CreateCategoryDocument: Apollo.DocumentNode;
|
|
3391
|
+
export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
|
|
3392
|
+
/**
|
|
3393
|
+
* __useCreateCategoryMutation__
|
|
3394
|
+
*
|
|
3395
|
+
* To run a mutation, you first call `useCreateCategoryMutation` within a React component and pass it any options that fit your needs.
|
|
3396
|
+
* When your component renders, `useCreateCategoryMutation` returns a tuple that includes:
|
|
3397
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3398
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3399
|
+
*
|
|
3400
|
+
* @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;
|
|
3401
|
+
*
|
|
3402
|
+
* @example
|
|
3403
|
+
* const [createCategoryMutation, { data, loading, error }] = useCreateCategoryMutation({
|
|
3404
|
+
* variables: {
|
|
3405
|
+
* name: // value for 'name'
|
|
3406
|
+
* matchingWords: // value for 'matchingWords'
|
|
3407
|
+
* },
|
|
3408
|
+
* });
|
|
3409
|
+
*/
|
|
3410
|
+
export declare function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>): Apollo.MutationTuple<ICreateCategoryMutation, Exact<{
|
|
3411
|
+
name: string;
|
|
3412
|
+
matchingWords: string[];
|
|
3413
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3414
|
+
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
3415
|
+
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
3416
|
+
export type CreateCategoryMutationOptions = Apollo.BaseMutationOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
|
|
3417
|
+
export declare const CreateBrandDocument: Apollo.DocumentNode;
|
|
3418
|
+
export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
3419
|
+
/**
|
|
3420
|
+
* __useCreateBrandMutation__
|
|
3421
|
+
*
|
|
3422
|
+
* To run a mutation, you first call `useCreateBrandMutation` within a React component and pass it any options that fit your needs.
|
|
3423
|
+
* When your component renders, `useCreateBrandMutation` returns a tuple that includes:
|
|
3424
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3425
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3426
|
+
*
|
|
3427
|
+
* @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;
|
|
3428
|
+
*
|
|
3429
|
+
* @example
|
|
3430
|
+
* const [createBrandMutation, { data, loading, error }] = useCreateBrandMutation({
|
|
3431
|
+
* variables: {
|
|
3432
|
+
* brand: // value for 'brand'
|
|
3433
|
+
* file: // value for 'file'
|
|
3434
|
+
* },
|
|
3435
|
+
* });
|
|
3436
|
+
*/
|
|
3437
|
+
export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>): Apollo.MutationTuple<ICreateBrandMutation, Exact<{
|
|
3438
|
+
brand: IBrandInput;
|
|
3439
|
+
file?: any;
|
|
3440
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3441
|
+
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
3442
|
+
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
3443
|
+
export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
3444
|
+
export declare const CreateAdminOpportunityDocument: Apollo.DocumentNode;
|
|
3445
|
+
export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
3446
|
+
/**
|
|
3447
|
+
* __useCreateAdminOpportunityMutation__
|
|
3448
|
+
*
|
|
3449
|
+
* To run a mutation, you first call `useCreateAdminOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
3450
|
+
* When your component renders, `useCreateAdminOpportunityMutation` returns a tuple that includes:
|
|
3451
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
3452
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
3453
|
+
*
|
|
3454
|
+
* @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;
|
|
3455
|
+
*
|
|
3456
|
+
* @example
|
|
3457
|
+
* const [createAdminOpportunityMutation, { data, loading, error }] = useCreateAdminOpportunityMutation({
|
|
3458
|
+
* variables: {
|
|
3459
|
+
* file: // value for 'file'
|
|
3460
|
+
* input: // value for 'input'
|
|
3461
|
+
* },
|
|
3462
|
+
* });
|
|
3463
|
+
*/
|
|
3464
|
+
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
3465
|
+
file?: any;
|
|
3466
|
+
input: IOpportunityInput;
|
|
3467
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3468
|
+
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
3469
|
+
export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
|
|
3470
|
+
export type CreateAdminOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
3327
3471
|
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
3328
3472
|
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3329
3473
|
/**
|
|
@@ -23,13 +23,13 @@ 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.
|
|
32
|
-
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = void 0;
|
|
26
|
+
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.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = exports.IRole = void 0;
|
|
27
|
+
exports.AddAssetsToGalleryDocument = exports.useFetchWalletRanksLazyQuery = exports.useFetchWalletRanksQuery = exports.FetchWalletRanksDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = 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 = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = void 0;
|
|
28
|
+
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 = 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 = void 0;
|
|
29
|
+
exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = 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 = 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 = void 0;
|
|
30
|
+
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 = 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 = void 0;
|
|
31
|
+
exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = 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 = void 0;
|
|
32
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = void 0;
|
|
33
33
|
/* eslint-disable */
|
|
34
34
|
const client_1 = require("@apollo/client");
|
|
35
35
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -70,6 +70,87 @@ function useChangeXpPointsMutation(baseOptions) {
|
|
|
70
70
|
return Apollo.useMutation(exports.ChangeXpPointsDocument, baseOptions);
|
|
71
71
|
}
|
|
72
72
|
exports.useChangeXpPointsMutation = useChangeXpPointsMutation;
|
|
73
|
+
exports.CreateCategoryDocument = (0, client_1.gql) `
|
|
74
|
+
mutation CreateCategory($name: String!, $matchingWords: [String!]!) {
|
|
75
|
+
createCategory(name: $name, matchingWords: $matchingWords)
|
|
76
|
+
}
|
|
77
|
+
`;
|
|
78
|
+
/**
|
|
79
|
+
* __useCreateCategoryMutation__
|
|
80
|
+
*
|
|
81
|
+
* To run a mutation, you first call `useCreateCategoryMutation` within a React component and pass it any options that fit your needs.
|
|
82
|
+
* When your component renders, `useCreateCategoryMutation` returns a tuple that includes:
|
|
83
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
84
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
85
|
+
*
|
|
86
|
+
* @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;
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* const [createCategoryMutation, { data, loading, error }] = useCreateCategoryMutation({
|
|
90
|
+
* variables: {
|
|
91
|
+
* name: // value for 'name'
|
|
92
|
+
* matchingWords: // value for 'matchingWords'
|
|
93
|
+
* },
|
|
94
|
+
* });
|
|
95
|
+
*/
|
|
96
|
+
function useCreateCategoryMutation(baseOptions) {
|
|
97
|
+
return Apollo.useMutation(exports.CreateCategoryDocument, baseOptions);
|
|
98
|
+
}
|
|
99
|
+
exports.useCreateCategoryMutation = useCreateCategoryMutation;
|
|
100
|
+
exports.CreateBrandDocument = (0, client_1.gql) `
|
|
101
|
+
mutation CreateBrand($brand: BrandInput!, $file: Upload) {
|
|
102
|
+
createBrand(brand: $brand, file: $file)
|
|
103
|
+
}
|
|
104
|
+
`;
|
|
105
|
+
/**
|
|
106
|
+
* __useCreateBrandMutation__
|
|
107
|
+
*
|
|
108
|
+
* To run a mutation, you first call `useCreateBrandMutation` within a React component and pass it any options that fit your needs.
|
|
109
|
+
* When your component renders, `useCreateBrandMutation` returns a tuple that includes:
|
|
110
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
111
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
112
|
+
*
|
|
113
|
+
* @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;
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* const [createBrandMutation, { data, loading, error }] = useCreateBrandMutation({
|
|
117
|
+
* variables: {
|
|
118
|
+
* brand: // value for 'brand'
|
|
119
|
+
* file: // value for 'file'
|
|
120
|
+
* },
|
|
121
|
+
* });
|
|
122
|
+
*/
|
|
123
|
+
function useCreateBrandMutation(baseOptions) {
|
|
124
|
+
return Apollo.useMutation(exports.CreateBrandDocument, baseOptions);
|
|
125
|
+
}
|
|
126
|
+
exports.useCreateBrandMutation = useCreateBrandMutation;
|
|
127
|
+
exports.CreateAdminOpportunityDocument = (0, client_1.gql) `
|
|
128
|
+
mutation createAdminOpportunity($file: Upload, $input: OpportunityInput!) {
|
|
129
|
+
createAdminOpportunity(file: $file, input: $input)
|
|
130
|
+
}
|
|
131
|
+
`;
|
|
132
|
+
/**
|
|
133
|
+
* __useCreateAdminOpportunityMutation__
|
|
134
|
+
*
|
|
135
|
+
* To run a mutation, you first call `useCreateAdminOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
136
|
+
* When your component renders, `useCreateAdminOpportunityMutation` returns a tuple that includes:
|
|
137
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
138
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
139
|
+
*
|
|
140
|
+
* @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;
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* const [createAdminOpportunityMutation, { data, loading, error }] = useCreateAdminOpportunityMutation({
|
|
144
|
+
* variables: {
|
|
145
|
+
* file: // value for 'file'
|
|
146
|
+
* input: // value for 'input'
|
|
147
|
+
* },
|
|
148
|
+
* });
|
|
149
|
+
*/
|
|
150
|
+
function useCreateAdminOpportunityMutation(baseOptions) {
|
|
151
|
+
return Apollo.useMutation(exports.CreateAdminOpportunityDocument, baseOptions);
|
|
152
|
+
}
|
|
153
|
+
exports.useCreateAdminOpportunityMutation = useCreateAdminOpportunityMutation;
|
|
73
154
|
exports.AddInviteCodesDocument = (0, client_1.gql) `
|
|
74
155
|
mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
|
|
75
156
|
addInviteCodes(userId: $userId, codesNum: $codesNum)
|