getAdapter function infrastructure exported ✓ 100.0%

Last updated: 2026-03-04T23:21:38.378Z

Metrics

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

Signature

getAdapter( name: AdapterName, ): : CustomComponentAdapter | undefined

Summary

Returns the adapter matching the given name, or undefined.

Source Code

export function getAdapter(
  name: AdapterName,
): CustomComponentAdapter | undefined {
  return getAdapterMap().get(name);
}

Dependencies (Outgoing)

graph LR getAdapter["getAdapter"] getAdapterMap["getAdapterMap"] getAdapter -->|calls| getAdapterMap style getAdapter fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getAdapter "fb0f4a5fd9ac2a4b.html" click getAdapterMap "9972c116451a41d5.html"
TargetType
getAdapterMap calls
name dynamic_call

Impact (Incoming)

graph LR getAdapter["getAdapter"] fillCustomComponent["fillCustomComponent"] extractCustomComponentValue["extractCustomComponentValue"] makeAdapter["makeAdapter"] fillCustomComponent -->|calls| getAdapter extractCustomComponentValue -->|calls| getAdapter makeAdapter -->|uses| getAdapter style getAdapter fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getAdapter "fb0f4a5fd9ac2a4b.html" click fillCustomComponent "fb27203fbaa0cd9b.html" click extractCustomComponentValue "e6339fe1023108e6.html" click makeAdapter "7cbe03be6bdb4b2d.html"