haystack-nclient
Advanced tools
Comparing version 3.0.12 to 3.0.13
@@ -53,4 +53,17 @@ import { HGrid, HRef, HDict, HaysonDict, HList, HaysonVal, HVal, HNum, HDate, HDateTime } from 'haystack-core'; | ||
/** | ||
* @returns Reads a set of records from the server. | ||
* @returns Reads a set of records from the server by id. | ||
* | ||
* ```typescript | ||
* const result = await client.read(['@id1', '@id2', '@id3']) | ||
* ``` | ||
* | ||
* https://project-haystack.org/doc/Ops#read | ||
* | ||
* @param ids list of ids as HRef or string | ||
* @returns A grid with the resolved query. | ||
*/ | ||
read(ids: string[] | HRef[]): Promise<HGrid>; | ||
/** | ||
* @returns Reads a set of records from the server by filter. | ||
* | ||
* Please note, to help build a Haystack filter you can use HFilterBuilder available in | ||
@@ -57,0 +70,0 @@ * Haystack Core. |
@@ -7,2 +7,3 @@ /** | ||
export * from './client/finCsrfFetch'; | ||
export * from './client/finAuthFetch'; | ||
export * from './client/fetchVal'; | ||
@@ -9,0 +10,0 @@ export * from './client/fetchAllGrids'; |
@@ -13,3 +13,3 @@ { | ||
"homepage": "https://github.com/j2inn/haystack-nclient", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"module": "dist/index.es.js", | ||
@@ -16,0 +16,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
486944
37
11961