diff options
Diffstat (limited to 'vfs/vfs.ts')
| -rw-r--r-- | vfs/vfs.ts | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,11 +21,11 @@ export interface WuiVfsOptions { // Open define an handler that will be called when a directory is clicked // from the WuiVfsPath. - Open(path: string, is_dir: boolean): WuiResponseInterface + Open(path: string, is_dir: boolean): Promise<WuiResponseInterface> // OpenNode define an handler that will be called when a file is clicked // from the WuiVfsList. - OpenNode(node: WuiVfsNode): WuiResponseInterface + OpenNode(node: WuiVfsNode): Promise<WuiResponseInterface> } export class WuiVfs { @@ -77,7 +77,7 @@ export class WuiVfs { } } -class WuiVfsNode implements WuiVfsNodeInterface { +export class WuiVfsNode implements WuiVfsNodeInterface { path: string name: string content_type: string |
