@ludo.ninja/api 2.8.97 → 2.8.98
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__/searchHost/schema.d.ts +19 -4
- package/build/graphql_tools/__generated__/searchHost/schema.js +18 -1
- package/build/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/searchHost/schema.ts +24 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -231,8 +231,9 @@ export type IProfile = {
|
|
|
231
231
|
visible?: Maybe<Scalars['Boolean']>;
|
|
232
232
|
views?: Maybe<Scalars['Int']>;
|
|
233
233
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
234
|
+
referralTypeId?: Maybe<Scalars['ID']>;
|
|
234
235
|
referralTypeName?: Maybe<Scalars['String']>;
|
|
235
|
-
referralTypeColor?: Maybe<
|
|
236
|
+
referralTypeColor?: Maybe<IReftypeColor>;
|
|
236
237
|
};
|
|
237
238
|
export type IProfilePage = {
|
|
238
239
|
profiles: Array<Maybe<IProfile>>;
|
|
@@ -325,6 +326,18 @@ export type IQueryFindProfilesByNameArgs = {
|
|
|
325
326
|
name: Scalars['String'];
|
|
326
327
|
page?: Maybe<IPageInput>;
|
|
327
328
|
};
|
|
329
|
+
export declare enum IReftypeColor {
|
|
330
|
+
Red = "RED",
|
|
331
|
+
Green = "GREEN",
|
|
332
|
+
Blue = "BLUE",
|
|
333
|
+
Yellow = "YELLOW",
|
|
334
|
+
Orange = "ORANGE",
|
|
335
|
+
White = "WHITE",
|
|
336
|
+
Black = "BLACK",
|
|
337
|
+
Grey = "GREY",
|
|
338
|
+
Purple = "PURPLE",
|
|
339
|
+
Gold = "GOLD"
|
|
340
|
+
}
|
|
328
341
|
export type ITopEntitiesPage = {
|
|
329
342
|
assets: Array<Maybe<IAsset>>;
|
|
330
343
|
collections: Array<Maybe<ICollection>>;
|
|
@@ -387,6 +400,7 @@ export type IResolversTypes = {
|
|
|
387
400
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
388
401
|
ProfilePage: ResolverTypeWrapper<IProfilePage>;
|
|
389
402
|
Query: ResolverTypeWrapper<{}>;
|
|
403
|
+
ReftypeColor: IReftypeColor;
|
|
390
404
|
TopEntitiesPage: ResolverTypeWrapper<ITopEntitiesPage>;
|
|
391
405
|
};
|
|
392
406
|
/** Mapping between all available schema types and the resolvers parents */
|
|
@@ -619,8 +633,9 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
619
633
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
620
634
|
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
621
635
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
636
|
+
referralTypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
622
637
|
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
623
|
-
referralTypeColor?: Resolver<Maybe<IResolversTypes['
|
|
638
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
624
639
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
625
640
|
};
|
|
626
641
|
export type IProfilePageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProfilePage'] = IResolversParentTypes['ProfilePage']> = {
|
|
@@ -835,7 +850,7 @@ export type IFindAllTopEntitiesByNameQuery = {
|
|
|
835
850
|
totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>;
|
|
836
851
|
floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>;
|
|
837
852
|
})>>;
|
|
838
|
-
profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'createdAt' | 'deletedAt' | 'visible' | 'views' | 'deleted'>>>;
|
|
853
|
+
profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'createdAt' | 'deletedAt' | 'visible' | 'views' | 'deleted' | 'referralTypeName' | 'referralTypeColor'>>>;
|
|
839
854
|
};
|
|
840
855
|
};
|
|
841
856
|
export type IFetchUserPortfolioQueryVariables = Exact<{
|
|
@@ -862,7 +877,7 @@ export type IFindProfilesByNameQueryVariables = Exact<{
|
|
|
862
877
|
export type IFindProfilesByNameQuery = {
|
|
863
878
|
findProfilesByName: {
|
|
864
879
|
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
865
|
-
profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>;
|
|
880
|
+
profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible' | 'referralTypeName' | 'referralTypeColor'>>>;
|
|
866
881
|
};
|
|
867
882
|
};
|
|
868
883
|
export type IFindUserCreationsQueryVariables = Exact<{
|
|
@@ -23,9 +23,22 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = 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 = void 0;
|
|
26
|
+
exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = 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.IReftypeColor = void 0;
|
|
27
27
|
const client_1 = require("@apollo/client");
|
|
28
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
var IReftypeColor;
|
|
30
|
+
(function (IReftypeColor) {
|
|
31
|
+
IReftypeColor["Red"] = "RED";
|
|
32
|
+
IReftypeColor["Green"] = "GREEN";
|
|
33
|
+
IReftypeColor["Blue"] = "BLUE";
|
|
34
|
+
IReftypeColor["Yellow"] = "YELLOW";
|
|
35
|
+
IReftypeColor["Orange"] = "ORANGE";
|
|
36
|
+
IReftypeColor["White"] = "WHITE";
|
|
37
|
+
IReftypeColor["Black"] = "BLACK";
|
|
38
|
+
IReftypeColor["Grey"] = "GREY";
|
|
39
|
+
IReftypeColor["Purple"] = "PURPLE";
|
|
40
|
+
IReftypeColor["Gold"] = "GOLD";
|
|
41
|
+
})(IReftypeColor || (exports.IReftypeColor = IReftypeColor = {}));
|
|
29
42
|
exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
30
43
|
query FetchAllCreations($page: PageInput) {
|
|
31
44
|
fetchAllCreations(page: $page) {
|
|
@@ -972,6 +985,8 @@ exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
|
|
|
972
985
|
visible
|
|
973
986
|
views
|
|
974
987
|
deleted
|
|
988
|
+
referralTypeName
|
|
989
|
+
referralTypeColor
|
|
975
990
|
}
|
|
976
991
|
}
|
|
977
992
|
}
|
|
@@ -1105,6 +1120,8 @@ exports.FindProfilesByNameDocument = (0, client_1.gql) `
|
|
|
1105
1120
|
followers
|
|
1106
1121
|
followings
|
|
1107
1122
|
visible
|
|
1123
|
+
referralTypeName
|
|
1124
|
+
referralTypeColor
|
|
1108
1125
|
}
|
|
1109
1126
|
}
|
|
1110
1127
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -363,6 +363,7 @@ declare const schema: {
|
|
|
363
363
|
input: searchSchema.ICreationFilterInput;
|
|
364
364
|
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
365
365
|
}>>;
|
|
366
|
+
IReftypeColor: typeof searchSchema.IReftypeColor;
|
|
366
367
|
FetchAllCreationsDocument: import("graphql").DocumentNode;
|
|
367
368
|
FetchAssetByBlockchainDocument: import("graphql").DocumentNode;
|
|
368
369
|
FetchAssetsDocument: import("graphql").DocumentNode;
|
|
@@ -799,7 +800,6 @@ declare const schema: {
|
|
|
799
800
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchUserWalletsQuery, identitySchema.Exact<{
|
|
800
801
|
userId: string;
|
|
801
802
|
}>>;
|
|
802
|
-
IReftypeColor: typeof identitySchema.IReftypeColor;
|
|
803
803
|
IRole: typeof identitySchema.IRole;
|
|
804
804
|
AddWalletElrondDocument: import("graphql").DocumentNode;
|
|
805
805
|
AddWalletFlowDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -255,8 +255,9 @@ export type IProfile = {
|
|
|
255
255
|
visible?: Maybe<Scalars['Boolean']>;
|
|
256
256
|
views?: Maybe<Scalars['Int']>;
|
|
257
257
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
258
|
+
referralTypeId?: Maybe<Scalars['ID']>;
|
|
258
259
|
referralTypeName?: Maybe<Scalars['String']>;
|
|
259
|
-
referralTypeColor?: Maybe<
|
|
260
|
+
referralTypeColor?: Maybe<IReftypeColor>;
|
|
260
261
|
};
|
|
261
262
|
|
|
262
263
|
export type IProfilePage = {
|
|
@@ -388,6 +389,19 @@ export type IQueryFindProfilesByNameArgs = {
|
|
|
388
389
|
page?: Maybe<IPageInput>;
|
|
389
390
|
};
|
|
390
391
|
|
|
392
|
+
export enum IReftypeColor {
|
|
393
|
+
Red = 'RED',
|
|
394
|
+
Green = 'GREEN',
|
|
395
|
+
Blue = 'BLUE',
|
|
396
|
+
Yellow = 'YELLOW',
|
|
397
|
+
Orange = 'ORANGE',
|
|
398
|
+
White = 'WHITE',
|
|
399
|
+
Black = 'BLACK',
|
|
400
|
+
Grey = 'GREY',
|
|
401
|
+
Purple = 'PURPLE',
|
|
402
|
+
Gold = 'GOLD'
|
|
403
|
+
}
|
|
404
|
+
|
|
391
405
|
export type ITopEntitiesPage = {
|
|
392
406
|
assets: Array<Maybe<IAsset>>;
|
|
393
407
|
collections: Array<Maybe<ICollection>>;
|
|
@@ -492,6 +506,7 @@ export type IResolversTypes = {
|
|
|
492
506
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
493
507
|
ProfilePage: ResolverTypeWrapper<IProfilePage>;
|
|
494
508
|
Query: ResolverTypeWrapper<{}>;
|
|
509
|
+
ReftypeColor: IReftypeColor;
|
|
495
510
|
TopEntitiesPage: ResolverTypeWrapper<ITopEntitiesPage>;
|
|
496
511
|
};
|
|
497
512
|
|
|
@@ -747,8 +762,9 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
747
762
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
748
763
|
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
749
764
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
765
|
+
referralTypeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
|
|
750
766
|
referralTypeName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
751
|
-
referralTypeColor?: Resolver<Maybe<IResolversTypes['
|
|
767
|
+
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
752
768
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
753
769
|
};
|
|
754
770
|
|
|
@@ -938,7 +954,7 @@ export type IFindAllTopEntitiesByNameQuery = { findAllTopEntitiesByName: { asset
|
|
|
938
954
|
)>>, collections: Array<Maybe<(
|
|
939
955
|
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'collectionTitle' | 'likes' | 'liked' | 'verified' | 'rank'>
|
|
940
956
|
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
|
|
941
|
-
)>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'createdAt' | 'deletedAt' | 'visible' | 'views' | 'deleted'>>> } };
|
|
957
|
+
)>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'createdAt' | 'deletedAt' | 'visible' | 'views' | 'deleted' | 'referralTypeName' | 'referralTypeColor'>>> } };
|
|
942
958
|
|
|
943
959
|
export type IFetchUserPortfolioQueryVariables = Exact<{
|
|
944
960
|
ownerId: Scalars['String'];
|
|
@@ -962,7 +978,7 @@ export type IFindProfilesByNameQueryVariables = Exact<{
|
|
|
962
978
|
}>;
|
|
963
979
|
|
|
964
980
|
|
|
965
|
-
export type IFindProfilesByNameQuery = { findProfilesByName: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> } };
|
|
981
|
+
export type IFindProfilesByNameQuery = { findProfilesByName: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible' | 'referralTypeName' | 'referralTypeColor'>>> } };
|
|
966
982
|
|
|
967
983
|
export type IFindUserCreationsQueryVariables = Exact<{
|
|
968
984
|
ownerId: Scalars['String'];
|
|
@@ -1942,6 +1958,8 @@ export const FindAllTopEntitiesByNameDocument = gql`
|
|
|
1942
1958
|
visible
|
|
1943
1959
|
views
|
|
1944
1960
|
deleted
|
|
1961
|
+
referralTypeName
|
|
1962
|
+
referralTypeColor
|
|
1945
1963
|
}
|
|
1946
1964
|
}
|
|
1947
1965
|
}
|
|
@@ -2081,6 +2099,8 @@ export const FindProfilesByNameDocument = gql`
|
|
|
2081
2099
|
followers
|
|
2082
2100
|
followings
|
|
2083
2101
|
visible
|
|
2102
|
+
referralTypeName
|
|
2103
|
+
referralTypeColor
|
|
2084
2104
|
}
|
|
2085
2105
|
}
|
|
2086
2106
|
}
|