Expose file and page meta data directly

This commit is contained in:
Zef Hemel
2022-11-20 10:24:42 +01:00
parent 7a627c2f35
commit 89f27f9e9c
6 changed files with 114 additions and 40 deletions
+2 -2
View File
@@ -6,14 +6,14 @@ export type FileMeta = {
contentType: string;
size: number;
perm: "ro" | "rw";
};
} & Record<string, any>;
export type PageMeta = {
name: string;
lastModified: number;
lastOpened?: number;
perm: "ro" | "rw";
};
} & Record<string, any>;
export type AttachmentMeta = {
name: string;