@lvce-editor/api 9.25.0 → 9.26.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.
- package/dist/parts/FileSystemProvider/FileSystemProvider.d.ts +1 -1
- package/dist/parts/FileSystemProviderRegistry/FileSystemProviderRegistry.d.ts +1 -1
- package/dist/parts/RegisteredFileSystemProvider/RegisteredFileSystemProvider.d.ts +1 -1
- package/dist/parts/WebRtc/WebRtc.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ export interface FileSystemProvider {
|
|
|
5
5
|
readonly mkdir?: (uri: string) => void | Promise<void>;
|
|
6
6
|
readonly pathSeparator?: string;
|
|
7
7
|
readonly readDirWithFileTypes?: (uri: string) => readonly FileSystemDirent[] | Promise<readonly FileSystemDirent[]>;
|
|
8
|
-
readonly readFile: (uri: string) =>
|
|
8
|
+
readonly readFile: (uri: string) => Blob | Promise<Blob | string> | string;
|
|
9
9
|
readonly remove?: (uri: string) => void | Promise<void>;
|
|
10
10
|
readonly rename?: (oldUri: string, newUri: string) => void | Promise<void>;
|
|
11
11
|
readonly writeFile?: (uri: string, content: string) => void | Promise<void>;
|
|
@@ -2,7 +2,7 @@ import type { Disposable } from '../Disposable/Disposable.ts';
|
|
|
2
2
|
import type { FileSystemDirent } from '../FileSystemDirent/FileSystemDirent.ts';
|
|
3
3
|
import type { FileSystemProvider } from '../FileSystemProvider/FileSystemProvider.ts';
|
|
4
4
|
import type { FileSystemProviderRegistrySnapshot } from '../FileSystemProviderRegistrySnapshot/FileSystemProviderRegistrySnapshot.ts';
|
|
5
|
-
export declare const executeFileSystemProviderReadFile: (id: string, uri: string) => Promise<string>;
|
|
5
|
+
export declare const executeFileSystemProviderReadFile: (id: string, uri: string) => Promise<Blob | string>;
|
|
6
6
|
export declare const executeFileSystemProviderMkdir: (id: string, uri: string) => Promise<void>;
|
|
7
7
|
export declare const executeFileSystemProviderRemove: (id: string, uri: string) => Promise<void>;
|
|
8
8
|
export declare const executeFileSystemProviderRename: (id: string, oldUri: string, newUri: string) => Promise<void>;
|
|
@@ -5,7 +5,7 @@ export interface RegisteredFileSystemProvider {
|
|
|
5
5
|
readonly mkdir?: (uri: string) => void | Promise<void>;
|
|
6
6
|
readonly pathSeparator?: string;
|
|
7
7
|
readonly readDirWithFileTypes?: (uri: string) => readonly FileSystemDirent[] | Promise<readonly FileSystemDirent[]>;
|
|
8
|
-
readonly readFile: (uri: string) =>
|
|
8
|
+
readonly readFile: (uri: string) => Blob | Promise<Blob | string> | string;
|
|
9
9
|
readonly remove?: (uri: string) => void | Promise<void>;
|
|
10
10
|
readonly rename?: (oldUri: string, newUri: string) => void | Promise<void>;
|
|
11
11
|
readonly writeFile?: (uri: string, content: string) => void | Promise<void>;
|