Alpha Optional descriptionLonger description for tooltips or help text. Optional.
The slot id. Must be a key of SubjectRegistry.
Plugin-added slots should use namespaced ids (mypkg.foo,
pluginx.bar) so two plugins can't accidentally claim the same
name. The built-in slots (user, limeobject, action) are
first-party and exempt from this convention.
Human-readable label. Useful for consumers that enumerate registered slots.
Describes a subject slot, its id, a label, and an optional description. Supplied at bootstrap when a slot is registered.
The generic parameter ties
idto a known slot. So if you pass{ id: 'user' }, the registration's provider must return aUser. Passing a different type is a compile error.Example