Skip to content

js-bao-wss-client


js-bao-wss-client / DocumentIngestChunkUpload

Interface: DocumentIngestChunkUpload ​

One chunk of a bulk-load artifact, with the descriptor the server checks.

Properties ​

body ​

body: Uint8Array<ArrayBufferLike> | Blob

The stored bytes themselves.


bytes ​

bytes: number

The stored (gzipped) byte length, which the server re-measures.


firstId ​

firstId: string


index ​

index: number

The chunk's index within its model, ascending from 0.


lastId ​

lastId: string


model ​

model: string


rawBytes ​

rawBytes: number

The raw byte length before compression.


rows ​

rows: number


sha256 ​

sha256: string

SHA-256 of the stored bytes, hex, which the server re-computes.

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30