Skip to content
PACKAGES

validateWorkspaceProposalApplicationEnvelope()

Validates workspace proposal application envelope input.

import { validateWorkspaceProposalApplicationEnvelope } from "@graphrefly/ts/solutions/work-item";
function validateWorkspaceProposalApplicationEnvelope(
record: WorkspaceProposalRecorded,
decision: WorkspaceProposalAdmissionDecision,
options: WorkspaceProposalApplicationEnvelopeValidationOptions = {},
): readonly WorkspaceProposalRecordedIssue[]
ParameterTypeDescription
recordWorkspaceProposalRecordedRecord to encode, validate, or project.
decisionWorkspaceProposalAdmissionDecisionAdmission decision or interpreter output to project.
optionsWorkspaceProposalApplicationEnvelopeValidationOptionsOptions that configure the helper.

Validation diagnostics or the validated projection.

import { validateWorkspaceProposalApplicationEnvelope } from "@graphrefly/ts/solutions/work-item/scheduling";

packages/ts/src/solutions/work-item/workspace-proposals.ts