support delete extensions

This commit is contained in:
Julian Freeman
2026-04-17 14:54:16 -04:00
parent d724db6f0f
commit 469b684876
12 changed files with 1253 additions and 26 deletions

View File

@@ -8,6 +8,7 @@ import type {
AssociatedProfileSortKey,
AssociatedProfileSummary,
BookmarkAssociatedProfileSummary,
ExtensionAssociatedProfileSummary,
ProfileSortKey,
ProfileSummary,
} from "../types/browser";
@@ -89,7 +90,11 @@ export function sortPasswordSites(items: PasswordSiteSummary[], sortKey: Passwor
}
export function sortAssociatedProfiles(
items: (AssociatedProfileSummary | BookmarkAssociatedProfileSummary)[],
items: (
| AssociatedProfileSummary
| BookmarkAssociatedProfileSummary
| ExtensionAssociatedProfileSummary
)[],
sortKey: AssociatedProfileSortKey,
) {
const profiles = [...items];