VDL Plugin SDK

PolicyRef

Import from @varavel/vdl-plugin-sdk/utils/policy.

type PolicyRef = object;

Reference to a policy input field, with resolved metadata.

Properties

PropertyTypeDescription
kind"ref"-
optionalbooleanTrue when any segment is optional and the chain may be missing.
pathstring[]Field path after the root.
rootPolicyRootNameWhich policy root this reference starts from.
segmentsPolicyRefSegment[]Resolved metadata per path segment.
valueTypePolicyValueTypeResolved type of the final path element.