CommandReferences
The wire names of the commands a subscription refers to (SubscriptionManifest.derives, SubscriptionManifest.calls, SubscriptionManifest.rejected, SubscriptionManifest.committed, SubscriptionManifest.schedules) and an aggregate schedules (AggregateManifest.schedules), as some Manifests decide them. A module that does not decide a command refers to it by its class (#/$defs/<binary name>, Manifest.schemaRef); such a reference names, on the wire:
the full type name (
inventory.stock.ReserveStock) of the one command of that schema an aggregate of the Manifests decides, a mounted command left out as CommandIndex leaves it;the system name (
wow.lifecycle.TransferOwner) of a system command a saga sends, by its class: no aggregate lists it under its class, so its owner's registry names it (systemCommands);nothing when several commands share the class, or none of the Manifests decides it: it stays a schema reference.
A reference that is no schema reference is a wire name already.
systemCommands are the system names of the commands a saga sends, by the binary names of their classes: the same set wherever a service's Manifest is assembled or compared (SystemCommandGroups.SENT_BY_A_SAGA of wow-spi, which this module does not see).
Constructors
Functions
manifest with every command its subscriptions refer to named by its wire name where it has one, each list distinct and sorted again, and without the schemas of $defs only the references rewritten held: the command's schema is its own context's to publish. A Manifest none of whose references changes is itself.
The wire name of the command reference names; null for a schema reference that names no one command.