VDL Plugin SDK

PluginOutput

Import from @varavel/vdl-plugin-sdk.

PluginOutput: object;

PluginOutput exposes the generated runtime helpers for PluginOutput.

Type Declaration

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