@mdbase-dev/connect 0.1.0-beta.70 → 0.1.0-beta.75
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/README.md +6 -0
- package/dist/browser/integrity.json +1 -1
- package/dist/browser/mdbase-connect.min.js +3 -3
- package/dist/browser/mdbase-connect.min.js.sha384 +1 -1
- package/dist/collection-client.d.ts +2 -1
- package/dist/collection-client.js +9 -1
- package/dist/connection.d.ts +2 -1
- package/dist/connection.js +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/operation-types.d.ts +28 -1
- package/dist/saved-view-pagination.d.ts +6 -0
- package/dist/saved-view-pagination.js +76 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -493,6 +493,12 @@ the Connect server does not store the change feed.
|
|
|
493
493
|
`queryAll()` treats `timeoutMs` as one deadline for the complete paginated
|
|
494
494
|
query. The caller-driven `queryPages()` iterator instead accepts
|
|
495
495
|
`pageTimeoutMs`, an independent budget for each page, plus a lifetime `signal`.
|
|
496
|
+
Large hosted pages may omit `meta.totalCount` and return
|
|
497
|
+
`meta.totalCountOutcome: { status: "deferred", budget: "eager_summary_rows", ... }`
|
|
498
|
+
so page latency is not coupled to a collection-wide count. `meta.hasMore` and the
|
|
499
|
+
opaque cursor remain authoritative for paging. `queryAll()` reports the exact
|
|
500
|
+
number of returned records after it has intentionally consumed the complete
|
|
501
|
+
sequence.
|
|
496
502
|
`preflightRename()` and `preflightDelete()` run the canonical collection
|
|
497
503
|
operation without changing records or advancing the change cursor, so an app
|
|
498
504
|
can show authoritative reference impact before asking for confirmation.
|