hyperdb-wasm 0.0.26862-dev.wasm.g89537caa → 0.0.26978-dev.wasm.g29b852db
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/api.d.ts +17 -19
- package/dist/browser.d.ts +4 -3
- package/dist/browser.js +4337 -2958
- package/dist/browser_external_directory.d.ts +13 -0
- package/dist/browser_worker.js +294 -112
- package/dist/client.d.ts +8 -6
- package/dist/hyperdb-wasm.cjs +1 -1
- package/dist/hyperdb-wasm.js +1 -1
- package/dist/hyperdb-wasm.wasm.br +0 -0
- package/dist/index.d.ts +10 -9
- package/dist/index.node.d.ts +5 -4
- package/dist/node.d.ts +3 -2
- package/dist/node.js +4371 -3007
- package/dist/node_external_directory.d.ts +11 -0
- package/dist/node_worker.js +329 -126
- package/dist/protocol.d.ts +71 -19
- package/dist/raw.browser.js +242 -81
- package/dist/raw.d.ts +2 -1
- package/dist/raw.node.js +237 -77
- package/dist/wasm_bindings.d.ts +21 -1
- package/dist/worker_setup.d.ts +8 -2
- package/package.json +1 -1
|
@@ -11,6 +11,17 @@ export declare class NodeExternalDirectoryBackend implements ExternalDirectoryBa
|
|
|
11
11
|
registered(path: string, locator: string): void;
|
|
12
12
|
removed(pathOrLocator: string): Promise<void>;
|
|
13
13
|
list(locator: string): Promise<readonly string[]>;
|
|
14
|
+
listEntries(locator: string, path: string): Promise<readonly {
|
|
15
|
+
readonly name: string;
|
|
16
|
+
readonly kind: 'file' | 'directory';
|
|
17
|
+
}[]>;
|
|
18
|
+
lookup(locator: string, path: string): Promise<{
|
|
19
|
+
readonly kind: 'directory';
|
|
20
|
+
} | {
|
|
21
|
+
readonly kind: 'file';
|
|
22
|
+
readonly locator: string;
|
|
23
|
+
readonly size: number;
|
|
24
|
+
} | undefined>;
|
|
14
25
|
open(locator: string, path: string): Promise<{
|
|
15
26
|
readonly locator: string;
|
|
16
27
|
readonly size: number;
|