getFieldDetectionCache function infrastructure exported ✓ 100.0%

Last updated: 2026-02-24T21:07:57.500Z

Metrics

LOC: 8 Complexity: 1 Params: 0 Coverage: 100.0% (1/1 lines, 6x executed)

Signature

getFieldDetectionCache(): : Promise< FieldDetectionCacheEntry[] >

Summary

Retrieves all field detection cache entries.

Source Code

export async function getFieldDetectionCache(): Promise<
  FieldDetectionCacheEntry[]
> {
  return getFromStorage<FieldDetectionCacheEntry[]>(
    STORAGE_KEYS.FIELD_CACHE,
    [],
  );
}

Dependencies (Outgoing)

graph LR getFieldDetectionCache["getFieldDetectionCache"] FieldDetectionCacheEntry["FieldDetectionCacheEntry"] DetectedFieldSummary["DetectedFieldSummary"] updateStorageAtomically["updateStorageAtomically"] getFromStorage["getFromStorage"] getFieldDetectionCache -->|uses| FieldDetectionCacheEntry getFieldDetectionCache -->|uses| DetectedFieldSummary getFieldDetectionCache -->|uses| updateStorageAtomically getFieldDetectionCache -->|calls| getFromStorage style getFieldDetectionCache fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getFieldDetectionCache "8f2869c3e935ff86.html" click FieldDetectionCacheEntry "09d81c021e6b2913.html" click DetectedFieldSummary "bfdc4d4bda59a49c.html" click updateStorageAtomically "bf2f57323401fa98.html" click getFromStorage "77fa46e898763ede.html"

Impact (Incoming)

graph LR getFieldDetectionCache["getFieldDetectionCache"] handle["handle"] getFieldDetectionCacheForUrl["getFieldDetectionCacheForUrl"] handle -->|uses| getFieldDetectionCache getFieldDetectionCacheForUrl -->|calls| getFieldDetectionCache style getFieldDetectionCache fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getFieldDetectionCache "8f2869c3e935ff86.html" click handle "8b929c06f047f82c.html" click getFieldDetectionCacheForUrl "df99bb80d6972b4a.html"
SourceType
handle uses
getFieldDetectionCacheForUrl calls