@ludo.ninja/api 2.4.9 → 2.5.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.4.9",
3
+ "version": "2.5.1",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -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']>>;
@@ -740,6 +741,7 @@ export type IInterest = {
740
741
 
741
742
  export type IInvitesFilterInput = {
742
743
  userIdTerm?: Maybe<Scalars['String']>;
744
+ usernameTerm?: Maybe<Scalars['String']>;
743
745
  mainWalletTerm?: Maybe<Scalars['String']>;
744
746
  userXpLevelTerm?: Maybe<Scalars['String']>;
745
747
  activeInviteTerm?: Maybe<Scalars['String']>;
@@ -752,6 +754,7 @@ export type IInvitesPage = {
752
754
  };
753
755
 
754
756
  export type IInvitesSortInput = {
757
+ sortByUsername: ISort;
755
758
  sortByXpLevel: ISort;
756
759
  sortByActiveInvites: ISort;
757
760
  sortByReferredUsers: ISort;
@@ -2773,7 +2776,7 @@ export type IFetchAdminInvitesPageQueryVariables = Exact<{
2773
2776
 
2774
2777
 
2775
2778
  export type IFetchAdminInvitesPageQuery = { fetchAdminInvitesPage: { invites: Array<(
2776
- Pick<IAdminInvite, 'userId' | 'referredUsers' | 'userXpLevel'>
2779
+ Pick<IAdminInvite, 'userId' | 'username' | 'referredUsers' | 'userXpLevel'>
2777
2780
  & { wallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>, activeInvites?: Maybe<Array<Pick<IActiveInvite, 'inviteCode' | 'createdAt'>>> }
2778
2781
  )>, nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>> } };
2779
2782
 
@@ -3851,6 +3854,7 @@ export const FetchAdminInvitesPageDocument = gql`
3851
3854
  fetchAdminInvitesPage(filter: $filter, sort: $sort, page: $page) {
3852
3855
  invites {
3853
3856
  userId
3857
+ username
3854
3858
  wallet {
3855
3859
  address
3856
3860
  blockchain