Files
faunosteo/packages/core-wasm/src/index.ts
T
bchanot 8ae756534c feat(domain): V1-2.2 wasm facade, contract types, module proofs
PreviewBuilder, PreviewSheet and clean_svg on the browser module, the
31 ts-rs types and their index, the glue interface, and the proofs on
the shipped module; the module stays under its 600 KB budget.
2026-10-29 13:14:22 +01:00

28 lines
776 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 GluePreviewBuilder,
type GluePreviewSheet,
type GlueSheetHandle,
} from './runtime'
export { CoreExportSession, openExportSession } from './export'
export {
CORE_UNAVAILABLE,
parseOutcome,
type CoreFailure,
type CoreOutcome,
} from './outcome'