@portkey/graphql 0.0.1-alpha.9.0 → 0.0.2-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/README.md +1 -0
  2. package/dist/commonjs/client.d.ts +3 -0
  3. package/dist/{client.js → commonjs/client.js} +0 -1
  4. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderInfo.d.ts +16 -1
  5. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderInfo.js +16 -1
  6. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +16 -1
  7. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerChangeRecordInfo.js +16 -1
  8. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerInfo.d.ts +16 -1
  9. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerInfo.js +16 -1
  10. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTBalanceInfo.d.ts +16 -1
  11. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTBalanceInfo.js +16 -1
  12. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts +16 -1
  13. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTCollectionBalanceInfo.js +16 -1
  14. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderSearchTokenNFT.d.ts +16 -1
  15. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderSearchTokenNFT.js +16 -1
  16. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +16 -1
  17. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTokenBalanceInfo.js +16 -1
  18. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransaction.d.ts +16 -1
  19. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransaction.js +16 -1
  20. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +16 -1
  21. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionAddressInfo.js +16 -1
  22. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionInfo.d.ts +16 -1
  23. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionInfo.js +16 -1
  24. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts +16 -1
  25. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianChangeRecordInfo.js +16 -1
  26. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianInfo.d.ts +16 -1
  27. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianInfo.js +16 -1
  28. package/dist/{did → commonjs/did}/__generated__/hooks/syncState.d.ts +16 -1
  29. package/dist/{did → commonjs/did}/__generated__/hooks/syncState.js +16 -1
  30. package/dist/{did → commonjs/did}/__generated__/hooks/tokenInfo.d.ts +16 -1
  31. package/dist/{did → commonjs/did}/__generated__/hooks/tokenInfo.js +16 -1
  32. package/dist/{did → commonjs/did}/__generated__/types.d.ts +1 -1
  33. package/dist/{did → commonjs/did}/__generated__/types.js +0 -1
  34. package/dist/{did → commonjs/did}/index.d.ts +0 -2
  35. package/dist/{did → commonjs/did}/index.js +0 -1
  36. package/dist/commonjs/did/utils.d.ts +6 -0
  37. package/dist/{did → commonjs/did}/utils.js +2 -1
  38. package/dist/{index.d.ts → commonjs/index.d.ts} +0 -1
  39. package/dist/{index.js → commonjs/index.js} +0 -1
  40. package/dist/commonjs/package.json +1 -0
  41. package/dist/{types → commonjs/types}/did.d.ts +1 -2
  42. package/dist/{types → commonjs/types}/did.js +0 -1
  43. package/dist/commonjs/types/index.d.ts +8 -0
  44. package/dist/{types → commonjs/types}/index.js +0 -1
  45. package/dist/esm/client.d.ts +3 -0
  46. package/dist/esm/client.js +11 -0
  47. package/dist/esm/did/__generated__/hooks/caHolderInfo.d.ts +58 -0
  48. package/dist/esm/did/__generated__/hooks/caHolderInfo.js +51 -0
  49. package/dist/esm/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +42 -0
  50. package/dist/esm/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js +38 -0
  51. package/dist/esm/did/__generated__/hooks/caHolderManagerInfo.d.ts +47 -0
  52. package/dist/esm/did/__generated__/hooks/caHolderManagerInfo.js +42 -0
  53. package/dist/esm/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts +60 -0
  54. package/dist/esm/did/__generated__/hooks/caHolderNFTBalanceInfo.js +54 -0
  55. package/dist/esm/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts +58 -0
  56. package/dist/esm/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.js +52 -0
  57. package/dist/esm/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts +77 -0
  58. package/dist/esm/did/__generated__/hooks/caHolderSearchTokenNFT.js +70 -0
  59. package/dist/esm/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +62 -0
  60. package/dist/esm/did/__generated__/hooks/caHolderTokenBalanceInfo.js +56 -0
  61. package/dist/esm/did/__generated__/hooks/caHolderTransaction.d.ts +98 -0
  62. package/dist/esm/did/__generated__/hooks/caHolderTransaction.js +89 -0
  63. package/dist/esm/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +46 -0
  64. package/dist/esm/did/__generated__/hooks/caHolderTransactionAddressInfo.js +41 -0
  65. package/dist/esm/did/__generated__/hooks/caHolderTransactionInfo.d.ts +98 -0
  66. package/dist/esm/did/__generated__/hooks/caHolderTransactionInfo.js +89 -0
  67. package/dist/esm/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts +52 -0
  68. package/dist/esm/did/__generated__/hooks/loginGuardianChangeRecordInfo.js +47 -0
  69. package/dist/esm/did/__generated__/hooks/loginGuardianInfo.d.ts +50 -0
  70. package/dist/esm/did/__generated__/hooks/loginGuardianInfo.js +45 -0
  71. package/dist/esm/did/__generated__/hooks/syncState.d.ts +38 -0
  72. package/dist/esm/did/__generated__/hooks/syncState.js +34 -0
  73. package/dist/esm/did/__generated__/hooks/tokenInfo.d.ts +51 -0
  74. package/dist/esm/did/__generated__/hooks/tokenInfo.js +47 -0
  75. package/dist/esm/did/__generated__/types.d.ts +416 -0
  76. package/dist/esm/did/__generated__/types.js +22 -0
  77. package/dist/esm/did/index.d.ts +13 -0
  78. package/dist/esm/did/index.js +53 -0
  79. package/dist/esm/did/utils.d.ts +6 -0
  80. package/dist/esm/did/utils.js +28 -0
  81. package/dist/esm/index.d.ts +3 -0
  82. package/dist/esm/index.js +3 -0
  83. package/dist/esm/package.json +1 -0
  84. package/dist/esm/types/did.d.ts +10 -0
  85. package/dist/esm/types/did.js +1 -0
  86. package/dist/esm/types/index.d.ts +8 -0
  87. package/dist/esm/types/index.js +6 -0
  88. package/dist/types/client.d.ts.map +1 -0
  89. package/dist/types/did/__generated__/hooks/caHolderInfo.d.ts +59 -0
  90. package/dist/types/did/__generated__/hooks/caHolderInfo.d.ts.map +1 -0
  91. package/dist/types/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +43 -0
  92. package/dist/types/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts.map +1 -0
  93. package/dist/types/did/__generated__/hooks/caHolderManagerInfo.d.ts +48 -0
  94. package/dist/types/did/__generated__/hooks/caHolderManagerInfo.d.ts.map +1 -0
  95. package/dist/types/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts +61 -0
  96. package/dist/types/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts.map +1 -0
  97. package/dist/types/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts +59 -0
  98. package/dist/types/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts.map +1 -0
  99. package/dist/types/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts +78 -0
  100. package/dist/types/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts.map +1 -0
  101. package/dist/types/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +63 -0
  102. package/dist/types/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts.map +1 -0
  103. package/dist/types/did/__generated__/hooks/caHolderTransaction.d.ts +99 -0
  104. package/dist/types/did/__generated__/hooks/caHolderTransaction.d.ts.map +1 -0
  105. package/dist/types/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +47 -0
  106. package/dist/types/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts.map +1 -0
  107. package/dist/types/did/__generated__/hooks/caHolderTransactionInfo.d.ts +99 -0
  108. package/dist/types/did/__generated__/hooks/caHolderTransactionInfo.d.ts.map +1 -0
  109. package/dist/types/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts +53 -0
  110. package/dist/types/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts.map +1 -0
  111. package/dist/types/did/__generated__/hooks/loginGuardianInfo.d.ts +51 -0
  112. package/dist/types/did/__generated__/hooks/loginGuardianInfo.d.ts.map +1 -0
  113. package/dist/types/did/__generated__/hooks/syncState.d.ts +39 -0
  114. package/dist/types/did/__generated__/hooks/syncState.d.ts.map +1 -0
  115. package/dist/types/did/__generated__/hooks/tokenInfo.d.ts +52 -0
  116. package/dist/types/did/__generated__/hooks/tokenInfo.d.ts.map +1 -0
  117. package/dist/types/did/__generated__/types.d.ts +417 -0
  118. package/dist/types/did/__generated__/types.d.ts.map +1 -0
  119. package/dist/types/did/index.d.ts +14 -0
  120. package/dist/types/did/index.d.ts.map +1 -0
  121. package/dist/types/did/utils.d.ts.map +1 -0
  122. package/dist/types/index.d.ts +2 -7
  123. package/dist/types/index.d.ts.map +1 -1
  124. package/dist/types/types/did.d.ts +11 -0
  125. package/dist/types/types/did.d.ts.map +1 -0
  126. package/dist/types/types/index.d.ts +9 -0
  127. package/dist/types/types/index.d.ts.map +1 -0
  128. package/package.json +19 -8
  129. package/dist/client.d.ts.map +0 -1
  130. package/dist/client.js.map +0 -1
  131. package/dist/did/__generated__/hooks/caHolderInfo.d.ts.map +0 -1
  132. package/dist/did/__generated__/hooks/caHolderInfo.js.map +0 -1
  133. package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts.map +0 -1
  134. package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js.map +0 -1
  135. package/dist/did/__generated__/hooks/caHolderManagerInfo.d.ts.map +0 -1
  136. package/dist/did/__generated__/hooks/caHolderManagerInfo.js.map +0 -1
  137. package/dist/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts.map +0 -1
  138. package/dist/did/__generated__/hooks/caHolderNFTBalanceInfo.js.map +0 -1
  139. package/dist/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts.map +0 -1
  140. package/dist/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.js.map +0 -1
  141. package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts.map +0 -1
  142. package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.js.map +0 -1
  143. package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts.map +0 -1
  144. package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.js.map +0 -1
  145. package/dist/did/__generated__/hooks/caHolderTransaction.d.ts.map +0 -1
  146. package/dist/did/__generated__/hooks/caHolderTransaction.js.map +0 -1
  147. package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts.map +0 -1
  148. package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.js.map +0 -1
  149. package/dist/did/__generated__/hooks/caHolderTransactionInfo.d.ts.map +0 -1
  150. package/dist/did/__generated__/hooks/caHolderTransactionInfo.js.map +0 -1
  151. package/dist/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts.map +0 -1
  152. package/dist/did/__generated__/hooks/loginGuardianChangeRecordInfo.js.map +0 -1
  153. package/dist/did/__generated__/hooks/loginGuardianInfo.d.ts.map +0 -1
  154. package/dist/did/__generated__/hooks/loginGuardianInfo.js.map +0 -1
  155. package/dist/did/__generated__/hooks/syncState.d.ts.map +0 -1
  156. package/dist/did/__generated__/hooks/syncState.js.map +0 -1
  157. package/dist/did/__generated__/hooks/tokenInfo.d.ts.map +0 -1
  158. package/dist/did/__generated__/hooks/tokenInfo.js.map +0 -1
  159. package/dist/did/__generated__/types.d.ts.map +0 -1
  160. package/dist/did/__generated__/types.js.map +0 -1
  161. package/dist/did/index.d.ts.map +0 -1
  162. package/dist/did/index.js.map +0 -1
  163. package/dist/did/utils.d.ts.map +0 -1
  164. package/dist/did/utils.js.map +0 -1
  165. package/dist/index.d.ts.map +0 -1
  166. package/dist/index.js.map +0 -1
  167. package/dist/types/did.d.ts.map +0 -1
  168. package/dist/types/did.js.map +0 -1
  169. package/dist/types/index.js.map +0 -1
  170. /package/dist/{client.d.ts → types/client.d.ts} +0 -0
  171. /package/dist/{did → types/did}/utils.d.ts +0 -0
