@arbidocs/sdk 0.3.38 → 0.3.39
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/{browser-PSfheRvb.d.cts → browser-MSSje4v8.d.cts} +3 -3
- package/dist/{browser-PSfheRvb.d.ts → browser-MSSje4v8.d.ts} +3 -3
- package/dist/browser.cjs +2216 -6350
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +2215 -6350
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +2227 -6362
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2227 -6362
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -606,7 +606,7 @@ type DocumentListFields = 'full' | 'lite';
|
|
|
606
606
|
interface ListPaginatedOptions {
|
|
607
607
|
/**
|
|
608
608
|
* Number of documents per page.
|
|
609
|
-
* @default
|
|
609
|
+
* @default 5000
|
|
610
610
|
*/
|
|
611
611
|
pageSize?: number;
|
|
612
612
|
/**
|
|
@@ -726,7 +726,7 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
|
|
|
726
726
|
*
|
|
727
727
|
* @example
|
|
728
728
|
* ```ts
|
|
729
|
-
* for await (const page of listPaginated(arbi, { pageSize:
|
|
729
|
+
* for await (const page of listPaginated(arbi, { pageSize: 5000, order: 'created_desc', fields: 'lite' })) {
|
|
730
730
|
* // page: DocResponse[] — render incrementally as pages arrive
|
|
731
731
|
* }
|
|
732
732
|
* ```
|
|
@@ -1608,7 +1608,7 @@ declare class Arbi {
|
|
|
1608
1608
|
*
|
|
1609
1609
|
* @example
|
|
1610
1610
|
* ```ts
|
|
1611
|
-
* for await (const page of arbi.documents.listPaginated({ pageSize:
|
|
1611
|
+
* for await (const page of arbi.documents.listPaginated({ pageSize: 5000, order: 'created_desc', fields: 'lite' })) {
|
|
1612
1612
|
* // page: DocResponse[] — render incrementally
|
|
1613
1613
|
* }
|
|
1614
1614
|
* ```
|
|
@@ -606,7 +606,7 @@ type DocumentListFields = 'full' | 'lite';
|
|
|
606
606
|
interface ListPaginatedOptions {
|
|
607
607
|
/**
|
|
608
608
|
* Number of documents per page.
|
|
609
|
-
* @default
|
|
609
|
+
* @default 5000
|
|
610
610
|
*/
|
|
611
611
|
pageSize?: number;
|
|
612
612
|
/**
|
|
@@ -726,7 +726,7 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
|
|
|
726
726
|
*
|
|
727
727
|
* @example
|
|
728
728
|
* ```ts
|
|
729
|
-
* for await (const page of listPaginated(arbi, { pageSize:
|
|
729
|
+
* for await (const page of listPaginated(arbi, { pageSize: 5000, order: 'created_desc', fields: 'lite' })) {
|
|
730
730
|
* // page: DocResponse[] — render incrementally as pages arrive
|
|
731
731
|
* }
|
|
732
732
|
* ```
|
|
@@ -1608,7 +1608,7 @@ declare class Arbi {
|
|
|
1608
1608
|
*
|
|
1609
1609
|
* @example
|
|
1610
1610
|
* ```ts
|
|
1611
|
-
* for await (const page of arbi.documents.listPaginated({ pageSize:
|
|
1611
|
+
* for await (const page of arbi.documents.listPaginated({ pageSize: 5000, order: 'created_desc', fields: 'lite' })) {
|
|
1612
1612
|
* // page: DocResponse[] — render incrementally
|
|
1613
1613
|
* }
|
|
1614
1614
|
* ```
|