@rivascva/dt-idl 1.1.60 → 1.1.62

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
@@ -1489,6 +1489,7 @@ type StockHistoryTimeframe = MarketServiceSchemas['StockHistoryTimeframe'];
1489
1489
  type StockHistoryEntry = MarketServiceSchemas['StockHistoryEntry'];
1490
1490
  type SortOrder = MarketServiceSchemas['SortOrder'];
1491
1491
  type SortField = MarketServiceSchemas['SortField'];
1492
+ type Index = MarketServiceSchemas['Index'];
1492
1493
  type GetIndexesQueryParams = operations$3['getIndexes']['parameters']['query'];
1493
1494
  type GetStocksByExchangeQueryParams = operations$3['getStocksByExchange']['parameters']['query'];
1494
1495
  type GetStocksBySymbolsQueryParams = operations$3['getStocksBySymbols']['parameters']['query'];
@@ -1511,4 +1512,4 @@ type UploadImageResponse = AssetServiceSchemas['UploadImageResponse'];
1511
1512
  type DeleteImagePayload = AssetServiceSchemas['DeleteImagePayload'];
1512
1513
  type AssetServiceError = AssetServiceSchemas['Error'];
1513
1514
 
1514
- export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksByExchangeQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
1515
+ export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksByExchangeQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type Index, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioType, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
@@ -0,0 +1,9 @@
1
+ package maps
2
+
3
+ func Keys[K ~string](m map[K]any) []K {
4
+ keys := make([]K, 0, len(m))
5
+ for k := range m {
6
+ keys = append(keys, k)
7
+ }
8
+ return keys
9
+ }
package/go.mod CHANGED
@@ -1,3 +1,3 @@
1
1
  module github.com/RivasCVA/dt-idl
2
2
 
3
- go 1.22
3
+ go 1.23
package/mise.toml CHANGED
@@ -1,5 +1,5 @@
1
1
  [tools]
2
- go = "1.22"
2
+ go = "1.23"
3
3
  node = "22"
4
4
  pre-commit = "4.0"
5
5
  golangci-lint = "2.1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.60",
3
+ "version": "1.1.62",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/ts/types/types.ts CHANGED
@@ -21,6 +21,7 @@ export type StockHistoryTimeframe = MarketServiceSchemas['StockHistoryTimeframe'
21
21
  export type StockHistoryEntry = MarketServiceSchemas['StockHistoryEntry'];
22
22
  export type SortOrder = MarketServiceSchemas['SortOrder'];
23
23
  export type SortField = MarketServiceSchemas['SortField'];
24
+ export type Index = MarketServiceSchemas['Index'];
24
25
  export type GetIndexesQueryParams = MarketServiceOperations['getIndexes']['parameters']['query'];
25
26
  export type GetStocksByExchangeQueryParams = MarketServiceOperations['getStocksByExchange']['parameters']['query'];
26
27
  export type GetStocksBySymbolsQueryParams = MarketServiceOperations['getStocksBySymbols']['parameters']['query'];