Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / FinishContractSectionPattern

Interface: FinishContractSectionPattern

Defined in: packages/core/dist/index.d.ts

One counted per-section collection demand (RV2206).

Properties

PropertyTypeDescriptionDefined in
flags?string-packages/core/dist/index.d.ts
label?stringShort human name for prompts and reasons.packages/core/dist/index.d.ts
minnumberMatches (distinct captures when capturing) required inside the section.packages/core/dist/index.d.ts
patternstringRegex source; a capture group makes counting DISTINCT by first capture.packages/core/dist/index.d.ts
samplesstring[]Literal matches for the golden fixtures and the prompt. Single line each; with a capturing pattern they must together carry at least min distinct captures.packages/core/dist/index.d.ts
sectionstringA declared section marker this demand binds to.packages/core/dist/index.d.ts