@ludo.ninja/api 2.4.8 → 2.5.0
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/package.json
CHANGED
|
@@ -32,6 +32,7 @@ export type IAddress = {
|
|
|
32
32
|
|
|
33
33
|
export type IAdminInvite = {
|
|
34
34
|
userId: Scalars['String'];
|
|
35
|
+
username?: Maybe<Scalars['String']>;
|
|
35
36
|
wallet?: Maybe<IWallet>;
|
|
36
37
|
activeInvites?: Maybe<Array<IActiveInvite>>;
|
|
37
38
|
referredUsers?: Maybe<Array<Scalars['String']>>;
|
|
@@ -52,8 +53,23 @@ export type IAdminPageInput = {
|
|
|
52
53
|
token?: Maybe<Scalars['String']>;
|
|
53
54
|
};
|
|
54
55
|
|
|
56
|
+
export type IAdminUser = {
|
|
57
|
+
userId: Scalars['ID'];
|
|
58
|
+
username?: Maybe<Scalars['String']>;
|
|
59
|
+
wallets?: Maybe<Array<IWallet>>;
|
|
60
|
+
connectedBlockchains?: Maybe<Array<Scalars['String']>>;
|
|
61
|
+
isActive?: Maybe<Scalars['Boolean']>;
|
|
62
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
63
|
+
topInterests?: Maybe<Array<Scalars['String']>>;
|
|
64
|
+
walletsValue?: Maybe<Scalars['Float']>;
|
|
65
|
+
xpLevel?: Maybe<Scalars['Int']>;
|
|
66
|
+
ludoRank?: Maybe<Scalars['Int']>;
|
|
67
|
+
inviterId?: Maybe<Scalars['String']>;
|
|
68
|
+
};
|
|
69
|
+
|
|
55
70
|
export type IAdminXp = {
|
|
56
71
|
userId: Scalars['ID'];
|
|
72
|
+
username?: Maybe<Scalars['String']>;
|
|
57
73
|
mainWallet?: Maybe<IWallet>;
|
|
58
74
|
userXpLevel?: Maybe<Scalars['Int']>;
|
|
59
75
|
userXpPoints?: Maybe<Scalars['Int']>;
|
|
@@ -725,6 +741,7 @@ export type IInterest = {
|
|
|
725
741
|
|
|
726
742
|
export type IInvitesFilterInput = {
|
|
727
743
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
744
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
728
745
|
mainWalletTerm?: Maybe<Scalars['String']>;
|
|
729
746
|
userXpLevelTerm?: Maybe<Scalars['String']>;
|
|
730
747
|
activeInviteTerm?: Maybe<Scalars['String']>;
|
|
@@ -737,6 +754,7 @@ export type IInvitesPage = {
|
|
|
737
754
|
};
|
|
738
755
|
|
|
739
756
|
export type IInvitesSortInput = {
|
|
757
|
+
sortByUsername: ISort;
|
|
740
758
|
sortByXpLevel: ISort;
|
|
741
759
|
sortByActiveInvites: ISort;
|
|
742
760
|
sortByReferredUsers: ISort;
|
|
@@ -891,6 +909,7 @@ export type IMutation = {
|
|
|
891
909
|
unfollowProfile: Scalars['Boolean'];
|
|
892
910
|
unsubscribeGallery: Scalars['Int'];
|
|
893
911
|
updateProfile: Scalars['Boolean'];
|
|
912
|
+
updateProfileStatus: Scalars['Boolean'];
|
|
894
913
|
uploadGalleryBanner: Scalars['String'];
|
|
895
914
|
uploadUserpic: Scalars['String'];
|
|
896
915
|
useInviteCode: Scalars['Boolean'];
|
|
@@ -1453,6 +1472,12 @@ export type IMutationUpdateProfileArgs = {
|
|
|
1453
1472
|
};
|
|
1454
1473
|
|
|
1455
1474
|
|
|
1475
|
+
export type IMutationUpdateProfileStatusArgs = {
|
|
1476
|
+
userId: Scalars['ID'];
|
|
1477
|
+
isActive: Scalars['Boolean'];
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1480
|
+
|
|
1456
1481
|
export type IMutationUploadGalleryBannerArgs = {
|
|
1457
1482
|
galleryId: Scalars['ID'];
|
|
1458
1483
|
file: Scalars['Upload'];
|
|
@@ -1625,6 +1650,7 @@ export type IProfilePage = {
|
|
|
1625
1650
|
|
|
1626
1651
|
export type IQuery = {
|
|
1627
1652
|
fetchAdminInvitesPage: IInvitesPage;
|
|
1653
|
+
fetchAdminUsersPage: IUsersPage;
|
|
1628
1654
|
fetchAdminXpPage: IXpPage;
|
|
1629
1655
|
fetchAllAssets: IAssetsPage;
|
|
1630
1656
|
fetchAllBannerAssets: IBannerAssetsPage;
|
|
@@ -1775,6 +1801,13 @@ export type IQueryFetchAdminInvitesPageArgs = {
|
|
|
1775
1801
|
};
|
|
1776
1802
|
|
|
1777
1803
|
|
|
1804
|
+
export type IQueryFetchAdminUsersPageArgs = {
|
|
1805
|
+
filter: IUsersFilterInput;
|
|
1806
|
+
sort: IUsersSortInput;
|
|
1807
|
+
page: IAdminPageInput;
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1810
|
+
|
|
1778
1811
|
export type IQueryFetchAdminXpPageArgs = {
|
|
1779
1812
|
filter: IXpFilterInput;
|
|
1780
1813
|
sort: IXpSortInput;
|
|
@@ -2643,10 +2676,39 @@ export type IUserXpIncrement = {
|
|
|
2643
2676
|
levelMaxXps: Scalars['Int'];
|
|
2644
2677
|
};
|
|
2645
2678
|
|
|
2679
|
+
export type IUsersFilterInput = {
|
|
2680
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
2681
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
2682
|
+
walletsTerm?: Maybe<Scalars['String']>;
|
|
2683
|
+
connectedBlockchainsTerm?: Maybe<Scalars['String']>;
|
|
2684
|
+
isActiveAccount?: Maybe<Scalars['Boolean']>;
|
|
2685
|
+
createdDateTimestamp?: Maybe<Scalars['Long']>;
|
|
2686
|
+
interestTerm?: Maybe<Scalars['String']>;
|
|
2687
|
+
walletsValue?: Maybe<Scalars['Float']>;
|
|
2688
|
+
xpLevel?: Maybe<Scalars['Int']>;
|
|
2689
|
+
ludoRank?: Maybe<Scalars['Int']>;
|
|
2690
|
+
invitedByTerm?: Maybe<Scalars['String']>;
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
export type IUsersPage = {
|
|
2694
|
+
users: Array<IAdminUser>;
|
|
2695
|
+
nextPage?: Maybe<IAdminPage>;
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
export type IUsersSortInput = {
|
|
2699
|
+
sortByUsername: ISort;
|
|
2700
|
+
sortByAccountStatus: ISort;
|
|
2701
|
+
sortByCreatedDate: ISort;
|
|
2702
|
+
sortByWalletsValue: ISort;
|
|
2703
|
+
sortByXpLevel: ISort;
|
|
2704
|
+
sortByLudoRank: ISort;
|
|
2705
|
+
};
|
|
2706
|
+
|
|
2646
2707
|
export type IWallet = {
|
|
2647
2708
|
address: Scalars['String'];
|
|
2648
2709
|
blockchain: Scalars['String'];
|
|
2649
2710
|
chainId?: Maybe<Scalars['String']>;
|
|
2711
|
+
isMain?: Maybe<Scalars['Boolean']>;
|
|
2650
2712
|
mainWallet: Scalars['Boolean'];
|
|
2651
2713
|
name?: Maybe<Scalars['String']>;
|
|
2652
2714
|
url?: Maybe<Scalars['String']>;
|
|
@@ -2656,6 +2718,7 @@ export type IWallet = {
|
|
|
2656
2718
|
|
|
2657
2719
|
export type IXpFilterInput = {
|
|
2658
2720
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
2721
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
2659
2722
|
mainWalletTerm?: Maybe<Scalars['String']>;
|
|
2660
2723
|
userXpLevelTerm?: Maybe<Scalars['String']>;
|
|
2661
2724
|
userXpPointsTerm?: Maybe<Scalars['String']>;
|
|
@@ -2672,6 +2735,7 @@ export type IXpPage = {
|
|
|
2672
2735
|
};
|
|
2673
2736
|
|
|
2674
2737
|
export type IXpSortInput = {
|
|
2738
|
+
sortByUsername: ISort;
|
|
2675
2739
|
sortByXpLevel: ISort;
|
|
2676
2740
|
sortByXpPoints: ISort;
|
|
2677
2741
|
sortByInvitedUsers: ISort;
|
|
@@ -2724,7 +2788,7 @@ export type IFetchAdminXpPageQueryVariables = Exact<{
|
|
|
2724
2788
|
|
|
2725
2789
|
|
|
2726
2790
|
export type IFetchAdminXpPageQuery = { fetchAdminXpPage: { xps: Array<(
|
|
2727
|
-
Pick<IAdminXp, 'userId' | 'userXpLevel' | 'userXpPoints' | 'referredUsers' | 'referredUsersNum' | 'joinedOpportunityIds' | 'connectedWalletsNum' | 'suggestedOpportunityIds'>
|
|
2791
|
+
Pick<IAdminXp, 'userId' | 'username' | 'userXpLevel' | 'userXpPoints' | 'referredUsers' | 'referredUsersNum' | 'joinedOpportunityIds' | 'connectedWalletsNum' | 'suggestedOpportunityIds'>
|
|
2728
2792
|
& { mainWallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>> }
|
|
2729
2793
|
)>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2730
2794
|
|
|
@@ -3845,6 +3909,7 @@ export const FetchAdminXpPageDocument = gql`
|
|
|
3845
3909
|
fetchAdminXpPage(filter: $filter, sort: $sort, page: $page) {
|
|
3846
3910
|
xps {
|
|
3847
3911
|
userId
|
|
3912
|
+
username
|
|
3848
3913
|
mainWallet {
|
|
3849
3914
|
address
|
|
3850
3915
|
blockchain
|