support history

This commit is contained in:
Julian Freeman
2026-04-16 23:05:04 -04:00
parent 9fe16cd334
commit b9f24e07cf
8 changed files with 361 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ export type BrowserStats = {
extensionCount: number;
bookmarkCount: number;
passwordSiteCount: number;
historyDomainCount: number;
};
export type ProfileSummary = {
@@ -40,6 +41,13 @@ export type PasswordSiteSummary = {
profiles: AssociatedProfileSummary[];
};
export type HistoryDomainSummary = {
domain: string;
visitCount: number;
profileIds: string[];
profiles: AssociatedProfileSummary[];
};
export type AssociatedProfileSummary = {
id: string;
name: string;
@@ -65,8 +73,9 @@ export type ProfileSortKey = "name" | "email" | "id";
export type ExtensionSortKey = "name" | "id";
export type BookmarkSortKey = "title" | "url";
export type PasswordSiteSortKey = "domain" | "url";
export type HistoryDomainSortKey = "visits" | "domain";
export type AssociatedProfileSortKey = "id" | "name";
export type ActiveSection = "profiles" | "extensions" | "bookmarks" | "passwords";
export type ActiveSection = "profiles" | "extensions" | "bookmarks" | "passwords" | "history";
export type AppPage = "browserData" | "configuration";
export type BrowserConfigSource = "default" | "custom";
@@ -102,6 +111,7 @@ export type BrowserView = {
extensions: ExtensionSummary[];
bookmarks: BookmarkSummary[];
passwordSites: PasswordSiteSummary[];
historyDomains: HistoryDomainSummary[];
stats: BrowserStats;
};