@ludo.ninja/api 2.1.4 → 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 +69 -84
- package/build/graphql_tools/__generated__/schema.js +54 -53
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/schema.ts +92 -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']>;
|
|
@@ -1552,8 +1563,7 @@ export type IQueryFetchAllBannerAssetsArgs = {
|
|
|
1552
1563
|
|
|
1553
1564
|
|
|
1554
1565
|
export type IQueryFetchAllCreationsArgs = {
|
|
1555
|
-
|
|
1556
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1566
|
+
page?: Maybe<IPageInput>;
|
|
1557
1567
|
};
|
|
1558
1568
|
|
|
1559
1569
|
|
|
@@ -1652,8 +1662,7 @@ export type IQueryFetchCreationArgs = {
|
|
|
1652
1662
|
|
|
1653
1663
|
export type IQueryFetchCreationsByTypeArgs = {
|
|
1654
1664
|
itemType: Scalars['String'];
|
|
1655
|
-
|
|
1656
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1665
|
+
page?: Maybe<IPageInput>;
|
|
1657
1666
|
};
|
|
1658
1667
|
|
|
1659
1668
|
|
|
@@ -1957,8 +1966,7 @@ export type IQueryFindAssetsByTermArgs = {
|
|
|
1957
1966
|
export type IQueryFindCollectionsArgs = {
|
|
1958
1967
|
term: Scalars['String'];
|
|
1959
1968
|
input: ICollectionFilterInput;
|
|
1960
|
-
|
|
1961
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1969
|
+
page?: Maybe<IPageInput>;
|
|
1962
1970
|
};
|
|
1963
1971
|
|
|
1964
1972
|
|
|
@@ -1970,10 +1978,9 @@ export type IQueryFindCollectionsByTitleArgs = {
|
|
|
1970
1978
|
|
|
1971
1979
|
|
|
1972
1980
|
export type IQueryFindCreationsArgs = {
|
|
1973
|
-
input: ICreationFilterInput;
|
|
1974
|
-
pageSize: Scalars['Int'];
|
|
1975
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1976
1981
|
term: Scalars['String'];
|
|
1982
|
+
input: ICreationFilterInput;
|
|
1983
|
+
page?: Maybe<IPageInput>;
|
|
1977
1984
|
};
|
|
1978
1985
|
|
|
1979
1986
|
|
|
@@ -1993,8 +2000,7 @@ export type IQueryFindGalleriesByTermArgs = {
|
|
|
1993
2000
|
|
|
1994
2001
|
export type IQueryFindProfilesByNameArgs = {
|
|
1995
2002
|
name: Scalars['String'];
|
|
1996
|
-
|
|
1997
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2003
|
+
page?: Maybe<IPageInput>;
|
|
1998
2004
|
};
|
|
1999
2005
|
|
|
2000
2006
|
|
|
@@ -2034,10 +2040,9 @@ export type IQueryFindTopEntitiesByTermArgs = {
|
|
|
2034
2040
|
|
|
2035
2041
|
|
|
2036
2042
|
export type IQueryFindUserCreationsArgs = {
|
|
2037
|
-
input: ICreationFilterInput;
|
|
2038
2043
|
ownerId: Scalars['String'];
|
|
2039
|
-
|
|
2040
|
-
|
|
2044
|
+
input: ICreationFilterInput;
|
|
2045
|
+
page?: Maybe<IPageInput>;
|
|
2041
2046
|
};
|
|
2042
2047
|
|
|
2043
2048
|
|
|
@@ -3088,15 +3093,11 @@ export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{ [key: s
|
|
|
3088
3093
|
export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
|
|
3089
3094
|
|
|
3090
3095
|
export type IFetchAllCreationsQueryVariables = Exact<{
|
|
3091
|
-
|
|
3092
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3096
|
+
page?: Maybe<IPageInput>;
|
|
3093
3097
|
}>;
|
|
3094
3098
|
|
|
3095
3099
|
|
|
3096
|
-
export type IFetchAllCreationsQuery = { fetchAllCreations:
|
|
3097
|
-
Pick<ICreationsPage, 'nextPageToken'>
|
|
3098
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
|
|
3099
|
-
) };
|
|
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'>>> } };
|
|
3100
3101
|
|
|
3101
3102
|
export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3102
3103
|
|
|
@@ -3106,30 +3107,22 @@ export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
|
|
|
3106
3107
|
export type IFindCollectionsQueryVariables = Exact<{
|
|
3107
3108
|
term: Scalars['String'];
|
|
3108
3109
|
input: ICollectionFilterInput;
|
|
3109
|
-
|
|
3110
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3110
|
+
page?: Maybe<IPageInput>;
|
|
3111
3111
|
}>;
|
|
3112
3112
|
|
|
3113
3113
|
|
|
3114
|
-
export type IFindCollectionsQuery = { findCollections: (
|
|
3115
|
-
Pick<ICollectionPage, 'nextPageToken' | 'results'>
|
|
3116
|
-
& { collections: Array<Maybe<(
|
|
3114
|
+
export type IFindCollectionsQuery = { findCollections: { collections: Array<Maybe<(
|
|
3117
3115
|
Pick<ICollection, 'collectionId' | 'collectionTitle' | 'blockchain' | 'tokenId' | 'likes' | 'liked' | 'rank'>
|
|
3118
3116
|
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3119
|
-
)>> }
|
|
3120
|
-
) };
|
|
3117
|
+
)>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
|
|
3121
3118
|
|
|
3122
3119
|
export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
3123
3120
|
itemType: Scalars['String'];
|
|
3124
|
-
|
|
3125
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3121
|
+
page?: Maybe<IPageInput>;
|
|
3126
3122
|
}>;
|
|
3127
3123
|
|
|
3128
3124
|
|
|
3129
|
-
export type IFetchCreationsByTypeQuery = { fetchCreationsByType:
|
|
3130
|
-
Pick<ICreationsPage, 'nextPageToken'>
|
|
3131
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
|
|
3132
|
-
) };
|
|
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'>>> } };
|
|
3133
3126
|
|
|
3134
3127
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
3135
3128
|
name: Scalars['String'];
|
|
@@ -3155,27 +3148,19 @@ export type IFetchUserPortfolioQuery = { fetchUserPortfolio: Array<Maybe<Pick<IC
|
|
|
3155
3148
|
export type IFindCreationsQueryVariables = Exact<{
|
|
3156
3149
|
term: Scalars['String'];
|
|
3157
3150
|
input: ICreationFilterInput;
|
|
3158
|
-
|
|
3159
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3151
|
+
page?: Maybe<IPageInput>;
|
|
3160
3152
|
}>;
|
|
3161
3153
|
|
|
3162
3154
|
|
|
3163
|
-
export type IFindCreationsQuery = { findCreations:
|
|
3164
|
-
Pick<ICreationsPage, 'nextPageToken' | 'results'>
|
|
3165
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>>> }
|
|
3166
|
-
) };
|
|
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'>>> } };
|
|
3167
3156
|
|
|
3168
3157
|
export type IFindProfilesByNameQueryVariables = Exact<{
|
|
3169
3158
|
name: Scalars['String'];
|
|
3170
|
-
|
|
3171
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3159
|
+
page?: Maybe<IPageInput>;
|
|
3172
3160
|
}>;
|
|
3173
3161
|
|
|
3174
3162
|
|
|
3175
|
-
export type IFindProfilesByNameQuery = { findProfilesByName:
|
|
3176
|
-
Pick<IProfilePage, 'nextPageToken' | 'results'>
|
|
3177
|
-
& { profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> }
|
|
3178
|
-
) };
|
|
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'>>> } };
|
|
3179
3164
|
|
|
3180
3165
|
export type IFindSetsQueryVariables = Exact<{
|
|
3181
3166
|
term: Scalars['String'];
|
|
@@ -3206,15 +3191,11 @@ export type IFindShowcaseItemsQuery = { findShowcaseItems: (
|
|
|
3206
3191
|
export type IFindUserCreationsQueryVariables = Exact<{
|
|
3207
3192
|
ownerId: Scalars['String'];
|
|
3208
3193
|
input: ICreationFilterInput;
|
|
3209
|
-
|
|
3210
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
3194
|
+
page?: Maybe<IPageInput>;
|
|
3211
3195
|
}>;
|
|
3212
3196
|
|
|
3213
3197
|
|
|
3214
|
-
export type IFindUserCreationsQuery = { findUserCreations:
|
|
3215
|
-
Pick<ICreationsPage, 'nextPageToken' | 'results'>
|
|
3216
|
-
& { creations?: Maybe<Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>> }
|
|
3217
|
-
) };
|
|
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'>>> } };
|
|
3218
3199
|
|
|
3219
3200
|
export type IFindUserShowcaseItemsQueryVariables = Exact<{
|
|
3220
3201
|
ownerId: Scalars['String'];
|
|
@@ -6811,9 +6792,14 @@ export type FetchSetsSearchResultTypeSelectionsQueryHookResult = ReturnType<type
|
|
|
6811
6792
|
export type FetchSetsSearchResultTypeSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSetsSearchResultTypeSelectionsLazyQuery>;
|
|
6812
6793
|
export type FetchSetsSearchResultTypeSelectionsQueryResult = Apollo.QueryResult<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>;
|
|
6813
6794
|
export const FetchAllCreationsDocument = gql`
|
|
6814
|
-
query FetchAllCreations($
|
|
6815
|
-
fetchAllCreations(
|
|
6816
|
-
|
|
6795
|
+
query FetchAllCreations($page: PageInput) {
|
|
6796
|
+
fetchAllCreations(page: $page) {
|
|
6797
|
+
nextPage {
|
|
6798
|
+
token
|
|
6799
|
+
num
|
|
6800
|
+
size
|
|
6801
|
+
elements
|
|
6802
|
+
}
|
|
6817
6803
|
creations {
|
|
6818
6804
|
itemType
|
|
6819
6805
|
itemId
|
|
@@ -6846,12 +6832,11 @@ export const FetchAllCreationsDocument = gql`
|
|
|
6846
6832
|
* @example
|
|
6847
6833
|
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
6848
6834
|
* variables: {
|
|
6849
|
-
*
|
|
6850
|
-
* pageToken: // value for 'pageToken'
|
|
6835
|
+
* page: // value for 'page'
|
|
6851
6836
|
* },
|
|
6852
6837
|
* });
|
|
6853
6838
|
*/
|
|
6854
|
-
export function useFetchAllCreationsQuery(baseOptions
|
|
6839
|
+
export function useFetchAllCreationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
|
|
6855
6840
|
return Apollo.useQuery<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>(FetchAllCreationsDocument, baseOptions);
|
|
6856
6841
|
}
|
|
6857
6842
|
export function useFetchAllCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
|
|
@@ -6891,13 +6876,8 @@ export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCo
|
|
|
6891
6876
|
export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
|
|
6892
6877
|
export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
|
|
6893
6878
|
export const FindCollectionsDocument = gql`
|
|
6894
|
-
query FindCollections($term: String!, $input: CollectionFilterInput!, $
|
|
6895
|
-
findCollections(
|
|
6896
|
-
term: $term
|
|
6897
|
-
input: $input
|
|
6898
|
-
pageSize: $pageSize
|
|
6899
|
-
pageToken: $pageToken
|
|
6900
|
-
) {
|
|
6879
|
+
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
6880
|
+
findCollections(term: $term, input: $input, page: $page) {
|
|
6901
6881
|
collections {
|
|
6902
6882
|
collectionId
|
|
6903
6883
|
collectionTitle
|
|
@@ -6915,8 +6895,12 @@ export const FindCollectionsDocument = gql`
|
|
|
6915
6895
|
}
|
|
6916
6896
|
rank
|
|
6917
6897
|
}
|
|
6918
|
-
|
|
6919
|
-
|
|
6898
|
+
nextPage {
|
|
6899
|
+
token
|
|
6900
|
+
num
|
|
6901
|
+
size
|
|
6902
|
+
elements
|
|
6903
|
+
}
|
|
6920
6904
|
}
|
|
6921
6905
|
}
|
|
6922
6906
|
`;
|
|
@@ -6935,8 +6919,7 @@ export const FindCollectionsDocument = gql`
|
|
|
6935
6919
|
* variables: {
|
|
6936
6920
|
* term: // value for 'term'
|
|
6937
6921
|
* input: // value for 'input'
|
|
6938
|
-
*
|
|
6939
|
-
* pageToken: // value for 'pageToken'
|
|
6922
|
+
* page: // value for 'page'
|
|
6940
6923
|
* },
|
|
6941
6924
|
* });
|
|
6942
6925
|
*/
|
|
@@ -6950,13 +6933,14 @@ export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollection
|
|
|
6950
6933
|
export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
|
|
6951
6934
|
export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
|
|
6952
6935
|
export const FetchCreationsByTypeDocument = gql`
|
|
6953
|
-
query FetchCreationsByType($itemType: String!, $
|
|
6954
|
-
fetchCreationsByType(
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6936
|
+
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
6937
|
+
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
6938
|
+
nextPage {
|
|
6939
|
+
token
|
|
6940
|
+
num
|
|
6941
|
+
size
|
|
6942
|
+
elements
|
|
6943
|
+
}
|
|
6960
6944
|
creations {
|
|
6961
6945
|
itemType
|
|
6962
6946
|
itemId
|
|
@@ -6990,8 +6974,7 @@ export const FetchCreationsByTypeDocument = gql`
|
|
|
6990
6974
|
* const { data, loading, error } = useFetchCreationsByTypeQuery({
|
|
6991
6975
|
* variables: {
|
|
6992
6976
|
* itemType: // value for 'itemType'
|
|
6993
|
-
*
|
|
6994
|
-
* pageToken: // value for 'pageToken'
|
|
6977
|
+
* page: // value for 'page'
|
|
6995
6978
|
* },
|
|
6996
6979
|
* });
|
|
6997
6980
|
*/
|
|
@@ -7166,15 +7149,14 @@ export type FetchUserPortfolioQueryHookResult = ReturnType<typeof useFetchUserPo
|
|
|
7166
7149
|
export type FetchUserPortfolioLazyQueryHookResult = ReturnType<typeof useFetchUserPortfolioLazyQuery>;
|
|
7167
7150
|
export type FetchUserPortfolioQueryResult = Apollo.QueryResult<IFetchUserPortfolioQuery, IFetchUserPortfolioQueryVariables>;
|
|
7168
7151
|
export const FindCreationsDocument = gql`
|
|
7169
|
-
query FindCreations($term: String!, $input: CreationFilterInput!, $
|
|
7170
|
-
findCreations(
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
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
|
+
}
|
|
7178
7160
|
creations {
|
|
7179
7161
|
itemType
|
|
7180
7162
|
address
|
|
@@ -7209,8 +7191,7 @@ export const FindCreationsDocument = gql`
|
|
|
7209
7191
|
* variables: {
|
|
7210
7192
|
* term: // value for 'term'
|
|
7211
7193
|
* input: // value for 'input'
|
|
7212
|
-
*
|
|
7213
|
-
* pageToken: // value for 'pageToken'
|
|
7194
|
+
* page: // value for 'page'
|
|
7214
7195
|
* },
|
|
7215
7196
|
* });
|
|
7216
7197
|
*/
|
|
@@ -7224,9 +7205,14 @@ export type FindCreationsQueryHookResult = ReturnType<typeof useFindCreationsQue
|
|
|
7224
7205
|
export type FindCreationsLazyQueryHookResult = ReturnType<typeof useFindCreationsLazyQuery>;
|
|
7225
7206
|
export type FindCreationsQueryResult = Apollo.QueryResult<IFindCreationsQuery, IFindCreationsQueryVariables>;
|
|
7226
7207
|
export const FindProfilesByNameDocument = gql`
|
|
7227
|
-
query FindProfilesByName($name: String!, $
|
|
7228
|
-
findProfilesByName(name: $name,
|
|
7229
|
-
|
|
7208
|
+
query FindProfilesByName($name: String!, $page: PageInput) {
|
|
7209
|
+
findProfilesByName(name: $name, page: $page) {
|
|
7210
|
+
nextPage {
|
|
7211
|
+
token
|
|
7212
|
+
num
|
|
7213
|
+
size
|
|
7214
|
+
elements
|
|
7215
|
+
}
|
|
7230
7216
|
profiles {
|
|
7231
7217
|
userId
|
|
7232
7218
|
username
|
|
@@ -7236,7 +7222,6 @@ export const FindProfilesByNameDocument = gql`
|
|
|
7236
7222
|
followings
|
|
7237
7223
|
visible
|
|
7238
7224
|
}
|
|
7239
|
-
results
|
|
7240
7225
|
}
|
|
7241
7226
|
}
|
|
7242
7227
|
`;
|
|
@@ -7254,8 +7239,7 @@ export const FindProfilesByNameDocument = gql`
|
|
|
7254
7239
|
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
7255
7240
|
* variables: {
|
|
7256
7241
|
* name: // value for 'name'
|
|
7257
|
-
*
|
|
7258
|
-
* pageToken: // value for 'pageToken'
|
|
7242
|
+
* page: // value for 'page'
|
|
7259
7243
|
* },
|
|
7260
7244
|
* });
|
|
7261
7245
|
*/
|
|
@@ -7377,15 +7361,14 @@ export type FindShowcaseItemsQueryHookResult = ReturnType<typeof useFindShowcase
|
|
|
7377
7361
|
export type FindShowcaseItemsLazyQueryHookResult = ReturnType<typeof useFindShowcaseItemsLazyQuery>;
|
|
7378
7362
|
export type FindShowcaseItemsQueryResult = Apollo.QueryResult<IFindShowcaseItemsQuery, IFindShowcaseItemsQueryVariables>;
|
|
7379
7363
|
export const FindUserCreationsDocument = gql`
|
|
7380
|
-
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $
|
|
7381
|
-
findUserCreations(
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
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
|
+
}
|
|
7389
7372
|
creations {
|
|
7390
7373
|
id
|
|
7391
7374
|
itemType
|
|
@@ -7420,8 +7403,7 @@ export const FindUserCreationsDocument = gql`
|
|
|
7420
7403
|
* variables: {
|
|
7421
7404
|
* ownerId: // value for 'ownerId'
|
|
7422
7405
|
* input: // value for 'input'
|
|
7423
|
-
*
|
|
7424
|
-
* pageToken: // value for 'pageToken'
|
|
7406
|
+
* page: // value for 'page'
|
|
7425
7407
|
* },
|
|
7426
7408
|
* });
|
|
7427
7409
|
*/
|