@robosystems/client 0.3.14 → 0.3.15
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/artifacts/InvestorClient.d.ts +35 -20
- package/artifacts/InvestorClient.js +78 -71
- package/artifacts/InvestorClient.ts +164 -141
- package/artifacts/graphql/generated/graphql.d.ts +93 -18
- package/artifacts/graphql/generated/graphql.js +65 -4
- package/artifacts/graphql/generated/graphql.ts +156 -21
- package/artifacts/graphql/queries/investor/portfolio_block.d.ts +10 -0
- package/artifacts/graphql/queries/investor/portfolio_block.js +60 -0
- package/artifacts/graphql/queries/investor/portfolio_block.ts +58 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +6 -9
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +10 -34
- package/sdk/sdk.gen.js +16 -67
- package/sdk/sdk.gen.ts +13 -64
- package/sdk/types.gen.d.ts +245 -359
- package/sdk/types.gen.ts +251 -377
- package/sdk.gen.d.ts +10 -34
- package/sdk.gen.js +16 -67
- package/sdk.gen.ts +13 -64
- package/types.gen.d.ts +245 -359
- package/types.gen.ts +251 -377
- package/artifacts/graphql/queries/investor/portfolio.d.ts +0 -4
- package/artifacts/graphql/queries/investor/portfolio.js +0 -21
- package/artifacts/graphql/queries/investor/portfolio.ts +0 -19
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GET_PORTFOLIO = void 0;
|
|
4
|
-
const graphql_request_1 = require("graphql-request");
|
|
5
|
-
/**
|
|
6
|
-
* Single portfolio by id. Returns null if it doesn't exist.
|
|
7
|
-
*/
|
|
8
|
-
exports.GET_PORTFOLIO = (0, graphql_request_1.gql) `
|
|
9
|
-
query GetInvestorPortfolio($portfolioId: String!) {
|
|
10
|
-
portfolio(portfolioId: $portfolioId) {
|
|
11
|
-
id
|
|
12
|
-
name
|
|
13
|
-
description
|
|
14
|
-
strategy
|
|
15
|
-
inceptionDate
|
|
16
|
-
baseCurrency
|
|
17
|
-
createdAt
|
|
18
|
-
updatedAt
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
`;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { gql } from 'graphql-request'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Single portfolio by id. Returns null if it doesn't exist.
|
|
5
|
-
*/
|
|
6
|
-
export const GET_PORTFOLIO = gql`
|
|
7
|
-
query GetInvestorPortfolio($portfolioId: String!) {
|
|
8
|
-
portfolio(portfolioId: $portfolioId) {
|
|
9
|
-
id
|
|
10
|
-
name
|
|
11
|
-
description
|
|
12
|
-
strategy
|
|
13
|
-
inceptionDate
|
|
14
|
-
baseCurrency
|
|
15
|
-
createdAt
|
|
16
|
-
updatedAt
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
`
|