@univerjs-pro/collaboration-file-memory 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -4
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DeleteFileDatabaseResult, FileBlobContext, FileContent, FileDatabaseContext, FileRecord, IFileBlobStore, IFileDatabaseAdapter, ListFilesQuery, ListFilesResult, PutBlobInput, PutBlobResult } from "@univerjs-pro/collaboration-file-service";
2
2
 
3
- //#region src/memory-file-database-adapter.d.ts
3
+ // src/memory-file-database-adapter.d.ts
4
4
  /**
5
5
  * In-memory metadata adapter for tests and demos: one record per `fileID`, no sharing.
6
6
  * @public
@@ -13,8 +13,6 @@ declare class MemoryFileDatabaseAdapter implements IFileDatabaseAdapter {
13
13
  list(query: ListFilesQuery, _context: FileDatabaseContext): Promise<ListFilesResult>;
14
14
  dispose(): Promise<void>;
15
15
  }
16
- //#endregion
17
- //#region src/memory-file-blob-store.d.ts
18
16
  /**
19
17
  * In-memory blob store for tests and demos. Uses `fileID` as the `blobKey` and leaves `signUrl`
20
18
  * unimplemented on purpose, so every download goes through the proxy route.
@@ -27,5 +25,4 @@ declare class MemoryFileBlobStore implements IFileBlobStore {
27
25
  delete(blobKey: string, _context: FileBlobContext): Promise<void>;
28
26
  dispose(): Promise<void>;
29
27
  }
30
- //#endregion
31
28
  export { MemoryFileBlobStore, MemoryFileDatabaseAdapter };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "engines": {
12
12
  "node": ">=22"
13
13
  },
14
- "version": "1.4.0",
14
+ "version": "1.6.0",
15
15
  "main": "./dist/index.cjs",
16
16
  "module": "./dist/index.mjs",
17
17
  "types": "./dist/index.d.ts",
@@ -26,6 +26,6 @@
26
26
  "dist"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@univerjs-pro/collaboration-file-service": "1.4.0"
29
+ "@univerjs-pro/collaboration-file-service": "1.6.0"
30
30
  }
31
31
  }