@ludo.ninja/api 3.0.19 → 3.0.21

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.
@@ -294,6 +294,7 @@ export type IMyProfileV2 = {
294
294
  referralTypeColor?: Maybe<IReftypeColor>;
295
295
  tierId?: Maybe<Scalars['String']>;
296
296
  tierName?: Maybe<Scalars['String']>;
297
+ shareLink?: Maybe<Scalars['String']>;
297
298
  };
298
299
  export type IProfile = {
299
300
  userId: Scalars['ID'];
@@ -659,6 +660,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
659
660
  referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
660
661
  tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
661
662
  tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
663
+ shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
662
664
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
663
665
  };
664
666
  export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
@@ -985,7 +987,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{
985
987
  [key: string]: never;
986
988
  }>;
987
989
  export type IFetchMyProfileV2Query = {
988
- fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'> & {
990
+ fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'shareLink'> & {
989
991
  social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordServer' | 'discordNickname' | 'telegramLink'>>;
990
992
  wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>>;
991
993
  inviteCodes?: Maybe<Array<Maybe<(Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'> & {
@@ -997,7 +999,7 @@ export type IFetchProfileQueryVariables = Exact<{
997
999
  userId: Scalars['ID'];
998
1000
  }>;
999
1001
  export type IFetchProfileQuery = {
1000
- fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'> & {
1002
+ fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'xps'> & {
1001
1003
  social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordNickname' | 'discordServer' | 'telegramLink'>>;
1002
1004
  wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>>;
1003
1005
  });
@@ -1044,6 +1044,7 @@ exports.FetchMyProfileV2Document = (0, client_1.gql) `
1044
1044
  referralTypeId
1045
1045
  referralTypeName
1046
1046
  referralTypeColor
1047
+ shareLink
1047
1048
  }
1048
1049
  }
1049
1050
  `;
@@ -1108,6 +1109,7 @@ exports.FetchProfileDocument = (0, client_1.gql) `
1108
1109
  referralTypeId
1109
1110
  referralTypeName
1110
1111
  referralTypeColor
1112
+ xps
1111
1113
  }
1112
1114
  }
1113
1115
  `;
@@ -260,6 +260,7 @@ export type IQuery = {
260
260
  fetchCreationsByType: ICreationsPage;
261
261
  findCreations: ICreationsPage;
262
262
  findUserCreations: ICreationsPage;
263
+ findUserLudoCreations: ICreationsPage;
263
264
  findProfilesByName: IProfilePage;
264
265
  fetchUserReferralsInfoPage: IUserReferralsInfoPage;
265
266
  fetchUserReferralsInfoCsv: Scalars['String'];
@@ -326,6 +327,10 @@ export type IQueryFindUserCreationsArgs = {
326
327
  input: ICreationFilterInput;
327
328
  page?: Maybe<IPageInput>;
328
329
  };
330
+ export type IQueryFindUserLudoCreationsArgs = {
331
+ ownerId: Scalars['String'];
332
+ page?: Maybe<IPageInput>;
333
+ };
329
334
  export type IQueryFindProfilesByNameArgs = {
330
335
  name: Scalars['String'];
331
336
  page?: Maybe<IPageInput>;
@@ -726,6 +731,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
726
731
  fetchCreationsByType?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFetchCreationsByTypeArgs, 'itemType'>>;
727
732
  findCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindCreationsArgs, 'term' | 'input'>>;
728
733
  findUserCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserCreationsArgs, 'ownerId' | 'input'>>;
734
+ findUserLudoCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserLudoCreationsArgs, 'ownerId'>>;
729
735
  findProfilesByName?: Resolver<IResolversTypes['ProfilePage'], ParentType, ContextType, RequireFields<IQueryFindProfilesByNameArgs, 'name'>>;
730
736
  fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
731
737
  fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
@@ -993,6 +999,16 @@ export type IFindUserCreationsQuery = {
993
999
  creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>;
994
1000
  };
995
1001
  };
1002
+ export type IFindUserLudoCreationsQueryVariables = Exact<{
1003
+ ownerId: Scalars['String'];
1004
+ page?: Maybe<IPageInput>;
1005
+ }>;
1006
+ export type IFindUserLudoCreationsQuery = {
1007
+ findUserLudoCreations: {
1008
+ nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
1009
+ creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>;
1010
+ };
1011
+ };
996
1012
  export declare const FetchAllCreationsDocument: Apollo.DocumentNode;
997
1013
  /**
998
1014
  * __useFetchAllCreationsQuery__
@@ -1502,3 +1518,32 @@ export declare function useFindUserCreationsLazyQuery(baseOptions?: Apollo.LazyQ
1502
1518
  export type FindUserCreationsQueryHookResult = ReturnType<typeof useFindUserCreationsQuery>;
1503
1519
  export type FindUserCreationsLazyQueryHookResult = ReturnType<typeof useFindUserCreationsLazyQuery>;
1504
1520
  export type FindUserCreationsQueryResult = Apollo.QueryResult<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>;
1521
+ export declare const FindUserLudoCreationsDocument: Apollo.DocumentNode;
1522
+ /**
1523
+ * __useFindUserLudoCreationsQuery__
1524
+ *
1525
+ * To run a query within a React component, call `useFindUserLudoCreationsQuery` and pass it any options that fit your needs.
1526
+ * When your component renders, `useFindUserLudoCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1527
+ * you can use to render your UI.
1528
+ *
1529
+ * @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;
1530
+ *
1531
+ * @example
1532
+ * const { data, loading, error } = useFindUserLudoCreationsQuery({
1533
+ * variables: {
1534
+ * ownerId: // value for 'ownerId'
1535
+ * page: // value for 'page'
1536
+ * },
1537
+ * });
1538
+ */
1539
+ export declare function useFindUserLudoCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>): Apollo.QueryResult<IFindUserLudoCreationsQuery, Exact<{
1540
+ ownerId: string;
1541
+ page?: Maybe<IPageInput> | undefined;
1542
+ }>>;
1543
+ export declare function useFindUserLudoCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>): Apollo.LazyQueryResultTuple<IFindUserLudoCreationsQuery, Exact<{
1544
+ ownerId: string;
1545
+ page?: Maybe<IPageInput> | undefined;
1546
+ }>>;
1547
+ export type FindUserLudoCreationsQueryHookResult = ReturnType<typeof useFindUserLudoCreationsQuery>;
1548
+ export type FindUserLudoCreationsLazyQueryHookResult = ReturnType<typeof useFindUserLudoCreationsLazyQuery>;
1549
+ export type FindUserLudoCreationsQueryResult = Apollo.QueryResult<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>;
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserReferralsInfoCsvLazyQuery = exports.useFetchUserReferralsInfoCsvQuery = exports.FetchUserReferralsInfoCsvDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.ISortDirection = exports.IReftypeColor = void 0;
27
- exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = void 0;
27
+ exports.useFindUserLudoCreationsLazyQuery = exports.useFindUserLudoCreationsQuery = exports.FindUserLudoCreationsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  var IReftypeColor;
@@ -1292,3 +1292,57 @@ function useFindUserCreationsLazyQuery(baseOptions) {
1292
1292
  return Apollo.useLazyQuery(exports.FindUserCreationsDocument, baseOptions);
1293
1293
  }
1294
1294
  exports.useFindUserCreationsLazyQuery = useFindUserCreationsLazyQuery;
1295
+ exports.FindUserLudoCreationsDocument = (0, client_1.gql) `
1296
+ query FindUserLudoCreations($ownerId: String!, $page: PageInput) {
1297
+ findUserLudoCreations(ownerId: $ownerId, page: $page) {
1298
+ nextPage {
1299
+ token
1300
+ num
1301
+ size
1302
+ elements
1303
+ }
1304
+ creations {
1305
+ id
1306
+ id
1307
+ itemType
1308
+ tokenId
1309
+ address
1310
+ itemId
1311
+ blockchain
1312
+ rank
1313
+ name
1314
+ creatorsAddresses
1315
+ originalUrls
1316
+ media
1317
+ mediaPreview
1318
+ mimeType
1319
+ likes
1320
+ }
1321
+ }
1322
+ }
1323
+ `;
1324
+ /**
1325
+ * __useFindUserLudoCreationsQuery__
1326
+ *
1327
+ * To run a query within a React component, call `useFindUserLudoCreationsQuery` and pass it any options that fit your needs.
1328
+ * When your component renders, `useFindUserLudoCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1329
+ * you can use to render your UI.
1330
+ *
1331
+ * @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;
1332
+ *
1333
+ * @example
1334
+ * const { data, loading, error } = useFindUserLudoCreationsQuery({
1335
+ * variables: {
1336
+ * ownerId: // value for 'ownerId'
1337
+ * page: // value for 'page'
1338
+ * },
1339
+ * });
1340
+ */
1341
+ function useFindUserLudoCreationsQuery(baseOptions) {
1342
+ return Apollo.useQuery(exports.FindUserLudoCreationsDocument, baseOptions);
1343
+ }
1344
+ exports.useFindUserLudoCreationsQuery = useFindUserLudoCreationsQuery;
1345
+ function useFindUserLudoCreationsLazyQuery(baseOptions) {
1346
+ return Apollo.useLazyQuery(exports.FindUserLudoCreationsDocument, baseOptions);
1347
+ }
1348
+ exports.useFindUserLudoCreationsLazyQuery = useFindUserLudoCreationsLazyQuery;
package/build/index.d.ts CHANGED
@@ -403,6 +403,20 @@ declare const schema: {
403
403
  input: searchSchema.ICreationFilterInput;
404
404
  page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
405
405
  }>>;
406
+ useFindUserLudoCreationsQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
407
+ ownerId: string;
408
+ page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
409
+ }>>): import("@apollo/client").QueryResult<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
410
+ ownerId: string;
411
+ page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
412
+ }>>;
413
+ useFindUserLudoCreationsLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
414
+ ownerId: string;
415
+ page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
416
+ }>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
417
+ ownerId: string;
418
+ page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
419
+ }>>;
406
420
  IReftypeColor: typeof searchSchema.IReftypeColor;
