Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/sessions / / SessionExportReadOptions
Interface: SessionExportReadOptions
Defined in: packages/sessions/src/export/reader.ts:70
Options accepted by readSessionExport.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
activeEmbedderIds? | readonly | readonly string[] | When the meta header declares one or more embedderIds that do not match the supplied activeEmbedderIds set, embeddings on imported messages are dropped (with a warning per embedder). Defaults to an empty set, meaning embeddings are always dropped (the safest default — embeddings produced under a different embedder are not interchangeable byte-for-byte). | packages/sessions/src/export/reader.ts:79 |
decryptionKey? | readonly | Uint8Array<ArrayBufferLike> | When the file was written with --encrypt, supply the matching key + salt. Required when the footer surfaces cipher. | packages/sessions/src/export/reader.ts:84 |
onWarn? | readonly | (warning) => void | Provide a custom logger for warnings. The framework default emits to console.warn; pass () => {} to silence. | packages/sessions/src/export/reader.ts:89 |