Skip to content

PluginInput

Import from @varavel/vdl-plugin-sdk.

PluginInput: object;

PluginInput exposes the generated runtime helpers for PluginInput.

Type Declaration

Name Type Description
hydrate() (input) => PluginInput Hydrates a validated PluginInput value into its runtime representation.
parse() (json) => PluginInput Parses a JSON string into a validated and hydrated PluginInput value.
validate() (input, path?) => string | null Performs structural validation for PluginInput (required field presence and basic type shape only); it does not enforce business rules.