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