removeIgnoredField function infrastructure exported ✓ 100.0%
Last updated: 2026-02-24T21:07:57.585Z
Metrics
LOC: 7
Complexity: 1
Params: 1
Coverage: 100.0% (2/2 lines, 1x executed)
Signature
removeIgnoredField(id: string): : Promise<void>
Summary
Removes an ignored field entry by ID.
Tags
#@param id - The unique ignored-field identifier
Source Code
export async function removeIgnoredField(id: string): Promise<void> {
await updateStorageAtomically(
STORAGE_KEYS.IGNORED_FIELDS,
[] as IgnoredField[],
(fields) => fields.filter((f) => f.id !== id),
);
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| updateStorageAtomically | calls |