Skip to content
Sheetwrite

@sheetwrite/queries

QueryFetchResulttype

Report a problem

On this page

CSV and JSON sources return bytes; host sources return typed batches.

Variants 2

{ readonly kind: "bytes"; readonly bytes: Uint8Array }
{ readonly kind: "batch"; readonly batch: QueryBatch }

Declaration

View full TypeScript declaration
export type QueryFetchResult =
| {
readonly kind: "bytes";
readonly bytes: Uint8Array;
}
| {
readonly kind: "batch";
readonly batch: QueryBatch;
};

Referenced by

Public exports naming QueryFetchResult