@ludo.ninja/api 2.8.8 → 2.8.10

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.
@@ -360,11 +360,14 @@ export type ICategory = {
360
360
  };
361
361
 
362
362
  export type ICollection = {
363
+ blockHeight?: Maybe<Scalars['Long']>;
364
+ blockTimestamp?: Maybe<Scalars['Long']>;
363
365
  blockchain?: Maybe<Scalars['String']>;
364
366
  collectionAssets?: Maybe<Array<Maybe<ICollectionAsset>>>;
365
- collectionId?: Maybe<Scalars['String']>;
367
+ collectionId: Scalars['String'];
366
368
  collectionMarkets?: Maybe<Array<Maybe<ICollectionMarket>>>;
367
369
  collectionTitle?: Maybe<Scalars['String']>;
370
+ collectionUrl?: Maybe<Scalars['String']>;
368
371
  contractAddress?: Maybe<Scalars['String']>;
369
372
  creatorsAddresses?: Maybe<Array<Maybe<Scalars['String']>>>;
370
373
  creatorsProfiles?: Maybe<Array<Maybe<IProfile>>>;
@@ -515,10 +518,10 @@ export type IDynamicAssetData = {
515
518
  };
516
519
 
517
520
  export type IDynamicCollectionData = {
521
+ collectionId: Scalars['String'];
518
522
  isLikedByUser?: Maybe<Scalars['Boolean']>;
519
523
  likesNum?: Maybe<Scalars['Int']>;
520
- collectionAssetsPage?: Maybe<ICollectionAssetsPage>;
521
- collectionId?: Maybe<Scalars['String']>;
524
+ collectionAssetsPage?: Maybe<IAssetsPage>;
522
525
  };
523
526
 
524
527
  export type IDynamicCollectionDataInput = {
@@ -893,6 +896,7 @@ export type IMutation = {
893
896
  blockUser: Scalars['Boolean'];
894
897
  blockUsers: Scalars['Boolean'];
895
898
  changeXpPoints: Scalars['Boolean'];
899
+ createAdminOpportunity: Scalars['Boolean'];
896
900
  createBrand: Scalars['Boolean'];
897
901
  createCategory: Scalars['Boolean'];
898
902
  createFavoriteListV2: Scalars['ID'];
@@ -1120,6 +1124,12 @@ export type IMutationChangeXpPointsArgs = {
1120
1124
  };
1121
1125
 
1122
1126
 
1127
+ export type IMutationCreateAdminOpportunityArgs = {
1128
+ input: IOpportunityInput;
1129
+ file?: Maybe<Scalars['Upload']>;
1130
+ };
1131
+
1132
+
1123
1133
  export type IMutationCreateBrandArgs = {
1124
1134
  brand: IBrandInput;
1125
1135
  file?: Maybe<Scalars['Upload']>;
@@ -1172,7 +1182,6 @@ export type IMutationCreateNonceArgs = {
1172
1182
 
1173
1183
 
1174
1184
  export type IMutationCreateOpportunityArgs = {
1175
- file?: Maybe<Scalars['Upload']>;
1176
1185
  input: IOpportunityInput;
1177
1186
  };
1178
1187
 
@@ -2122,7 +2131,7 @@ export type IQueryFetchDynamicCollectionDataArgs = {
2122
2131
 
2123
2132
 
2124
2133
  export type IQueryFetchDynamicCollectionsDataArgs = {
2125
- input: Array<IDynamicCollectionDataInput>;
2134
+ inputs: Array<IDynamicCollectionDataInput>;
2126
2135
  };
2127
2136
 
2128
2137
 
@@ -2963,6 +2972,30 @@ export type IChangeXpPointsMutationVariables = Exact<{
2963
2972
 
2964
2973
  export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
2965
2974
 
2975
+ export type ICreateCategoryMutationVariables = Exact<{
2976
+ name: Scalars['String'];
2977
+ matchingWords: Array<Scalars['String']>;
2978
+ }>;
2979
+
2980
+
2981
+ export type ICreateCategoryMutation = Pick<IMutation, 'createCategory'>;
2982
+
2983
+ export type ICreateBrandMutationVariables = Exact<{
2984
+ brand: IBrandInput;
2985
+ file?: Maybe<Scalars['Upload']>;
2986
+ }>;
2987
+
2988
+
2989
+ export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
2990
+
2991
+ export type ICreateAdminOpportunityMutationVariables = Exact<{
2992
+ file?: Maybe<Scalars['Upload']>;
2993
+ input: IOpportunityInput;
2994
+ }>;
2995
+
2996
+
2997
+ export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
2998
+
2966
2999
  export type IAddInviteCodesMutationVariables = Exact<{
2967
3000
  userId: Scalars['String'];
2968
3001
  codesNum: Scalars['Int'];
@@ -3088,16 +3121,6 @@ export type ILikeCollectionMutationVariables = Exact<{
3088
3121
 
3089
3122
  export type ILikeCollectionMutation = Pick<IMutation, 'likeCollection'>;
3090
3123
 
3091
- export type IFetchCollectionQueryVariables = Exact<{
3092
- collectionId: Scalars['String'];
3093
- }>;
3094
-
3095
-
3096
- export type IFetchCollectionQuery = { fetchCollection: (
3097
- Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'collectionTitle' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank'>
3098
- & { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
3099
- ) };
3100
-
3101
3124
  export type IFetchCollectionsQueryVariables = Exact<{
3102
3125
  pageSize: Scalars['Int'];
3103
3126
  pageToken?: Maybe<Scalars['String']>;
@@ -3113,48 +3136,6 @@ export type IFetchCollectionsQuery = { fetchCollectionAssets: (
3113
3136
  )>>> }
3114
3137
  ) };
3115
3138
 
3116
- export type IFetchCollectionsByIdsQueryVariables = Exact<{
3117
- collectionIds: Array<Scalars['String']>;
3118
- }>;
3119
-
3120
-
3121
- export type IFetchCollectionsByIdsQuery = { fetchCollectionsByIds: Array<(
3122
- Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'collectionTitle' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank'>
3123
- & { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
3124
- )> };
3125
-
3126
- export type IFetchDynamicCollectionDataQueryVariables = Exact<{
3127
- input: IDynamicCollectionDataInput;
3128
- }>;
3129
-
3130
-
3131
- export type IFetchDynamicCollectionDataQuery = { fetchDynamicCollectionData: (
3132
- Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
3133
- & { collectionAssetsPage?: Maybe<(
3134
- Pick<ICollectionAssetsPage, 'nextPageToken'>
3135
- & { collectionAssets?: Maybe<Array<Maybe<(
3136
- Pick<ICollectionAsset, 'id' | 'collectionId' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'chainId' | 'creatorsAddresses' | 'originalUrls' | 'name' | 'description' | 'likes' | 'liked' | 'views' | 'visible' | 'createdAt' | 'blurred' | 'rank'>
3137
- & { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
3138
- )>>> }
3139
- )> }
3140
- ) };
3141
-
3142
- export type IFetchDynamicCollectionsDataQueryVariables = Exact<{
3143
- input: Array<IDynamicCollectionDataInput>;
3144
- }>;
3145
-
3146
-
3147
- export type IFetchDynamicCollectionsDataQuery = { fetchDynamicCollectionsData: Array<(
3148
- Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
3149
- & { collectionAssetsPage?: Maybe<(
3150
- Pick<ICollectionAssetsPage, 'nextPageToken'>
3151
- & { collectionAssets?: Maybe<Array<Maybe<(
3152
- Pick<ICollectionAsset, 'id' | 'collectionId' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'chainId' | 'creatorsAddresses' | 'originalUrls' | 'name' | 'description' | 'likes' | 'liked' | 'views' | 'visible' | 'createdAt' | 'blurred' | 'rank'>
3153
- & { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
3154
- )>>> }
3155
- )> }
3156
- )> };
3157
-
3158
3139
  export type IFetchMyExperienceV2QueryVariables = Exact<{ [key: string]: never; }>;
3159
3140
 
3160
3141
 
@@ -3914,6 +3895,16 @@ export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
3914
3895
 
3915
3896
  export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
3916
3897
 
3898
+ export type IFetchCollectionQueryVariables = Exact<{
3899
+ collectionId: Scalars['String'];
3900
+ }>;
3901
+
3902
+
3903
+ export type IFetchCollectionQuery = { fetchCollection: (
3904
+ Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'blockHeight' | 'blockTimestamp' | 'collectionTitle' | 'collectionUrl' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank' | 'nsfw'>
3905
+ & { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
3906
+ ) };
3907
+
3917
3908
  export type IFindCollectionsQueryVariables = Exact<{
3918
3909
  term: Scalars['String'];
3919
3910
  input: ICollectionFilterInput;
@@ -3926,6 +3917,16 @@ export type IFindCollectionsQuery = { findCollections: { collections: Array<Mayb
3926
3917
  & { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
3927
3918
  )>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
3928
3919
 
3920
+ export type IFetchCollectionsByIdsQueryVariables = Exact<{
3921
+ collectionIds: Array<Scalars['String']>;
3922
+ }>;
3923
+
3924
+
3925
+ export type IFetchCollectionsByIdsQuery = { fetchCollectionsByIds: Array<(
3926
+ Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'blockHeight' | 'blockTimestamp' | 'collectionTitle' | 'collectionUrl' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank' | 'nsfw'>
3927
+ & { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
3928
+ )> };
3929
+
3929
3930
  export type IFetchCreationsByTypeQueryVariables = Exact<{
3930
3931
  itemType: Scalars['String'];
3931
3932
  page?: Maybe<IPageInput>;
@@ -3948,6 +3949,38 @@ export type IFetchDynamicAssetsLikesQueryVariables = Exact<{
3948
3949
 
3949
3950
  export type IFetchDynamicAssetsLikesQuery = { fetchDynamicAssetsData: Array<Maybe<Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum' | 'assetId'>>> };
3950
3951
 
3952
+ export type IFetchDynamicCollectionDataQueryVariables = Exact<{
3953
+ input: IDynamicCollectionDataInput;
3954
+ }>;
3955
+
3956
+
3957
+ export type IFetchDynamicCollectionDataQuery = { fetchDynamicCollectionData: (
3958
+ Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
3959
+ & { collectionAssetsPage?: Maybe<(
3960
+ Pick<IAssetsPage, 'nextPageToken'>
3961
+ & { assets: Array<Maybe<(
3962
+ Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
3963
+ & { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'previewUrl'>>>>, ownersProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, attributes?: Maybe<Array<Maybe<Pick<IAttribute, 'name' | 'value'>>>> }
3964
+ )>> }
3965
+ )> }
3966
+ ) };
3967
+
3968
+ export type IFetchDynamicCollectionsDataQueryVariables = Exact<{
3969
+ input: Array<IDynamicCollectionDataInput>;
3970
+ }>;
3971
+
3972
+
3973
+ export type IFetchDynamicCollectionsDataQuery = { fetchDynamicCollectionsData: Array<(
3974
+ Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
3975
+ & { collectionAssetsPage?: Maybe<(
3976
+ Pick<IAssetsPage, 'nextPageToken'>
3977
+ & { assets: Array<Maybe<(
3978
+ Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
3979
+ & { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'previewUrl'>>>>, ownersProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, attributes?: Maybe<Array<Maybe<Pick<IAttribute, 'name' | 'value'>>>> }
3980
+ )>> }
3981
+ )> }
3982
+ )> };
3983
+
3951
3984
  export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
3952
3985
  name: Scalars['String'];
3953
3986
  pageSize: Scalars['Int'];
@@ -4066,6 +4099,99 @@ export function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptio
4066
4099
  export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
4067
4100
  export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
4068
4101
  export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
4102
+ export const CreateCategoryDocument = gql`
4103
+ mutation CreateCategory($name: String!, $matchingWords: [String!]!) {
4104
+ createCategory(name: $name, matchingWords: $matchingWords)
4105
+ }
4106
+ `;
4107
+ export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
4108
+
4109
+ /**
4110
+ * __useCreateCategoryMutation__
4111
+ *
4112
+ * To run a mutation, you first call `useCreateCategoryMutation` within a React component and pass it any options that fit your needs.
4113
+ * When your component renders, `useCreateCategoryMutation` returns a tuple that includes:
4114
+ * - A mutate function that you can call at any time to execute the mutation
4115
+ * - An object with fields that represent the current status of the mutation's execution
4116
+ *
4117
+ * @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;
4118
+ *
4119
+ * @example
4120
+ * const [createCategoryMutation, { data, loading, error }] = useCreateCategoryMutation({
4121
+ * variables: {
4122
+ * name: // value for 'name'
4123
+ * matchingWords: // value for 'matchingWords'
4124
+ * },
4125
+ * });
4126
+ */
4127
+ export function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>) {
4128
+ return Apollo.useMutation<ICreateCategoryMutation, ICreateCategoryMutationVariables>(CreateCategoryDocument, baseOptions);
4129
+ }
4130
+ export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
4131
+ export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
4132
+ export type CreateCategoryMutationOptions = Apollo.BaseMutationOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
4133
+ export const CreateBrandDocument = gql`
4134
+ mutation CreateBrand($brand: BrandInput!, $file: Upload) {
4135
+ createBrand(brand: $brand, file: $file)
4136
+ }
4137
+ `;
4138
+ export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutation, ICreateBrandMutationVariables>;
4139
+
4140
+ /**
4141
+ * __useCreateBrandMutation__
4142
+ *
4143
+ * To run a mutation, you first call `useCreateBrandMutation` within a React component and pass it any options that fit your needs.
4144
+ * When your component renders, `useCreateBrandMutation` returns a tuple that includes:
4145
+ * - A mutate function that you can call at any time to execute the mutation
4146
+ * - An object with fields that represent the current status of the mutation's execution
4147
+ *
4148
+ * @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;
4149
+ *
4150
+ * @example
4151
+ * const [createBrandMutation, { data, loading, error }] = useCreateBrandMutation({
4152
+ * variables: {
4153
+ * brand: // value for 'brand'
4154
+ * file: // value for 'file'
4155
+ * },
4156
+ * });
4157
+ */
4158
+ export function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>) {
4159
+ return Apollo.useMutation<ICreateBrandMutation, ICreateBrandMutationVariables>(CreateBrandDocument, baseOptions);
4160
+ }
4161
+ export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
4162
+ export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
4163
+ export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
4164
+ export const CreateAdminOpportunityDocument = gql`
4165
+ mutation createAdminOpportunity($file: Upload, $input: OpportunityInput!) {
4166
+ createAdminOpportunity(file: $file, input: $input)
4167
+ }
4168
+ `;
4169
+ export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
4170
+
4171
+ /**
4172
+ * __useCreateAdminOpportunityMutation__
4173
+ *
4174
+ * To run a mutation, you first call `useCreateAdminOpportunityMutation` within a React component and pass it any options that fit your needs.
4175
+ * When your component renders, `useCreateAdminOpportunityMutation` returns a tuple that includes:
4176
+ * - A mutate function that you can call at any time to execute the mutation
4177
+ * - An object with fields that represent the current status of the mutation's execution
4178
+ *
4179
+ * @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;
4180
+ *
4181
+ * @example
4182
+ * const [createAdminOpportunityMutation, { data, loading, error }] = useCreateAdminOpportunityMutation({
4183
+ * variables: {
4184
+ * file: // value for 'file'
4185
+ * input: // value for 'input'
4186
+ * },
4187
+ * });
4188
+ */
4189
+ export function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>) {
4190
+ return Apollo.useMutation<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>(CreateAdminOpportunityDocument, baseOptions);
4191
+ }
4192
+ export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
4193
+ export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
4194
+ export type CreateAdminOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
4069
4195
  export const AddInviteCodesDocument = gql`
4070
4196
  mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
4071
4197
  addInviteCodes(userId: $userId, codesNum: $codesNum)
@@ -4712,70 +4838,6 @@ export function useLikeCollectionMutation(baseOptions?: Apollo.MutationHookOptio
4712
4838
  export type LikeCollectionMutationHookResult = ReturnType<typeof useLikeCollectionMutation>;
4713
4839
  export type LikeCollectionMutationResult = Apollo.MutationResult<ILikeCollectionMutation>;
4714
4840
  export type LikeCollectionMutationOptions = Apollo.BaseMutationOptions<ILikeCollectionMutation, ILikeCollectionMutationVariables>;
4715
- export const FetchCollectionDocument = gql`
4716
- query fetchCollection($collectionId: String!) {
4717
- fetchCollection(collectionId: $collectionId) {
4718
- collectionId
4719
- blockchain
4720
- identifier
4721
- contractAddress
4722
- tokenId
4723
- collectionTitle
4724
- items
4725
- owners
4726
- totalVolumes {
4727
- currency
4728
- amount
4729
- }
4730
- likes
4731
- liked
4732
- collectionMarkets {
4733
- marketId
4734
- marketName
4735
- marketDomain
4736
- marketUrl
4737
- }
4738
- creatorsAddresses
4739
- creatorsProfiles {
4740
- username
4741
- userpic
4742
- }
4743
- verified
4744
- originalUrls
4745
- rank
4746
- floorPrices {
4747
- currency
4748
- amount
4749
- }
4750
- }
4751
- }
4752
- `;
4753
-
4754
- /**
4755
- * __useFetchCollectionQuery__
4756
- *
4757
- * To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
4758
- * When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
4759
- * you can use to render your UI.
4760
- *
4761
- * @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;
4762
- *
4763
- * @example
4764
- * const { data, loading, error } = useFetchCollectionQuery({
4765
- * variables: {
4766
- * collectionId: // value for 'collectionId'
4767
- * },
4768
- * });
4769
- */
4770
- export function useFetchCollectionQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
4771
- return Apollo.useQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
4772
- }
4773
- export function useFetchCollectionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
4774
- return Apollo.useLazyQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
4775
- }
4776
- export type FetchCollectionQueryHookResult = ReturnType<typeof useFetchCollectionQuery>;
4777
- export type FetchCollectionLazyQueryHookResult = ReturnType<typeof useFetchCollectionLazyQuery>;
4778
- export type FetchCollectionQueryResult = Apollo.QueryResult<IFetchCollectionQuery, IFetchCollectionQueryVariables>;
4779
4841
  export const FetchCollectionsDocument = gql`
4780
4842
  query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
4781
4843
  fetchCollectionAssets(
@@ -4844,203 +4906,6 @@ export function useFetchCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
4844
4906
  export type FetchCollectionsQueryHookResult = ReturnType<typeof useFetchCollectionsQuery>;
4845
4907
  export type FetchCollectionsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsLazyQuery>;
4846
4908
  export type FetchCollectionsQueryResult = Apollo.QueryResult<IFetchCollectionsQuery, IFetchCollectionsQueryVariables>;
4847
- export const FetchCollectionsByIdsDocument = gql`
4848
- query FetchCollectionsByIds($collectionIds: [String!]!) {
4849
- fetchCollectionsByIds(collectionIds: $collectionIds) {
4850
- collectionId
4851
- blockchain
4852
- identifier
4853
- contractAddress
4854
- tokenId
4855
- collectionTitle
4856
- items
4857
- owners
4858
- totalVolumes {
4859
- currency
4860
- amount
4861
- }
4862
- likes
4863
- liked
4864
- collectionMarkets {
4865
- marketName
4866
- marketDomain
4867
- marketUrl
4868
- }
4869
- creatorsAddresses
4870
- creatorsProfiles {
4871
- username
4872
- userpic
4873
- }
4874
- verified
4875
- originalUrls
4876
- rank
4877
- floorPrices {
4878
- currency
4879
- amount
4880
- }
4881
- }
4882
- }
4883
- `;
4884
-
4885
- /**
4886
- * __useFetchCollectionsByIdsQuery__
4887
- *
4888
- * To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
4889
- * When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4890
- * you can use to render your UI.
4891
- *
4892
- * @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;
4893
- *
4894
- * @example
4895
- * const { data, loading, error } = useFetchCollectionsByIdsQuery({
4896
- * variables: {
4897
- * collectionIds: // value for 'collectionIds'
4898
- * },
4899
- * });
4900
- */
4901
- export function useFetchCollectionsByIdsQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
4902
- return Apollo.useQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
4903
- }
4904
- export function useFetchCollectionsByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
4905
- return Apollo.useLazyQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
4906
- }
4907
- export type FetchCollectionsByIdsQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsQuery>;
4908
- export type FetchCollectionsByIdsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsLazyQuery>;
4909
- export type FetchCollectionsByIdsQueryResult = Apollo.QueryResult<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>;
4910
- export const FetchDynamicCollectionDataDocument = gql`
4911
- query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
4912
- fetchDynamicCollectionData(input: $input) {
4913
- isLikedByUser
4914
- likesNum
4915
- collectionId
4916
- collectionAssetsPage {
4917
- nextPageToken
4918
- collectionAssets {
4919
- id
4920
- collectionId
4921
- collectionTitle
4922
- assetId
4923
- blockchain
4924
- address
4925
- tokenId
4926
- chainId
4927
- creatorsAddresses
4928
- originalUrls
4929
- name
4930
- description
4931
- likes
4932
- liked
4933
- views
4934
- medias {
4935
- originalUrl
4936
- url
4937
- previewUrl
4938
- mimeType
4939
- sizeRatio
4940
- fileSize
4941
- }
4942
- visible
4943
- createdAt
4944
- blurred
4945
- rank
4946
- }
4947
- }
4948
- }
4949
- }
4950
- `;
4951
-
4952
- /**
4953
- * __useFetchDynamicCollectionDataQuery__
4954
- *
4955
- * To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
4956
- * When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
4957
- * you can use to render your UI.
4958
- *
4959
- * @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;
4960
- *
4961
- * @example
4962
- * const { data, loading, error } = useFetchDynamicCollectionDataQuery({
4963
- * variables: {
4964
- * input: // value for 'input'
4965
- * },
4966
- * });
4967
- */
4968
- export function useFetchDynamicCollectionDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
4969
- return Apollo.useQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
4970
- }
4971
- export function useFetchDynamicCollectionDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
4972
- return Apollo.useLazyQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
4973
- }
4974
- export type FetchDynamicCollectionDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataQuery>;
4975
- export type FetchDynamicCollectionDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataLazyQuery>;
4976
- export type FetchDynamicCollectionDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>;
4977
- export const FetchDynamicCollectionsDataDocument = gql`
4978
- query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
4979
- fetchDynamicCollectionsData(input: $input) {
4980
- isLikedByUser
4981
- likesNum
4982
- collectionId
4983
- collectionAssetsPage {
4984
- nextPageToken
4985
- collectionAssets {
4986
- id
4987
- collectionId
4988
- collectionTitle
4989
- assetId
4990
- blockchain
4991
- address
4992
- tokenId
4993
- chainId
4994
- creatorsAddresses
4995
- originalUrls
4996
- name
4997
- description
4998
- likes
4999
- liked
5000
- views
5001
- medias {
5002
- originalUrl
5003
- url
5004
- previewUrl
5005
- mimeType
5006
- sizeRatio
5007
- fileSize
5008
- }
5009
- visible
5010
- createdAt
5011
- blurred
5012
- rank
5013
- }
5014
- }
5015
- }
5016
- }
5017
- `;
5018
-
5019
- /**
5020
- * __useFetchDynamicCollectionsDataQuery__
5021
- *
5022
- * To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
5023
- * When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
5024
- * you can use to render your UI.
5025
- *
5026
- * @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;
5027
- *
5028
- * @example
5029
- * const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
5030
- * variables: {
5031
- * input: // value for 'input'
5032
- * },
5033
- * });
5034
- */
5035
- export function useFetchDynamicCollectionsDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
5036
- return Apollo.useQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
5037
- }
5038
- export function useFetchDynamicCollectionsDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
5039
- return Apollo.useLazyQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
5040
- }
5041
- export type FetchDynamicCollectionsDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataQuery>;
5042
- export type FetchDynamicCollectionsDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataLazyQuery>;
5043
- export type FetchDynamicCollectionsDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>;
5044
4909
  export const FetchMyExperienceV2Document = gql`
5045
4910
  query FetchMyExperienceV2 {
5046
4911
  fetchMyExperienceV2 {
@@ -8710,6 +8575,81 @@ export function useFetchAssetsCountLazyQuery(baseOptions?: Apollo.LazyQueryHookO
8710
8575
  export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCountQuery>;
8711
8576
  export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
8712
8577
  export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
8578
+ export const FetchCollectionDocument = gql`
8579
+ query fetchCollection($collectionId: String!) {
8580
+ fetchCollection(collectionId: $collectionId) {
8581
+ collectionId
8582
+ blockchain
8583
+ identifier
8584
+ contractAddress
8585
+ tokenId
8586
+ blockHeight
8587
+ blockTimestamp
8588
+ collectionTitle
8589
+ collectionUrl
8590
+ items
8591
+ owners
8592
+ totalVolumes {
8593
+ currency
8594
+ amount
8595
+ }
8596
+ likes
8597
+ liked
8598
+ collectionMarkets {
8599
+ marketId
8600
+ marketName
8601
+ marketDomain
8602
+ marketUrl
8603
+ }
8604
+ creatorsAddresses
8605
+ creatorsProfiles {
8606
+ username
8607
+ userpic
8608
+ }
8609
+ verified
8610
+ originalUrls
8611
+ rank
8612
+ nsfw
8613
+ medias {
8614
+ originalUrl
8615
+ url
8616
+ mimeType
8617
+ sizeRatio
8618
+ fileSize
8619
+ }
8620
+ floorPrices {
8621
+ currency
8622
+ amount
8623
+ }
8624
+ }
8625
+ }
8626
+ `;
8627
+
8628
+ /**
8629
+ * __useFetchCollectionQuery__
8630
+ *
8631
+ * To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
8632
+ * When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
8633
+ * you can use to render your UI.
8634
+ *
8635
+ * @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;
8636
+ *
8637
+ * @example
8638
+ * const { data, loading, error } = useFetchCollectionQuery({
8639
+ * variables: {
8640
+ * collectionId: // value for 'collectionId'
8641
+ * },
8642
+ * });
8643
+ */
8644
+ export function useFetchCollectionQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
8645
+ return Apollo.useQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
8646
+ }
8647
+ export function useFetchCollectionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
8648
+ return Apollo.useLazyQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
8649
+ }
8650
+ export type FetchCollectionQueryHookResult = ReturnType<typeof useFetchCollectionQuery>;
8651
+ export type FetchCollectionLazyQueryHookResult = ReturnType<typeof useFetchCollectionLazyQuery>;
8652
+ export type FetchCollectionQueryResult = Apollo.QueryResult<IFetchCollectionQuery, IFetchCollectionQueryVariables>;
8713
8653
  export const FindCollectionsDocument = gql`
8714
8654
  query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
8715
8655
  findCollections(term: $term, input: $input, page: $page) {
@@ -8767,6 +8707,81 @@ export function useFindCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOp
8767
8707
  export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollectionsQuery>;
8768
8708
  export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
8769
8709
  export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
8710
+ export const FetchCollectionsByIdsDocument = gql`
8711
+ query FetchCollectionsByIds($collectionIds: [String!]!) {
8712
+ fetchCollectionsByIds(collectionIds: $collectionIds) {
8713
+ collectionId
8714
+ blockchain
8715
+ identifier
8716
+ contractAddress
8717
+ tokenId
8718
+ blockHeight
8719
+ blockTimestamp
8720
+ collectionTitle
8721
+ collectionUrl
8722
+ items
8723
+ owners
8724
+ totalVolumes {
8725
+ currency
8726
+ amount
8727
+ }
8728
+ likes
8729
+ liked
8730
+ collectionMarkets {
8731
+ marketId
8732
+ marketName
8733
+ marketDomain
8734
+ marketUrl
8735
+ }
8736
+ creatorsAddresses
8737
+ creatorsProfiles {
8738
+ username
8739
+ userpic
8740
+ }
8741
+ verified
8742
+ originalUrls
8743
+ rank
8744
+ nsfw
8745
+ medias {
8746
+ originalUrl
8747
+ url
8748
+ mimeType
8749
+ sizeRatio
8750
+ fileSize
8751
+ }
8752
+ floorPrices {
8753
+ currency
8754
+ amount
8755
+ }
8756
+ }
8757
+ }
8758
+ `;
8759
+
8760
+ /**
8761
+ * __useFetchCollectionsByIdsQuery__
8762
+ *
8763
+ * To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
8764
+ * When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
8765
+ * you can use to render your UI.
8766
+ *
8767
+ * @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;
8768
+ *
8769
+ * @example
8770
+ * const { data, loading, error } = useFetchCollectionsByIdsQuery({
8771
+ * variables: {
8772
+ * collectionIds: // value for 'collectionIds'
8773
+ * },
8774
+ * });
8775
+ */
8776
+ export function useFetchCollectionsByIdsQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
8777
+ return Apollo.useQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
8778
+ }
8779
+ export function useFetchCollectionsByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
8780
+ return Apollo.useLazyQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
8781
+ }
8782
+ export type FetchCollectionsByIdsQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsQuery>;
8783
+ export type FetchCollectionsByIdsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsLazyQuery>;
8784
+ export type FetchCollectionsByIdsQueryResult = Apollo.QueryResult<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>;
8770
8785
  export const FetchCreationsByTypeDocument = gql`
8771
8786
  query FetchCreationsByType($itemType: String!, $page: PageInput) {
8772
8787
  fetchCreationsByType(itemType: $itemType, page: $page) {
@@ -8892,6 +8907,236 @@ export function useFetchDynamicAssetsLikesLazyQuery(baseOptions?: Apollo.LazyQue
8892
8907
  export type FetchDynamicAssetsLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesQuery>;
8893
8908
  export type FetchDynamicAssetsLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesLazyQuery>;
8894
8909
  export type FetchDynamicAssetsLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>;
8910
+ export const FetchDynamicCollectionDataDocument = gql`
8911
+ query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
8912
+ fetchDynamicCollectionData(input: $input) {
8913
+ isLikedByUser
8914
+ likesNum
8915
+ collectionId
8916
+ collectionAssetsPage {
8917
+ nextPageToken
8918
+ assets {
8919
+ latestPriceCurrency
8920
+ latestPriceAmount
8921
+ collectionId
8922
+ collectionOriginalUrls
8923
+ collectionTitle
8924
+ assetId
8925
+ totalVolumes {
8926
+ currency
8927
+ amount
8928
+ }
8929
+ blockchain
8930
+ address
8931
+ tokenId
8932
+ name
8933
+ description
8934
+ rank
8935
+ markets {
8936
+ marketId
8937
+ marketName
8938
+ marketDomain
8939
+ marketUrl
8940
+ }
8941
+ collectionMedias {
8942
+ originalUrl
8943
+ url
8944
+ previewUrl
8945
+ mimeType
8946
+ sizeRatio
8947
+ fileSize
8948
+ }
8949
+ originalUrls
8950
+ medias {
8951
+ originalUrl
8952
+ url
8953
+ mimeType
8954
+ sizeRatio
8955
+ fileSize
8956
+ previewUrl
8957
+ }
8958
+ ownersAddresses
8959
+ ownersProfiles {
8960
+ userId
8961
+ username
8962
+ about
8963
+ userpic
8964
+ followers
8965
+ followings
8966
+ visible
8967
+ }
8968
+ creatorsAddresses
8969
+ creatorsProfiles {
8970
+ userId
8971
+ username
8972
+ about
8973
+ userpic
8974
+ followers
8975
+ followings
8976
+ visible
8977
+ }
8978
+ attributes {
8979
+ name
8980
+ value
8981
+ }
8982
+ views
8983
+ visible
8984
+ blurred
8985
+ medias {
8986
+ originalUrl
8987
+ url
8988
+ previewUrl
8989
+ mimeType
8990
+ }
8991
+ creatorsProfiles {
8992
+ username
8993
+ }
8994
+ }
8995
+ }
8996
+ }
8997
+ }
8998
+ `;
8999
+
9000
+ /**
9001
+ * __useFetchDynamicCollectionDataQuery__
9002
+ *
9003
+ * To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
9004
+ * When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
9005
+ * you can use to render your UI.
9006
+ *
9007
+ * @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;
9008
+ *
9009
+ * @example
9010
+ * const { data, loading, error } = useFetchDynamicCollectionDataQuery({
9011
+ * variables: {
9012
+ * input: // value for 'input'
9013
+ * },
9014
+ * });
9015
+ */
9016
+ export function useFetchDynamicCollectionDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
9017
+ return Apollo.useQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
9018
+ }
9019
+ export function useFetchDynamicCollectionDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
9020
+ return Apollo.useLazyQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
9021
+ }
9022
+ export type FetchDynamicCollectionDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataQuery>;
9023
+ export type FetchDynamicCollectionDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataLazyQuery>;
9024
+ export type FetchDynamicCollectionDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>;
9025
+ export const FetchDynamicCollectionsDataDocument = gql`
9026
+ query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
9027
+ fetchDynamicCollectionsData(inputs: $input) {
9028
+ isLikedByUser
9029
+ likesNum
9030
+ collectionId
9031
+ collectionAssetsPage {
9032
+ nextPageToken
9033
+ assets {
9034
+ latestPriceCurrency
9035
+ latestPriceAmount
9036
+ collectionId
9037
+ collectionOriginalUrls
9038
+ collectionTitle
9039
+ assetId
9040
+ totalVolumes {
9041
+ currency
9042
+ amount
9043
+ }
9044
+ blockchain
9045
+ address
9046
+ tokenId
9047
+ name
9048
+ description
9049
+ rank
9050
+ markets {
9051
+ marketId
9052
+ marketName
9053
+ marketDomain
9054
+ marketUrl
9055
+ }
9056
+ collectionMedias {
9057
+ originalUrl
9058
+ url
9059
+ previewUrl
9060
+ mimeType
9061
+ sizeRatio
9062
+ fileSize
9063
+ }
9064
+ originalUrls
9065
+ medias {
9066
+ originalUrl
9067
+ url
9068
+ mimeType
9069
+ sizeRatio
9070
+ fileSize
9071
+ previewUrl
9072
+ }
9073
+ ownersAddresses
9074
+ ownersProfiles {
9075
+ userId
9076
+ username
9077
+ about
9078
+ userpic
9079
+ followers
9080
+ followings
9081
+ visible
9082
+ }
9083
+ creatorsAddresses
9084
+ creatorsProfiles {
9085
+ userId
9086
+ username
9087
+ about
9088
+ userpic
9089
+ followers
9090
+ followings
9091
+ visible
9092
+ }
9093
+ attributes {
9094
+ name
9095
+ value
9096
+ }
9097
+ views
9098
+ visible
9099
+ blurred
9100
+ medias {
9101
+ originalUrl
9102
+ url
9103
+ previewUrl
9104
+ mimeType
9105
+ }
9106
+ creatorsProfiles {
9107
+ username
9108
+ }
9109
+ }
9110
+ }
9111
+ }
9112
+ }
9113
+ `;
9114
+
9115
+ /**
9116
+ * __useFetchDynamicCollectionsDataQuery__
9117
+ *
9118
+ * To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
9119
+ * When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
9120
+ * you can use to render your UI.
9121
+ *
9122
+ * @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;
9123
+ *
9124
+ * @example
9125
+ * const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
9126
+ * variables: {
9127
+ * input: // value for 'input'
9128
+ * },
9129
+ * });
9130
+ */
9131
+ export function useFetchDynamicCollectionsDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
9132
+ return Apollo.useQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
9133
+ }
9134
+ export function useFetchDynamicCollectionsDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
9135
+ return Apollo.useLazyQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
9136
+ }
9137
+ export type FetchDynamicCollectionsDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataQuery>;
9138
+ export type FetchDynamicCollectionsDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataLazyQuery>;
9139
+ export type FetchDynamicCollectionsDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>;
8895
9140
  export const FindAllTopEntitiesByNameDocument = gql`
8896
9141
  query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
8897
9142
  findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {