ui/client/features/requirement/domain/ProofSkip
Pure (DOMAIN-001): the reason a person gives for skipping the proof of a screen.
Cockpit client (features), next. Source: ui/client/features/requirement/domain/ProofSkip.ts.
Variables#
PROOF_REASON#
constPROOF_REASON:object
Defined in: ui/client/features/requirement/domain/ProofSkip.ts:4
The reason of a skip is a sentence, not a shrug. Mirrors ui/server requirementProofApi.mjs PROOF_REASON (the server refuses the rest again).
Type Declaration#
max
readonlymax:200=200
min
readonlymin:8=8
Functions#
skipReasonOf()#
skipReasonOf(
draft): {ok:true;reason:string; } | {error:string;ok:false; }
Defined in: ui/client/features/requirement/domain/ProofSkip.ts:7
The skip reason to send, trimmed, or what is wrong with it: empty, too short, too long or not one line.
Parameters#
draft
string
Returns#
{ ok: true; reason: string; } | { error: string; ok: false; }