@ludo.ninja/api 2.8.66 → 2.8.68
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__/identityHost/schema.d.ts +6 -2
- package/build/graphql_tools/__generated__/identityHost/schema.js +2 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +39 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +8 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -236,6 +236,7 @@ export type IMyProfileV2 = {
|
|
|
236
236
|
deletedAt?: Maybe<Scalars['Long']>;
|
|
237
237
|
visible?: Maybe<Scalars['Boolean']>;
|
|
238
238
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
239
|
+
active?: Maybe<Scalars['Boolean']>;
|
|
239
240
|
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
240
241
|
rank?: Maybe<Scalars['Float']>;
|
|
241
242
|
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
@@ -259,6 +260,7 @@ export type IProfile = {
|
|
|
259
260
|
deletedAt?: Maybe<Scalars['Long']>;
|
|
260
261
|
visible?: Maybe<Scalars['Boolean']>;
|
|
261
262
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
263
|
+
active?: Maybe<Scalars['Boolean']>;
|
|
262
264
|
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
263
265
|
rank?: Maybe<Scalars['Float']>;
|
|
264
266
|
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
@@ -548,6 +550,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
548
550
|
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
549
551
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
550
552
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
553
|
+
active?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
551
554
|
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
552
555
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
553
556
|
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
@@ -572,6 +575,7 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
572
575
|
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
573
576
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
574
577
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
578
|
+
active?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
575
579
|
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
576
580
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
577
581
|
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
@@ -832,7 +836,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{
|
|
|
832
836
|
[key: string]: never;
|
|
833
837
|
}>;
|
|
834
838
|
export type IFetchMyProfileV2Query = {
|
|
835
|
-
fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> & {
|
|
839
|
+
fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> & {
|
|
836
840
|
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>;
|
|
837
841
|
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
|
|
838
842
|
inviteCodes?: Maybe<Array<Maybe<(Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'> & {
|
|
@@ -844,7 +848,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
844
848
|
userId: Scalars['ID'];
|
|
845
849
|
}>;
|
|
846
850
|
export type IFetchProfileQuery = {
|
|
847
|
-
fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw'> & {
|
|
851
|
+
fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw'> & {
|
|
848
852
|
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>;
|
|
849
853
|
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
|
|
850
854
|
});
|
|
@@ -817,6 +817,7 @@ exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
|
817
817
|
createdAt
|
|
818
818
|
deletedAt
|
|
819
819
|
visible
|
|
820
|
+
active
|
|
820
821
|
deleted
|
|
821
822
|
showNsfw
|
|
822
823
|
rank
|
|
@@ -888,6 +889,7 @@ exports.FetchProfileDocument = (0, client_1.gql) `
|
|
|
888
889
|
createdAt
|
|
889
890
|
deletedAt
|
|
890
891
|
visible
|
|
892
|
+
active
|
|
891
893
|
deleted
|
|
892
894
|
showNsfw
|
|
893
895
|
wallets {
|
package/package.json
CHANGED
|
@@ -1510,6 +1510,14 @@ export type IUpdateInviteCodeUsagesLimitMutationVariables = Exact<{
|
|
|
1510
1510
|
|
|
1511
1511
|
export type IUpdateInviteCodeUsagesLimitMutation = Pick<IMutation, 'updateInviteCodeUsagesLimit'>;
|
|
1512
1512
|
|
|
1513
|
+
export type IUpdateOpportunityPushStatusMutationVariables = Exact<{
|
|
1514
|
+
opportunityId: Scalars['ID'];
|
|
1515
|
+
isActive: Scalars['Boolean'];
|
|
1516
|
+
}>;
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
export type IUpdateOpportunityPushStatusMutation = Pick<IMutation, 'updateOpportunityPushStatus'>;
|
|
1520
|
+
|
|
1513
1521
|
export type IChangeXpPointsMutationVariables = Exact<{
|
|
1514
1522
|
userId: Scalars['ID'];
|
|
1515
1523
|
pointsDiff: Scalars['Int'];
|
|
@@ -1799,6 +1807,37 @@ export function useUpdateInviteCodeUsagesLimitMutation(baseOptions?: Apollo.Muta
|
|
|
1799
1807
|
export type UpdateInviteCodeUsagesLimitMutationHookResult = ReturnType<typeof useUpdateInviteCodeUsagesLimitMutation>;
|
|
1800
1808
|
export type UpdateInviteCodeUsagesLimitMutationResult = Apollo.MutationResult<IUpdateInviteCodeUsagesLimitMutation>;
|
|
1801
1809
|
export type UpdateInviteCodeUsagesLimitMutationOptions = Apollo.BaseMutationOptions<IUpdateInviteCodeUsagesLimitMutation, IUpdateInviteCodeUsagesLimitMutationVariables>;
|
|
1810
|
+
export const UpdateOpportunityPushStatusDocument = gql`
|
|
1811
|
+
mutation UpdateOpportunityPushStatus($opportunityId: ID!, $isActive: Boolean!) {
|
|
1812
|
+
updateOpportunityPushStatus(opportunityId: $opportunityId, isActive: $isActive)
|
|
1813
|
+
}
|
|
1814
|
+
`;
|
|
1815
|
+
export type IUpdateOpportunityPushStatusMutationFn = Apollo.MutationFunction<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>;
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* __useUpdateOpportunityPushStatusMutation__
|
|
1819
|
+
*
|
|
1820
|
+
* To run a mutation, you first call `useUpdateOpportunityPushStatusMutation` within a React component and pass it any options that fit your needs.
|
|
1821
|
+
* When your component renders, `useUpdateOpportunityPushStatusMutation` returns a tuple that includes:
|
|
1822
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1823
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1824
|
+
*
|
|
1825
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1826
|
+
*
|
|
1827
|
+
* @example
|
|
1828
|
+
* const [updateOpportunityPushStatusMutation, { data, loading, error }] = useUpdateOpportunityPushStatusMutation({
|
|
1829
|
+
* variables: {
|
|
1830
|
+
* opportunityId: // value for 'opportunityId'
|
|
1831
|
+
* isActive: // value for 'isActive'
|
|
1832
|
+
* },
|
|
1833
|
+
* });
|
|
1834
|
+
*/
|
|
1835
|
+
export function useUpdateOpportunityPushStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>) {
|
|
1836
|
+
return Apollo.useMutation<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>(UpdateOpportunityPushStatusDocument, baseOptions);
|
|
1837
|
+
}
|
|
1838
|
+
export type UpdateOpportunityPushStatusMutationHookResult = ReturnType<typeof useUpdateOpportunityPushStatusMutation>;
|
|
1839
|
+
export type UpdateOpportunityPushStatusMutationResult = Apollo.MutationResult<IUpdateOpportunityPushStatusMutation>;
|
|
1840
|
+
export type UpdateOpportunityPushStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateOpportunityPushStatusMutation, IUpdateOpportunityPushStatusMutationVariables>;
|
|
1802
1841
|
export const ChangeXpPointsDocument = gql`
|
|
1803
1842
|
mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
|
|
1804
1843
|
changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
|
|
@@ -292,6 +292,7 @@ export type IMyProfileV2 = {
|
|
|
292
292
|
deletedAt?: Maybe<Scalars['Long']>;
|
|
293
293
|
visible?: Maybe<Scalars['Boolean']>;
|
|
294
294
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
295
|
+
active?: Maybe<Scalars['Boolean']>;
|
|
295
296
|
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
296
297
|
rank?: Maybe<Scalars['Float']>;
|
|
297
298
|
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
@@ -316,6 +317,7 @@ export type IProfile = {
|
|
|
316
317
|
deletedAt?: Maybe<Scalars['Long']>;
|
|
317
318
|
visible?: Maybe<Scalars['Boolean']>;
|
|
318
319
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
320
|
+
active?: Maybe<Scalars['Boolean']>;
|
|
319
321
|
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
320
322
|
rank?: Maybe<Scalars['Float']>;
|
|
321
323
|
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
@@ -691,6 +693,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
691
693
|
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
692
694
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
693
695
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
696
|
+
active?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
694
697
|
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
695
698
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
696
699
|
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
@@ -716,6 +719,7 @@ export type IProfileResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
716
719
|
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
717
720
|
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
718
721
|
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
722
|
+
active?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
719
723
|
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
720
724
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
721
725
|
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
@@ -1019,7 +1023,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
1019
1023
|
|
|
1020
1024
|
|
|
1021
1025
|
export type IFetchMyProfileV2Query = { fetchMyProfileV2: (
|
|
1022
|
-
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>
|
|
1026
|
+
Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>
|
|
1023
1027
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<(
|
|
1024
1028
|
Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'>
|
|
1025
1029
|
& { codeUsers: Array<Pick<IInviteCodeUser, 'inviteeId' | 'usedAt'>> }
|
|
@@ -1032,7 +1036,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
1032
1036
|
|
|
1033
1037
|
|
|
1034
1038
|
export type IFetchProfileQuery = { fetchProfile: (
|
|
1035
|
-
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw'>
|
|
1039
|
+
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw'>
|
|
1036
1040
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>> }
|
|
1037
1041
|
) };
|
|
1038
1042
|
|
|
@@ -1919,6 +1923,7 @@ export const FetchMyProfileV2Document = gql`
|
|
|
1919
1923
|
createdAt
|
|
1920
1924
|
deletedAt
|
|
1921
1925
|
visible
|
|
1926
|
+
active
|
|
1922
1927
|
deleted
|
|
1923
1928
|
showNsfw
|
|
1924
1929
|
rank
|
|
@@ -1992,6 +1997,7 @@ export const FetchProfileDocument = gql`
|
|
|
1992
1997
|
createdAt
|
|
1993
1998
|
deletedAt
|
|
1994
1999
|
visible
|
|
2000
|
+
active
|
|
1995
2001
|
deleted
|
|
1996
2002
|
showNsfw
|
|
1997
2003
|
wallets {
|