@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
|
@@ -299,8 +299,7 @@ export type ICollectionMarket = {
|
|
|
299
299
|
};
|
|
300
300
|
export type ICollectionPage = {
|
|
301
301
|
collections: Array<Maybe<ICollection>>;
|
|
302
|
-
|
|
303
|
-
results?: Maybe<Scalars['Long']>;
|
|
302
|
+
nextPage?: Maybe<IPage>;
|
|
304
303
|
};
|
|
305
304
|
export type ICollectionsPage = {
|
|
306
305
|
collections?: Maybe<Array<Maybe<ICollection>>>;
|
|
@@ -331,9 +330,8 @@ export type ICreationFilterInput = {
|
|
|
331
330
|
status: Scalars['String'];
|
|
332
331
|
};
|
|
333
332
|
export type ICreationsPage = {
|
|
334
|
-
creations
|
|
335
|
-
|
|
336
|
-
results?: Maybe<Scalars['Long']>;
|
|
333
|
+
creations: Array<Maybe<ICreation>>;
|
|
334
|
+
nextPage?: Maybe<IPage>;
|
|
337
335
|
};
|
|
338
336
|
export type ICurrencyAmountPair = {
|
|
339
337
|
currency?: Maybe<Scalars['String']>;
|
|
@@ -1128,6 +1126,16 @@ export type IOpportunityPage = {
|
|
|
1128
1126
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
1129
1127
|
similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
1130
1128
|
};
|
|
1129
|
+
export type IPage = {
|
|
1130
|
+
token?: Maybe<Scalars['String']>;
|
|
1131
|
+
num?: Maybe<Scalars['Int']>;
|
|
1132
|
+
size?: Maybe<Scalars['Int']>;
|
|
1133
|
+
elements?: Maybe<Scalars['Long']>;
|
|
1134
|
+
};
|
|
1135
|
+
export type IPageInput = {
|
|
1136
|
+
token?: Maybe<Scalars['String']>;
|
|
1137
|
+
size?: Maybe<Scalars['Int']>;
|
|
1138
|
+
};
|
|
1131
1139
|
export type IProfile = {
|
|
1132
1140
|
about?: Maybe<Scalars['String']>;
|
|
1133
1141
|
createdAt?: Maybe<Scalars['Long']>;
|
|
@@ -1150,6 +1158,7 @@ export type IProfile = {
|
|
|
1150
1158
|
website?: Maybe<Scalars['String']>;
|
|
1151
1159
|
};
|
|
1152
1160
|
export type IProfilePage = {
|
|
1161
|
+
nextPage?: Maybe<IPage>;
|
|
1153
1162
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
1154
1163
|
profiles: Array<Maybe<IProfile>>;
|
|
1155
1164
|
results?: Maybe<Scalars['Long']>;
|
|
@@ -1298,8 +1307,7 @@ export type IQueryFetchAllBannerAssetsArgs = {
|
|
|
1298
1307
|
pageToken?: Maybe<Scalars['String']>;
|
|
1299
1308
|
};
|
|
1300
1309
|
export type IQueryFetchAllCreationsArgs = {
|
|
1301
|
-
|
|
1302
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1310
|
+
page?: Maybe<IPageInput>;
|
|
1303
1311
|
};
|
|
1304
1312
|
export type IQueryFetchAllMarketsArgs = {
|
|
1305
1313
|
pageSize: Scalars['Int'];
|
|
@@ -1364,8 +1372,7 @@ export type IQueryFetchCreationArgs = {
|
|
|
1364
1372
|
};
|
|
1365
1373
|
export type IQueryFetchCreationsByTypeArgs = {
|
|
1366
1374
|
itemType: Scalars['String'];
|
|
1367
|
-
|
|
1368
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1375
|
+
page?: Maybe<IPageInput>;
|
|
1369
1376
|
};
|
|
1370
1377
|
export type IQueryFetchDynamicAssetDataArgs = {
|
|
1371
1378
|
assetId: Scalars['String'];
|
|
@@ -1569,8 +1576,7 @@ export type IQueryFindAssetsByTermArgs = {
|
|
|
1569
1576
|
export type IQueryFindCollectionsArgs = {
|
|
1570
1577
|
term: Scalars['String'];
|
|
1571
1578
|
input: ICollectionFilterInput;
|
|
1572
|
-
|
|
1573
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1579
|
+
page?: Maybe<IPageInput>;
|
|
1574
1580
|
};
|
|
1575
1581
|
export type IQueryFindCollectionsByTitleArgs = {
|
|
1576
1582
|
input: ISearchFilterInput;
|
|
@@ -1578,10 +1584,9 @@ export type IQueryFindCollectionsByTitleArgs = {
|
|
|
1578
1584
|
pageToken?: Maybe<Scalars['String']>;
|
|
1579
1585
|
};
|
|
1580
1586
|
export type IQueryFindCreationsArgs = {
|
|
1581
|
-
input: ICreationFilterInput;
|
|
1582
|
-
pageSize: Scalars['Int'];
|
|
1583
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1584
1587
|
term: Scalars['String'];
|
|
1588
|
+
input: ICreationFilterInput;
|
|
1589
|
+
page?: Maybe<IPageInput>;
|
|
1585
1590
|
};
|
|
1586
1591
|
export type IQueryFindGalleriesByNameArgs = {
|
|
1587
1592
|
input: ISearchFilterInput;
|
|
@@ -1595,8 +1600,7 @@ export type IQueryFindGalleriesByTermArgs = {
|
|
|
1595
1600
|
};
|
|
1596
1601
|
export type IQueryFindProfilesByNameArgs = {
|
|
1597
1602
|
name: Scalars['String'];
|
|
1598
|
-
|
|
1599
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
1603
|
+
page?: Maybe<IPageInput>;
|
|
1600
1604
|
};
|
|
1601
1605
|
export type IQueryFindProfilesByTermArgs = {
|
|
1602
1606
|
pageSize: Scalars['Int'];
|
|
@@ -1624,10 +1628,9 @@ export type IQueryFindTopEntitiesByTermArgs = {
|
|
|
1624
1628
|
term: Scalars['String'];
|
|
1625
1629
|
};
|
|
1626
1630
|
export type IQueryFindUserCreationsArgs = {
|
|
1627
|
-
input: ICreationFilterInput;
|
|
1628
1631
|
ownerId: Scalars['String'];
|
|
1629
|
-
|
|
1630
|
-
|
|
1632
|
+
input: ICreationFilterInput;
|
|
1633
|
+
page?: Maybe<IPageInput>;
|
|
1631
1634
|
};
|
|
1632
1635
|
export type IQueryFindUserFavoriteListsArgs = {
|
|
1633
1636
|
ownerId: Scalars['String'];
|
|
@@ -2499,13 +2502,13 @@ export type IFetchSetsSearchResultTypeSelectionsQuery = {
|
|
|
2499
2502
|
fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>>;
|
|
2500
2503
|
};
|
|
2501
2504
|
export type IFetchAllCreationsQueryVariables = Exact<{
|
|
2502
|
-
|
|
2503
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2505
|
+
page?: Maybe<IPageInput>;
|
|
2504
2506
|
}>;
|
|
2505
2507
|
export type IFetchAllCreationsQuery = {
|
|
2506
|
-
fetchAllCreations:
|
|
2507
|
-
|
|
2508
|
-
|
|
2508
|
+
fetchAllCreations: {
|
|
2509
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
2510
|
+
creations: Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>;
|
|
2511
|
+
};
|
|
2509
2512
|
};
|
|
2510
2513
|
export type IFetchAssetsCountQueryVariables = Exact<{
|
|
2511
2514
|
[key: string]: never;
|
|
@@ -2514,25 +2517,25 @@ export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
|
|
|
2514
2517
|
export type IFindCollectionsQueryVariables = Exact<{
|
|
2515
2518
|
term: Scalars['String'];
|
|
2516
2519
|
input: ICollectionFilterInput;
|
|
2517
|
-
|
|
2518
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2520
|
+
page?: Maybe<IPageInput>;
|
|
2519
2521
|
}>;
|
|
2520
2522
|
export type IFindCollectionsQuery = {
|
|
2521
|
-
findCollections:
|
|
2523
|
+
findCollections: {
|
|
2522
2524
|
collections: Array<Maybe<(Pick<ICollection, 'collectionId' | 'collectionTitle' | 'blockchain' | 'tokenId' | 'likes' | 'liked' | 'rank'> & {
|
|
2523
2525
|
medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>;
|
|
2524
2526
|
})>>;
|
|
2525
|
-
|
|
2527
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
2528
|
+
};
|
|
2526
2529
|
};
|
|
2527
2530
|
export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
2528
2531
|
itemType: Scalars['String'];
|
|
2529
|
-
|
|
2530
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2532
|
+
page?: Maybe<IPageInput>;
|
|
2531
2533
|
}>;
|
|
2532
2534
|
export type IFetchCreationsByTypeQuery = {
|
|
2533
|
-
fetchCreationsByType:
|
|
2534
|
-
|
|
2535
|
-
|
|
2535
|
+
fetchCreationsByType: {
|
|
2536
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
2537
|
+
creations: Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>;
|
|
2538
|
+
};
|
|
2536
2539
|
};
|
|
2537
2540
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
2538
2541
|
name: Scalars['String'];
|
|
@@ -2562,23 +2565,23 @@ export type IFetchUserPortfolioQuery = {
|
|
|
2562
2565
|
export type IFindCreationsQueryVariables = Exact<{
|
|
2563
2566
|
term: Scalars['String'];
|
|
2564
2567
|
input: ICreationFilterInput;
|
|
2565
|
-
|
|
2566
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2568
|
+
page?: Maybe<IPageInput>;
|
|
2567
2569
|
}>;
|
|
2568
2570
|
export type IFindCreationsQuery = {
|
|
2569
|
-
findCreations:
|
|
2570
|
-
|
|
2571
|
-
|
|
2571
|
+
findCreations: {
|
|
2572
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
2573
|
+
creations: Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>>;
|
|
2574
|
+
};
|
|
2572
2575
|
};
|
|
2573
2576
|
export type IFindProfilesByNameQueryVariables = Exact<{
|
|
2574
2577
|
name: Scalars['String'];
|
|
2575
|
-
|
|
2576
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2578
|
+
page?: Maybe<IPageInput>;
|
|
2577
2579
|
}>;
|
|
2578
2580
|
export type IFindProfilesByNameQuery = {
|
|
2579
|
-
findProfilesByName:
|
|
2581
|
+
findProfilesByName: {
|
|
2582
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
2580
2583
|
profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>;
|
|
2581
|
-
}
|
|
2584
|
+
};
|
|
2582
2585
|
};
|
|
2583
2586
|
export type IFindSetsQueryVariables = Exact<{
|
|
2584
2587
|
term: Scalars['String'];
|
|
@@ -2605,13 +2608,13 @@ export type IFindShowcaseItemsQuery = {
|
|
|
2605
2608
|
export type IFindUserCreationsQueryVariables = Exact<{
|
|
2606
2609
|
ownerId: Scalars['String'];
|
|
2607
2610
|
input: ICreationFilterInput;
|
|
2608
|
-
|
|
2609
|
-
pageToken?: Maybe<Scalars['String']>;
|
|
2611
|
+
page?: Maybe<IPageInput>;
|
|
2610
2612
|
}>;
|
|
2611
2613
|
export type IFindUserCreationsQuery = {
|
|
2612
|
-
findUserCreations:
|
|
2613
|
-
|
|
2614
|
-
|
|
2614
|
+
findUserCreations: {
|
|
2615
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
2616
|
+
creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>;
|
|
2617
|
+
};
|
|
2615
2618
|
};
|
|
2616
2619
|
export type IFindUserShowcaseItemsQueryVariables = Exact<{
|
|
2617
2620
|
ownerId: Scalars['String'];
|
|
@@ -4916,18 +4919,15 @@ export declare const FetchAllCreationsDocument: Apollo.DocumentNode;
|
|
|
4916
4919
|
* @example
|
|
4917
4920
|
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
4918
4921
|
* variables: {
|
|
4919
|
-
*
|
|
4920
|
-
* pageToken: // value for 'pageToken'
|
|
4922
|
+
* page: // value for 'page'
|
|
4921
4923
|
* },
|
|
4922
4924
|
* });
|
|
4923
4925
|
*/
|
|
4924
|
-
export declare function useFetchAllCreationsQuery(baseOptions
|
|
4925
|
-
|
|
4926
|
-
pageToken?: Maybe<string> | undefined;
|
|
4926
|
+
export declare function useFetchAllCreationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>): Apollo.QueryResult<IFetchAllCreationsQuery, Exact<{
|
|
4927
|
+
page?: Maybe<IPageInput> | undefined;
|
|
4927
4928
|
}>>;
|
|
4928
4929
|
export declare function useFetchAllCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAllCreationsQuery, Exact<{
|
|
4929
|
-
|
|
4930
|
-
pageToken?: Maybe<string> | undefined;
|
|
4930
|
+
page?: Maybe<IPageInput> | undefined;
|
|
4931
4931
|
}>>;
|
|
4932
4932
|
export type FetchAllCreationsQueryHookResult = ReturnType<typeof useFetchAllCreationsQuery>;
|
|
4933
4933
|
export type FetchAllCreationsLazyQueryHookResult = ReturnType<typeof useFetchAllCreationsLazyQuery>;
|
|
@@ -4972,22 +4972,19 @@ export declare const FindCollectionsDocument: Apollo.DocumentNode;
|
|
|
4972
4972
|
* variables: {
|
|
4973
4973
|
* term: // value for 'term'
|
|
4974
4974
|
* input: // value for 'input'
|
|
4975
|
-
*
|
|
4976
|
-
* pageToken: // value for 'pageToken'
|
|
4975
|
+
* page: // value for 'page'
|
|
4977
4976
|
* },
|
|
4978
4977
|
* });
|
|
4979
4978
|
*/
|
|
4980
4979
|
export declare function useFindCollectionsQuery(baseOptions: Apollo.QueryHookOptions<IFindCollectionsQuery, IFindCollectionsQueryVariables>): Apollo.QueryResult<IFindCollectionsQuery, Exact<{
|
|
4981
4980
|
term: string;
|
|
4982
4981
|
input: ICollectionFilterInput;
|
|
4983
|
-
|
|
4984
|
-
pageToken?: Maybe<string> | undefined;
|
|
4982
|
+
page?: Maybe<IPageInput> | undefined;
|
|
4985
4983
|
}>>;
|
|
4986
4984
|
export declare function useFindCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindCollectionsQuery, IFindCollectionsQueryVariables>): Apollo.LazyQueryResultTuple<IFindCollectionsQuery, Exact<{
|
|
4987
4985
|
term: string;
|
|
4988
4986
|
input: ICollectionFilterInput;
|
|
4989
|
-
|
|
4990
|
-
pageToken?: Maybe<string> | undefined;
|
|
4987
|
+
page?: Maybe<IPageInput> | undefined;
|
|
4991
4988
|
}>>;
|
|
4992
4989
|
export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollectionsQuery>;
|
|
4993
4990
|
export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
|
|
@@ -5006,20 +5003,17 @@ export declare const FetchCreationsByTypeDocument: Apollo.DocumentNode;
|
|
|
5006
5003
|
* const { data, loading, error } = useFetchCreationsByTypeQuery({
|
|
5007
5004
|
* variables: {
|
|
5008
5005
|
* itemType: // value for 'itemType'
|
|
5009
|
-
*
|
|
5010
|
-
* pageToken: // value for 'pageToken'
|
|
5006
|
+
* page: // value for 'page'
|
|
5011
5007
|
* },
|
|
5012
5008
|
* });
|
|
5013
5009
|
*/
|
|
5014
5010
|
export declare function useFetchCreationsByTypeQuery(baseOptions: Apollo.QueryHookOptions<IFetchCreationsByTypeQuery, IFetchCreationsByTypeQueryVariables>): Apollo.QueryResult<IFetchCreationsByTypeQuery, Exact<{
|
|
5015
5011
|
itemType: string;
|
|
5016
|
-
|
|
5017
|
-
pageToken?: Maybe<string> | undefined;
|
|
5012
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5018
5013
|
}>>;
|
|
5019
5014
|
export declare function useFetchCreationsByTypeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCreationsByTypeQuery, IFetchCreationsByTypeQueryVariables>): Apollo.LazyQueryResultTuple<IFetchCreationsByTypeQuery, Exact<{
|
|
5020
5015
|
itemType: string;
|
|
5021
|
-
|
|
5022
|
-
pageToken?: Maybe<string> | undefined;
|
|
5016
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5023
5017
|
}>>;
|
|
5024
5018
|
export type FetchCreationsByTypeQueryHookResult = ReturnType<typeof useFetchCreationsByTypeQuery>;
|
|
5025
5019
|
export type FetchCreationsByTypeLazyQueryHookResult = ReturnType<typeof useFetchCreationsByTypeLazyQuery>;
|
|
@@ -5094,22 +5088,19 @@ export declare const FindCreationsDocument: Apollo.DocumentNode;
|
|
|
5094
5088
|
* variables: {
|
|
5095
5089
|
* term: // value for 'term'
|
|
5096
5090
|
* input: // value for 'input'
|
|
5097
|
-
*
|
|
5098
|
-
* pageToken: // value for 'pageToken'
|
|
5091
|
+
* page: // value for 'page'
|
|
5099
5092
|
* },
|
|
5100
5093
|
* });
|
|
5101
5094
|
*/
|
|
5102
5095
|
export declare function useFindCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFindCreationsQuery, IFindCreationsQueryVariables>): Apollo.QueryResult<IFindCreationsQuery, Exact<{
|
|
5103
5096
|
term: string;
|
|
5104
5097
|
input: ICreationFilterInput;
|
|
5105
|
-
|
|
5106
|
-
pageToken?: Maybe<string> | undefined;
|
|
5098
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5107
5099
|
}>>;
|
|
5108
5100
|
export declare function useFindCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindCreationsQuery, IFindCreationsQueryVariables>): Apollo.LazyQueryResultTuple<IFindCreationsQuery, Exact<{
|
|
5109
5101
|
term: string;
|
|
5110
5102
|
input: ICreationFilterInput;
|
|
5111
|
-
|
|
5112
|
-
pageToken?: Maybe<string> | undefined;
|
|
5103
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5113
5104
|
}>>;
|
|
5114
5105
|
export type FindCreationsQueryHookResult = ReturnType<typeof useFindCreationsQuery>;
|
|
5115
5106
|
export type FindCreationsLazyQueryHookResult = ReturnType<typeof useFindCreationsLazyQuery>;
|
|
@@ -5128,20 +5119,17 @@ export declare const FindProfilesByNameDocument: Apollo.DocumentNode;
|
|
|
5128
5119
|
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
5129
5120
|
* variables: {
|
|
5130
5121
|
* name: // value for 'name'
|
|
5131
|
-
*
|
|
5132
|
-
* pageToken: // value for 'pageToken'
|
|
5122
|
+
* page: // value for 'page'
|
|
5133
5123
|
* },
|
|
5134
5124
|
* });
|
|
5135
5125
|
*/
|
|
5136
5126
|
export declare function useFindProfilesByNameQuery(baseOptions: Apollo.QueryHookOptions<IFindProfilesByNameQuery, IFindProfilesByNameQueryVariables>): Apollo.QueryResult<IFindProfilesByNameQuery, Exact<{
|
|
5137
5127
|
name: string;
|
|
5138
|
-
|
|
5139
|
-
pageToken?: Maybe<string> | undefined;
|
|
5128
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5140
5129
|
}>>;
|
|
5141
5130
|
export declare function useFindProfilesByNameLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindProfilesByNameQuery, IFindProfilesByNameQueryVariables>): Apollo.LazyQueryResultTuple<IFindProfilesByNameQuery, Exact<{
|
|
5142
5131
|
name: string;
|
|
5143
|
-
|
|
5144
|
-
pageToken?: Maybe<string> | undefined;
|
|
5132
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5145
5133
|
}>>;
|
|
5146
5134
|
export type FindProfilesByNameQueryHookResult = ReturnType<typeof useFindProfilesByNameQuery>;
|
|
5147
5135
|
export type FindProfilesByNameLazyQueryHookResult = ReturnType<typeof useFindProfilesByNameLazyQuery>;
|
|
@@ -5231,22 +5219,19 @@ export declare const FindUserCreationsDocument: Apollo.DocumentNode;
|
|
|
5231
5219
|
* variables: {
|
|
5232
5220
|
* ownerId: // value for 'ownerId'
|
|
5233
5221
|
* input: // value for 'input'
|
|
5234
|
-
*
|
|
5235
|
-
* pageToken: // value for 'pageToken'
|
|
5222
|
+
* page: // value for 'page'
|
|
5236
5223
|
* },
|
|
5237
5224
|
* });
|
|
5238
5225
|
*/
|
|
5239
5226
|
export declare function useFindUserCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>): Apollo.QueryResult<IFindUserCreationsQuery, Exact<{
|
|
5240
5227
|
ownerId: string;
|
|
5241
5228
|
input: ICreationFilterInput;
|
|
5242
|
-
|
|
5243
|
-
pageToken?: Maybe<string> | undefined;
|
|
5229
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5244
5230
|
}>>;
|
|
5245
5231
|
export declare function useFindUserCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>): Apollo.LazyQueryResultTuple<IFindUserCreationsQuery, Exact<{
|
|
5246
5232
|
ownerId: string;
|
|
5247
5233
|
input: ICreationFilterInput;
|
|
5248
|
-
|
|
5249
|
-
pageToken?: Maybe<string> | undefined;
|
|
5234
|
+
page?: Maybe<IPageInput> | undefined;
|
|
5250
5235
|
}>>;
|
|
5251
5236
|
export type FindUserCreationsQueryHookResult = ReturnType<typeof useFindUserCreationsQuery>;
|
|
5252
5237
|
export type FindUserCreationsLazyQueryHookResult = ReturnType<typeof useFindUserCreationsLazyQuery>;
|
|
@@ -3356,9 +3356,14 @@ function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions) {
|
|
|
3356
3356
|
}
|
|
3357
3357
|
exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = useFetchSetsSearchResultTypeSelectionsLazyQuery;
|
|
3358
3358
|
exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
3359
|
-
query FetchAllCreations($
|
|
3360
|
-
fetchAllCreations(
|
|
3361
|
-
|
|
3359
|
+
query FetchAllCreations($page: PageInput) {
|
|
3360
|
+
fetchAllCreations(page: $page) {
|
|
3361
|
+
nextPage {
|
|
3362
|
+
token
|
|
3363
|
+
num
|
|
3364
|
+
size
|
|
3365
|
+
elements
|
|
3366
|
+
}
|
|
3362
3367
|
creations {
|
|
3363
3368
|
itemType
|
|
3364
3369
|
itemId
|
|
@@ -3390,8 +3395,7 @@ exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
|
3390
3395
|
* @example
|
|
3391
3396
|
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
3392
3397
|
* variables: {
|
|
3393
|
-
*
|
|
3394
|
-
* pageToken: // value for 'pageToken'
|
|
3398
|
+
* page: // value for 'page'
|
|
3395
3399
|
* },
|
|
3396
3400
|
* });
|
|
3397
3401
|
*/
|
|
@@ -3432,13 +3436,8 @@ function useFetchAssetsCountLazyQuery(baseOptions) {
|
|
|
3432
3436
|
}
|
|
3433
3437
|
exports.useFetchAssetsCountLazyQuery = useFetchAssetsCountLazyQuery;
|
|
3434
3438
|
exports.FindCollectionsDocument = (0, client_1.gql) `
|
|
3435
|
-
query FindCollections($term: String!, $input: CollectionFilterInput!, $
|
|
3436
|
-
findCollections(
|
|
3437
|
-
term: $term
|
|
3438
|
-
input: $input
|
|
3439
|
-
pageSize: $pageSize
|
|
3440
|
-
pageToken: $pageToken
|
|
3441
|
-
) {
|
|
3439
|
+
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
3440
|
+
findCollections(term: $term, input: $input, page: $page) {
|
|
3442
3441
|
collections {
|
|
3443
3442
|
collectionId
|
|
3444
3443
|
collectionTitle
|
|
@@ -3456,8 +3455,12 @@ exports.FindCollectionsDocument = (0, client_1.gql) `
|
|
|
3456
3455
|
}
|
|
3457
3456
|
rank
|
|
3458
3457
|
}
|
|
3459
|
-
|
|
3460
|
-
|
|
3458
|
+
nextPage {
|
|
3459
|
+
token
|
|
3460
|
+
num
|
|
3461
|
+
size
|
|
3462
|
+
elements
|
|
3463
|
+
}
|
|
3461
3464
|
}
|
|
3462
3465
|
}
|
|
3463
3466
|
`;
|
|
@@ -3475,8 +3478,7 @@ exports.FindCollectionsDocument = (0, client_1.gql) `
|
|
|
3475
3478
|
* variables: {
|
|
3476
3479
|
* term: // value for 'term'
|
|
3477
3480
|
* input: // value for 'input'
|
|
3478
|
-
*
|
|
3479
|
-
* pageToken: // value for 'pageToken'
|
|
3481
|
+
* page: // value for 'page'
|
|
3480
3482
|
* },
|
|
3481
3483
|
* });
|
|
3482
3484
|
*/
|
|
@@ -3489,13 +3491,14 @@ function useFindCollectionsLazyQuery(baseOptions) {
|
|
|
3489
3491
|
}
|
|
3490
3492
|
exports.useFindCollectionsLazyQuery = useFindCollectionsLazyQuery;
|
|
3491
3493
|
exports.FetchCreationsByTypeDocument = (0, client_1.gql) `
|
|
3492
|
-
query FetchCreationsByType($itemType: String!, $
|
|
3493
|
-
fetchCreationsByType(
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3494
|
+
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
3495
|
+
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
3496
|
+
nextPage {
|
|
3497
|
+
token
|
|
3498
|
+
num
|
|
3499
|
+
size
|
|
3500
|
+
elements
|
|
3501
|
+
}
|
|
3499
3502
|
creations {
|
|
3500
3503
|
itemType
|
|
3501
3504
|
itemId
|
|
@@ -3528,8 +3531,7 @@ exports.FetchCreationsByTypeDocument = (0, client_1.gql) `
|
|
|
3528
3531
|
* const { data, loading, error } = useFetchCreationsByTypeQuery({
|
|
3529
3532
|
* variables: {
|
|
3530
3533
|
* itemType: // value for 'itemType'
|
|
3531
|
-
*
|
|
3532
|
-
* pageToken: // value for 'pageToken'
|
|
3534
|
+
* page: // value for 'page'
|
|
3533
3535
|
* },
|
|
3534
3536
|
* });
|
|
3535
3537
|
*/
|
|
@@ -3699,15 +3701,14 @@ function useFetchUserPortfolioLazyQuery(baseOptions) {
|
|
|
3699
3701
|
}
|
|
3700
3702
|
exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
|
|
3701
3703
|
exports.FindCreationsDocument = (0, client_1.gql) `
|
|
3702
|
-
query FindCreations($term: String!, $input: CreationFilterInput!, $
|
|
3703
|
-
findCreations(
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
results
|
|
3704
|
+
query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
3705
|
+
findCreations(term: $term, input: $input, page: $page) {
|
|
3706
|
+
nextPage {
|
|
3707
|
+
token
|
|
3708
|
+
num
|
|
3709
|
+
size
|
|
3710
|
+
elements
|
|
3711
|
+
}
|
|
3711
3712
|
creations {
|
|
3712
3713
|
itemType
|
|
3713
3714
|
address
|
|
@@ -3741,8 +3742,7 @@ exports.FindCreationsDocument = (0, client_1.gql) `
|
|
|
3741
3742
|
* variables: {
|
|
3742
3743
|
* term: // value for 'term'
|
|
3743
3744
|
* input: // value for 'input'
|
|
3744
|
-
*
|
|
3745
|
-
* pageToken: // value for 'pageToken'
|
|
3745
|
+
* page: // value for 'page'
|
|
3746
3746
|
* },
|
|
3747
3747
|
* });
|
|
3748
3748
|
*/
|
|
@@ -3755,9 +3755,14 @@ function useFindCreationsLazyQuery(baseOptions) {
|
|
|
3755
3755
|
}
|
|
3756
3756
|
exports.useFindCreationsLazyQuery = useFindCreationsLazyQuery;
|
|
3757
3757
|
exports.FindProfilesByNameDocument = (0, client_1.gql) `
|
|
3758
|
-
query FindProfilesByName($name: String!, $
|
|
3759
|
-
findProfilesByName(name: $name,
|
|
3760
|
-
|
|
3758
|
+
query FindProfilesByName($name: String!, $page: PageInput) {
|
|
3759
|
+
findProfilesByName(name: $name, page: $page) {
|
|
3760
|
+
nextPage {
|
|
3761
|
+
token
|
|
3762
|
+
num
|
|
3763
|
+
size
|
|
3764
|
+
elements
|
|
3765
|
+
}
|
|
3761
3766
|
profiles {
|
|
3762
3767
|
userId
|
|
3763
3768
|
username
|
|
@@ -3767,7 +3772,6 @@ exports.FindProfilesByNameDocument = (0, client_1.gql) `
|
|
|
3767
3772
|
followings
|
|
3768
3773
|
visible
|
|
3769
3774
|
}
|
|
3770
|
-
results
|
|
3771
3775
|
}
|
|
3772
3776
|
}
|
|
3773
3777
|
`;
|
|
@@ -3784,8 +3788,7 @@ exports.FindProfilesByNameDocument = (0, client_1.gql) `
|
|
|
3784
3788
|
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
3785
3789
|
* variables: {
|
|
3786
3790
|
* name: // value for 'name'
|
|
3787
|
-
*
|
|
3788
|
-
* pageToken: // value for 'pageToken'
|
|
3791
|
+
* page: // value for 'page'
|
|
3789
3792
|
* },
|
|
3790
3793
|
* });
|
|
3791
3794
|
*/
|
|
@@ -3902,15 +3905,14 @@ function useFindShowcaseItemsLazyQuery(baseOptions) {
|
|
|
3902
3905
|
}
|
|
3903
3906
|
exports.useFindShowcaseItemsLazyQuery = useFindShowcaseItemsLazyQuery;
|
|
3904
3907
|
exports.FindUserCreationsDocument = (0, client_1.gql) `
|
|
3905
|
-
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $
|
|
3906
|
-
findUserCreations(
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
results
|
|
3908
|
+
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
3909
|
+
findUserCreations(ownerId: $ownerId, input: $input, page: $page) {
|
|
3910
|
+
nextPage {
|
|
3911
|
+
token
|
|
3912
|
+
num
|
|
3913
|
+
size
|
|
3914
|
+
elements
|
|
3915
|
+
}
|
|
3914
3916
|
creations {
|
|
3915
3917
|
id
|
|
3916
3918
|
itemType
|
|
@@ -3944,8 +3946,7 @@ exports.FindUserCreationsDocument = (0, client_1.gql) `
|
|
|
3944
3946
|
* variables: {
|
|
3945
3947
|
* ownerId: // value for 'ownerId'
|
|
3946
3948
|
* input: // value for 'input'
|
|
3947
|
-
*
|
|
3948
|
-
* pageToken: // value for 'pageToken'
|
|
3949
|
+
* page: // value for 'page'
|
|
3949
3950
|
* },
|
|
3950
3951
|
* });
|
|
3951
3952
|
*/
|