support history
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user