VDL Plugin SDK

TypeDef

Import from @varavel/vdl-plugin-sdk.

TypeDef: object;

TypeDef exposes the generated runtime helpers for TypeDef.

Type Declaration

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