@portkey/graphql 0.0.1-alpha.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/README.md +61 -0
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +16 -0
- package/dist/client.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +27 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js +51 -0
- package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.d.ts +31 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.js +54 -0
- package/dist/did/__generated__/hooks/caHolderManagerInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts +49 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.js +71 -0
- package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +30 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.js +53 -0
- package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.d.ts +56 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.js +76 -0
- package/dist/did/__generated__/hooks/caHolderTransaction.js.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +27 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.js +51 -0
- package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.d.ts +38 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.js +60 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountChangeRecordInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.d.ts +36 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.js +58 -0
- package/dist/did/__generated__/hooks/loginGuardianAccountInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.d.ts +41 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.js +65 -0
- package/dist/did/__generated__/hooks/nftProtocolInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/syncState.d.ts +23 -0
- package/dist/did/__generated__/hooks/syncState.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/syncState.js +47 -0
- package/dist/did/__generated__/hooks/syncState.js.map +1 -0
- package/dist/did/__generated__/hooks/tokenInfo.d.ts +35 -0
- package/dist/did/__generated__/hooks/tokenInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/tokenInfo.js +59 -0
- package/dist/did/__generated__/hooks/tokenInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/userNFTInfo.d.ts +44 -0
- package/dist/did/__generated__/hooks/userNFTInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/userNFTInfo.js +67 -0
- package/dist/did/__generated__/hooks/userNFTInfo.js.map +1 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.d.ts +41 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.d.ts.map +1 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.js +64 -0
- package/dist/did/__generated__/hooks/userNFTProtocolInfo.js.map +1 -0
- package/dist/did/__generated__/types.d.ts +408 -0
- package/dist/did/__generated__/types.d.ts.map +1 -0
- package/dist/did/__generated__/types.js +20 -0
- package/dist/did/__generated__/types.js.map +1 -0
- package/dist/did/index.d.ts +15 -0
- package/dist/did/index.d.ts.map +1 -0
- package/dist/did/index.js +58 -0
- package/dist/did/index.js.map +1 -0
- package/dist/did/utils.d.ts +7 -0
- package/dist/did/utils.d.ts.map +1 -0
- package/dist/did/utils.js +31 -0
- package/dist/did/utils.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/types/did.d.ts +11 -0
- package/dist/types/did.d.ts.map +1 -0
- package/dist/types/did.js +3 -0
- package/dist/types/did.js.map +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +25 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +41 -0
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# `@portkey/graphql`
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+
[![NPM Package][npm-image]][npm-url]
|
|
6
|
+
[![Dependency Status][deps-image]][deps-url]
|
|
7
|
+
[![Dev Dependency Status][deps-dev-image]][deps-dev-url]
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
### Using NPM
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @portkey/graphql
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Using Yarn
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
yarn add @portkey/graphql
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Prerequisites
|
|
24
|
+
|
|
25
|
+
- :gear: [NodeJS](https://nodejs.org/) (LTS/Fermium)
|
|
26
|
+
- :toolbox: [Yarn](https://yarnpkg.com/)/[Lerna](https://lerna.js.org/)
|
|
27
|
+
|
|
28
|
+
## Package.json Scripts
|
|
29
|
+
|
|
30
|
+
| Script | Description |
|
|
31
|
+
| -------- | -------------------------------------------------- |
|
|
32
|
+
| clean | Uses `rm` to remove `dist/` |
|
|
33
|
+
| build | Uses `tsc` to build package and dependent packages |
|
|
34
|
+
| lint | Uses `eslint` to lint package |
|
|
35
|
+
| lint:fix | Uses `eslint` to check and fix any warnings |
|
|
36
|
+
| format | Uses `prettier` to format the code |
|
|
37
|
+
| generate | generate files with the following |
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment).
|
|
42
|
+
|
|
43
|
+
### Command to generate files
|
|
44
|
+
|
|
45
|
+
you can generate files with the following command:
|
|
46
|
+
|
|
47
|
+
yarn generate
|
|
48
|
+
|
|
49
|
+
### Configuration
|
|
50
|
+
|
|
51
|
+
GraphQL Code Generator relies on a [configuration file](https://the-guild.dev/graphql/codegen/docs/config-reference/codegen-config) named codegen.config.ts to manage all possible options, input, and output document types.
|
|
52
|
+
|
|
53
|
+
### Links
|
|
54
|
+
|
|
55
|
+
For more configuration and functions, see [docs page](https://graphql-code-generator.com/docs/getting-started)
|
|
56
|
+
|
|
57
|
+
### Online web tool
|
|
58
|
+
|
|
59
|
+
You can do this online through a web page
|
|
60
|
+
|
|
61
|
+
[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,wBAAwB,eAAgB,MAAM,mBAAkB,cAAc,KAAQ,cAc/F,CAAC"}
|
package/dist/client.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getGraphQLClientProvider = void 0;
|
|
4
|
+
const client_1 = require("@apollo/client");
|
|
5
|
+
const getGraphQLClientProvider = (graphqlUrl, defaultOptions = {}) => new client_1.ApolloClient({
|
|
6
|
+
cache: new client_1.InMemoryCache(),
|
|
7
|
+
queryDeduplication: false,
|
|
8
|
+
defaultOptions: Object.assign({ watchQuery: {
|
|
9
|
+
fetchPolicy: 'cache-and-network',
|
|
10
|
+
}, query: {
|
|
11
|
+
fetchPolicy: 'network-only',
|
|
12
|
+
} }, defaultOptions),
|
|
13
|
+
link: new client_1.HttpLink({ uri: graphqlUrl }),
|
|
14
|
+
});
|
|
15
|
+
exports.getGraphQLClientProvider = getGraphQLClientProvider;
|
|
16
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;AAAA,2CAAuF;AAGhF,MAAM,wBAAwB,GAAG,CAAC,UAAkB,EAAE,iBAAiC,EAAE,EAAkB,EAAE,CAClH,IAAI,qBAAY,CAAC;IACf,KAAK,EAAE,IAAI,sBAAa,EAAE;IAC1B,kBAAkB,EAAE,KAAK;IACzB,cAAc,kBACZ,UAAU,EAAE;YACV,WAAW,EAAE,mBAAmB;SACjC,EACD,KAAK,EAAE;YACL,WAAW,EAAE,cAAc;SAC5B,IACE,cAAc,CAClB;IACD,IAAI,EAAE,IAAI,iBAAQ,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,CAAC;CACxC,CAAC,CAAC;AAdQ,QAAA,wBAAwB,4BAchC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
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
|
+
export declare function useCaHolderManagerChangeRecordInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderManagerChangeRecordInfoQuery, CaHolderManagerChangeRecordInfoQueryVariables>): Apollo.QueryResult<CaHolderManagerChangeRecordInfoQuery, Types.Exact<{
|
|
19
|
+
dto?: Types.InputMaybe<Types.GetCaHolderManagerChangeRecordDto> | undefined;
|
|
20
|
+
}>>;
|
|
21
|
+
export declare function useCaHolderManagerChangeRecordInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderManagerChangeRecordInfoQuery, CaHolderManagerChangeRecordInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderManagerChangeRecordInfoQuery, Types.Exact<{
|
|
22
|
+
dto?: Types.InputMaybe<Types.GetCaHolderManagerChangeRecordDto> | undefined;
|
|
23
|
+
}>>;
|
|
24
|
+
export type CaHolderManagerChangeRecordInfoQueryHookResult = ReturnType<typeof useCaHolderManagerChangeRecordInfoQuery>;
|
|
25
|
+
export type CaHolderManagerChangeRecordInfoLazyQueryHookResult = ReturnType<typeof useCaHolderManagerChangeRecordInfoLazyQuery>;
|
|
26
|
+
export type CaHolderManagerChangeRecordInfoQueryResult = Apollo.QueryResult<CaHolderManagerChangeRecordInfoQuery, CaHolderManagerChangeRecordInfoQueryVariables>;
|
|
27
|
+
//# sourceMappingURL=caHolderManagerChangeRecordInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderManagerChangeRecordInfo.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderManagerChangeRecordInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,6CAA6C,GAAG,KAAK,CAAC,KAAK,CAAC;IACtE,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC;CACjE,CAAC,CAAC;AAEH,MAAM,MAAM,oCAAoC,GAAG;IACjD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+BAA+B,CAAC,EAAE,KAAK,CAAC;QACtC,UAAU,CAAC,EAAE,gCAAgC,CAAC;QAC9C,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,WAAW,EAAE,MAAM,CAAC;KACrB,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,uCAAuC,qBAUnD,CAAC;AAkBF,wBAAgB,uCAAuC,CACrD,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CACnC,oCAAoC,EACpC,6CAA6C,CAC9C;;IAOF;AACD,wBAAgB,2CAA2C,CACzD,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CACvC,oCAAoC,EACpC,6CAA6C,CAC9C;;IAOF;AACD,MAAM,MAAM,8CAA8C,GAAG,UAAU,CAAC,OAAO,uCAAuC,CAAC,CAAC;AACxH,MAAM,MAAM,kDAAkD,GAAG,UAAU,CACzE,OAAO,2CAA2C,CACnD,CAAC;AACF,MAAM,MAAM,0CAA0C,GAAG,MAAM,CAAC,WAAW,CACzE,oCAAoC,EACpC,6CAA6C,CAC9C,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useCaHolderManagerChangeRecordInfoLazyQuery = exports.useCaHolderManagerChangeRecordInfoQuery = exports.CaHolderManagerChangeRecordInfoDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.CaHolderManagerChangeRecordInfoDocument = (0, client_1.gql) `
|
|
31
|
+
query caHolderManagerChangeRecordInfo($dto: GetCAHolderManagerChangeRecordDto) {
|
|
32
|
+
caHolderManagerChangeRecordInfo(dto: $dto) {
|
|
33
|
+
caAddress
|
|
34
|
+
caHash
|
|
35
|
+
manager
|
|
36
|
+
changeType
|
|
37
|
+
blockHeight
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`;
|
|
41
|
+
function useCaHolderManagerChangeRecordInfoQuery(baseOptions) {
|
|
42
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
43
|
+
return Apollo.useQuery(exports.CaHolderManagerChangeRecordInfoDocument, options);
|
|
44
|
+
}
|
|
45
|
+
exports.useCaHolderManagerChangeRecordInfoQuery = useCaHolderManagerChangeRecordInfoQuery;
|
|
46
|
+
function useCaHolderManagerChangeRecordInfoLazyQuery(baseOptions) {
|
|
47
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
48
|
+
return Apollo.useLazyQuery(exports.CaHolderManagerChangeRecordInfoDocument, options);
|
|
49
|
+
}
|
|
50
|
+
exports.useCaHolderManagerChangeRecordInfoLazyQuery = useCaHolderManagerChangeRecordInfoLazyQuery;
|
|
51
|
+
//# sourceMappingURL=caHolderManagerChangeRecordInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderManagerChangeRecordInfo.js","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderManagerChangeRecordInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAqC;AACrC,uDAAyC;AACzC,MAAM,cAAc,GAAG,EAAW,CAAC;AAiBtB,QAAA,uCAAuC,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;CAUzD,CAAC;AAkBF,SAAgB,uCAAuC,CACrD,WAGC;IAED,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,QAAQ,CACpB,+CAAuC,EACvC,OAAO,CACR,CAAC;AACJ,CAAC;AAXD,0FAWC;AACD,SAAgB,2CAA2C,CACzD,WAGC;IAED,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,YAAY,CACxB,+CAAuC,EACvC,OAAO,CACR,CAAC;AACJ,CAAC;AAXD,kGAWC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
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
|
+
managers?: Array<{
|
|
15
|
+
__typename?: 'ManagerInfo';
|
|
16
|
+
manager?: string | null;
|
|
17
|
+
deviceString?: string | null;
|
|
18
|
+
} | null> | null;
|
|
19
|
+
} | null> | null;
|
|
20
|
+
};
|
|
21
|
+
export declare const CaHolderManagerInfoDocument: Apollo.DocumentNode;
|
|
22
|
+
export declare function useCaHolderManagerInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables>): Apollo.QueryResult<CaHolderManagerInfoQuery, Types.Exact<{
|
|
23
|
+
dto?: Types.InputMaybe<Types.GetCaHolderManagerInfoDto> | undefined;
|
|
24
|
+
}>>;
|
|
25
|
+
export declare function useCaHolderManagerInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderManagerInfoQuery, Types.Exact<{
|
|
26
|
+
dto?: Types.InputMaybe<Types.GetCaHolderManagerInfoDto> | undefined;
|
|
27
|
+
}>>;
|
|
28
|
+
export type CaHolderManagerInfoQueryHookResult = ReturnType<typeof useCaHolderManagerInfoQuery>;
|
|
29
|
+
export type CaHolderManagerInfoLazyQueryHookResult = ReturnType<typeof useCaHolderManagerInfoLazyQuery>;
|
|
30
|
+
export type CaHolderManagerInfoQueryResult = Apollo.QueryResult<CaHolderManagerInfoQuery, CaHolderManagerInfoQueryVariables>;
|
|
31
|
+
//# sourceMappingURL=caHolderManagerInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderManagerInfo.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderManagerInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC1D,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACzD,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAC1B,UAAU,CAAC,EAAE,oBAAoB,CAAC;QAClC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC;YACf,UAAU,CAAC,EAAE,aAAa,CAAC;YAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SAC9B,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;KAClB,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBAavC,CAAC;AAkBF,wBAAgB,2BAA2B,CACzC,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC,wBAAwB,EAAE,iCAAiC,CAAC;;IAOnG;AACD,wBAAgB,+BAA+B,CAC7C,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,wBAAwB,EAAE,iCAAiC,CAAC;;IAOvG;AACD,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChG,MAAM,MAAM,sCAAsC,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxG,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,WAAW,CAC7D,wBAAwB,EACxB,iCAAiC,CAClC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useCaHolderManagerInfoLazyQuery = exports.useCaHolderManagerInfoQuery = exports.CaHolderManagerInfoDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.CaHolderManagerInfoDocument = (0, client_1.gql) `
|
|
31
|
+
query caHolderManagerInfo($dto: GetCAHolderManagerInfoDto) {
|
|
32
|
+
caHolderManagerInfo(dto: $dto) {
|
|
33
|
+
id
|
|
34
|
+
chainId
|
|
35
|
+
caHash
|
|
36
|
+
caAddress
|
|
37
|
+
managers {
|
|
38
|
+
manager
|
|
39
|
+
deviceString
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
`;
|
|
44
|
+
function useCaHolderManagerInfoQuery(baseOptions) {
|
|
45
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
46
|
+
return Apollo.useQuery(exports.CaHolderManagerInfoDocument, options);
|
|
47
|
+
}
|
|
48
|
+
exports.useCaHolderManagerInfoQuery = useCaHolderManagerInfoQuery;
|
|
49
|
+
function useCaHolderManagerInfoLazyQuery(baseOptions) {
|
|
50
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
51
|
+
return Apollo.useLazyQuery(exports.CaHolderManagerInfoDocument, options);
|
|
52
|
+
}
|
|
53
|
+
exports.useCaHolderManagerInfoLazyQuery = useCaHolderManagerInfoLazyQuery;
|
|
54
|
+
//# sourceMappingURL=caHolderManagerInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderManagerInfo.js","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderManagerInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAqC;AACrC,uDAAyC;AACzC,MAAM,cAAc,GAAG,EAAW,CAAC;AAqBtB,QAAA,2BAA2B,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;CAa7C,CAAC;AAkBF,SAAgB,2BAA2B,CACzC,WAAkG;IAElG,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,QAAQ,CACpB,mCAA2B,EAC3B,OAAO,CACR,CAAC;AACJ,CAAC;AARD,kEAQC;AACD,SAAgB,+BAA+B,CAC7C,WAAsG;IAEtG,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,YAAY,CACxB,mCAA2B,EAC3B,OAAO,CACR,CAAC;AACJ,CAAC;AARD,0EAQC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type CaHolderSearchTokenNftQueryVariables = Types.Exact<{
|
|
4
|
+
dto?: Types.InputMaybe<Types.GetCaHolderSearchTokenNftDto>;
|
|
5
|
+
}>;
|
|
6
|
+
export type CaHolderSearchTokenNftQuery = {
|
|
7
|
+
__typename?: 'Query';
|
|
8
|
+
caHolderSearchTokenNFT?: Array<{
|
|
9
|
+
__typename?: 'CAHolderSearchTokenNFTDto';
|
|
10
|
+
chainId?: string | null;
|
|
11
|
+
caAddress?: string | null;
|
|
12
|
+
balance: number;
|
|
13
|
+
tokenInfo?: {
|
|
14
|
+
__typename?: 'TokenSearchInfoDto';
|
|
15
|
+
symbol?: string | null;
|
|
16
|
+
tokenContractAddress?: string | null;
|
|
17
|
+
decimals: number;
|
|
18
|
+
totalSupply: number;
|
|
19
|
+
tokenName?: string | null;
|
|
20
|
+
issuer?: string | null;
|
|
21
|
+
isBurnable: boolean;
|
|
22
|
+
issueChainId: number;
|
|
23
|
+
} | null;
|
|
24
|
+
nftInfo?: {
|
|
25
|
+
__typename?: 'NFTSearchInfoDto';
|
|
26
|
+
protocolName?: string | null;
|
|
27
|
+
symbol?: string | null;
|
|
28
|
+
tokenId: number;
|
|
29
|
+
nftContractAddress?: string | null;
|
|
30
|
+
owner?: string | null;
|
|
31
|
+
minter?: string | null;
|
|
32
|
+
quantity: number;
|
|
33
|
+
alias?: string | null;
|
|
34
|
+
baseUri?: string | null;
|
|
35
|
+
uri?: string | null;
|
|
36
|
+
} | null;
|
|
37
|
+
} | null> | null;
|
|
38
|
+
};
|
|
39
|
+
export declare const CaHolderSearchTokenNftDocument: Apollo.DocumentNode;
|
|
40
|
+
export declare function useCaHolderSearchTokenNftQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderSearchTokenNftQuery, CaHolderSearchTokenNftQueryVariables>): Apollo.QueryResult<CaHolderSearchTokenNftQuery, Types.Exact<{
|
|
41
|
+
dto?: Types.InputMaybe<Types.GetCaHolderSearchTokenNftDto> | undefined;
|
|
42
|
+
}>>;
|
|
43
|
+
export declare function useCaHolderSearchTokenNftLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderSearchTokenNftQuery, CaHolderSearchTokenNftQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderSearchTokenNftQuery, Types.Exact<{
|
|
44
|
+
dto?: Types.InputMaybe<Types.GetCaHolderSearchTokenNftDto> | undefined;
|
|
45
|
+
}>>;
|
|
46
|
+
export type CaHolderSearchTokenNftQueryHookResult = ReturnType<typeof useCaHolderSearchTokenNftQuery>;
|
|
47
|
+
export type CaHolderSearchTokenNftLazyQueryHookResult = ReturnType<typeof useCaHolderSearchTokenNftLazyQuery>;
|
|
48
|
+
export type CaHolderSearchTokenNftQueryResult = Apollo.QueryResult<CaHolderSearchTokenNftQuery, CaHolderSearchTokenNftQueryVariables>;
|
|
49
|
+
//# sourceMappingURL=caHolderSearchTokenNFT.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderSearchTokenNFT.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderSearchTokenNFT.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,oCAAoC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC7D,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;CAC5D,CAAC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,KAAK,CAAC;QAC7B,UAAU,CAAC,EAAE,2BAA2B,CAAC;QACzC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE;YACV,UAAU,CAAC,EAAE,oBAAoB,CAAC;YAClC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACrC,QAAQ,EAAE,MAAM,CAAC;YACjB,WAAW,EAAE,MAAM,CAAC;YACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,UAAU,EAAE,OAAO,CAAC;YACpB,YAAY,EAAE,MAAM,CAAC;SACtB,GAAG,IAAI,CAAC;QACT,OAAO,CAAC,EAAE;YACR,UAAU,CAAC,EAAE,kBAAkB,CAAC;YAChC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;YAChB,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACnC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACvB,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YACxB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SACrB,GAAG,IAAI,CAAC;KACV,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,8BAA8B,qBA8B1C,CAAC;AAkBF,wBAAgB,8BAA8B,CAC5C,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC,2BAA2B,EAAE,oCAAoC,CAAC;;IAOzG;AACD,wBAAgB,kCAAkC,CAChD,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,2BAA2B,EAAE,oCAAoC,CAAC;;IAO7G;AACD,MAAM,MAAM,qCAAqC,GAAG,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtG,MAAM,MAAM,yCAAyC,GAAG,UAAU,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9G,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,WAAW,CAChE,2BAA2B,EAC3B,oCAAoC,CACrC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useCaHolderSearchTokenNftLazyQuery = exports.useCaHolderSearchTokenNftQuery = exports.CaHolderSearchTokenNftDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.CaHolderSearchTokenNftDocument = (0, client_1.gql) `
|
|
31
|
+
query caHolderSearchTokenNFT($dto: GetCAHolderSearchTokenNFTDto) {
|
|
32
|
+
caHolderSearchTokenNFT(dto: $dto) {
|
|
33
|
+
chainId
|
|
34
|
+
caAddress
|
|
35
|
+
balance
|
|
36
|
+
tokenInfo {
|
|
37
|
+
symbol
|
|
38
|
+
tokenContractAddress
|
|
39
|
+
decimals
|
|
40
|
+
totalSupply
|
|
41
|
+
tokenName
|
|
42
|
+
issuer
|
|
43
|
+
isBurnable
|
|
44
|
+
issueChainId
|
|
45
|
+
}
|
|
46
|
+
nftInfo {
|
|
47
|
+
protocolName
|
|
48
|
+
symbol
|
|
49
|
+
tokenId
|
|
50
|
+
nftContractAddress
|
|
51
|
+
owner
|
|
52
|
+
minter
|
|
53
|
+
quantity
|
|
54
|
+
alias
|
|
55
|
+
baseUri
|
|
56
|
+
uri
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`;
|
|
61
|
+
function useCaHolderSearchTokenNftQuery(baseOptions) {
|
|
62
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
63
|
+
return Apollo.useQuery(exports.CaHolderSearchTokenNftDocument, options);
|
|
64
|
+
}
|
|
65
|
+
exports.useCaHolderSearchTokenNftQuery = useCaHolderSearchTokenNftQuery;
|
|
66
|
+
function useCaHolderSearchTokenNftLazyQuery(baseOptions) {
|
|
67
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
68
|
+
return Apollo.useLazyQuery(exports.CaHolderSearchTokenNftDocument, options);
|
|
69
|
+
}
|
|
70
|
+
exports.useCaHolderSearchTokenNftLazyQuery = useCaHolderSearchTokenNftLazyQuery;
|
|
71
|
+
//# sourceMappingURL=caHolderSearchTokenNFT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderSearchTokenNFT.js","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderSearchTokenNFT.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAqC;AACrC,uDAAyC;AACzC,MAAM,cAAc,GAAG,EAAW,CAAC;AAuCtB,QAAA,8BAA8B,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BhD,CAAC;AAkBF,SAAgB,8BAA8B,CAC5C,WAAwG;IAExG,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,QAAQ,CACpB,sCAA8B,EAC9B,OAAO,CACR,CAAC;AACJ,CAAC;AARD,wEAQC;AACD,SAAgB,kCAAkC,CAChD,WAA4G;IAE5G,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,YAAY,CACxB,sCAA8B,EAC9B,OAAO,CACR,CAAC;AACJ,CAAC;AARD,gFAQC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type CaHolderTokenBalanceInfoQueryVariables = Types.Exact<{
|
|
4
|
+
dto?: Types.InputMaybe<Types.GetCaHolderTokenBalanceDto>;
|
|
5
|
+
}>;
|
|
6
|
+
export type CaHolderTokenBalanceInfoQuery = {
|
|
7
|
+
__typename?: 'Query';
|
|
8
|
+
caHolderTokenBalanceInfo?: Array<{
|
|
9
|
+
__typename?: 'CAHolderTokenBalanceDto';
|
|
10
|
+
chainId?: string | null;
|
|
11
|
+
caAddress?: string | null;
|
|
12
|
+
balance: number;
|
|
13
|
+
tokenInfo?: {
|
|
14
|
+
__typename?: 'TokenInfo';
|
|
15
|
+
symbol?: string | null;
|
|
16
|
+
decimals: number;
|
|
17
|
+
} | null;
|
|
18
|
+
} | null> | null;
|
|
19
|
+
};
|
|
20
|
+
export declare const CaHolderTokenBalanceInfoDocument: Apollo.DocumentNode;
|
|
21
|
+
export declare function useCaHolderTokenBalanceInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderTokenBalanceInfoQuery, CaHolderTokenBalanceInfoQueryVariables>): Apollo.QueryResult<CaHolderTokenBalanceInfoQuery, Types.Exact<{
|
|
22
|
+
dto?: Types.InputMaybe<Types.GetCaHolderTokenBalanceDto> | undefined;
|
|
23
|
+
}>>;
|
|
24
|
+
export declare function useCaHolderTokenBalanceInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderTokenBalanceInfoQuery, CaHolderTokenBalanceInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderTokenBalanceInfoQuery, Types.Exact<{
|
|
25
|
+
dto?: Types.InputMaybe<Types.GetCaHolderTokenBalanceDto> | undefined;
|
|
26
|
+
}>>;
|
|
27
|
+
export type CaHolderTokenBalanceInfoQueryHookResult = ReturnType<typeof useCaHolderTokenBalanceInfoQuery>;
|
|
28
|
+
export type CaHolderTokenBalanceInfoLazyQueryHookResult = ReturnType<typeof useCaHolderTokenBalanceInfoLazyQuery>;
|
|
29
|
+
export type CaHolderTokenBalanceInfoQueryResult = Apollo.QueryResult<CaHolderTokenBalanceInfoQuery, CaHolderTokenBalanceInfoQueryVariables>;
|
|
30
|
+
//# sourceMappingURL=caHolderTokenBalanceInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderTokenBalanceInfo.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderTokenBalanceInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,sCAAsC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC/D,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC1D,CAAC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wBAAwB,CAAC,EAAE,KAAK,CAAC;QAC/B,UAAU,CAAC,EAAE,yBAAyB,CAAC;QACvC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE;YAAE,UAAU,CAAC,EAAE,WAAW,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;KAC3F,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,gCAAgC,qBAY5C,CAAC;AAkBF,wBAAgB,gCAAgC,CAC9C,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC,6BAA6B,EAAE,sCAAsC,CAAC;;IAO7G;AACD,wBAAgB,oCAAoC,CAClD,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,6BAA6B,EAAE,sCAAsC,CAAC;;IAOjH;AACD,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1G,MAAM,MAAM,2CAA2C,GAAG,UAAU,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAClH,MAAM,MAAM,mCAAmC,GAAG,MAAM,CAAC,WAAW,CAClE,6BAA6B,EAC7B,sCAAsC,CACvC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useCaHolderTokenBalanceInfoLazyQuery = exports.useCaHolderTokenBalanceInfoQuery = exports.CaHolderTokenBalanceInfoDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.CaHolderTokenBalanceInfoDocument = (0, client_1.gql) `
|
|
31
|
+
query caHolderTokenBalanceInfo($dto: GetCAHolderTokenBalanceDto) {
|
|
32
|
+
caHolderTokenBalanceInfo(dto: $dto) {
|
|
33
|
+
chainId
|
|
34
|
+
caAddress
|
|
35
|
+
tokenInfo {
|
|
36
|
+
symbol
|
|
37
|
+
decimals
|
|
38
|
+
}
|
|
39
|
+
balance
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`;
|
|
43
|
+
function useCaHolderTokenBalanceInfoQuery(baseOptions) {
|
|
44
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
45
|
+
return Apollo.useQuery(exports.CaHolderTokenBalanceInfoDocument, options);
|
|
46
|
+
}
|
|
47
|
+
exports.useCaHolderTokenBalanceInfoQuery = useCaHolderTokenBalanceInfoQuery;
|
|
48
|
+
function useCaHolderTokenBalanceInfoLazyQuery(baseOptions) {
|
|
49
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
50
|
+
return Apollo.useLazyQuery(exports.CaHolderTokenBalanceInfoDocument, options);
|
|
51
|
+
}
|
|
52
|
+
exports.useCaHolderTokenBalanceInfoLazyQuery = useCaHolderTokenBalanceInfoLazyQuery;
|
|
53
|
+
//# sourceMappingURL=caHolderTokenBalanceInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderTokenBalanceInfo.js","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderTokenBalanceInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2CAAqC;AACrC,uDAAyC;AACzC,MAAM,cAAc,GAAG,EAAW,CAAC;AAgBtB,QAAA,gCAAgC,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;CAYlD,CAAC;AAkBF,SAAgB,gCAAgC,CAC9C,WAA4G;IAE5G,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,QAAQ,CACpB,wCAAgC,EAChC,OAAO,CACR,CAAC;AACJ,CAAC;AARD,4EAQC;AACD,SAAgB,oCAAoC,CAClD,WAAgH;IAEhH,MAAM,OAAO,mCAAQ,cAAc,GAAK,WAAW,CAAE,CAAC;IACtD,OAAO,MAAM,CAAC,YAAY,CACxB,wCAAgC,EAChC,OAAO,CACR,CAAC;AACJ,CAAC;AARD,oFAQC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as Types from '../types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type CaHolderTransactionQueryVariables = Types.Exact<{
|
|
4
|
+
dto?: Types.InputMaybe<Types.GetCaHolderTransactionDto>;
|
|
5
|
+
}>;
|
|
6
|
+
export type CaHolderTransactionQuery = {
|
|
7
|
+
__typename?: 'Query';
|
|
8
|
+
caHolderTransaction?: Array<{
|
|
9
|
+
__typename?: 'CAHolderTransactionDto';
|
|
10
|
+
id?: string | null;
|
|
11
|
+
chainId?: string | null;
|
|
12
|
+
blockHash?: string | null;
|
|
13
|
+
blockHeight: number;
|
|
14
|
+
previousBlockHash?: string | null;
|
|
15
|
+
transactionId?: string | null;
|
|
16
|
+
methodName?: string | null;
|
|
17
|
+
status: Types.TransactionStatus;
|
|
18
|
+
timestamp: number;
|
|
19
|
+
fromAddress?: string | null;
|
|
20
|
+
tokenInfo?: {
|
|
21
|
+
__typename?: 'TokenInfo';
|
|
22
|
+
symbol?: string | null;
|
|
23
|
+
decimals: number;
|
|
24
|
+
} | null;
|
|
25
|
+
nftInfo?: {
|
|
26
|
+
__typename?: 'NFTInfo';
|
|
27
|
+
url?: string | null;
|
|
28
|
+
alias?: string | null;
|
|
29
|
+
nftId: number;
|
|
30
|
+
} | null;
|
|
31
|
+
transferInfo?: {
|
|
32
|
+
__typename?: 'TransferInfo';
|
|
33
|
+
fromAddress?: string | null;
|
|
34
|
+
toAddress?: string | null;
|
|
35
|
+
amount: number;
|
|
36
|
+
fromChainId?: string | null;
|
|
37
|
+
toChainId?: string | null;
|
|
38
|
+
} | null;
|
|
39
|
+
transactionFees?: Array<{
|
|
40
|
+
__typename?: 'TransactionFee';
|
|
41
|
+
symbol?: string | null;
|
|
42
|
+
amount: number;
|
|
43
|
+
} | null> | null;
|
|
44
|
+
} | null> | null;
|
|
45
|
+
};
|
|
46
|
+
export declare const CaHolderTransactionDocument: Apollo.DocumentNode;
|
|
47
|
+
export declare function useCaHolderTransactionQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderTransactionQuery, CaHolderTransactionQueryVariables>): Apollo.QueryResult<CaHolderTransactionQuery, Types.Exact<{
|
|
48
|
+
dto?: Types.InputMaybe<Types.GetCaHolderTransactionDto> | undefined;
|
|
49
|
+
}>>;
|
|
50
|
+
export declare function useCaHolderTransactionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderTransactionQuery, CaHolderTransactionQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderTransactionQuery, Types.Exact<{
|
|
51
|
+
dto?: Types.InputMaybe<Types.GetCaHolderTransactionDto> | undefined;
|
|
52
|
+
}>>;
|
|
53
|
+
export type CaHolderTransactionQueryHookResult = ReturnType<typeof useCaHolderTransactionQuery>;
|
|
54
|
+
export type CaHolderTransactionLazyQueryHookResult = ReturnType<typeof useCaHolderTransactionLazyQuery>;
|
|
55
|
+
export type CaHolderTransactionQueryResult = Apollo.QueryResult<CaHolderTransactionQuery, CaHolderTransactionQueryVariables>;
|
|
56
|
+
//# sourceMappingURL=caHolderTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caHolderTransaction.d.ts","sourceRoot":"","sources":["../../../../src/did/__generated__/hooks/caHolderTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,MAAM,MAAM,iCAAiC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC1D,GAAG,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACzD,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAC1B,UAAU,CAAC,EAAE,wBAAwB,CAAC;QACtC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,WAAW,EAAE,MAAM,CAAC;QACpB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAClC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAChC,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,SAAS,CAAC,EAAE;YAAE,UAAU,CAAC,EAAE,WAAW,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;QAC1F,OAAO,CAAC,EAAE;YAAE,UAAU,CAAC,EAAE,SAAS,CAAC;YAAC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC;QACvG,YAAY,CAAC,EAAE;YACb,UAAU,CAAC,EAAE,cAAc,CAAC;YAC5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC1B,MAAM,EAAE,MAAM,CAAC;YACf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;SAC3B,GAAG,IAAI,CAAC;QACT,eAAe,CAAC,EAAE,KAAK,CAAC;YAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;KAClH,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBAmCvC,CAAC;AAkBF,wBAAgB,2BAA2B,CACzC,WAAW,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC,wBAAwB,EAAE,iCAAiC,CAAC;;IAOnG;AACD,wBAAgB,+BAA+B,CAC7C,WAAW,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,wBAAwB,EAAE,iCAAiC,CAAC;;IAOvG;AACD,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChG,MAAM,MAAM,sCAAsC,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxG,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,WAAW,CAC7D,wBAAwB,EACxB,iCAAiC,CAClC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useCaHolderTransactionLazyQuery = exports.useCaHolderTransactionQuery = exports.CaHolderTransactionDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
const defaultOptions = {};
|
|
30
|
+
exports.CaHolderTransactionDocument = (0, client_1.gql) `
|
|
31
|
+
query caHolderTransaction($dto: GetCAHolderTransactionDto) {
|
|
32
|
+
caHolderTransaction(dto: $dto) {
|
|
33
|
+
id
|
|
34
|
+
chainId
|
|
35
|
+
blockHash
|
|
36
|
+
blockHeight
|
|
37
|
+
previousBlockHash
|
|
38
|
+
transactionId
|
|
39
|
+
methodName
|
|
40
|
+
tokenInfo {
|
|
41
|
+
symbol
|
|
42
|
+
decimals
|
|
43
|
+
}
|
|
44
|
+
nftInfo {
|
|
45
|
+
url
|
|
46
|
+
alias
|
|
47
|
+
nftId
|
|
48
|
+
}
|
|
49
|
+
status
|
|
50
|
+
timestamp
|
|
51
|
+
transferInfo {
|
|
52
|
+
fromAddress
|
|
53
|
+
toAddress
|
|
54
|
+
amount
|
|
55
|
+
fromChainId
|
|
56
|
+
toChainId
|
|
57
|
+
}
|
|
58
|
+
fromAddress
|
|
59
|
+
transactionFees {
|
|
60
|
+
symbol
|
|
61
|
+
amount
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`;
|
|
66
|
+
function useCaHolderTransactionQuery(baseOptions) {
|
|
67
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
68
|
+
return Apollo.useQuery(exports.CaHolderTransactionDocument, options);
|
|
69
|
+
}
|
|
70
|
+
exports.useCaHolderTransactionQuery = useCaHolderTransactionQuery;
|
|
71
|
+
function useCaHolderTransactionLazyQuery(baseOptions) {
|
|
72
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
73
|
+
return Apollo.useLazyQuery(exports.CaHolderTransactionDocument, options);
|
|
74
|
+
}
|
|
75
|
+
exports.useCaHolderTransactionLazyQuery = useCaHolderTransactionLazyQuery;
|
|
76
|
+
//# sourceMappingURL=caHolderTransaction.js.map
|