Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / SectionPatternEntry

Interface: SectionPatternEntry

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

One counted per-section pattern demand of sectionPatternCountValidator (RV2206).

Properties

PropertyTypeDescriptionDefined in
flags?string-packages/core/dist/index.d.ts
label?stringShort human name for reasons (e.g. 'numbered negative scenarios').packages/core/dist/index.d.ts
minnumberMatches (distinct captures when capturing) required in the slice.packages/core/dist/index.d.ts
patternstringRegex source. A capture group makes the count DISTINCT by the first capture (the parity contract's N01..N48 ids count once each, however often an id repeats); without a capture the raw match count applies.packages/core/dist/index.d.ts
sectionstringThe section marker the demand binds to.packages/core/dist/index.d.ts