(cacheKey: ProjectCacheKey)
| 57 | } |
| 58 | |
| 59 | static _stringifyCacheKey(cacheKey: ProjectCacheKey): string { |
| 60 | return `${cacheKey.userId}/${cacheKey.cloudProjectId}`; |
| 61 | } |
| 62 | |
| 63 | static async _removeDatabaseIfCorrupt(): Promise<void> { |
| 64 | const databases = await window.indexedDB.databases(); |