PolicyRef
Import from @varavel/vdl-plugin-sdk/utils/policy.
type PolicyRef = object;
Reference to a policy input field, with resolved metadata.
Properties
| Property | Type | Description |
|---|---|---|
kind | "ref" | - |
optional | boolean | True when any segment is optional and the chain may be missing. |
path | string[] | Field path after the root. |
root | PolicyRootName | Which policy root this reference starts from. |
segments | PolicyRefSegment[] | Resolved metadata per path segment. |
valueType | PolicyValueType | Resolved type of the final path element. |