validateWorkspaceProposalApplicationEnvelope()
Validates workspace proposal application envelope input.
Import
Section titled “Import”import { validateWorkspaceProposalApplicationEnvelope } from "@graphrefly/ts/solutions/work-item";Signature
Section titled “Signature”function validateWorkspaceProposalApplicationEnvelope( record: WorkspaceProposalRecorded, decision: WorkspaceProposalAdmissionDecision, options: WorkspaceProposalApplicationEnvelopeValidationOptions = {},): readonly WorkspaceProposalRecordedIssue[]Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
record | WorkspaceProposalRecorded | Record to encode, validate, or project. |
decision | WorkspaceProposalAdmissionDecision | Admission decision or interpreter output to project. |
options | WorkspaceProposalApplicationEnvelopeValidationOptions | Options that configure the helper. |
Returns
Section titled “Returns”Validation diagnostics or the validated projection.
Example
Section titled “Example”import { validateWorkspaceProposalApplicationEnvelope } from "@graphrefly/ts/solutions/work-item/scheduling";Source
Section titled “Source”packages/ts/src/solutions/work-item/workspace-proposals.ts