Creates a role token for a deck companion variant. Both the deck consumer
(building the <Surface type={...} />) and contributing plugins (registering
via Surface.create({ filter: AppSurface.subject(AppSurface.deckCompanion(id), ...) }))
must call this factory with the same variant id so they agree on the dispatch NSID.
Variant ids must be camelCase alphanumeric (DXN rule: no hyphens in the final segment).
The deck passes the companion's graph node id, which is the surface's attendable id.
Creates a role token for a deck companion variant. Both the deck consumer (building the
<Surface type={...} />) and contributing plugins (registering viaSurface.create({ filter: AppSurface.subject(AppSurface.deckCompanion(id), ...) })) must call this factory with the same variant id so they agree on the dispatch NSID.Variant ids must be camelCase alphanumeric (DXN rule: no hyphens in the final segment). The deck passes the companion's graph node
id, which is the surface's attendable id.