VDL Plugin SDK

TypeRef

Import from @varavel/vdl-plugin-sdk.

TypeRef: object;

TypeRef exposes the generated runtime helpers for TypeRef.

Type Declaration

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