VDL Plugin SDK

PluginInput

Import from @varavel/vdl-plugin-sdk.

PluginInput: object;

PluginInput exposes the generated runtime helpers for PluginInput.

Type Declaration

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