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