Skip to content

@tavora/sdk / OpenedFile

Type Alias: OpenedFile ​

OpenedFile = { fileName: string; text: string; type: "csv"; } | { bytes: Uint8Array; fileName: string; type: "xlsx"; }

Defined in: packages/sdk/src/protocol.ts:1449

What files.open resolves with: a CSV as text, a workbook as bytes.

For Tavora 0.24.58 and @tavora/sdk 0.3.20. Code under the MIT License. The Tavora name and logo are not covered by it.