@@ -23,6 +23,22 @@ export type LoginGuardianInfoQuery = {
23
23
  } | null> | null;
24
24
  };
25
25
  export declare const LoginGuardianInfoDocument: Apollo.DocumentNode;
26
+ /**
27
+ * __useLoginGuardianInfoQuery__
28
+ *
29
+ * To run a query within a React component, call `useLoginGuardianInfoQuery` and pass it any options that fit your needs.
30
+ * When your component renders, `useLoginGuardianInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
31
+ * you can use to render your UI.
32
+ *
33
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
34
+ *
35
+ * @example
36
+ * const { data, loading, error } = useLoginGuardianInfoQuery({
37
+ * variables: {
38
+ * dto: // value for 'dto'
39
+ * },
40
+ * });
41
+ */
26
42
  export declare function useLoginGuardianInfoQuery(baseOptions?: Apollo.QueryHookOptions<LoginGuardianInfoQuery, LoginGuardianInfoQueryVariables>): Apollo.QueryResult<LoginGuardianInfoQuery, Types.Exact<{
27
43
  dto?: Types.InputMaybe<Types.GetLoginGuardianInfoDto> | undefined;
28
44
  }>>;
@@ -32,4 +48,3 @@ export declare function useLoginGuardianInfoLazyQuery(baseOptions?: Apollo.LazyQ
32
48
  export type LoginGuardianInfoQueryHookResult = ReturnType<typeof useLoginGuardianInfoQuery>;
33
49
  export type LoginGuardianInfoLazyQueryHookResult = ReturnType<typeof useLoginGuardianInfoLazyQuery>;
34
50
  export type LoginGuardianInfoQueryResult = Apollo.QueryResult<LoginGuardianInfoQuery, LoginGuardianInfoQueryVariables>;
35
- //# sourceMappingURL=loginGuardianInfo.d.ts.map
@@ -45,6 +45,22 @@ exports.LoginGuardianInfoDocument = (0, client_1.gql) `
45
45
  }
46
46
  }
47
47
  `;
48
+ /**
49
+ * __useLoginGuardianInfoQuery__
50
+ *
51
+ * To run a query within a React component, call `useLoginGuardianInfoQuery` and pass it any options that fit your needs.
52
+ * When your component renders, `useLoginGuardianInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
53
+ * you can use to render your UI.
54
+ *
55
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
56
+ *
57
+ * @example
58
+ * const { data, loading, error } = useLoginGuardianInfoQuery({
59
+ * variables: {
60
+ * dto: // value for 'dto'
61
+ * },
62
+ * });
63
+ */
48
64
  function useLoginGuardianInfoQuery(baseOptions) {
49
65
  const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
50
66
  return Apollo.useQuery(exports.LoginGuardianInfoDocument, options);
@@ -55,4 +71,3 @@ function useLoginGuardianInfoLazyQuery(baseOptions) {
55
71
  return Apollo.useLazyQuery(exports.LoginGuardianInfoDocument, options);
56
72
  }
57
73
  exports.useLoginGuardianInfoLazyQuery = useLoginGuardianInfoLazyQuery;
58
- //# sourceMappingURL=loginGuardianInfo.js.map
@@ -11,6 +11,22 @@ export type SyncStateQuery = {
11
11
  } | null;
12
12
  };
13
13
  export declare const SyncStateDocument: Apollo.DocumentNode;
14
+ /**
15
+ * __useSyncStateQuery__
16
+ *
17
+ * To run a query within a React component, call `useSyncStateQuery` and pass it any options that fit your needs.
18
+ * When your component renders, `useSyncStateQuery` returns an object from Apollo Client that contains loading, error, and data properties
19
+ * you can use to render your UI.
20
+ *
21
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
22
+ *
23
+ * @example
24
+ * const { data, loading, error } = useSyncStateQuery({
25
+ * variables: {
26
+ * dto: // value for 'dto'
27
+ * },
28
+ * });
29
+ */
14
30
  export declare function useSyncStateQuery(baseOptions?: Apollo.QueryHookOptions<SyncStateQuery, SyncStateQueryVariables>): Apollo.QueryResult<SyncStateQuery, Types.Exact<{
15
31
  dto?: Types.InputMaybe<Types.GetSyncStateDto> | undefined;
16
32
  }>>;
@@ -20,4 +36,3 @@ export declare function useSyncStateLazyQuery(baseOptions?: Apollo.LazyQueryHook
20
36
  export type SyncStateQueryHookResult = ReturnType<typeof useSyncStateQuery>;
21
37
  export type SyncStateLazyQueryHookResult = ReturnType<typeof useSyncStateLazyQuery>;
22
38
  export type SyncStateQueryResult = Apollo.QueryResult<SyncStateQuery, SyncStateQueryVariables>;
23
- //# sourceMappingURL=syncState.d.ts.map
@@ -34,6 +34,22 @@ exports.SyncStateDocument = (0, client_1.gql) `
34
34
  }
35
35
  }
36
36
  `;
37
+ /**
38
+ * __useSyncStateQuery__
39
+ *
40
+ * To run a query within a React component, call `useSyncStateQuery` and pass it any options that fit your needs.
41
+ * When your component renders, `useSyncStateQuery` returns an object from Apollo Client that contains loading, error, and data properties
42
+ * you can use to render your UI.
43
+ *
44
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
45
+ *
46
+ * @example
47
+ * const { data, loading, error } = useSyncStateQuery({
48
+ * variables: {
49
+ * dto: // value for 'dto'
50
+ * },
51
+ * });
52
+ */
37
53
  function useSyncStateQuery(baseOptions) {
38
54
  const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
39
55
  return Apollo.useQuery(exports.SyncStateDocument, options);
@@ -44,4 +60,3 @@ function useSyncStateLazyQuery(baseOptions) {
44
60
  return Apollo.useLazyQuery(exports.SyncStateDocument, options);
45
61
  }
46
62
  exports.useSyncStateLazyQuery = useSyncStateLazyQuery;
47
- //# sourceMappingURL=syncState.js.map
@@ -24,6 +24,22 @@ export type TokenInfoQuery = {
24
24
  } | null> | null;
25
25
  };
26
26
  export declare const TokenInfoDocument: Apollo.DocumentNode;
27
+ /**
28
+ * __useTokenInfoQuery__
29
+ *
30
+ * To run a query within a React component, call `useTokenInfoQuery` and pass it any options that fit your needs.
31
+ * When your component renders, `useTokenInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
32
+ * you can use to render your UI.
33
+ *
34
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
35
+ *
36
+ * @example
37
+ * const { data, loading, error } = useTokenInfoQuery({
38
+ * variables: {
39
+ * dto: // value for 'dto'
40
+ * },
41
+ * });
42
+ */
27
43
  export declare function useTokenInfoQuery(baseOptions?: Apollo.QueryHookOptions<TokenInfoQuery, TokenInfoQueryVariables>): Apollo.QueryResult<TokenInfoQuery, Types.Exact<{
28
44
  dto?: Types.InputMaybe<Types.GetTokenInfoDto> | undefined;
29
45
  }>>;
@@ -33,4 +49,3 @@ export declare function useTokenInfoLazyQuery(baseOptions?: Apollo.LazyQueryHook
33
49
  export type TokenInfoQueryHookResult = ReturnType<typeof useTokenInfoQuery>;
34
50
  export type TokenInfoLazyQueryHookResult = ReturnType<typeof useTokenInfoLazyQuery>;
35
51
  export type TokenInfoQueryResult = Apollo.QueryResult<TokenInfoQuery, TokenInfoQueryVariables>;
36
- //# sourceMappingURL=tokenInfo.d.ts.map
@@ -47,6 +47,22 @@ exports.TokenInfoDocument = (0, client_1.gql) `
47
47
  }
48
48
  }
49
49
  `;
50
+ /**
51
+ * __useTokenInfoQuery__
52
+ *
53
+ * To run a query within a React component, call `useTokenInfoQuery` and pass it any options that fit your needs.
54
+ * When your component renders, `useTokenInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
55
+ * you can use to render your UI.
56
+ *
57
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
58
+ *
59
+ * @example
60
+ * const { data, loading, error } = useTokenInfoQuery({
61
+ * variables: {
62
+ * dto: // value for 'dto'
63
+ * },
64
+ * });
65
+ */
50
66
  function useTokenInfoQuery(baseOptions) {
51
67
  const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
52
68
  return Apollo.useQuery(exports.TokenInfoDocument, options);
@@ -57,4 +73,3 @@ function useTokenInfoLazyQuery(baseOptions) {
57
73
  return Apollo.useLazyQuery(exports.TokenInfoDocument, options);
58
74
  }
59
75
  exports.useTokenInfoLazyQuery = useTokenInfoLazyQuery;
60
- //# sourceMappingURL=tokenInfo.js.map
@@ -11,6 +11,7 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
11
11
  export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
12
  [SubKey in K]: Maybe<T[SubKey]>;
13
13
  };
14
+ /** All built-in and custom scalars, mapped to their actual values */
14
15
  export type Scalars = {
15
16
  ID: string;
16
17
  String: string;
@@ -413,4 +414,3 @@ export type TransferInfo = {
413
414
  toChainId?: Maybe<Scalars['String']>;
414
415
  transferTransactionId?: Maybe<Scalars['String']>;
415
416
  };
416
- //# sourceMappingURL=types.d.ts.map
@@ -23,4 +23,3 @@ var TransactionStatus;
23
23
  TransactionStatus["Pending"] = "PENDING";
24
24
  TransactionStatus["PendingValidation"] = "PENDING_VALIDATION";
25
25
  })(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
26
- //# sourceMappingURL=types.js.map
@@ -3,7 +3,6 @@ import { CaHolderWithGuardian, IDIDGraphQL } from '../types/did';
3
3
  import { GetCaHolderManagerInfoDto } from './__generated__/types';
4
4
  export declare class DIDGraphQL<T extends IGraphQLClient = IGraphQLClient> extends BaseGraphQL<T> implements IDIDGraphQL {
5
5
  protected _config?: any;
6
- protected readonly _client: T;
7
6
  constructor({ client, config }: {
8
7
  client?: T;
9
8
  config?: any;
@@ -12,4 +11,3 @@ export declare class DIDGraphQL<T extends IGraphQLClient = IGraphQLClient> exten
12
11
  caHolderManagerInfo: CaHolderWithGuardian[];
13
12
  }>;
14
13
  }
15
- //# sourceMappingURL=index.d.ts.map
@@ -55,4 +55,3 @@ class DIDGraphQL extends types_1.BaseGraphQL {
55
55
  }
56
56
  }
57
57
  exports.DIDGraphQL = DIDGraphQL;
58
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ import { CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables } from './__generated__/hooks/caHolderManagerInfo';
2
+ import { LoginGuardianInfoQuery, LoginGuardianInfoQueryVariables } from './__generated__/hooks/loginGuardianInfo';
3
+ import { IGraphQLClient } from '../types';
4
+ declare const getCAHolderManagerInfo: (apolloClient: IGraphQLClient, params: CaHolderManagerInfoQueryVariables) => Promise<import("@apollo/client").ApolloQueryResult<CaHolderManagerInfoQuery>>;
5
+ declare const getLoginGuardianAccount: (apolloClient: IGraphQLClient, params: LoginGuardianInfoQueryVariables) => Promise<import("@apollo/client").ApolloQueryResult<LoginGuardianInfoQuery>>;
6
+ export { getCAHolderManagerInfo, getLoginGuardianAccount };
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.getLoginGuardianAccount = exports.getCAHolderManagerInfo = void 0;
13
13
  const caHolderManagerInfo_1 = require("./__generated__/hooks/caHolderManagerInfo");
14
14
  const loginGuardianInfo_1 = require("./__generated__/hooks/loginGuardianInfo");
15
+ // CAHolderManager
15
16
  const getCAHolderManagerInfo = (apolloClient, params) => __awaiter(void 0, void 0, void 0, function* () {
16
17
  const result = yield apolloClient.query({
17
18
  query: caHolderManagerInfo_1.CaHolderManagerInfoDocument,
@@ -20,6 +21,7 @@ const getCAHolderManagerInfo = (apolloClient, params) => __awaiter(void 0, void
20
21
  return result;
21
22
  });
22
23
  exports.getCAHolderManagerInfo = getCAHolderManagerInfo;
24
+ // LoginGuardianType
23
25
  const getLoginGuardianAccount = (apolloClient, params) => __awaiter(void 0, void 0, void 0, function* () {
24
26
  const result = yield apolloClient.query({
25
27
  query: loginGuardianInfo_1.LoginGuardianInfoDocument,
@@ -28,4 +30,3 @@ const getLoginGuardianAccount = (apolloClient, params) => __awaiter(void 0, void
28
30
  return result;
29
31
  });
30
32
  exports.getLoginGuardianAccount = getLoginGuardianAccount;
31
- //# sourceMappingURL=utils.js.map
@@ -1,4 +1,3 @@
1
1
  export * from './did';
2
2
  export * from './types';
3
3
  export * from './client';
4
- //# sourceMappingURL=index.d.ts.map
@@ -17,4 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./did"), exports);
18
18
  __exportStar(require("./types"), exports);
19
19
  __exportStar(require("./client"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"type": "commonjs"}
@@ -1,5 +1,5 @@
1
1
  import { CaHolderManagerDto, GetCaHolderManagerInfoDto, LoginGuardianDto } from '../did/__generated__/types';
2
- export type GetCAHolderByManagerParamsType = Required<Pick<GetCaHolderManagerInfoDto, 'manager' | 'chainId'>>;
2
+ export type GetCAHolderByManagerParamsType = Partial<Omit<GetCaHolderManagerInfoDto, 'manager' | 'chainId'>> & Required<Pick<GetCaHolderManagerInfoDto, 'manager' | 'chainId'>>;
3
3
  export type CaHolderWithGuardian = CaHolderManagerDto & {
4
4
  loginGuardianInfo: Array<LoginGuardianDto | null>;
5
5
  };
@@ -8,4 +8,3 @@ export interface IDIDGraphQL {
8
8
  caHolderManagerInfo: CaHolderWithGuardian[];
9
9
  }>;
10
10
  }
11
- //# sourceMappingURL=did.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=did.js.map
@@ -0,0 +1,8 @@
1
+ import { ApolloClient, NormalizedCacheObject } from '@apollo/client';
2
+ export interface IGraphQLClient extends ApolloClient<NormalizedCacheObject> {
3
+ }
4
+ export declare abstract class BaseGraphQL<T extends IGraphQLClient = IGraphQLClient> {
5
+ protected readonly _client: T;
6
+ constructor(client: T);
7
+ }
8
+ export * from './did';
@@ -22,4 +22,3 @@ class BaseGraphQL {
22
22
  }
23
23
  exports.BaseGraphQL = BaseGraphQL;
24
24
  __exportStar(require("./did"), exports);
25
- //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ import { DefaultOptions } from '@apollo/client';
2
+ import { IGraphQLClient } from './types/index.js';
3
+ export declare const getGraphQLClientProvider: (graphqlUrl: string, defaultOptions?: DefaultOptions) => IGraphQLClient;
@@ -0,0 +1,11 @@
1
+ import { ApolloClient, InMemoryCache, HttpLink } from '@apollo/client';
2
+ export const getGraphQLClientProvider = (graphqlUrl, defaultOptions = {}) => new ApolloClient({
3
+ cache: new InMemoryCache(),
4
+ queryDeduplication: false,
5
+ defaultOptions: Object.assign({ watchQuery: {
6
+ fetchPolicy: 'cache-and-network',
7
+ }, query: {
8
+ fetchPolicy: 'network-only',
9
+ } }, defaultOptions),
10
+ link: new HttpLink({ uri: graphqlUrl }),
11
+ });
@@ -0,0 +1,58 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderInfoDto>;
5
+ }>;
6
+ export type CaHolderInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderInfo?: Array<{
9
+ __typename?: 'CAHolderInfoDto';
10
+ id?: string | null;
11
+ chainId?: string | null;
12
+ caHash?: string | null;
13
+ caAddress?: string | null;
14
+ originChainId?: string | null;
15
+ managerInfos?: Array<{
16
+ __typename?: 'ManagerInfo';
17
+ address?: string | null;
18
+ extraData?: string | null;
19
+ } | null> | null;
20
+ guardianList?: {
21
+ __typename?: 'GuardianList';
22
+ guardians?: Array<{
23
+ __typename?: 'Guardian';
24
+ type: number;
25
+ verifierId?: string | null;
26
+ identifierHash?: string | null;
27
+ salt?: string | null;
28
+ isLoginGuardian: boolean;
29
+ } | null> | null;
30
+ } | null;
31
+ } | null> | null;
32
+ };
33
+ export declare const CaHolderInfoDocument: Apollo.DocumentNode;
34
+ /**
35
+ * __useCaHolderInfoQuery__
36
+ *
37
+ * To run a query within a React component, call `useCaHolderInfoQuery` and pass it any options that fit your needs.
38
+ * When your component renders, `useCaHolderInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
39
+ * you can use to render your UI.
40
+ *
41
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
42
+ *
43
+ * @example
44
+ * const { data, loading, error } = useCaHolderInfoQuery({
45
+ * variables: {
46
+ * dto: // value for 'dto'
47
+ * },
48
+ * });
49
+ */
50
+ export declare function useCaHolderInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderInfoQuery, CaHolderInfoQueryVariables>): Apollo.QueryResult<CaHolderInfoQuery, Types.Exact<{
51
+ dto?: Types.InputMaybe<Types.GetCaHolderInfoDto> | undefined;
52
+ }>>;
53
+ export declare function useCaHolderInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderInfoQuery, CaHolderInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderInfoQuery, Types.Exact<{
54
+ dto?: Types.InputMaybe<Types.GetCaHolderInfoDto> | undefined;
55
+ }>>;
56
+ export type CaHolderInfoQueryHookResult = ReturnType<typeof useCaHolderInfoQuery>;
57
+ export type CaHolderInfoLazyQueryHookResult = ReturnType<typeof useCaHolderInfoLazyQuery>;
58
+ export type CaHolderInfoQueryResult = Apollo.QueryResult<CaHolderInfoQuery, CaHolderInfoQueryVariables>;
@@ -0,0 +1,51 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderInfoDocument = gql `
5
+ query caHolderInfo($dto: GetCAHolderInfoDto) {
6
+ caHolderInfo(dto: $dto) {
7
+ id
8
+ chainId
9
+ caHash
10
+ caAddress
11
+ managerInfos {
12
+ address
13
+ extraData
14
+ }
15
+ originChainId
16
+ guardianList {
17
+ guardians {
18
+ type
19
+ verifierId
20
+ identifierHash
21
+ salt
22
+ isLoginGuardian
23
+ }
24
+ }
25
+ }
26
+ }
27
+ `;
28
+ /**
29
+ * __useCaHolderInfoQuery__
30
+ *
31
+ * To run a query within a React component, call `useCaHolderInfoQuery` and pass it any options that fit your needs.
32
+ * When your component renders, `useCaHolderInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
33
+ * you can use to render your UI.
34
+ *
35
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
36
+ *
37
+ * @example
38
+ * const { data, loading, error } = useCaHolderInfoQuery({
39
+ * variables: {
40
+ * dto: // value for 'dto'
41
+ * },
42
+ * });
43
+ */
44
+ export function useCaHolderInfoQuery(baseOptions) {
45
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
46
+ return Apollo.useQuery(CaHolderInfoDocument, options);
47
+ }
48
+ export function useCaHolderInfoLazyQuery(baseOptions) {
49
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
50
+ return Apollo.useLazyQuery(CaHolderInfoDocument, options);
51
+ }
@@ -0,0 +1,42 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderManagerChangeRecordInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderManagerChangeRecordDto>;
5
+ }>;
6
+ export type CaHolderManagerChangeRecordInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderManagerChangeRecordInfo?: Array<{
9
+ __typename?: 'CAHolderManagerChangeRecordDto';
10
+ caAddress?: string | null;
11
+ caHash?: string | null;
12
+ manager?: string | null;
13
+ changeType?: string | null;
14
+ blockHeight: number;
15
+ } | null> | null;
16
+ };
17
+ export declare const CaHolderManagerChangeRecordInfoDocument: Apollo.DocumentNode;
18
+ /**
19
+ * __useCaHolderManagerChangeRecordInfoQuery__
20
+ *
21
+ * To run a query within a React component, call `useCaHolderManagerChangeRecordInfoQuery` and pass it any options that fit your needs.
22
+ * When your component renders, `useCaHolderManagerChangeRecordInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
23
+ * you can use to render your UI.
24
+ *
25
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
26
+ *
27
+ * @example
28
+ * const { data, loading, error } = useCaHolderManagerChangeRecordInfoQuery({
29
+ * variables: {
30
+ * dto: // value for 'dto'
31
+ * },
32
+ * });
33
+ */
34
+ export declare function useCaHolderManagerChangeRecordInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderManagerChangeRecordInfoQuery, CaHolderManagerChangeRecordInfoQueryVariables>): Apollo.QueryResult<CaHolderManagerChangeRecordInfoQuery, Types.Exact<{
35
+ dto?: Types.InputMaybe<Types.GetCaHolderManagerChangeRecordDto> | undefined;
36
+ }>>;
37
+ export declare function useCaHolderManagerChangeRecordInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderManagerChangeRecordInfoQuery, CaHolderManagerChangeRecordInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderManagerChangeRecordInfoQuery, Types.Exact<{
38
+ dto?: Types.InputMaybe<Types.GetCaHolderManagerChangeRecordDto> | undefined;
39
+ }>>;
40
+ export type CaHolderManagerChangeRecordInfoQueryHookResult = ReturnType<typeof useCaHolderManagerChangeRecordInfoQuery>;
41
+ export type CaHolderManagerChangeRecordInfoLazyQueryHookResult = ReturnType<typeof useCaHolderManagerChangeRecordInfoLazyQuery>;
42
+ export type CaHolderManagerChangeRecordInfoQueryResult = Apollo.QueryResult<CaHolderManagerChangeRecordInfoQuery, CaHolderManagerChangeRecordInfoQueryVariables>;
@@ -0,0 +1,38 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderManagerChangeRecordInfoDocument = gql `
5
+ query caHolderManagerChangeRecordInfo($dto: GetCAHolderManagerChangeRecordDto) {
6
+ caHolderManagerChangeRecordInfo(dto: $dto) {
7
+ caAddress
8
+ caHash
9
+ manager
10
+ changeType
11
+ blockHeight
12
+ }
13
+ }
14
+ `;
15
+ /**
16
+ * __useCaHolderManagerChangeRecordInfoQuery__
17
+ *
18
+ * To run a query within a React component, call `useCaHolderManagerChangeRecordInfoQuery` and pass it any options that fit your needs.
19
+ * When your component renders, `useCaHolderManagerChangeRecordInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
20
+ * you can use to render your UI.
21
+ *
22
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
23
+ *
24
+ * @example
25
+ * const { data, loading, error } = useCaHolderManagerChangeRecordInfoQuery({
26
+ * variables: {
27
+ * dto: // value for 'dto'
28
+ * },
29
+ * });
30
+ */
31
+ export function useCaHolderManagerChangeRecordInfoQuery(baseOptions) {
32
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
33
+ return Apollo.useQuery(CaHolderManagerChangeRecordInfoDocument, options);
34
+ }
35
+ export function useCaHolderManagerChangeRecordInfoLazyQuery(baseOptions) {
36
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
37
+ return Apollo.useLazyQuery(CaHolderManagerChangeRecordInfoDocument, options);
38
+ }
@@ -0,0 +1,47 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderManagerInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderManagerInfoDto>;
5
+ }>;
6
+ export type CaHolderManagerInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderManagerInfo?: Array<{
9
+ __typename?: 'CAHolderManagerDto';
10
+ id?: string | null;
11
+ chainId?: string | null;
12
+ caHash?: string | null;
13
+ caAddress?: string | null;
14
+ originChainId?: string | null;
15
+ managerInfos?: Array<{
16
+ __typename?: 'ManagerInfo';
17
+ address?: string | null;
18
+ extraData?: string | null;
19
+ } | null> | null;
20
+ } | null> | null;
21
+ };
22
+ export declare const CaHolderManagerInfoDocument: Apollo.DocumentNode;
23
+ /**
24
+ * __useCaHolderManagerInfoQuery__
25
+ *
26
+ * To run a query within a React component, call `useCaHolderManagerInfoQuery` and pass it any options that fit your needs.
27
+ * When your component renders, `useCaHolderManagerInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
28
+ * you can use to render your UI.
29
+ *
30
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
31
+ *
32
+ * @example
33
+ * const { data, loading, error } = useCaHolderManagerInfoQuery({
34
+ * variables: {
35
+ * dto: // value for 'dto'
36
+ * },
37
+ * });
38
+ */
39
+ export declare function useCaHolderManagerInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables>): Apollo.QueryResult<CaHolderManagerInfoQuery, Types.Exact<{
40
+ dto?: Types.InputMaybe<Types.GetCaHolderManagerInfoDto> | undefined;
41
+ }>>;
42
+ export declare function useCaHolderManagerInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderManagerInfoQuery, Types.Exact<{
43
+ dto?: Types.InputMaybe<Types.GetCaHolderManagerInfoDto> | undefined;
44
+ }>>;
45
+ export type CaHolderManagerInfoQueryHookResult = ReturnType<typeof useCaHolderManagerInfoQuery>;
46
+ export type CaHolderManagerInfoLazyQueryHookResult = ReturnType<typeof useCaHolderManagerInfoLazyQuery>;
47
+ export type CaHolderManagerInfoQueryResult = Apollo.QueryResult<CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables>;
@@ -0,0 +1,42 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderManagerInfoDocument = gql `
5
+ query caHolderManagerInfo($dto: GetCAHolderManagerInfoDto) {
6
+ caHolderManagerInfo(dto: $dto) {
7
+ id
8
+ chainId
9
+ caHash
10
+ caAddress
11
+ managerInfos {
12
+ address
13
+ extraData
14
+ }
15
+ originChainId
16
+ }
17
+ }
18
+ `;
19
+ /**
20
+ * __useCaHolderManagerInfoQuery__
21
+ *
22
+ * To run a query within a React component, call `useCaHolderManagerInfoQuery` and pass it any options that fit your needs.
23
+ * When your component renders, `useCaHolderManagerInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
24
+ * you can use to render your UI.
25
+ *
26
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
27
+ *
28
+ * @example
29
+ * const { data, loading, error } = useCaHolderManagerInfoQuery({
30
+ * variables: {
31
+ * dto: // value for 'dto'
32
+ * },
33
+ * });
34
+ */
35
+ export function useCaHolderManagerInfoQuery(baseOptions) {
36
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
37
+ return Apollo.useQuery(CaHolderManagerInfoDocument, options);
38
+ }
39
+ export function useCaHolderManagerInfoLazyQuery(baseOptions) {
40
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
41
+ return Apollo.useLazyQuery(CaHolderManagerInfoDocument, options);
42
+ }
@@ -0,0 +1,60 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderNftBalanceInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderNftInfoDto>;
5
+ }>;
6
+ export type CaHolderNftBalanceInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderNFTBalanceInfo?: {
9
+ __typename?: 'CAHolderNFTBalancePageResultDto';
10
+ totalRecordCount: number;
11
+ data?: Array<{
12
+ __typename?: 'CAHolderNFTBalanceInfoDto';
13
+ id?: string | null;
14
+ chainId?: string | null;
15
+ caAddress?: string | null;
16
+ balance: number;
17
+ nftInfo?: {
18
+ __typename?: 'NFTItemInfoDto';
19
+ symbol?: string | null;
20
+ tokenContractAddress?: string | null;
21
+ decimals: number;
22
+ supply: number;
23
+ totalSupply: number;
24
+ tokenName?: string | null;
25
+ issuer?: string | null;
26
+ isBurnable: boolean;
27
+ issueChainId: number;
28
+ imageUrl?: string | null;
29
+ collectionSymbol?: string | null;
30
+ collectionName?: string | null;
31
+ } | null;
32
+ } | null> | null;
33
+ } | null;
34
+ };
35
+ export declare const CaHolderNftBalanceInfoDocument: Apollo.DocumentNode;
36
+ /**
37
+ * __useCaHolderNftBalanceInfoQuery__
38
+ *
39
+ * To run a query within a React component, call `useCaHolderNftBalanceInfoQuery` and pass it any options that fit your needs.
40
+ * When your component renders, `useCaHolderNftBalanceInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
41
+ * you can use to render your UI.
42
+ *
43
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
44
+ *
45
+ * @example
46
+ * const { data, loading, error } = useCaHolderNftBalanceInfoQuery({
47
+ * variables: {
48
+ * dto: // value for 'dto'
49
+ * },
50
+ * });
51
+ */
52
+ export declare function useCaHolderNftBalanceInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderNftBalanceInfoQuery, CaHolderNftBalanceInfoQueryVariables>): Apollo.QueryResult<CaHolderNftBalanceInfoQuery, Types.Exact<{
53
+ dto?: Types.InputMaybe<Types.GetCaHolderNftInfoDto> | undefined;
54
+ }>>;
55
+ export declare function useCaHolderNftBalanceInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderNftBalanceInfoQuery, CaHolderNftBalanceInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderNftBalanceInfoQuery, Types.Exact<{
56
+ dto?: Types.InputMaybe<Types.GetCaHolderNftInfoDto> | undefined;
57
+ }>>;
58
+ export type CaHolderNftBalanceInfoQueryHookResult = ReturnType<typeof useCaHolderNftBalanceInfoQuery>;
59
+ export type CaHolderNftBalanceInfoLazyQueryHookResult = ReturnType<typeof useCaHolderNftBalanceInfoLazyQuery>;
60
+ export type CaHolderNftBalanceInfoQueryResult = Apollo.QueryResult<CaHolderNftBalanceInfoQuery, CaHolderNftBalanceInfoQueryVariables>;