Saxonberg Server API
    Preparing search index...
    Index

    Methods

    • Compress the noop-check + capture + assign + fire boilerplate at every fact-mixin setter into one call.

      Lives on MqlSubscriptionApi rather than next to FieldChangedEvent so the substrate owns its own helpers — the event class stays a pure DTO. Stateless: MqlSubscriptionApi.fireFieldChange does not touch any Registry state.

      Type Parameters

      • T

      Parameters

      • target: object
      • field: string
      • oldValue: T
      • newValue: T

      Returns T

    • Project the named field-set into a flat record. Iterates fieldNames in order, looks up each name in the stuff's subscribable-field descriptors, invokes read(stuff, viewer), and omits fields whose descriptor is missing OR whose read returns undefined. Stateless.

      Parameters

      Returns Record<string, unknown>