CachedExtraction import type {CachedExtraction} from '@fuzdev/fuz_css/css_cache.js'; Cached extraction result for a single file.
Uses null instead of empty arrays to avoid allocation overhead.
v
Cache version - invalidates cache when bumped
type number
content_hash
Content hash of the source file (BLAKE3 via hash_blake3)
type string
extraction_key
The configuration part of the key (to_extraction_cache_key), or null for the default
type string | null
classes
Classes as [name, locations] tuples, or null if none
type [string, SourceLocation[]][] | null
explicit_classes
Classes from @fuz-classes comments, or null if none
type string[] | null
diagnostics
Extraction diagnostics, or null if none
type ExtractionDiagnostic[] | null
elements
HTML elements found in the file, or null if none
type string[] | null
explicit_elements
Elements from @fuz-elements comments, or null if none
type string[] | null
explicit_variables
Variables from @fuz-variables comments, or null if none
type string[] | null