@vttforge/core / DocumentSheet
Function: DocumentSheet()
DocumentSheet(
options): (target,_context) =>void
Experimental
Register this sheet for a document type.
ts
@DocumentSheet({ id: 'character', document: 'Actor', namespace: 'my-system', types: ['character'], makeDefault: true })
class CharacterSheet extends BaseActorSheet() {}Goes through registerSheets, the same path registerSystem({ sheets }) takes, so the persisted key is <namespace>.<id> and survives a rebuild.
New in 0.13, and no consumer has used it yet. The shape can change in a minor.
Parameters
options
Returns
(target, _context) => void