VDL Plugin SDK

ConstantDef

Import from @varavel/vdl-plugin-sdk.

ConstantDef: object;

ConstantDef exposes the generated runtime helpers for ConstantDef.

Type Declaration

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