@ludo.ninja/api 2.1.8 → 2.1.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.
|
@@ -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 = {
|
|
@@ -1381,6 +1379,18 @@ export type IOpportunityPage = {
|
|
|
1381
1379
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
1382
1380
|
};
|
|
1383
1381
|
|
|
1382
|
+
export type IPage = {
|
|
1383
|
+
token?: Maybe<Scalars['String']>;
|
|
1384
|
+
num?: Maybe<Scalars['Int']>;
|
|
1385
|
+
size?: Maybe<Scalars['Int']>;
|
|
1386
|
+
elements?: Maybe<Scalars['Long']>;
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
export type IPageInput = {
|
|
1390
|
+
token?: Maybe<Scalars['String']>;
|
|
1391
|
+
size?: Maybe<Scalars['Int']>;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1384
1394
|
export type IProfile = {
|
|
1385
1395
|
about?: Maybe<Scalars['String']>;
|
|
1386
1396
|
createdAt?: Maybe<Scalars['Long']>;
|
|
@@ -1404,6 +1414,7 @@ export type IProfile = {
|
|
|
1404
1414
|
};
|
|
1405
1415
|
|
|
1406
1416
|
export type IProfilePage = {
|
|
1417
|
+
nextPage?: Maybe<IPage>;
|
|
1407
1418
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
1408
1419
|
profiles: Array<Maybe<IProfile>>;
|
|
1409
1420
|
results?: Maybe<Scalars['Long']>;
|
|
@@ -1559,8 +1570,7 @@ export type IQueryFetchAllBannerAssetsArgs = {
|
|
|
1559
1570
|
|
|
1560
1571
|
|
|
1561
1572
|
export type IQueryFetchAllCreationsArgs = {
|
|
1562
|
-
|
|
1563
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1573
|
+
page?: Maybe<IPageInput>;
|
|
1564
1574
|
};
|
|
1565
1575
|
|
|
1566
1576
|
|
|
@@ -1659,8 +1669,7 @@ export type IQueryFetchCreationArgs = {
|
|
|
1659
1669
|
|
|
1660
1670
|
export type IQueryFetchCreationsByTypeArgs = {
|
|
1661
1671
|
itemType: Scalars['String'];
|
|
1662
|
-
|
|
1663
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1672
|
+
page?: Maybe<IPageInput>;
|
|
1664
1673
|
};
|
|
1665
1674
|
|
|
1666
1675
|
|
|
@@ -1964,8 +1973,7 @@ export type IQueryFindAssetsByTermArgs = {
|
|
|
1964
1973
|
export type IQueryFindCollectionsArgs = {
|
|
1965
1974
|
term: Scalars['String'];
|
|
1966
1975
|
input: ICollectionFilterInput;
|
|
1967
|
-
|
|
1968
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1976
|
+
page?: Maybe<IPageInput>;
|
|
1969
1977
|
};
|
|
1970
1978
|
|
|
1971
1979
|
|
|
@@ -1977,10 +1985,9 @@ export type IQueryFindCollectionsByTitleArgs = {
|
|
|
1977
1985
|
|
|
1978
1986
|
|
|
1979
1987
|
export type IQueryFindCreationsArgs = {
|
|
1980
|
-
input: ICreationFilterInput;
|
|
1981
|
-
pageSize: Scalars['Int'];
|
|
1982
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1983
1988
|
term: Scalars['String'];
|
|
1989
|
+
input: ICreationFilterInput;
|
|
1990
|
+
page?: Maybe<IPageInput>;
|
|
1984
1991
|
};
|
|
1985
1992
|
|
|
1986
1993
|
|
|
@@ -2000,8 +2007,7 @@ export type IQueryFindGalleriesByTermArgs = {
|
|
|
2000
2007
|
|
|
2001
2008
|
export type IQueryFindProfilesByNameArgs = {
|
|
2002
2009
|
name: Scalars['String'];
|
|
2003
|
-
|
|
2004
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2010
|
+
page?: Maybe<IPageInput>;
|
|
2005
2011
|
};
|
|
2006
2012
|
|
|
2007
2013
|
|
|
@@ -2041,10 +2047,9 @@ export type IQueryFindTopEntitiesByTermArgs = {
|
|
|
2041
2047
|
|
|
2042
2048
|
|
|
2043
2049
|
export type IQueryFindUserCreationsArgs = {
|
|
2044
|
-
input: ICreationFilterInput;
|
|
2045
2050
|
ownerId: Scalars['String'];
|
|
2046
|
-
|
|
2047
|
-
|
|
2051
|
+
input: ICreationFilterInput;
|
|
2052
|
+
page?: Maybe<IPageInput>;
|
|
2048
2053
|
};
|
|
2049
2054
|
|
|
2050
2055
|
|
|
@@ -3103,15 +3108,11 @@ export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{ [key: s
|
|
|
3103
3108
|
export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3104
3109
|
|
|
3105
3110
|
export type IFetchAllCreationsQueryVariables = Exact<{
|
|
3106
|
-
|
|
3107
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3111
|
+
page?: Maybe<IPageInput>;
|
|
3108
3112
|
}>;
|
|
3109
3113
|
|
|
3110
3114
|
|
|
3111
|
-
export type IFetchAllCreationsQuery = { fetchAllCreations:
|
|
3112
|
-
Pick<ICreationsPage, 'nextPageToken'>
|
|
3113
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
|
|
3114
|
-
) };
|
|
3115
|
+
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'>>> } };
|
|
3115
3116
|
|
|
3116
3117
|
export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3117
3118
|
|
|
@@ -3121,30 +3122,22 @@ export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
|
|
|
3121
3122
|
export type IFindCollectionsQueryVariables = Exact<{
|
|
3122
3123
|
term: Scalars['String'];
|
|
3123
3124
|
input: ICollectionFilterInput;
|
|
3124
|
-
|
|
3125
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3125
|
+
page?: Maybe<IPageInput>;
|
|
3126
3126
|
}>;
|
|
3127
3127
|
|
|
3128
3128
|
|
|
3129
|
-
export type IFindCollectionsQuery = { findCollections: (
|
|
3130
|
-
Pick<ICollectionPage, 'nextPageToken' | 'results'>
|
|
3131
|
-
& { collections: Array<Maybe<(
|
|
3129
|
+
export type IFindCollectionsQuery = { findCollections: { collections: Array<Maybe<(
|
|
3132
3130
|
Pick<ICollection, 'collectionId' | 'collectionTitle' | 'blockchain' | 'tokenId' | 'likes' | 'liked' | 'rank'>
|
|
3133
3131
|
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3134
|
-
)>> }
|
|
3135
|
-
) };
|
|
3132
|
+
)>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
|
|
3136
3133
|
|
|
3137
3134
|
export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
3138
3135
|
itemType: Scalars['String'];
|
|
3139
|
-
|
|
3140
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3136
|
+
page?: Maybe<IPageInput>;
|
|
3141
3137
|
}>;
|
|
3142
3138
|
|
|
3143
3139
|
|
|
3144
|
-
export type IFetchCreationsByTypeQuery = { fetchCreationsByType:
|
|
3145
|
-
Pick<ICreationsPage, 'nextPageToken'>
|
|
3146
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
|
|
3147
|
-
) };
|
|
3140
|
+
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'>>> } };
|
|
3148
3141
|
|
|
3149
3142
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
3150
3143
|
name: Scalars['String'];
|
|
@@ -3170,27 +3163,19 @@ export type IFetchUserPortfolioQuery = { fetchUserPortfolio: Array<Maybe<Pick<IC
|
|
|
3170
3163
|
export type IFindCreationsQueryVariables = Exact<{
|
|
3171
3164
|
term: Scalars['String'];
|
|
3172
3165
|
input: ICreationFilterInput;
|
|
3173
|
-
|
|
3174
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3166
|
+
page?: Maybe<IPageInput>;
|
|
3175
3167
|
}>;
|
|
3176
3168
|
|
|
3177
3169
|
|
|
3178
|
-
export type IFindCreationsQuery = { findCreations:
|
|
3179
|
-
Pick<ICreationsPage, 'nextPageToken' | 'results'>
|
|
3180
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>>> }
|
|
3181
|
-
) };
|
|
3170
|
+
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'>>> } };
|
|
3182
3171
|
|
|
3183
3172
|
export type IFindProfilesByNameQueryVariables = Exact<{
|
|
3184
3173
|
name: Scalars['String'];
|
|
3185
|
-
|
|
3186
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3174
|
+
page?: Maybe<IPageInput>;
|
|
3187
3175
|
}>;
|
|
3188
3176
|
|
|
3189
3177
|
|
|
3190
|
-
export type IFindProfilesByNameQuery = { findProfilesByName:
|
|
3191
|
-
Pick<IProfilePage, 'nextPageToken' | 'results'>
|
|
3192
|
-
& { profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> }
|
|
3193
|
-
) };
|
|
3178
|
+
export type IFindProfilesByNameQuery = { findProfilesByName: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> } };
|
|
3194
3179
|
|
|
3195
3180
|
export type IFindSetsQueryVariables = Exact<{
|
|
3196
3181
|
term: Scalars['String'];
|
|
@@ -3221,15 +3206,11 @@ export type IFindShowcaseItemsQuery = { findShowcaseItems: (
|
|
|
3221
3206
|
export type IFindUserCreationsQueryVariables = Exact<{
|
|
3222
3207
|
ownerId: Scalars['String'];
|
|
3223
3208
|
input: ICreationFilterInput;
|
|
3224
|
-
|
|
3225
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3209
|
+
page?: Maybe<IPageInput>;
|
|
3226
3210
|
}>;
|
|
3227
3211
|
|
|
3228
3212
|
|
|
3229
|
-
export type IFindUserCreationsQuery = { findUserCreations:
|
|
3230
|
-
Pick<ICreationsPage, 'nextPageToken' | 'results'>
|
|
3231
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>> }
|
|
3232
|
-
) };
|
|
3213
|
+
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'>>> } };
|
|
3233
3214
|
|
|
3234
3215
|
export type IFindUserShowcaseItemsQueryVariables = Exact<{
|
|
3235
3216
|
ownerId: Scalars['String'];
|
|
@@ -6857,9 +6838,14 @@ export type FetchSetsSearchResultTypeSelectionsQueryHookResult = ReturnType<type
|
|
|
6857
6838
|
export type FetchSetsSearchResultTypeSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSetsSearchResultTypeSelectionsLazyQuery>;
|
|
6858
6839
|
export type FetchSetsSearchResultTypeSelectionsQueryResult = Apollo.QueryResult<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>;
|
|
6859
6840
|
export const FetchAllCreationsDocument = gql`
|
|
6860
|
-
query FetchAllCreations($
|
|
6861
|
-
fetchAllCreations(
|
|
6862
|
-
|
|
6841
|
+
query FetchAllCreations($page: PageInput) {
|
|
6842
|
+
fetchAllCreations(page: $page) {
|
|
6843
|
+
nextPage {
|
|
6844
|
+
token
|
|
6845
|
+
num
|
|
6846
|
+
size
|
|
6847
|
+
elements
|
|
6848
|
+
}
|
|
6863
6849
|
creations {
|
|
6864
6850
|
itemType
|
|
6865
6851
|
itemId
|
|
@@ -6892,12 +6878,11 @@ export const FetchAllCreationsDocument = gql`
|
|
|
6892
6878
|
* @example
|
|
6893
6879
|
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
6894
6880
|
* variables: {
|
|
6895
|
-
*
|
|
6896
|
-
* pageToken: // value for 'pageToken'
|
|
6881
|
+
* page: // value for 'page'
|
|
6897
6882
|
* },
|
|
6898
6883
|
* });
|
|
6899
6884
|
*/
|
|
6900
|
-
export function useFetchAllCreationsQuery(baseOptions
|
|
6885
|
+
export function useFetchAllCreationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
|
|
6901
6886
|
return Apollo.useQuery<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>(FetchAllCreationsDocument, baseOptions);
|
|
6902
6887
|
}
|
|
6903
6888
|
export function useFetchAllCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
|
|
@@ -6937,13 +6922,8 @@ export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCo
|
|
|
6937
6922
|
export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
|
|
6938
6923
|
export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
|
|
6939
6924
|
export const FindCollectionsDocument = gql`
|
|
6940
|
-
query FindCollections($term: String!, $input: CollectionFilterInput!, $
|
|
6941
|
-
findCollections(
|
|
6942
|
-
term: $term
|
|
6943
|
-
input: $input
|
|
6944
|
-
pageSize: $pageSize
|
|
6945
|
-
pageToken: $pageToken
|
|
6946
|
-
) {
|
|
6925
|
+
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
6926
|
+
findCollections(term: $term, input: $input, page: $page) {
|
|
6947
6927
|
collections {
|
|
6948
6928
|
collectionId
|
|
6949
6929
|
collectionTitle
|
|
@@ -6961,8 +6941,12 @@ export const FindCollectionsDocument = gql`
|
|
|
6961
6941
|
}
|
|
6962
6942
|
rank
|
|
6963
6943
|
}
|
|
6964
|
-
|
|
6965
|
-
|
|
6944
|
+
nextPage {
|
|
6945
|
+
token
|
|
6946
|
+
num
|
|
6947
|
+
size
|
|
6948
|
+
elements
|
|
6949
|
+
}
|
|
6966
6950
|
}
|
|
6967
6951
|
}
|
|
6968
6952
|
`;
|
|
@@ -6981,8 +6965,7 @@ export const FindCollectionsDocument = gql`
|
|
|
6981
6965
|
* variables: {
|
|
6982
6966
|
* term: // value for 'term'
|
|
6983
6967
|
* input: // value for 'input'
|
|
6984
|
-
*
|
|
6985
|
-
* pageToken: // value for 'pageToken'
|
|
6968
|
+
* page: // value for 'page'
|
|
6986
6969
|
* },
|
|
6987
6970
|
* });
|
|
6988
6971
|
*/
|
|
@@ -6996,13 +6979,14 @@ export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollection
|
|
|
6996
6979
|
export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
|
|
6997
6980
|
export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
|
|
6998
6981
|
export const FetchCreationsByTypeDocument = gql`
|
|
6999
|
-
query FetchCreationsByType($itemType: String!, $
|
|
7000
|
-
fetchCreationsByType(
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
6982
|
+
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
6983
|
+
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
6984
|
+
nextPage {
|
|
6985
|
+
token
|
|
6986
|
+
num
|
|
6987
|
+
size
|
|
6988
|
+
elements
|
|
6989
|
+
}
|
|
7006
6990
|
creations {
|
|
7007
6991
|
itemType
|
|
7008
6992
|
itemId
|
|
@@ -7036,8 +7020,7 @@ export const FetchCreationsByTypeDocument = gql`
|
|
|
7036
7020
|
* const { data, loading, error } = useFetchCreationsByTypeQuery({
|
|
7037
7021
|
* variables: {
|
|
7038
7022
|
* itemType: // value for 'itemType'
|
|
7039
|
-
*
|
|
7040
|
-
* pageToken: // value for 'pageToken'
|
|
7023
|
+
* page: // value for 'page'
|
|
7041
7024
|
* },
|
|
7042
7025
|
* });
|
|
7043
7026
|
*/
|
|
@@ -7212,15 +7195,14 @@ export type FetchUserPortfolioQueryHookResult = ReturnType<typeof useFetchUserPo
|
|
|
7212
7195
|
export type FetchUserPortfolioLazyQueryHookResult = ReturnType<typeof useFetchUserPortfolioLazyQuery>;
|
|
7213
7196
|
export type FetchUserPortfolioQueryResult = Apollo.QueryResult<IFetchUserPortfolioQuery, IFetchUserPortfolioQueryVariables>;
|
|
7214
7197
|
export const FindCreationsDocument = gql`
|
|
7215
|
-
query FindCreations($term: String!, $input: CreationFilterInput!, $
|
|
7216
|
-
findCreations(
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
results
|
|
7198
|
+
query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
7199
|
+
findCreations(term: $term, input: $input, page: $page) {
|
|
7200
|
+
nextPage {
|
|
7201
|
+
token
|
|
7202
|
+
num
|
|
7203
|
+
size
|
|
7204
|
+
elements
|
|
7205
|
+
}
|
|
7224
7206
|
creations {
|
|
7225
7207
|
itemType
|
|
7226
7208
|
address
|
|
@@ -7255,8 +7237,7 @@ export const FindCreationsDocument = gql`
|
|
|
7255
7237
|
* variables: {
|
|
7256
7238
|
* term: // value for 'term'
|
|
7257
7239
|
* input: // value for 'input'
|
|
7258
|
-
*
|
|
7259
|
-
* pageToken: // value for 'pageToken'
|
|
7240
|
+
* page: // value for 'page'
|
|
7260
7241
|
* },
|
|
7261
7242
|
* });
|
|
7262
7243
|
*/
|
|
@@ -7270,9 +7251,14 @@ export type FindCreationsQueryHookResult = ReturnType<typeof useFindCreationsQue
|
|
|
7270
7251
|
export type FindCreationsLazyQueryHookResult = ReturnType<typeof useFindCreationsLazyQuery>;
|
|
7271
7252
|
export type FindCreationsQueryResult = Apollo.QueryResult<IFindCreationsQuery, IFindCreationsQueryVariables>;
|
|
7272
7253
|
export const FindProfilesByNameDocument = gql`
|
|
7273
|
-
query FindProfilesByName($name: String!, $
|
|
7274
|
-
findProfilesByName(name: $name,
|
|
7275
|
-
|
|
7254
|
+
query FindProfilesByName($name: String!, $page: PageInput) {
|
|
7255
|
+
findProfilesByName(name: $name, page: $page) {
|
|
7256
|
+
nextPage {
|
|
7257
|
+
token
|
|
7258
|
+
num
|
|
7259
|
+
size
|
|
7260
|
+
elements
|
|
7261
|
+
}
|
|
7276
7262
|
profiles {
|
|
7277
7263
|
userId
|
|
7278
7264
|
username
|
|
@@ -7282,7 +7268,6 @@ export const FindProfilesByNameDocument = gql`
|
|
|
7282
7268
|
followings
|
|
7283
7269
|
visible
|
|
7284
7270
|
}
|
|
7285
|
-
results
|
|
7286
7271
|
}
|
|
7287
7272
|
}
|
|
7288
7273
|
`;
|
|
@@ -7300,8 +7285,7 @@ export const FindProfilesByNameDocument = gql`
|
|
|
7300
7285
|
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
7301
7286
|
* variables: {
|
|
7302
7287
|
* name: // value for 'name'
|
|
7303
|
-
*
|
|
7304
|
-
* pageToken: // value for 'pageToken'
|
|
7288
|
+
* page: // value for 'page'
|
|
7305
7289
|
* },
|
|
7306
7290
|
* });
|
|
7307
7291
|
*/
|
|
@@ -7423,15 +7407,14 @@ export type FindShowcaseItemsQueryHookResult = ReturnType<typeof useFindShowcase
|
|
|
7423
7407
|
export type FindShowcaseItemsLazyQueryHookResult = ReturnType<typeof useFindShowcaseItemsLazyQuery>;
|
|
7424
7408
|
export type FindShowcaseItemsQueryResult = Apollo.QueryResult<IFindShowcaseItemsQuery, IFindShowcaseItemsQueryVariables>;
|
|
7425
7409
|
export const FindUserCreationsDocument = gql`
|
|
7426
|
-
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $
|
|
7427
|
-
findUserCreations(
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
results
|
|
7410
|
+
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
7411
|
+
findUserCreations(ownerId: $ownerId, input: $input, page: $page) {
|
|
7412
|
+
nextPage {
|
|
7413
|
+
token
|
|
7414
|
+
num
|
|
7415
|
+
size
|
|
7416
|
+
elements
|
|
7417
|
+
}
|
|
7435
7418
|
creations {
|
|
7436
7419
|
id
|
|
7437
7420
|
itemType
|
|
@@ -7466,8 +7449,7 @@ export const FindUserCreationsDocument = gql`
|
|
|
7466
7449
|
* variables: {
|
|
7467
7450
|
* ownerId: // value for 'ownerId'
|
|
7468
7451
|
* input: // value for 'input'
|
|
7469
|
-
*
|
|
7470
|
-
* pageToken: // value for 'pageToken'
|
|
7452
|
+
* page: // value for 'page'
|
|
7471
7453
|
* },
|
|
7472
7454
|
* });
|
|
7473
7455
|
*/
|