getIgnoredFieldsForUrl function infrastructure exported ✓ 100.0%

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

Metrics

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

Signature

getIgnoredFieldsForUrl( url: string, ): : Promise<IgnoredField[]>

Summary

Retrieves ignored fields whose urlPattern matches the given URL.

Tags

#@param url - The page URL to match against

Source Code

export async function getIgnoredFieldsForUrl(
  url: string,
): Promise<IgnoredField[]> {
  const fields = await getIgnoredFields();
  return fields.filter((f) => matchUrlPattern(url, f.urlPattern));
}

Dependencies (Outgoing)

graph LR getIgnoredFieldsForUrl["getIgnoredFieldsForUrl"] getIgnoredFields["getIgnoredFields"] getIgnoredFieldsForUrl -->|calls| getIgnoredFields style getIgnoredFieldsForUrl fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getIgnoredFieldsForUrl "b907cee0f0a40b9c.html" click getIgnoredFields "4ae1979d28b4e80b.html"
TargetType
getIgnoredFields calls

Impact (Incoming)

graph LR getIgnoredFieldsForUrl["getIgnoredFieldsForUrl"] FillableElement["FillableElement"] DomWatcherCallback["DomWatcherCallback"] setNativeValue["setNativeValue"] makeField["makeField"] FillableElement -->|uses| getIgnoredFieldsForUrl DomWatcherCallback -->|uses| getIgnoredFieldsForUrl setNativeValue -->|uses| getIgnoredFieldsForUrl makeField -->|uses| getIgnoredFieldsForUrl style getIgnoredFieldsForUrl fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getIgnoredFieldsForUrl "b907cee0f0a40b9c.html" click FillableElement "2ecf5aaac3f668a8.html" click DomWatcherCallback "3bef99a9ca0785db.html" click setNativeValue "334bd99609d7c37c.html" click makeField "4efd84a92001a881.html"