support delete extensions
This commit is contained in:
@@ -25,7 +25,7 @@ export type ExtensionSummary = {
|
||||
version: string | null;
|
||||
iconDataUrl: string | null;
|
||||
profileIds: string[];
|
||||
profiles: AssociatedProfileSummary[];
|
||||
profiles: ExtensionAssociatedProfileSummary[];
|
||||
};
|
||||
|
||||
export type BookmarkSummary = {
|
||||
@@ -67,6 +67,28 @@ export type CleanupHistoryResponse = {
|
||||
results: CleanupHistoryResult[];
|
||||
};
|
||||
|
||||
export type RemoveExtensionsInput = {
|
||||
browserId: string;
|
||||
removals: ExtensionRemovalRequest[];
|
||||
};
|
||||
|
||||
export type ExtensionRemovalRequest = {
|
||||
extensionId: string;
|
||||
profileIds: string[];
|
||||
};
|
||||
|
||||
export type RemoveExtensionsResponse = {
|
||||
results: RemoveExtensionResult[];
|
||||
};
|
||||
|
||||
export type RemoveExtensionResult = {
|
||||
extensionId: string;
|
||||
profileId: string;
|
||||
removedFiles: string[];
|
||||
skippedFiles: string[];
|
||||
error: string | null;
|
||||
};
|
||||
|
||||
export type AssociatedProfileSummary = {
|
||||
id: string;
|
||||
name: string;
|
||||
@@ -77,6 +99,19 @@ export type AssociatedProfileSummary = {
|
||||
avatarLabel: string;
|
||||
};
|
||||
|
||||
export type ExtensionInstallSource = "store" | "external";
|
||||
|
||||
export type ExtensionAssociatedProfileSummary = {
|
||||
id: string;
|
||||
name: string;
|
||||
avatarDataUrl: string | null;
|
||||
avatarIcon: string | null;
|
||||
defaultAvatarFillColor: number | null;
|
||||
defaultAvatarStrokeColor: number | null;
|
||||
avatarLabel: string;
|
||||
installSource: ExtensionInstallSource;
|
||||
};
|
||||
|
||||
export type BookmarkAssociatedProfileSummary = {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user