Skip to content

DependencyAppBuilder

Exposes the resources of an imported App to the App that imports it.

AppBuilder.addDependency returns this view of the imported App. It carries the resources another App may reference, such as Templates for Relations and Events for Metrics, but not the declaration methods of the full AppBuilder.

Compose apps

TTypes extends AppBuilderTypes = AppBuilderTypes

Generated type mapping of the imported App.

readonly events: Record<string, EventBuilder>

App-level Events, keyed by Event key.


readonly key: string

Canonical App key set by AppBuilder.configure.


readonly prn: string

Platform Resource Name of the App, derived from its canonical key.


readonly roles: Record<string, AppRoleBuilder>

App Roles, keyed by Role key.


readonly searches: Record<string, SearchIndexBuilder<TTypes>>

Search indexes, keyed by index key.


readonly templates: Record<string, TemplateBuilder>

Templates, keyed by Template key.


readonly unions: Record<string, UnionBuilder>

Unions, keyed by Union key.