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.
@@ -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;