@rivascva/dt-idl 1.1.4 → 1.1.6

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/dist/index.d.ts CHANGED
@@ -692,7 +692,10 @@ type NewsArticle = components$1['schemas']['NewsArticle'];
692
692
  type StockNewsArticle = components$1['schemas']['StockNewsArticle'];
693
693
  type MarketServiceError = components$1['schemas']['Error'];
694
694
  type User = components['schemas']['User'];
695
+ type Portfolio = components['schemas']['Portfolio'];
696
+ type PortfolioType = components['schemas']['PortfolioType'];
695
697
  type Order = components['schemas']['Order'];
696
- type TradeSErviceError = components['schemas']['Error'];
698
+ type OrderType = components['schemas']['OrderType'];
699
+ type TradeServiceError = components['schemas']['Error'];
697
700
 
698
- export { type FullQuote, type MarketServiceError, type NewsArticle, type Order, type SimpleQuote, type StockNewsArticle, type TradeSErviceError, type User, createMarketServiceClient, createTradeServiceClient };
701
+ export { type FullQuote, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type StockNewsArticle, type TradeServiceError, type User, createMarketServiceClient, createTradeServiceClient };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -6,7 +6,7 @@ info:
6
6
  description: Fetch real-time data on the stock market.
7
7
 
8
8
  servers:
9
- - url: http://localhost:8080/v1
9
+ - url: http://localhost:8082/v1
10
10
 
11
11
  paths:
12
12
  /stocks/{symbol}:
@@ -6,7 +6,7 @@ info:
6
6
  description: Make trades on the stock market.
7
7
 
8
8
  servers:
9
- - url: http://localhost:8081/v1
9
+ - url: http://localhost:8083/v1
10
10
 
11
11
  paths:
12
12
  /users:
package/ts/types/types.ts CHANGED
@@ -10,5 +10,8 @@ export type MarketServiceError = MarketServiceComponents['schemas']['Error'];
10
10
 
11
11
  // Trade Service Types
12
12
  export type User = TradeServiceComponents['schemas']['User'];
13
+ export type Portfolio = TradeServiceComponents['schemas']['Portfolio'];
14
+ export type PortfolioType = TradeServiceComponents['schemas']['PortfolioType'];
13
15
  export type Order = TradeServiceComponents['schemas']['Order'];
14
- export type TradeSErviceError = TradeServiceComponents['schemas']['Error'];
16
+ export type OrderType = TradeServiceComponents['schemas']['OrderType'];
17
+ export type TradeServiceError = TradeServiceComponents['schemas']['Error'];