aboutsummaryrefslogtreecommitdiff
path: root/vfs/vfs.d.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-08-29 14:51:31 +0700
committerShulhan <ms@kilabit.info>2021-08-29 14:51:31 +0700
commitc761ad0612e3a4f5b3a96c8ced9eb0a74299eaef (patch)
tree13f7c49de0c48cb88ae186c9dcc5c6bef138d62c /vfs/vfs.d.ts
parentb72a7d013229c7879f3bcc09b7d9e6bc0f3339f4 (diff)
downloadpakakeh.ts-c761ad0612e3a4f5b3a96c8ced9eb0a74299eaef.tar.xz
vfs: add content_type to WuiVfsNodeInterface and use single mod_time
Diffstat (limited to 'vfs/vfs.d.ts')
-rw-r--r--vfs/vfs.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/vfs/vfs.d.ts b/vfs/vfs.d.ts
index 9a9ea22..15275e5 100644
--- a/vfs/vfs.d.ts
+++ b/vfs/vfs.d.ts
@@ -3,8 +3,8 @@ export interface WuiVfsNodeInterface {
name: string;
path: string;
is_dir?: boolean;
- mod_time_epoch?: number;
- mod_time_rfc3339?: string;
+ content_type?: string;
+ mod_time?: number;
size?: number;
mode?: string;
childs?: WuiVfsNodeInterface[];
@@ -26,8 +26,8 @@ export declare class WuiVfs {
declare class WuiVfsNode implements WuiVfsNodeInterface {
path: string;
name: string;
- mod_time_epoch: number;
- mod_time_rfc3339: string;
+ content_type: string;
+ mod_time: number;
size: number;
mode: string;
is_dir: boolean;