ValidatedEvent
Import from @varavel/vdl-plugin-sdk/utils/events.
type ValidatedEvent = object;
Validated event ready for code generation.
Properties
| Property | Type | Description |
|---|---|---|
name | string | Event payload type name. |
placeholders | EventPlaceholder[] | Placeholder fields in order of first appearance, deduplicated. |
position | Position | Source position of the event type. |
subjectTemplate | string | Literal subject template from the annotation, for catalogs. |