@ludo.ninja/api 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/graphql_tools/__generated__/schema.d.ts +124 -84
- package/build/graphql_tools/__generated__/schema.js +105 -55
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/schema.ts +172 -110
- package/tsconfig.tsbuildinfo +1 -1
- package/build/config/index.d.ts +0 -2
- package/build/config/index.js +0 -185
- package/build/config/typePolicies.d.ts +0 -2
- package/build/config/typePolicies.js +0 -53
- package/build/cookies/index.d.ts +0 -19
- package/build/cookies/index.js +0 -85
- package/build/hosts/index.d.ts +0 -27
- package/build/hosts/index.js +0 -30
- package/build/index.d.ts +0 -5
|
@@ -320,8 +320,7 @@ export type ICollectionMarket = {
|
|
|
320
320
|
|
|
321
321
|
export type ICollectionPage = {
|
|
322
322
|
collections: Array<Maybe<ICollection>>;
|
|
323
|
-
|
|
324
|
-
results?: Maybe<Scalars['Long']>;
|
|
323
|
+
nextPage?: Maybe<IPage>;
|
|
325
324
|
};
|
|
326
325
|
|
|
327
326
|
export type ICollectionsPage = {
|
|
@@ -356,9 +355,8 @@ export type ICreationFilterInput = {
|
|
|
356
355
|
};
|
|
357
356
|
|
|
358
357
|
export type ICreationsPage = {
|
|
359
|
-
creations
|
|
360
|
-
|
|
361
|
-
results?: Maybe<Scalars['Long']>;
|
|
358
|
+
creations: Array<Maybe<ICreation>>;
|
|
359
|
+
nextPage?: Maybe<IPage>;
|
|
362
360
|
};
|
|
363
361
|
|
|
364
362
|
export type ICurrencyAmountPair = {
|
|
@@ -1374,6 +1372,18 @@ export type IOpportunityPage = {
|
|
|
1374
1372
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
1375
1373
|
};
|
|
1376
1374
|
|
|
1375
|
+
export type IPage = {
|
|
1376
|
+
token?: Maybe<Scalars['String']>;
|
|
1377
|
+
num?: Maybe<Scalars['Int']>;
|
|
1378
|
+
size?: Maybe<Scalars['Int']>;
|
|
1379
|
+
elements?: Maybe<Scalars['Long']>;
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
export type IPageInput = {
|
|
1383
|
+
token?: Maybe<Scalars['String']>;
|
|
1384
|
+
size?: Maybe<Scalars['Int']>;
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1377
1387
|
export type IProfile = {
|
|
1378
1388
|
about?: Maybe<Scalars['String']>;
|
|
1379
1389
|
createdAt?: Maybe<Scalars['Long']>;
|
|
@@ -1397,6 +1407,7 @@ export type IProfile = {
|
|
|
1397
1407
|
};
|
|
1398
1408
|
|
|
1399
1409
|
export type IProfilePage = {
|
|
1410
|
+
nextPage?: Maybe<IPage>;
|
|
1400
1411
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
1401
1412
|
profiles: Array<Maybe<IProfile>>;
|
|
1402
1413
|
results?: Maybe<Scalars['Long']>;
|
|
@@ -1467,6 +1478,7 @@ export type IQuery = {
|
|
|
1467
1478
|
fetchReportStatusSelections: Array<Maybe<ISelection>>;
|
|
1468
1479
|
fetchSearchResultBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1469
1480
|
fetchSearchResultCategorySelections: Array<Maybe<ISelection>>;
|
|
1481
|
+
fetchSearchResultSelections: ISearchResultSelectionsPage;
|
|
1470
1482
|
fetchSearchResultStatusSelections: Array<Maybe<ISelection>>;
|
|
1471
1483
|
fetchSearchResultTimeSelections: Array<Maybe<ISelection>>;
|
|
1472
1484
|
fetchSearchResultTypeSelections: Array<Maybe<ISelection>>;
|
|
@@ -1551,8 +1563,7 @@ export type IQueryFetchAllBannerAssetsArgs = {
|
|
|
1551
1563
|
|
|
1552
1564
|
|
|
1553
1565
|
export type IQueryFetchAllCreationsArgs = {
|
|
1554
|
-
|
|
1555
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1566
|
+
page?: Maybe<IPageInput>;
|
|
1556
1567
|
};
|
|
1557
1568
|
|
|
1558
1569
|
|
|
@@ -1651,8 +1662,7 @@ export type IQueryFetchCreationArgs = {
|
|
|
1651
1662
|
|
|
1652
1663
|
export type IQueryFetchCreationsByTypeArgs = {
|
|
1653
1664
|
itemType: Scalars['String'];
|
|
1654
|
-
|
|
1655
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1665
|
+
page?: Maybe<IPageInput>;
|
|
1656
1666
|
};
|
|
1657
1667
|
|
|
1658
1668
|
|
|
@@ -1956,8 +1966,7 @@ export type IQueryFindAssetsByTermArgs = {
|
|
|
1956
1966
|
export type IQueryFindCollectionsArgs = {
|
|
1957
1967
|
term: Scalars['String'];
|
|
1958
1968
|
input: ICollectionFilterInput;
|
|
1959
|
-
|
|
1960
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1969
|
+
page?: Maybe<IPageInput>;
|
|
1961
1970
|
};
|
|
1962
1971
|
|
|
1963
1972
|
|
|
@@ -1969,10 +1978,9 @@ export type IQueryFindCollectionsByTitleArgs = {
|
|
|
1969
1978
|
|
|
1970
1979
|
|
|
1971
1980
|
export type IQueryFindCreationsArgs = {
|
|
1972
|
-
input: ICreationFilterInput;
|
|
1973
|
-
pageSize: Scalars['Int'];
|
|
1974
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1975
1981
|
term: Scalars['String'];
|
|
1982
|
+
input: ICreationFilterInput;
|
|
1983
|
+
page?: Maybe<IPageInput>;
|
|
1976
1984
|
};
|
|
1977
1985
|
|
|
1978
1986
|
|
|
@@ -1992,8 +2000,7 @@ export type IQueryFindGalleriesByTermArgs = {
|
|
|
1992
2000
|
|
|
1993
2001
|
export type IQueryFindProfilesByNameArgs = {
|
|
1994
2002
|
name: Scalars['String'];
|
|
1995
|
-
|
|
1996
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2003
|
+
page?: Maybe<IPageInput>;
|
|
1997
2004
|
};
|
|
1998
2005
|
|
|
1999
2006
|
|
|
@@ -2033,10 +2040,9 @@ export type IQueryFindTopEntitiesByTermArgs = {
|
|
|
2033
2040
|
|
|
2034
2041
|
|
|
2035
2042
|
export type IQueryFindUserCreationsArgs = {
|
|
2036
|
-
input: ICreationFilterInput;
|
|
2037
2043
|
ownerId: Scalars['String'];
|
|
2038
|
-
|
|
2039
|
-
|
|
2044
|
+
input: ICreationFilterInput;
|
|
2045
|
+
page?: Maybe<IPageInput>;
|
|
2040
2046
|
};
|
|
2041
2047
|
|
|
2042
2048
|
|
|
@@ -2074,6 +2080,14 @@ export type ISearchFilterInput = {
|
|
|
2074
2080
|
word: Scalars['String'];
|
|
2075
2081
|
};
|
|
2076
2082
|
|
|
2083
|
+
export type ISearchResultSelectionsPage = {
|
|
2084
|
+
typeSelections: Array<Maybe<ISelection>>;
|
|
2085
|
+
blockchainSelections: Array<Maybe<ISelection>>;
|
|
2086
|
+
categorySelections: Array<Maybe<ISelection>>;
|
|
2087
|
+
timeSelections: Array<Maybe<ISelection>>;
|
|
2088
|
+
statusSelections: Array<Maybe<ISelection>>;
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2077
2091
|
export type ISelection = {
|
|
2078
2092
|
name: Scalars['String'];
|
|
2079
2093
|
ordering: Scalars['Int'];
|
|
@@ -3023,6 +3037,26 @@ export type IFetchInterestsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
3023
3037
|
|
|
3024
3038
|
export type IFetchInterestsQuery = { fetchInterests: Array<Maybe<Pick<IInterest, 'name' | 'imageUrl'>>> };
|
|
3025
3039
|
|
|
3040
|
+
export type IFetchSearchResultSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
export type IFetchSearchResultSelectionsQuery = { fetchSearchResultSelections: { typeSelections: Array<Maybe<(
|
|
3044
|
+
Pick<ISelection, 'label'>
|
|
3045
|
+
& { id: ISelection['name'] }
|
|
3046
|
+
)>>, blockchainSelections: Array<Maybe<(
|
|
3047
|
+
Pick<ISelection, 'label'>
|
|
3048
|
+
& { id: ISelection['name'] }
|
|
3049
|
+
)>>, categorySelections: Array<Maybe<(
|
|
3050
|
+
Pick<ISelection, 'label'>
|
|
3051
|
+
& { id: ISelection['name'] }
|
|
3052
|
+
)>>, timeSelections: Array<Maybe<(
|
|
3053
|
+
Pick<ISelection, 'label'>
|
|
3054
|
+
& { id: ISelection['name'] }
|
|
3055
|
+
)>>, statusSelections: Array<Maybe<(
|
|
3056
|
+
Pick<ISelection, 'label'>
|
|
3057
|
+
& { id: ISelection['name'] }
|
|
3058
|
+
)>> } };
|
|
3059
|
+
|
|
3026
3060
|
export type IFetchSearchResultTimeSelectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3027
3061
|
|
|
3028
3062
|
|
|
@@ -3059,15 +3093,11 @@ export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{ [key: s
|
|
|
3059
3093
|
export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3060
3094
|
|
|
3061
3095
|
export type IFetchAllCreationsQueryVariables = Exact<{
|
|
3062
|
-
|
|
3063
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3096
|
+
page?: Maybe<IPageInput>;
|
|
3064
3097
|
}>;
|
|
3065
3098
|
|
|
3066
3099
|
|
|
3067
|
-
export type IFetchAllCreationsQuery = { fetchAllCreations:
|
|
3068
|
-
Pick<ICreationsPage, 'nextPageToken'>
|
|
3069
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
|
|
3070
|
-
) };
|
|
3100
|
+
export type IFetchAllCreationsQuery = { fetchAllCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>> } };
|
|
3071
3101
|
|
|
3072
3102
|
export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3073
3103
|
|
|
@@ -3077,30 +3107,22 @@ export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
|
|
|
3077
3107
|
export type IFindCollectionsQueryVariables = Exact<{
|
|
3078
3108
|
term: Scalars['String'];
|
|
3079
3109
|
input: ICollectionFilterInput;
|
|
3080
|
-
|
|
3081
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3110
|
+
page?: Maybe<IPageInput>;
|
|
3082
3111
|
}>;
|
|
3083
3112
|
|
|
3084
3113
|
|
|
3085
|
-
export type IFindCollectionsQuery = { findCollections: (
|
|
3086
|
-
Pick<ICollectionPage, 'nextPageToken' | 'results'>
|
|
3087
|
-
& { collections: Array<Maybe<(
|
|
3114
|
+
export type IFindCollectionsQuery = { findCollections: { collections: Array<Maybe<(
|
|
3088
3115
|
Pick<ICollection, 'collectionId' | 'collectionTitle' | 'blockchain' | 'tokenId' | 'likes' | 'liked' | 'rank'>
|
|
3089
3116
|
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3090
|
-
)>> }
|
|
3091
|
-
) };
|
|
3117
|
+
)>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
|
|
3092
3118
|
|
|
3093
3119
|
export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
3094
3120
|
itemType: Scalars['String'];
|
|
3095
|
-
|
|
3096
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3121
|
+
page?: Maybe<IPageInput>;
|
|
3097
3122
|
}>;
|
|
3098
3123
|
|
|
3099
3124
|
|
|
3100
|
-
export type IFetchCreationsByTypeQuery = { fetchCreationsByType:
|
|
3101
|
-
Pick<ICreationsPage, 'nextPageToken'>
|
|
3102
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
|
|
3103
|
-
) };
|
|
3125
|
+
export type IFetchCreationsByTypeQuery = { fetchCreationsByType: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>> } };
|
|
3104
3126
|
|
|
3105
3127
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
3106
3128
|
name: Scalars['String'];
|
|
@@ -3126,27 +3148,19 @@ export type IFetchUserPortfolioQuery = { fetchUserPortfolio: Array<Maybe<Pick<IC
|
|
|
3126
3148
|
export type IFindCreationsQueryVariables = Exact<{
|
|
3127
3149
|
term: Scalars['String'];
|
|
3128
3150
|
input: ICreationFilterInput;
|
|
3129
|
-
|
|
3130
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3151
|
+
page?: Maybe<IPageInput>;
|
|
3131
3152
|
}>;
|
|
3132
3153
|
|
|
3133
3154
|
|
|
3134
|
-
export type IFindCreationsQuery = { findCreations:
|
|
3135
|
-
Pick<ICreationsPage, 'nextPageToken' | 'results'>
|
|
3136
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>>> }
|
|
3137
|
-
) };
|
|
3155
|
+
export type IFindCreationsQuery = { findCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>> } };
|
|
3138
3156
|
|
|
3139
3157
|
export type IFindProfilesByNameQueryVariables = Exact<{
|
|
3140
3158
|
name: Scalars['String'];
|
|
3141
|
-
|
|
3142
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3159
|
+
page?: Maybe<IPageInput>;
|
|
3143
3160
|
}>;
|
|
3144
3161
|
|
|
3145
3162
|
|
|
3146
|
-
export type IFindProfilesByNameQuery = { findProfilesByName:
|
|
3147
|
-
Pick<IProfilePage, 'nextPageToken' | 'results'>
|
|
3148
|
-
& { profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> }
|
|
3149
|
-
) };
|
|
3163
|
+
export type IFindProfilesByNameQuery = { findProfilesByName: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> } };
|
|
3150
3164
|
|
|
3151
3165
|
export type IFindSetsQueryVariables = Exact<{
|
|
3152
3166
|
term: Scalars['String'];
|
|
@@ -3177,15 +3191,11 @@ export type IFindShowcaseItemsQuery = { findShowcaseItems: (
|
|
|
3177
3191
|
export type IFindUserCreationsQueryVariables = Exact<{
|
|
3178
3192
|
ownerId: Scalars['String'];
|
|
3179
3193
|
input: ICreationFilterInput;
|
|
3180
|
-
|
|
3181
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3194
|
+
page?: Maybe<IPageInput>;
|
|
3182
3195
|
}>;
|
|
3183
3196
|
|
|
3184
3197
|
|
|
3185
|
-
export type IFindUserCreationsQuery = { findUserCreations:
|
|
3186
|
-
Pick<ICreationsPage, 'nextPageToken' | 'results'>
|
|
3187
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>> }
|
|
3188
|
-
) };
|
|
3198
|
+
export type IFindUserCreationsQuery = { findUserCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>> } };
|
|
3189
3199
|
|
|
3190
3200
|
export type IFindUserShowcaseItemsQueryVariables = Exact<{
|
|
3191
3201
|
ownerId: Scalars['String'];
|
|
@@ -6496,6 +6506,57 @@ export function useFetchInterestsLazyQuery(baseOptions?: Apollo.LazyQueryHookOpt
|
|
|
6496
6506
|
export type FetchInterestsQueryHookResult = ReturnType<typeof useFetchInterestsQuery>;
|
|
6497
6507
|
export type FetchInterestsLazyQueryHookResult = ReturnType<typeof useFetchInterestsLazyQuery>;
|
|
6498
6508
|
export type FetchInterestsQueryResult = Apollo.QueryResult<IFetchInterestsQuery, IFetchInterestsQueryVariables>;
|
|
6509
|
+
export const FetchSearchResultSelectionsDocument = gql`
|
|
6510
|
+
query FetchSearchResultSelections {
|
|
6511
|
+
fetchSearchResultSelections {
|
|
6512
|
+
typeSelections {
|
|
6513
|
+
id: name
|
|
6514
|
+
label
|
|
6515
|
+
}
|
|
6516
|
+
blockchainSelections {
|
|
6517
|
+
id: name
|
|
6518
|
+
label
|
|
6519
|
+
}
|
|
6520
|
+
categorySelections {
|
|
6521
|
+
id: name
|
|
6522
|
+
label
|
|
6523
|
+
}
|
|
6524
|
+
timeSelections {
|
|
6525
|
+
id: name
|
|
6526
|
+
label
|
|
6527
|
+
}
|
|
6528
|
+
statusSelections {
|
|
6529
|
+
id: name
|
|
6530
|
+
label
|
|
6531
|
+
}
|
|
6532
|
+
}
|
|
6533
|
+
}
|
|
6534
|
+
`;
|
|
6535
|
+
|
|
6536
|
+
/**
|
|
6537
|
+
* __useFetchSearchResultSelectionsQuery__
|
|
6538
|
+
*
|
|
6539
|
+
* To run a query within a React component, call `useFetchSearchResultSelectionsQuery` and pass it any options that fit your needs.
|
|
6540
|
+
* When your component renders, `useFetchSearchResultSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6541
|
+
* you can use to render your UI.
|
|
6542
|
+
*
|
|
6543
|
+
* @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;
|
|
6544
|
+
*
|
|
6545
|
+
* @example
|
|
6546
|
+
* const { data, loading, error } = useFetchSearchResultSelectionsQuery({
|
|
6547
|
+
* variables: {
|
|
6548
|
+
* },
|
|
6549
|
+
* });
|
|
6550
|
+
*/
|
|
6551
|
+
export function useFetchSearchResultSelectionsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>) {
|
|
6552
|
+
return Apollo.useQuery<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>(FetchSearchResultSelectionsDocument, baseOptions);
|
|
6553
|
+
}
|
|
6554
|
+
export function useFetchSearchResultSelectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>) {
|
|
6555
|
+
return Apollo.useLazyQuery<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>(FetchSearchResultSelectionsDocument, baseOptions);
|
|
6556
|
+
}
|
|
6557
|
+
export type FetchSearchResultSelectionsQueryHookResult = ReturnType<typeof useFetchSearchResultSelectionsQuery>;
|
|
6558
|
+
export type FetchSearchResultSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSearchResultSelectionsLazyQuery>;
|
|
6559
|
+
export type FetchSearchResultSelectionsQueryResult = Apollo.QueryResult<IFetchSearchResultSelectionsQuery, IFetchSearchResultSelectionsQueryVariables>;
|
|
6499
6560
|
export const FetchSearchResultTimeSelectionsDocument = gql`
|
|
6500
6561
|
query FetchSearchResultTimeSelections {
|
|
6501
6562
|
fetchSearchResultTimeSelections {
|
|
@@ -6731,9 +6792,14 @@ export type FetchSetsSearchResultTypeSelectionsQueryHookResult = ReturnType<type
|
|
|
6731
6792
|
export type FetchSetsSearchResultTypeSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSetsSearchResultTypeSelectionsLazyQuery>;
|
|
6732
6793
|
export type FetchSetsSearchResultTypeSelectionsQueryResult = Apollo.QueryResult<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>;
|
|
6733
6794
|
export const FetchAllCreationsDocument = gql`
|
|
6734
|
-
query FetchAllCreations($
|
|
6735
|
-
fetchAllCreations(
|
|
6736
|
-
|
|
6795
|
+
query FetchAllCreations($page: PageInput) {
|
|
6796
|
+
fetchAllCreations(page: $page) {
|
|
6797
|
+
nextPage {
|
|
6798
|
+
token
|
|
6799
|
+
num
|
|
6800
|
+
size
|
|
6801
|
+
elements
|
|
6802
|
+
}
|
|
6737
6803
|
creations {
|
|
6738
6804
|
itemType
|
|
6739
6805
|
itemId
|
|
@@ -6766,12 +6832,11 @@ export const FetchAllCreationsDocument = gql`
|
|
|
6766
6832
|
* @example
|
|
6767
6833
|
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
6768
6834
|
* variables: {
|
|
6769
|
-
*
|
|
6770
|
-
* pageToken: // value for 'pageToken'
|
|
6835
|
+
* page: // value for 'page'
|
|
6771
6836
|
* },
|
|
6772
6837
|
* });
|
|
6773
6838
|
*/
|
|
6774
|
-
export function useFetchAllCreationsQuery(baseOptions
|
|
6839
|
+
export function useFetchAllCreationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
|
|
6775
6840
|
return Apollo.useQuery<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>(FetchAllCreationsDocument, baseOptions);
|
|
6776
6841
|
}
|
|
6777
6842
|
export function useFetchAllCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
|
|
@@ -6811,13 +6876,8 @@ export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCo
|
|
|
6811
6876
|
export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
|
|
6812
6877
|
export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
|
|
6813
6878
|
export const FindCollectionsDocument = gql`
|
|
6814
|
-
query FindCollections($term: String!, $input: CollectionFilterInput!, $
|
|
6815
|
-
findCollections(
|
|
6816
|
-
term: $term
|
|
6817
|
-
input: $input
|
|
6818
|
-
pageSize: $pageSize
|
|
6819
|
-
pageToken: $pageToken
|
|
6820
|
-
) {
|
|
6879
|
+
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
6880
|
+
findCollections(term: $term, input: $input, page: $page) {
|
|
6821
6881
|
collections {
|
|
6822
6882
|
collectionId
|
|
6823
6883
|
collectionTitle
|
|
@@ -6835,8 +6895,12 @@ export const FindCollectionsDocument = gql`
|
|
|
6835
6895
|
}
|
|
6836
6896
|
rank
|
|
6837
6897
|
}
|
|
6838
|
-
|
|
6839
|
-
|
|
6898
|
+
nextPage {
|
|
6899
|
+
token
|
|
6900
|
+
num
|
|
6901
|
+
size
|
|
6902
|
+
elements
|
|
6903
|
+
}
|
|
6840
6904
|
}
|
|
6841
6905
|
}
|
|
6842
6906
|
`;
|
|
@@ -6855,8 +6919,7 @@ export const FindCollectionsDocument = gql`
|
|
|
6855
6919
|
* variables: {
|
|
6856
6920
|
* term: // value for 'term'
|
|
6857
6921
|
* input: // value for 'input'
|
|
6858
|
-
*
|
|
6859
|
-
* pageToken: // value for 'pageToken'
|
|
6922
|
+
* page: // value for 'page'
|
|
6860
6923
|
* },
|
|
6861
6924
|
* });
|
|
6862
6925
|
*/
|
|
@@ -6870,13 +6933,14 @@ export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollection
|
|
|
6870
6933
|
export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
|
|
6871
6934
|
export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
|
|
6872
6935
|
export const FetchCreationsByTypeDocument = gql`
|
|
6873
|
-
query FetchCreationsByType($itemType: String!, $
|
|
6874
|
-
fetchCreationsByType(
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6936
|
+
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
6937
|
+
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
6938
|
+
nextPage {
|
|
6939
|
+
token
|
|
6940
|
+
num
|
|
6941
|
+
size
|
|
6942
|
+
elements
|
|
6943
|
+
}
|
|
6880
6944
|
creations {
|
|
6881
6945
|
itemType
|
|
6882
6946
|
itemId
|
|
@@ -6910,8 +6974,7 @@ export const FetchCreationsByTypeDocument = gql`
|
|
|
6910
6974
|
* const { data, loading, error } = useFetchCreationsByTypeQuery({
|
|
6911
6975
|
* variables: {
|
|
6912
6976
|
* itemType: // value for 'itemType'
|
|
6913
|
-
*
|
|
6914
|
-
* pageToken: // value for 'pageToken'
|
|
6977
|
+
* page: // value for 'page'
|
|
6915
6978
|
* },
|
|
6916
6979
|
* });
|
|
6917
6980
|
*/
|
|
@@ -7086,15 +7149,14 @@ export type FetchUserPortfolioQueryHookResult = ReturnType<typeof useFetchUserPo
|
|
|
7086
7149
|
export type FetchUserPortfolioLazyQueryHookResult = ReturnType<typeof useFetchUserPortfolioLazyQuery>;
|
|
7087
7150
|
export type FetchUserPortfolioQueryResult = Apollo.QueryResult<IFetchUserPortfolioQuery, IFetchUserPortfolioQueryVariables>;
|
|
7088
7151
|
export const FindCreationsDocument = gql`
|
|
7089
|
-
query FindCreations($term: String!, $input: CreationFilterInput!, $
|
|
7090
|
-
findCreations(
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
results
|
|
7152
|
+
query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
7153
|
+
findCreations(term: $term, input: $input, page: $page) {
|
|
7154
|
+
nextPage {
|
|
7155
|
+
token
|
|
7156
|
+
num
|
|
7157
|
+
size
|
|
7158
|
+
elements
|
|
7159
|
+
}
|
|
7098
7160
|
creations {
|
|
7099
7161
|
itemType
|
|
7100
7162
|
address
|
|
@@ -7129,8 +7191,7 @@ export const FindCreationsDocument = gql`
|
|
|
7129
7191
|
* variables: {
|
|
7130
7192
|
* term: // value for 'term'
|
|
7131
7193
|
* input: // value for 'input'
|
|
7132
|
-
*
|
|
7133
|
-
* pageToken: // value for 'pageToken'
|
|
7194
|
+
* page: // value for 'page'
|
|
7134
7195
|
* },
|
|
7135
7196
|
* });
|
|
7136
7197
|
*/
|
|
@@ -7144,9 +7205,14 @@ export type FindCreationsQueryHookResult = ReturnType<typeof useFindCreationsQue
|
|
|
7144
7205
|
export type FindCreationsLazyQueryHookResult = ReturnType<typeof useFindCreationsLazyQuery>;
|
|
7145
7206
|
export type FindCreationsQueryResult = Apollo.QueryResult<IFindCreationsQuery, IFindCreationsQueryVariables>;
|
|
7146
7207
|
export const FindProfilesByNameDocument = gql`
|
|
7147
|
-
query FindProfilesByName($name: String!, $
|
|
7148
|
-
findProfilesByName(name: $name,
|
|
7149
|
-
|
|
7208
|
+
query FindProfilesByName($name: String!, $page: PageInput) {
|
|
7209
|
+
findProfilesByName(name: $name, page: $page) {
|
|
7210
|
+
nextPage {
|
|
7211
|
+
token
|
|
7212
|
+
num
|
|
7213
|
+
size
|
|
7214
|
+
elements
|
|
7215
|
+
}
|
|
7150
7216
|
profiles {
|
|
7151
7217
|
userId
|
|
7152
7218
|
username
|
|
@@ -7156,7 +7222,6 @@ export const FindProfilesByNameDocument = gql`
|
|
|
7156
7222
|
followings
|
|
7157
7223
|
visible
|
|
7158
7224
|
}
|
|
7159
|
-
results
|
|
7160
7225
|
}
|
|
7161
7226
|
}
|
|
7162
7227
|
`;
|
|
@@ -7174,8 +7239,7 @@ export const FindProfilesByNameDocument = gql`
|
|
|
7174
7239
|
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
7175
7240
|
* variables: {
|
|
7176
7241
|
* name: // value for 'name'
|
|
7177
|
-
*
|
|
7178
|
-
* pageToken: // value for 'pageToken'
|
|
7242
|
+
* page: // value for 'page'
|
|
7179
7243
|
* },
|
|
7180
7244
|
* });
|
|
7181
7245
|
*/
|
|
@@ -7297,15 +7361,14 @@ export type FindShowcaseItemsQueryHookResult = ReturnType<typeof useFindShowcase
|
|
|
7297
7361
|
export type FindShowcaseItemsLazyQueryHookResult = ReturnType<typeof useFindShowcaseItemsLazyQuery>;
|
|
7298
7362
|
export type FindShowcaseItemsQueryResult = Apollo.QueryResult<IFindShowcaseItemsQuery, IFindShowcaseItemsQueryVariables>;
|
|
7299
7363
|
export const FindUserCreationsDocument = gql`
|
|
7300
|
-
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $
|
|
7301
|
-
findUserCreations(
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
results
|
|
7364
|
+
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
7365
|
+
findUserCreations(ownerId: $ownerId, input: $input, page: $page) {
|
|
7366
|
+
nextPage {
|
|
7367
|
+
token
|
|
7368
|
+
num
|
|
7369
|
+
size
|
|
7370
|
+
elements
|
|
7371
|
+
}
|
|
7309
7372
|
creations {
|
|
7310
7373
|
id
|
|
7311
7374
|
itemType
|
|
@@ -7340,8 +7403,7 @@ export const FindUserCreationsDocument = gql`
|
|
|
7340
7403
|
* variables: {
|
|
7341
7404
|
* ownerId: // value for 'ownerId'
|
|
7342
7405
|
* input: // value for 'input'
|
|
7343
|
-
*
|
|
7344
|
-
* pageToken: // value for 'pageToken'
|
|
7406
|
+
* page: // value for 'page'
|
|
7345
7407
|
* },
|
|
7346
7408
|
* });
|
|
7347
7409
|
*/
|