Skip to content
HomePagesHomePages template kit

IslandEditorOptions

The RUNTIME's tolerant view of `IslandEditor` — every field optional, `live` included.

The RUNTIME’s tolerant view of IslandEditor — every field optional, live included.

Deliberately not the same type as the authoring contract. hydrateIslands reaches a module through a dynamic import() and a cast (runtime.ts): it cannot enforce what the module actually exports, and the published-page path never reads editor at all. Requiring live here would be an assumption the loader has no way to hold. The authoring requirement is enforced where it can be — the require-island-editor lint rule and the registry’s ingest validator.

Import from @homepages/template-kit or @homepages/template-kit/island-runtime.

export type IslandEditorOptions = Partial<IslandEditor>;