Files
faunosteo/packages/core-wasm/src/index.ts
T

26 lines
724 B
TypeScript

/**
* @faunosteo/core-wasm: the Faunosteo core (Rust) compiled to WebAssembly.
*
* Browser-safe entry: the runtime and the outcome types. The application gives the runtime
* a source built from Vite asset URLs (`apps/app/src/core/`), so the module is fetched on
* first need only; Node code (tests, scripts) uses `@faunosteo/core-wasm/node`.
*/
export {
CoreRuntime,
SheetSession,
closedRefusal,
type CoreSource,
type CoreStatus,
type GlueExportSession,
type GlueFileBytes,
type GlueModule,
type GlueSheetHandle,
} from './runtime'
export { CoreExportSession, openExportSession } from './export'
export {
CORE_UNAVAILABLE,
parseOutcome,
type CoreFailure,
type CoreOutcome,
} from './outcome'