Skip to content

PluginOutput

Import from @varavel/vdl-plugin-sdk.

PluginOutput: object;

PluginOutput exposes the generated runtime helpers for PluginOutput.

Type Declaration

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