mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 11:23:10 +02:00
IndexxedDb refactored
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Enhanced file types for IndexedDB storage
|
||||
*/
|
||||
|
||||
export interface FileWithUrl extends File {
|
||||
id?: string;
|
||||
url?: string;
|
||||
thumbnail?: string;
|
||||
storedInIndexedDB?: boolean;
|
||||
}
|
||||
|
||||
export interface StorageConfig {
|
||||
useIndexedDB: boolean;
|
||||
// Simplified - no thresholds needed, IndexedDB for everything
|
||||
}
|
||||
|
||||
export const defaultStorageConfig: StorageConfig = {
|
||||
useIndexedDB: true,
|
||||
};
|
||||
Reference in New Issue
Block a user