[MM-47801][MM-45980] Added support for security-scoped bookmarks to allow the MAS build to save files wherever needed (#2315)
* First pass * [MM-47801] Added support for security-scoped bookmarks to allow the MAS build to save files wherever needed
This commit is contained in:
@@ -17,6 +17,7 @@ export type DownloadedItem = {
|
||||
addedAt: number;
|
||||
receivedBytes: number;
|
||||
totalBytes: number;
|
||||
bookmark?: string;
|
||||
}
|
||||
|
||||
export type DownloadedItems = Record<string, DownloadedItem>;
|
||||
|
@@ -20,5 +20,8 @@ declare global {
|
||||
timers: {
|
||||
setImmediate: typeof setImmediate;
|
||||
};
|
||||
mas: {
|
||||
getThumbnailLocation: (location: string) => Promise<string>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user