Options
All
  • Public
  • Public/Protected
  • All
Menu

The runtime embedding environment for the m-ld clone. The clone calls back the app for specific behaviours; see the members of this class.

Extensions provided as members of the app object will be used for bootstrapping, prior to the clone joining the domain. After that, different extensions may come into effect if so declared in the data.

Hierarchy

  • {}
    • MeldApp

Index

Properties

Optional backendEvents

backendEvents: EventEmitter

An event emitter for receiving low-level backend transaction events. Use to debug or trigger offline save. Received events are:

  • commit(id: string): a transaction batch with the given ID has committed normally
  • error(err: any): an error has occurred in the store (most such errors will also manifest in the operation performed)
  • clear(): the store has been cleared, as when applying a new snapshot
  • timing(entry: PerformanceEntry): stopwatch timings for debugging

Optional principal

principal: AppPrincipal

This object must be provided if the domain declares an access control extension requiring an identified security principal (user or machine).

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.7.1-4 Source code licensed MIT. Privacy policy