@ludo.ninja/api 2.8.62 → 2.8.63

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.
@@ -92,6 +92,7 @@ export type IMutation = {
92
92
  createNonce: Scalars['String'];
93
93
  signInAdminMetamask: IIdentity;
94
94
  signInMetamask: IIdentity;
95
+ signInTon: IIdentity;
95
96
  signInTezos: IIdentity;
96
97
  signInSolana: IIdentity;
97
98
  signInElrond: IIdentity;
@@ -101,6 +102,7 @@ export type IMutation = {
101
102
  addWalletSolana: Scalars['Boolean'];
102
103
  addWalletElrond: Scalars['Boolean'];
103
104
  addWalletFlow: Scalars['Boolean'];
105
+ addWalletTon: Scalars['Boolean'];
104
106
  removeWallet: Scalars['Boolean'];
105
107
  setMainWallet: Scalars['Boolean'];
106
108
  generateNewInviteCodes: Array<IUserInviteCode>;
@@ -127,6 +129,11 @@ export type IMutationSignInMetamaskArgs = {
127
129
  restore?: Maybe<Scalars['Boolean']>;
128
130
  inviteCode?: Maybe<Scalars['String']>;
129
131
  };
132
+ export type IMutationSignInTonArgs = {
133
+ signature: Scalars['String'];
134
+ address: Scalars['String'];
135
+ restore?: Maybe<Scalars['Boolean']>;
136
+ };
130
137
  export type IMutationSignInTezosArgs = {
131
138
  signature: Scalars['String'];
132
139
  pubkey: Scalars['String'];
@@ -172,6 +179,10 @@ export type IMutationAddWalletFlowArgs = {
172
179
  signature: Scalars['String'];
173
180
  address: Scalars['String'];
174
181
  };
182
+ export type IMutationAddWalletTonArgs = {
183
+ signature: Scalars['String'];
184
+ address: Scalars['String'];
185
+ };
175
186
  export type IMutationRemoveWalletArgs = {
176
187
  blockchain: Scalars['String'];
177
188
  address: Scalars['String'];
@@ -505,6 +516,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
505
516
  createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
506
517
  signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
507
518
  signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
519
+ signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'signature' | 'address'>>;
508
520
  signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
509
521
  signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
510
522
  signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
@@ -514,6 +526,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
514
526
  addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
515
527
  addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
516
528
  addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
529
+ addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, 'signature' | 'address'>>;
517
530
  removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
518
531
  setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
519
532
  generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
@@ -799,6 +812,19 @@ export type ISignInTezosMutation = {
799
812
  };
800
813
  });
801
814
  };
815
+ export type ISignInTonMutationVariables = Exact<{
816
+ signature: Scalars['String'];
817
+ address: Scalars['String'];
818
+ restore?: Maybe<Scalars['Boolean']>;
819
+ }>;
820
+ export type ISignInTonMutation = {
821
+ signInTon: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
822
+ tokens: {
823
+ portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
824
+ extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
825
+ };
826
+ });
827
+ };
802
828
  export type IUpdateProfileMutationVariables = Exact<{
803
829
  username?: Maybe<Scalars['String']>;
804
830
  about?: Maybe<Scalars['String']>;
@@ -1330,6 +1356,35 @@ export declare function useSignInTezosMutation(baseOptions?: Apollo.MutationHook
1330
1356
  export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMutation>;
1331
1357
  export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
1332
1358
  export type SignInTezosMutationOptions = Apollo.BaseMutationOptions<ISignInTezosMutation, ISignInTezosMutationVariables>;
1359
+ export declare const SignInTonDocument: Apollo.DocumentNode;
1360
+ export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, ISignInTonMutationVariables>;
1361
+ /**
1362
+ * __useSignInTonMutation__
1363
+ *
1364
+ * To run a mutation, you first call `useSignInTonMutation` within a React component and pass it any options that fit your needs.
1365
+ * When your component renders, `useSignInTonMutation` returns a tuple that includes:
1366
+ * - A mutate function that you can call at any time to execute the mutation
1367
+ * - An object with fields that represent the current status of the mutation's execution
1368
+ *
1369
+ * @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;
1370
+ *
1371
+ * @example
1372
+ * const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
1373
+ * variables: {
1374
+ * signature: // value for 'signature'
1375
+ * address: // value for 'address'
1376
+ * restore: // value for 'restore'
1377
+ * },
1378
+ * });
1379
+ */
1380
+ export declare function useSignInTonMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTonMutation, ISignInTonMutationVariables>): Apollo.MutationTuple<ISignInTonMutation, Exact<{
1381
+ signature: string;
1382
+ address: string;
1383
+ restore?: Maybe<boolean> | undefined;
1384
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1385
+ export type SignInTonMutationHookResult = ReturnType<typeof useSignInTonMutation>;
1386
+ export type SignInTonMutationResult = Apollo.MutationResult<ISignInTonMutation>;
1387
+ export type SignInTonMutationOptions = Apollo.BaseMutationOptions<ISignInTonMutation, ISignInTonMutationVariables>;
1333
1388
  export declare const UpdateProfileDocument: Apollo.DocumentNode;
1334
1389
  export type IUpdateProfileMutationFn = Apollo.MutationFunction<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
1335
1390
  /**
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMyProfileLazyQuery = exports.useFetchMyProfileQuery = exports.FetchMyProfileDocument = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.IRole = void 0;
27
- exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = void 0;
26
+ exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMyProfileLazyQuery = exports.useFetchMyProfileQuery = exports.FetchMyProfileDocument = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.IRole = void 0;
27
+ exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  var IRole;
@@ -596,6 +596,50 @@ function useSignInTezosMutation(baseOptions) {
596
596
  return Apollo.useMutation(exports.SignInTezosDocument, baseOptions);
597
597
  }
598
598
  exports.useSignInTezosMutation = useSignInTezosMutation;
599
+ exports.SignInTonDocument = (0, client_1.gql) `
600
+ mutation SignInTon($signature: String!, $address: String!, $restore: Boolean) {
601
+ signInTon(signature: $signature, address: $address, restore: $restore) {
602
+ userId
603
+ wallets
604
+ tokens {
605
+ portalTokenPair {
606
+ authToken
607
+ refreshToken
608
+ }
609
+ extensionTokenPair {
610
+ authToken
611
+ refreshToken
612
+ }
613
+ }
614
+ newUser
615
+ inviteCode
616
+ role
617
+ }
618
+ }
619
+ `;
620
+ /**
621
+ * __useSignInTonMutation__
622
+ *
623
+ * To run a mutation, you first call `useSignInTonMutation` within a React component and pass it any options that fit your needs.
624
+ * When your component renders, `useSignInTonMutation` returns a tuple that includes:
625
+ * - A mutate function that you can call at any time to execute the mutation
626
+ * - An object with fields that represent the current status of the mutation's execution
627
+ *
628
+ * @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;
629
+ *
630
+ * @example
631
+ * const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
632
+ * variables: {
633
+ * signature: // value for 'signature'
634
+ * address: // value for 'address'
635
+ * restore: // value for 'restore'
636
+ * },
637
+ * });
638
+ */
639
+ function useSignInTonMutation(baseOptions) {
640
+ return Apollo.useMutation(exports.SignInTonDocument, baseOptions);
641
+ }
642
+ exports.useSignInTonMutation = useSignInTonMutation;
599
643
  exports.UpdateProfileDocument = (0, client_1.gql) `
600
644
  mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
601
645
  updateProfile(
package/build/index.d.ts CHANGED
@@ -612,6 +612,15 @@ declare const schema: {
612
612
  signature: string;
613
613
  pubkey: string;
614
614
  }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
615
+ useSignInTonMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.ISignInTonMutation, identitySchema.Exact<{
616
+ signature: string;
617
+ address: string;
618
+ restore?: identitySchema.Maybe<boolean> | undefined;
619
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<identitySchema.ISignInTonMutation, identitySchema.Exact<{
620
+ signature: string;
621
+ address: string;
622
+ restore?: identitySchema.Maybe<boolean> | undefined;
623
+ }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
615
624
  useUpdateProfileMutation(baseOptions?: import("@apollo/client").MutationHookOptions<identitySchema.IUpdateProfileMutation, identitySchema.Exact<{
616
625
  username?: identitySchema.Maybe<string> | undefined;
617
626
  about?: identitySchema.Maybe<string> | undefined;
@@ -707,6 +716,7 @@ declare const schema: {
707
716
  SignInMetamaskDocument: import("graphql").DocumentNode;
708
717
  SignInSolanaDocument: import("graphql").DocumentNode;
709
718
  SignInTezosDocument: import("graphql").DocumentNode;
719
+ SignInTonDocument: import("graphql").DocumentNode;
710
720
  UpdateProfileDocument: import("graphql").DocumentNode;
711
721
  FetchMultiversXAuditDocument: import("graphql").DocumentNode;
712
722
  FetchMyProfileDocument: import("graphql").DocumentNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.8.62",
3
+ "version": "2.8.63",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -101,6 +101,7 @@ export type IMutation = {
101
101
  createNonce: Scalars['String'];
102
102
  signInAdminMetamask: IIdentity;
103
103
  signInMetamask: IIdentity;
104
+ signInTon: IIdentity;
104
105
  signInTezos: IIdentity;
105
106
  signInSolana: IIdentity;
106
107
  signInElrond: IIdentity;
@@ -110,6 +111,7 @@ export type IMutation = {
110
111
  addWalletSolana: Scalars['Boolean'];
111
112
  addWalletElrond: Scalars['Boolean'];
112
113
  addWalletFlow: Scalars['Boolean'];
114
+ addWalletTon: Scalars['Boolean'];
113
115
  removeWallet: Scalars['Boolean'];
114
116
  setMainWallet: Scalars['Boolean'];
115
117
  generateNewInviteCodes: Array<IUserInviteCode>;
@@ -144,6 +146,13 @@ export type IMutationSignInMetamaskArgs = {
144
146
  };
145
147
 
146
148
 
149
+ export type IMutationSignInTonArgs = {
150
+ signature: Scalars['String'];
151
+ address: Scalars['String'];
152
+ restore?: Maybe<Scalars['Boolean']>;
153
+ };
154
+
155
+
147
156
  export type IMutationSignInTezosArgs = {
148
157
  signature: Scalars['String'];
149
158
  pubkey: Scalars['String'];
@@ -207,6 +216,12 @@ export type IMutationAddWalletFlowArgs = {
207
216
  };
208
217
 
209
218
 
219
+ export type IMutationAddWalletTonArgs = {
220
+ signature: Scalars['String'];
221
+ address: Scalars['String'];
222
+ };
223
+
224
+
210
225
  export type IMutationRemoveWalletArgs = {
211
226
  blockchain: Scalars['String'];
212
227
  address: Scalars['String'];
@@ -641,6 +656,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
641
656
  createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
642
657
  signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
643
658
  signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
659
+ signInTon?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTonArgs, 'signature' | 'address'>>;
644
660
  signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
645
661
  signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
646
662
  signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
@@ -650,6 +666,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
650
666
  addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
651
667
  addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
652
668
  addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
669
+ addWalletTon?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTonArgs, 'signature' | 'address'>>;
653
670
  removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
654
671
  setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
655
672
  generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
@@ -972,6 +989,18 @@ export type ISignInTezosMutation = { signInTezos: (
972
989
  & { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
973
990
  ) };
974
991
 
992
+ export type ISignInTonMutationVariables = Exact<{
993
+ signature: Scalars['String'];
994
+ address: Scalars['String'];
995
+ restore?: Maybe<Scalars['Boolean']>;
996
+ }>;
997
+
998
+
999
+ export type ISignInTonMutation = { signInTon: (
1000
+ Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'>
1001
+ & { tokens: { portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>, extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'> } }
1002
+ ) };
1003
+
975
1004
  export type IUpdateProfileMutationVariables = Exact<{
976
1005
  username?: Maybe<Scalars['String']>;
977
1006
  about?: Maybe<Scalars['String']>;
@@ -1672,6 +1701,54 @@ export function useSignInTezosMutation(baseOptions?: Apollo.MutationHookOptions<
1672
1701
  export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMutation>;
1673
1702
  export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
1674
1703
  export type SignInTezosMutationOptions = Apollo.BaseMutationOptions<ISignInTezosMutation, ISignInTezosMutationVariables>;
1704
+ export const SignInTonDocument = gql`
1705
+ mutation SignInTon($signature: String!, $address: String!, $restore: Boolean) {
1706
+ signInTon(signature: $signature, address: $address, restore: $restore) {
1707
+ userId
1708
+ wallets
1709
+ tokens {
1710
+ portalTokenPair {
1711
+ authToken
1712
+ refreshToken
1713
+ }
1714
+ extensionTokenPair {
1715
+ authToken
1716
+ refreshToken
1717
+ }
1718
+ }
1719
+ newUser
1720
+ inviteCode
1721
+ role
1722
+ }
1723
+ }
1724
+ `;
1725
+ export type ISignInTonMutationFn = Apollo.MutationFunction<ISignInTonMutation, ISignInTonMutationVariables>;
1726
+
1727
+ /**
1728
+ * __useSignInTonMutation__
1729
+ *
1730
+ * To run a mutation, you first call `useSignInTonMutation` within a React component and pass it any options that fit your needs.
1731
+ * When your component renders, `useSignInTonMutation` returns a tuple that includes:
1732
+ * - A mutate function that you can call at any time to execute the mutation
1733
+ * - An object with fields that represent the current status of the mutation's execution
1734
+ *
1735
+ * @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;
1736
+ *
1737
+ * @example
1738
+ * const [signInTonMutation, { data, loading, error }] = useSignInTonMutation({
1739
+ * variables: {
1740
+ * signature: // value for 'signature'
1741
+ * address: // value for 'address'
1742
+ * restore: // value for 'restore'
1743
+ * },
1744
+ * });
1745
+ */
1746
+ export function useSignInTonMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTonMutation, ISignInTonMutationVariables>) {
1747
+ return Apollo.useMutation<ISignInTonMutation, ISignInTonMutationVariables>(SignInTonDocument, baseOptions);
1748
+ }
1749
+ export type SignInTonMutationHookResult = ReturnType<typeof useSignInTonMutation>;
1750
+ export type SignInTonMutationResult = Apollo.MutationResult<ISignInTonMutation>;
1751
+ export type SignInTonMutationOptions = Apollo.BaseMutationOptions<ISignInTonMutation, ISignInTonMutationVariables>;
1675
1752
  export const UpdateProfileDocument = gql`
1676
1753
  mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
1677
1754
  updateProfile(