refactor: move affine utils into @affine/workspace (#2611)

This commit is contained in:
Himself65
2023-05-31 13:13:59 +08:00
parent 840ce7d146
commit a84cfb80d1
18 changed files with 72 additions and 95 deletions

View File

@@ -1,10 +1,9 @@
import type { createWorkspaceApis } from '@affine/workspace/affine/api';
import type { BlobStorage } from '@blocksuite/store';
import { createIndexeddbStorage } from '@blocksuite/store';
import { openDB } from 'idb';
import type { DBSchema } from 'idb/build/entry';
import type { createWorkspaceApis } from '../affine/api';
type UploadingBlob = {
key: string;
arrayBuffer: ArrayBuffer;