@ludo.ninja/api 2.8.8 → 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.
|
@@ -811,6 +811,7 @@ export type IMutation = {
|
|
|
811
811
|
blockUser: Scalars['Boolean'];
|
|
812
812
|
blockUsers: Scalars['Boolean'];
|
|
813
813
|
changeXpPoints: Scalars['Boolean'];
|
|
814
|
+
createAdminOpportunity: Scalars['Boolean'];
|
|
814
815
|
createBrand: Scalars['Boolean'];
|
|
815
816
|
createCategory: Scalars['Boolean'];
|
|
816
817
|
createFavoriteListV2: Scalars['ID'];
|
|
@@ -988,6 +989,10 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
988
989
|
userId: Scalars['ID'];
|
|
989
990
|
pointsDiff: Scalars['Int'];
|
|
990
991
|
};
|
|
992
|
+
export type IMutationCreateAdminOpportunityArgs = {
|
|
993
|
+
input: IOpportunityInput;
|
|
994
|
+
file?: Maybe<Scalars['Upload']>;
|
|
995
|
+
};
|
|
991
996
|
export type IMutationCreateBrandArgs = {
|
|
992
997
|
brand: IBrandInput;
|
|
993
998
|
file?: Maybe<Scalars['Upload']>;
|
|
@@ -1026,7 +1031,6 @@ export type IMutationCreateNonceArgs = {
|
|
|
1026
1031
|
chainId?: Maybe<Scalars['String']>;
|
|
1027
1032
|
};
|
|
1028
1033
|
export type IMutationCreateOpportunityArgs = {
|
|
1029
|
-
file?: Maybe<Scalars['Upload']>;
|
|
1030
1034
|
input: IOpportunityInput;
|
|
1031
1035
|
};
|
|
1032
1036
|
export type IMutationDeleteGalleryArgs = {
|
|
@@ -2403,6 +2407,21 @@ export type IChangeXpPointsMutationVariables = Exact<{
|
|
|
2403
2407
|
pointsDiff: Scalars['Int'];
|
|
2404
2408
|
}>;
|
|
2405
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'>;
|
|
2406
2425
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2407
2426
|
userId: Scalars['String'];
|
|
2408
2427
|
codesNum: Scalars['Int'];
|
|
@@ -3368,6 +3387,87 @@ export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationH
|
|
|
3368
3387
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
3369
3388
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
3370
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>;
|
|
3371
3471
|
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
3372
3472
|
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
3373
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)
|
package/package.json
CHANGED
|
@@ -893,6 +893,7 @@ export type IMutation = {
|
|
|
893
893
|
blockUser: Scalars['Boolean'];
|
|
894
894
|
blockUsers: Scalars['Boolean'];
|
|
895
895
|
changeXpPoints: Scalars['Boolean'];
|
|
896
|
+
createAdminOpportunity: Scalars['Boolean'];
|
|
896
897
|
createBrand: Scalars['Boolean'];
|
|
897
898
|
createCategory: Scalars['Boolean'];
|
|
898
899
|
createFavoriteListV2: Scalars['ID'];
|
|
@@ -1120,6 +1121,12 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
1120
1121
|
};
|
|
1121
1122
|
|
|
1122
1123
|
|
|
1124
|
+
export type IMutationCreateAdminOpportunityArgs = {
|
|
1125
|
+
input: IOpportunityInput;
|
|
1126
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
|
|
1123
1130
|
export type IMutationCreateBrandArgs = {
|
|
1124
1131
|
brand: IBrandInput;
|
|
1125
1132
|
file?: Maybe<Scalars['Upload']>;
|
|
@@ -1172,7 +1179,6 @@ export type IMutationCreateNonceArgs = {
|
|
|
1172
1179
|
|
|
1173
1180
|
|
|
1174
1181
|
export type IMutationCreateOpportunityArgs = {
|
|
1175
|
-
file?: Maybe<Scalars['Upload']>;
|
|
1176
1182
|
input: IOpportunityInput;
|
|
1177
1183
|
};
|
|
1178
1184
|
|
|
@@ -2963,6 +2969,30 @@ export type IChangeXpPointsMutationVariables = Exact<{
|
|
|
2963
2969
|
|
|
2964
2970
|
export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
|
|
2965
2971
|
|
|
2972
|
+
export type ICreateCategoryMutationVariables = Exact<{
|
|
2973
|
+
name: Scalars['String'];
|
|
2974
|
+
matchingWords: Array<Scalars['String']>;
|
|
2975
|
+
}>;
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
export type ICreateCategoryMutation = Pick<IMutation, 'createCategory'>;
|
|
2979
|
+
|
|
2980
|
+
export type ICreateBrandMutationVariables = Exact<{
|
|
2981
|
+
brand: IBrandInput;
|
|
2982
|
+
file?: Maybe<Scalars['Upload']>;
|
|
2983
|
+
}>;
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
2987
|
+
|
|
2988
|
+
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
2989
|
+
file?: Maybe<Scalars['Upload']>;
|
|
2990
|
+
input: IOpportunityInput;
|
|
2991
|
+
}>;
|
|
2992
|
+
|
|
2993
|
+
|
|
2994
|
+
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
2995
|
+
|
|
2966
2996
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
2967
2997
|
userId: Scalars['String'];
|
|
2968
2998
|
codesNum: Scalars['Int'];
|
|
@@ -4066,6 +4096,99 @@ export function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
4066
4096
|
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
4067
4097
|
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
4068
4098
|
export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
4099
|
+
export const CreateCategoryDocument = gql`
|
|
4100
|
+
mutation CreateCategory($name: String!, $matchingWords: [String!]!) {
|
|
4101
|
+
createCategory(name: $name, matchingWords: $matchingWords)
|
|
4102
|
+
}
|
|
4103
|
+
`;
|
|
4104
|
+
export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* __useCreateCategoryMutation__
|
|
4108
|
+
*
|
|
4109
|
+
* To run a mutation, you first call `useCreateCategoryMutation` within a React component and pass it any options that fit your needs.
|
|
4110
|
+
* When your component renders, `useCreateCategoryMutation` returns a tuple that includes:
|
|
4111
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4112
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4113
|
+
*
|
|
4114
|
+
* @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;
|
|
4115
|
+
*
|
|
4116
|
+
* @example
|
|
4117
|
+
* const [createCategoryMutation, { data, loading, error }] = useCreateCategoryMutation({
|
|
4118
|
+
* variables: {
|
|
4119
|
+
* name: // value for 'name'
|
|
4120
|
+
* matchingWords: // value for 'matchingWords'
|
|
4121
|
+
* },
|
|
4122
|
+
* });
|
|
4123
|
+
*/
|
|
4124
|
+
export function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>) {
|
|
4125
|
+
return Apollo.useMutation<ICreateCategoryMutation, ICreateCategoryMutationVariables>(CreateCategoryDocument, baseOptions);
|
|
4126
|
+
}
|
|
4127
|
+
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
4128
|
+
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
4129
|
+
export type CreateCategoryMutationOptions = Apollo.BaseMutationOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
|
|
4130
|
+
export const CreateBrandDocument = gql`
|
|
4131
|
+
mutation CreateBrand($brand: BrandInput!, $file: Upload) {
|
|
4132
|
+
createBrand(brand: $brand, file: $file)
|
|
4133
|
+
}
|
|
4134
|
+
`;
|
|
4135
|
+
export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
4136
|
+
|
|
4137
|
+
/**
|
|
4138
|
+
* __useCreateBrandMutation__
|
|
4139
|
+
*
|
|
4140
|
+
* To run a mutation, you first call `useCreateBrandMutation` within a React component and pass it any options that fit your needs.
|
|
4141
|
+
* When your component renders, `useCreateBrandMutation` returns a tuple that includes:
|
|
4142
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4143
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4144
|
+
*
|
|
4145
|
+
* @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;
|
|
4146
|
+
*
|
|
4147
|
+
* @example
|
|
4148
|
+
* const [createBrandMutation, { data, loading, error }] = useCreateBrandMutation({
|
|
4149
|
+
* variables: {
|
|
4150
|
+
* brand: // value for 'brand'
|
|
4151
|
+
* file: // value for 'file'
|
|
4152
|
+
* },
|
|
4153
|
+
* });
|
|
4154
|
+
*/
|
|
4155
|
+
export function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>) {
|
|
4156
|
+
return Apollo.useMutation<ICreateBrandMutation, ICreateBrandMutationVariables>(CreateBrandDocument, baseOptions);
|
|
4157
|
+
}
|
|
4158
|
+
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
4159
|
+
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
4160
|
+
export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
4161
|
+
export const CreateAdminOpportunityDocument = gql`
|
|
4162
|
+
mutation createAdminOpportunity($file: Upload, $input: OpportunityInput!) {
|
|
4163
|
+
createAdminOpportunity(file: $file, input: $input)
|
|
4164
|
+
}
|
|
4165
|
+
`;
|
|
4166
|
+
export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* __useCreateAdminOpportunityMutation__
|
|
4170
|
+
*
|
|
4171
|
+
* To run a mutation, you first call `useCreateAdminOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
4172
|
+
* When your component renders, `useCreateAdminOpportunityMutation` returns a tuple that includes:
|
|
4173
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4174
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4175
|
+
*
|
|
4176
|
+
* @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;
|
|
4177
|
+
*
|
|
4178
|
+
* @example
|
|
4179
|
+
* const [createAdminOpportunityMutation, { data, loading, error }] = useCreateAdminOpportunityMutation({
|
|
4180
|
+
* variables: {
|
|
4181
|
+
* file: // value for 'file'
|
|
4182
|
+
* input: // value for 'input'
|
|
4183
|
+
* },
|
|
4184
|
+
* });
|
|
4185
|
+
*/
|
|
4186
|
+
export function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>) {
|
|
4187
|
+
return Apollo.useMutation<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>(CreateAdminOpportunityDocument, baseOptions);
|
|
4188
|
+
}
|
|
4189
|
+
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
4190
|
+
export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
|
|
4191
|
+
export type CreateAdminOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
4069
4192
|
export const AddInviteCodesDocument = gql`
|
|
4070
4193
|
mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
|
|
4071
4194
|
addInviteCodes(userId: $userId, codesNum: $codesNum)
|