validateVerificationPlan()
Validates verification plan input.
Import
Section titled “Import”import { validateVerificationPlan } from "@graphrefly/ts/solutions/work-item/scheduling";Signature
Section titled “Signature”function validateVerificationPlan( plan: VerificationPlan<TInput>, criteria: readonly AcceptanceCriterion[] = [], opts: { readonly workItemId?: string; readonly allowedModes?: readonly VerificationStepMode[]; readonly allowedEffectKinds?: readonly string[]; } = {},): readonly DataIssue[]Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
plan | VerificationPlan<TInput> | plan value used by the helper. |
criteria | readonly AcceptanceCriterion[] | criteria value used by the helper. |
opts | { readonly workItemId?: string; readonly allowedModes?: readonly VerificationStepMode[]; readonly allowedEffectKinds?: readonly string[]; } | Options that configure the helper. |
Returns
Section titled “Returns”Validation diagnostics or the validated projection.
Example
Section titled “Example”import { validateVerificationPlan } from "@graphrefly/ts/solutions/work-item/scheduling";Source
Section titled “Source”packages/ts/src/solutions/work-item/scheduling-validation.ts