Skip to content

RuntimeDefinition

The composed application description a Runtime executes: the root App, every resolved App, the order they were resolved in and the Workspace Template.

Each canonical App appears once, however many Apps import it. Handlers, hooks and Listeners inside the Apps are functions, so JSON serialization keeps the structure but not the behavior.

Apps and Definitions

readonly apps: Record<string, AppDefinition>

Every App in the build, including transitive dependencies, keyed by canonical App key.


readonly resolution: string[]

App keys in build order, each App after the Apps it imports; the Runtime runs App Hooks in the reverse of this order.


readonly root: string

Key of the root App.


readonly workspaceTemplate: TemplateDefinition

Template of the Workspace Item, prn::<root>:template/workspace; also present as the root App’s workspace Template.