diff options
Diffstat (limited to 'vfs/vfs.d.ts')
| -rw-r--r-- | vfs/vfs.d.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vfs/vfs.d.ts b/vfs/vfs.d.ts index eadc43e..90f4c8b 100644 --- a/vfs/vfs.d.ts +++ b/vfs/vfs.d.ts @@ -16,11 +16,8 @@ export interface Response { } export interface VfsOptions { id: string; - is_editable: boolean; - ListNodes: () => Response; - GetNode: (path: string) => Response; - UpdateNode: (node: Node) => Response; - DeleteNode: (node: Node) => Response; + ListNodes: () => IPathNode; + OnClickNode(path: string): void; } export declare class Vfs { opts: VfsOptions; @@ -29,6 +26,7 @@ export declare class Vfs { private comList; private pathNode; constructor(opts: VfsOptions); + init(): Promise<void>; onClickNode(this: Vfs, node: VfsNode): void; onClickPath(this: Vfs, path: string): void; open(node: VfsNode): void; |
