TypeDef
Import from @varavel/vdl-plugin-sdk.
TypeDef: object;
TypeDef exposes the generated runtime helpers for TypeDef.
Type Declaration
| Name | Type | Description |
|---|---|---|
hydrate() | (input) => TypeDef | Hydrates a validated TypeDef value into its runtime representation. |
parse() | (json) => TypeDef | Parses a JSON string into a validated and hydrated TypeDef value. |
validate() | (input, path?) => string | null | Performs structural validation for TypeDef (required field presence and basic type shape only); it does not enforce business rules. |