Skip to content

Interface: RecordInfo

Defined in: packages/index/src/index.ts:104

One record in the index: its model entry plus source spans and the facts drift checks need.

Properties

authoredModifiers

ts
authoredModifiers: Set<string>;

Defined in: packages/index/src/index.ts:111

Modifier names authored via @modifier (used for drift detection).


authoredParts

ts
authoredParts: Set<string>;

Defined in: packages/index/src/index.ts:113

Part names authored via @part/@csspart (used for drift detection).


entry

ts
entry: CssDocEntry;

Defined in: packages/index/src/index.ts:105


memberSpans

ts
memberSpans: Map<string, SourceSpan>;

Defined in: packages/index/src/index.ts:109

Spans keyed by memberKey, e.g. modifier:-color-secondary, property:--value.


selectorText

ts
selectorText: string;

Defined in: packages/index/src/index.ts:115

The concatenated selector text of the record's rules (used for drift detection).


span?

ts
optional span?: SourceSpan;

Defined in: packages/index/src/index.ts:107

The record's definition span (its base-class rule, else its doc comment).

Released under the MIT License