← All packages

API reference

@searsuite/sear-assembly-headless

Headless Sheet composition for tests, servers, and runtimes without a visual host.

7 exportsderived from source

classHeadlessXmlXPathEvaluatorsource ↗
class HeadlessXmlXPathEvaluator extends XmlXPathEvaluator

Node-safe XML/XPath adapter for tests, servers, and other headless hosts.

constructorconstructor
HeadlessXmlXPathEvaluator(): HeadlessXmlXPathEvaluator
propertysymbolstatic
readonly symbol: symbol

DI token for resolving the editor-local XML/XPath adapter.

Inherited members 1

Inherited from XmlXPathEvaluator.

typeHeadlessEditorsource ↗
type HeadlessEditor = SheetEditor

Public editor returned by the headless assembly helper.

typeHeadlessEditorOptionssource ↗
type HeadlessEditorOptions = Omit<SheetEditorConfiguration, "adapters"> & { currentDateTime?: (): number; dateSystem?: FormulaDateSystem; iteration?: FormulaIterationSettings }

Sheet editor options for hosts that do not provide platform adapters.

typeHeadlessWorkbookEditorsource ↗
type HeadlessWorkbookEditor = WorkbookEditor

Public workbook editor returned by the headless assembly helper.

typeHeadlessWorkbookEditorOptionssource ↗
type HeadlessWorkbookEditorOptions = Omit<WorkbookEditorConfiguration, "adapters"> & { currentDateTime?: (): number; dateSystem?: FormulaDateSystem; iteration?: FormulaIterationSettings }

Workbook editor options for hosts that do not provide platform adapters.

functioncreateHeadlessEditorsource ↗
createHeadlessEditor(options: HeadlessEditorOptions): SheetEditor createHeadlessEditor(options: HeadlessWorkbookEditorOptions): WorkbookEditor

Creates a sheet editor backed entirely by headless adapters.

ReturnsA sheet editor suitable for tests, servers, or non-UI hosts.

options: HeadlessWorkbookEditorOptions

Sheet editor configuration excluding adapter overrides.

functioncreateHeadlessWorkbookEditorsource ↗
createHeadlessWorkbookEditor(options: HeadlessWorkbookEditorOptions): WorkbookEditor

Creates a workbook editor backed entirely by platform-neutral headless adapters.

Use this assembly for server-side processing, deterministic tests, and hosts that provide their own visual presentation. The returned editor exposes the same typed command, observation, capability, document, and sheet facades as the visual assembly.

ReturnsAn isolated workbook editor that owns its plugins and runtime services.

options: HeadlessWorkbookEditorOptions

Workbook configuration excluding platform adapter construction.