support login data

This commit is contained in:
Julian Freeman
2026-04-16 22:43:17 -04:00
parent a976dc3fc5
commit 9fe16cd334
11 changed files with 519 additions and 20 deletions

View File

@@ -2,6 +2,7 @@ export type BrowserStats = {
profileCount: number;
extensionCount: number;
bookmarkCount: number;
passwordSiteCount: number;
};
export type ProfileSummary = {
@@ -32,6 +33,13 @@ export type BookmarkSummary = {
profiles: BookmarkAssociatedProfileSummary[];
};
export type PasswordSiteSummary = {
url: string;
domain: string;
profileIds: string[];
profiles: AssociatedProfileSummary[];
};
export type AssociatedProfileSummary = {
id: string;
name: string;
@@ -56,8 +64,9 @@ export type BookmarkAssociatedProfileSummary = {
export type ProfileSortKey = "name" | "email" | "id";
export type ExtensionSortKey = "name" | "id";
export type BookmarkSortKey = "title" | "url";
export type PasswordSiteSortKey = "domain" | "url";
export type AssociatedProfileSortKey = "id" | "name";
export type ActiveSection = "profiles" | "extensions" | "bookmarks";
export type ActiveSection = "profiles" | "extensions" | "bookmarks" | "passwords";
export type AppPage = "browserData" | "configuration";
export type BrowserConfigSource = "default" | "custom";
@@ -92,6 +101,7 @@ export type BrowserView = {
profiles: ProfileSummary[];
extensions: ExtensionSummary[];
bookmarks: BookmarkSummary[];
passwordSites: PasswordSiteSummary[];
stats: BrowserStats;
};