Interface: CreateRulesBuilderState
Defined in: builders/create-rules-builder-state.ts:11
Optional copy-on-write state for createRulesBuilder.
Stores the accumulated globalRules and scopedRules arrays across immutable builder transitions.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
globalRules? | readonly | readonly SourceValue< | { directive: string; id: string; } | readonly object[]>[] | Accumulated global rule sources. | builders/create-rules-builder-state.ts:13 |
scopedRules? | readonly | readonly ( | ScopedRuleNode | SourceValue< | { checks: BuiltInCheckASTNode<unknown>[]; directive: string; id: string; when: { effects?: FsGlobMatcherNode; partitions: string[]; }; } | readonly object[]>)[] | Accumulated scoped rule nodes or sources. | builders/create-rules-builder-state.ts:15 |