support delete bookmarks
This commit is contained in:
@@ -72,15 +72,29 @@ export type RemoveExtensionsInput = {
|
||||
removals: ExtensionRemovalRequest[];
|
||||
};
|
||||
|
||||
export type RemoveBookmarksInput = {
|
||||
browserId: string;
|
||||
removals: BookmarkRemovalRequest[];
|
||||
};
|
||||
|
||||
export type ExtensionRemovalRequest = {
|
||||
extensionId: string;
|
||||
profileIds: string[];
|
||||
};
|
||||
|
||||
export type BookmarkRemovalRequest = {
|
||||
url: string;
|
||||
profileIds: string[];
|
||||
};
|
||||
|
||||
export type RemoveExtensionsResponse = {
|
||||
results: RemoveExtensionResult[];
|
||||
};
|
||||
|
||||
export type RemoveBookmarksResponse = {
|
||||
results: RemoveBookmarkResult[];
|
||||
};
|
||||
|
||||
export type RemoveExtensionResult = {
|
||||
extensionId: string;
|
||||
profileId: string;
|
||||
@@ -89,6 +103,15 @@ export type RemoveExtensionResult = {
|
||||
error: string | null;
|
||||
};
|
||||
|
||||
export type RemoveBookmarkResult = {
|
||||
url: string;
|
||||
profileId: string;
|
||||
removedCount: number;
|
||||
removedFiles: string[];
|
||||
skippedFiles: string[];
|
||||
error: string | null;
|
||||
};
|
||||
|
||||
export type AssociatedProfileSummary = {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user