2022-09-05 09:47:30 +00:00
|
|
|
export const reservedPageNames = ["page", "attachment", "plug"];
|
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
export type PageMeta = {
|
|
|
|
name: string;
|
|
|
|
lastModified: number;
|
2022-04-01 15:07:08 +00:00
|
|
|
lastOpened?: number;
|
2022-05-17 06:32:33 +00:00
|
|
|
perm: "ro" | "rw";
|
2022-03-20 08:56:28 +00:00
|
|
|
};
|
2022-04-13 12:46:52 +00:00
|
|
|
|
2022-09-05 09:47:30 +00:00
|
|
|
export type AttachmentMeta = {
|
|
|
|
name: string;
|
|
|
|
contentType: string;
|
|
|
|
lastModified: number;
|
|
|
|
size: number;
|
|
|
|
perm: "ro" | "rw";
|
|
|
|
};
|
|
|
|
|
2022-04-13 12:46:52 +00:00
|
|
|
// Used by FilterBox
|
|
|
|
export type FilterOption = {
|
|
|
|
name: string;
|
|
|
|
orderId?: number;
|
|
|
|
hint?: string;
|
|
|
|
};
|