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)
| Target | Type |
|---|---|
| getIgnoredFields | calls |
Impact (Incoming)
| Source | Type |
|---|---|
| FillableElement | uses |
| DomWatcherCallback | uses |
| setNativeValue | uses |
| makeField | uses |