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