Skip to content
Sheetwrite

Sheetwrite / Documentation

@sheetwrite/core/adapter

API reference for @sheetwrite/core/adapter.

supported

Supported public entry point. Import this entry point as @sheetwrite/core/adapter.

Source entry: packages/core/src/adapter.ts

Exported symbols

Classes 2

Functions 10

Interfaces 25

GridAdapterEventHandlersFramework-neutral readiness, change, and error callbacks shared by adapters. GridControllerThe lifecycle handle returned by createGridController: the live grid, a theme passthrough, and a single teardown that detaches every subscription and destroys the grid. GridControllerHandlersEvent callbacks a host (a framework adapter, or any plain app) hangs off a grid's lifecycle. GridReadyEventGrid handle, generation, and reason published after adapter initialization. OptionalGridSizePropsOptional width and height accepted by advanced framework adapters. RowBridgeCellA cell effect with semantic column and host row identity. RowBridgeClearDeltaA clearRange effect expanded to its exact changed cells. RowBridgeColumnSemantic column key accepted by the row bridge. RowBridgeFillDeltaA fill-series transaction effect. RowBridgeHostActionDeltaA document operation that needs a host-side action rather than row mutation. RowBridgeInsertContextContext supplied when a canonical row insertion needs a host identity. RowBridgeMetadataDeltaA document operation that changes workbook or column metadata. RowBridgeOptionsOptions for the framework-neutral, opt-in row bridge. RowBridgePasteDeltaA paste transaction effect. RowBridgeProjectionResult of projection or reconciliation. RowBridgeRangeDeltaA setRange/setBlock effect expanded to its exact changed cells. RowBridgeReconciliationInputInput to RowBridge.reconcile. RowBridgeRowStructureDeltaStable row identity effects for insert, delete, and move operations. RowBridgeTransactionThe canonical transaction identity carried by each projected delta. RowBridgeUnprojectableDeltaAn explicit projection record for an operation with no row-space meaning. SheetwriteErrorEnvelopeStructural form preserved across realms and JSON serialization. SheetwriteInitializationPropsOptional explicit WASM source and initialization error callback for adapters. SimpleColumnColumn definition accepted by the adapters’ simple row-object API. SimpleGridInputNormalized workbook and columnar data produced from simple adapter props. SimpleSheetwriteOptionsFramework-neutral simple columns, rows, sizing, and grid options.

Types 10

Variables 4