Skip to content

ReadAppInstance

Defined in: runtime/app.ts:67

  • BaseAppInstance

readonly metrics: Record<string, MetricInstance>

Defined in: runtime/app.ts:47

BaseAppInstance.metrics


readonly prn: string

Defined in: runtime/app.ts:45

BaseAppInstance.prn


readonly queries: Record<string, QueryHandlerInstance>

Defined in: runtime/app.ts:46

BaseAppInstance.queries


readonly roles: Record<string, ReadAppRoleInstance>

Defined in: runtime/app.ts:68


readonly searches: Record<string, ReadSearchIndexInstance>

Defined in: runtime/app.ts:69


readonly templates: Record<string, ReadTemplate>

Defined in: runtime/app.ts:70


readonly unions: Record<string, ReadUnionInstance>

Defined in: runtime/app.ts:71


readonly workspaceId: string

Defined in: runtime/index.ts:39

BaseAppInstance.workspaceId

assertRole(role): true

Defined in: runtime/app.ts:53

Asserts that the current, active instance has the current role. If successful, this will return true. Otherwise it will throw an Error.

ReadAppRoleInstance

true

BaseAppInstance.assertRole


checkRole(role): boolean

Defined in: runtime/app.ts:59

Checks that the current, active instance has the current role; returning true/false if that role is present.

ReadAppRoleInstance

boolean

BaseAppInstance.checkRole


report(request): Promise<Readonly<{ report: MetricReportEntry; }>>

Defined in: runtime/app.ts:64

Executes a metric report.

MetricReportRequest

Promise<Readonly<{ report: MetricReportEntry; }>>

BaseAppInstance.report