407
421
  ISortDirection: typeof searchSchema.ISortDirection;
408
422
  FetchAllCreationsDocument: import("graphql").DocumentNode;
@@ -423,6 +437,7 @@ declare const schema: {
423
437
  FindCreationsDocument: import("graphql").DocumentNode;
424
438
  FindProfilesByNameDocument: import("graphql").DocumentNode;
425
439
  FindUserCreationsDocument: import("graphql").DocumentNode;
440
+ FindUserLudoCreationsDocument: import("graphql").DocumentNode;
426
441
  useSaveUserExpectationsMutation(baseOptions?: import("@apollo/client").MutationHookOptions<preferencesSchema.ISaveUserExpectationsMutation, preferencesSchema.Exact<{
427
442
  expectations: preferencesSchema.Maybe<string>[];
428
443
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<preferencesSchema.ISaveUserExpectationsMutation, preferencesSchema.Exact<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "3.0.19",
3
+ "version": "3.0.21",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -362,6 +362,7 @@ export type IMyProfileV2 = {
362
362
  referralTypeColor?: Maybe<IReftypeColor>;
363
363
  tierId?: Maybe<Scalars['String']>;
364
364
  tierName?: Maybe<Scalars['String']>;
365
+ shareLink?: Maybe<Scalars['String']>;
365
366
  };
366
367
 
367
368
  export type IProfile = {
@@ -817,6 +818,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
817
818
  referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
818
819
  tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
819
820
  tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
821
+ shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
820
822
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
821
823
  };
822
824
 
@@ -1187,7 +1189,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
1187
1189
 
1188
1190
 
1189
1191
  export type IFetchMyProfileV2Query = { fetchMyProfileV2: (
1190
- Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
1192
+ Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'shareLink'>
1191
1193
  & { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordServer' | 'discordNickname' | 'telegramLink'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>>, inviteCodes?: Maybe<Array<Maybe<(
1192
1194
  Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'>
1193
1195
  & { codeUsers: Array<Pick<IInviteCodeUser, 'inviteeId' | 'usedAt'>> }
@@ -1200,7 +1202,7 @@ export type IFetchProfileQueryVariables = Exact<{
1200
1202
 
1201
1203
 
1202
1204
  export type IFetchProfileQuery = { fetchProfile: (
1203
- Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
1205
+ Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'xps'>
1204
1206
  & { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordNickname' | 'discordServer' | 'telegramLink'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>> }
1205
1207
  ) };
1206
1208
 
@@ -2298,6 +2300,7 @@ export const FetchMyProfileV2Document = gql`
2298
2300
  referralTypeId
2299
2301
  referralTypeName
2300
2302
  referralTypeColor
2303
+ shareLink
2301
2304
  }
2302
2305
  }
2303
2306
  `;
@@ -2364,6 +2367,7 @@ export const FetchProfileDocument = gql`
2364
2367
  referralTypeId
2365
2368
  referralTypeName
2366
2369
  referralTypeColor
2370
+ xps
2367
2371
  }
2368
2372
  }
2369
2373
  `;
@@ -286,6 +286,7 @@ export type IQuery = {
286
286
  fetchCreationsByType: ICreationsPage;
287
287
  findCreations: ICreationsPage;
288
288
  findUserCreations: ICreationsPage;
289
+ findUserLudoCreations: ICreationsPage;
289
290
  findProfilesByName: IProfilePage;
290
291
  fetchUserReferralsInfoPage: IUserReferralsInfoPage;
291
292
  fetchUserReferralsInfoCsv: Scalars['String'];
@@ -388,6 +389,12 @@ export type IQueryFindUserCreationsArgs = {
388
389
  };
389
390
 
390
391
 
392
+ export type IQueryFindUserLudoCreationsArgs = {
393
+ ownerId: Scalars['String'];
394
+ page?: Maybe<IPageInput>;
395
+ };
396
+
397
+
391
398
  export type IQueryFindProfilesByNameArgs = {
392
399
  name: Scalars['String'];
393
400
  page?: Maybe<IPageInput>;
@@ -865,6 +872,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
865
872
  fetchCreationsByType?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFetchCreationsByTypeArgs, 'itemType'>>;
866
873
  findCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindCreationsArgs, 'term' | 'input'>>;
867
874
  findUserCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserCreationsArgs, 'ownerId' | 'input'>>;
875
+ findUserLudoCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserLudoCreationsArgs, 'ownerId'>>;
868
876
  findProfilesByName?: Resolver<IResolversTypes['ProfilePage'], ParentType, ContextType, RequireFields<IQueryFindProfilesByNameArgs, 'name'>>;
869
877
  fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
870
878
  fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
@@ -1100,6 +1108,14 @@ export type IFindUserCreationsQueryVariables = Exact<{
1100
1108
 
1101
1109
  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'>>> } };
1102
1110
 
1111
+ export type IFindUserLudoCreationsQueryVariables = Exact<{
1112
+ ownerId: Scalars['String'];
1113
+ page?: Maybe<IPageInput>;
1114
+ }>;
1115
+
1116
+
1117
+ export type IFindUserLudoCreationsQuery = { findUserLudoCreations: { 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'>>> } };
1118
+
1103
1119
 
1104
1120
  export const FetchAllCreationsDocument = gql`
1105
1121
  query FetchAllCreations($page: PageInput) {
@@ -2383,4 +2399,60 @@ export function useFindUserCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHook
2383
2399
  }
2384
2400
  export type FindUserCreationsQueryHookResult = ReturnType<typeof useFindUserCreationsQuery>;
2385
2401
  export type FindUserCreationsLazyQueryHookResult = ReturnType<typeof useFindUserCreationsLazyQuery>;
2386
- export type FindUserCreationsQueryResult = Apollo.QueryResult<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>;
2402
+ export type FindUserCreationsQueryResult = Apollo.QueryResult<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>;
2403
+ export const FindUserLudoCreationsDocument = gql`
2404
+ query FindUserLudoCreations($ownerId: String!, $page: PageInput) {
2405
+ findUserLudoCreations(ownerId: $ownerId, page: $page) {
2406
+ nextPage {
2407
+ token
2408
+ num
2409
+ size
2410
+ elements
2411
+ }
2412
+ creations {
2413
+ id
2414
+ id
2415
+ itemType
2416
+ tokenId
2417
+ address
2418
+ itemId
2419
+ blockchain
2420
+ rank
2421
+ name
2422
+ creatorsAddresses
2423
+ originalUrls
2424
+ media
2425
+ mediaPreview
2426
+ mimeType
2427
+ likes
2428
+ }
2429
+ }
2430
+ }
2431
+ `;
2432
+
2433
+ /**
2434
+ * __useFindUserLudoCreationsQuery__
2435
+ *
2436
+ * To run a query within a React component, call `useFindUserLudoCreationsQuery` and pass it any options that fit your needs.
2437
+ * When your component renders, `useFindUserLudoCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2438
+ * you can use to render your UI.
2439
+ *
2440
+ * @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;
2441
+ *
2442
+ * @example
2443
+ * const { data, loading, error } = useFindUserLudoCreationsQuery({
2444
+ * variables: {
2445
+ * ownerId: // value for 'ownerId'
2446
+ * page: // value for 'page'
2447
+ * },
2448
+ * });
2449
+ */
2450
+ export function useFindUserLudoCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>) {
2451
+ return Apollo.useQuery<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>(FindUserLudoCreationsDocument, baseOptions);
2452
+ }
2453
+ export function useFindUserLudoCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>) {
2454
+ return Apollo.useLazyQuery<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>(FindUserLudoCreationsDocument, baseOptions);
2455
+ }
2456
+ export type FindUserLudoCreationsQueryHookResult = ReturnType<typeof useFindUserLudoCreationsQuery>;
2457
+ export type FindUserLudoCreationsLazyQueryHookResult = ReturnType<typeof useFindUserLudoCreationsLazyQuery>;
2458
+ export type FindUserLudoCreationsQueryResult = Apollo.QueryResult<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>;