Skip to content

Interface: RecordInfo

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

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

Properties

authoredModifierLines

ts
authoredModifierLines: Map<string, SourceSpan>;

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

The single-line span of each @modifier tag's own line in the doc comment, keyed by name.


authoredModifiers

ts
authoredModifiers: Set<string>;

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

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


authoredPartLines

ts
authoredPartLines: Map<string, SourceSpan>;

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

The single-line span of each @part tag's own line in the doc comment, keyed by name.


authoredParts

ts
authoredParts: Map<string, string>;

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

Parts authored via @part, keyed by derived name → original CSS selector. Class parts store .${name}; attribute/ID/:host parts store their full selector.


authoredShadowParts

ts
authoredShadowParts: Set<string>;

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

Shadow-part names authored via @csspart (used for drift detection).


entry

ts
entry: CssDocEntry;

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


memberSpans

ts
memberSpans: Map<string, SourceSpan>;

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

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


propertyValues

ts
propertyValues: Map<string, Set<string>>;

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

Distinct values seen for each property declared inside this record's rules.


resetValueUsages

ts
resetValueUsages: object[];

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

Declarations that include reset-like keywords (unset/initial/inherit/revert).

property

ts
property: string;

span?

ts
optional span?: SourceSpan;

value

ts
value: string;

selectorText

ts
selectorText: string;

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

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:128

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

Released under the MIT License