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.
28 lines
776 B
TypeScript
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'
|