Annotation
Import from @varavel/vdl-plugin-sdk.
Annotation: object;
Annotation exposes the generated runtime helpers for Annotation.
Type Declaration
| Name | Type | Description |
|---|---|---|
hydrate() | (input) => Annotation | Hydrates a validated Annotation value into its runtime representation. |
parse() | (json) => Annotation | Parses a JSON string into a validated and hydrated Annotation value. |
validate() | (input, path?) => string | null | Performs structural validation for Annotation (required field presence and basic type shape only); it does not enforce business rules. |