VDL Plugin SDK

Annotation

Import from @varavel/vdl-plugin-sdk.

Annotation: object;

Annotation exposes the generated runtime helpers for Annotation.

Type Declaration

NameTypeDescription
hydrate()(input) => AnnotationHydrates a validated Annotation value into its runtime representation.
parse()(json) => AnnotationParses a JSON string into a validated and hydrated Annotation value.
validate()(input, path?) => string | nullPerforms structural validation for Annotation (required field presence and basic type shape only); it does not enforce business rules.