24 lines
420 B
TypeScript
24 lines
420 B
TypeScript
export const reservedPageNames = ["page", "attachment", "plug"];
|
|
|
|
export type PageMeta = {
|
|
name: string;
|
|
lastModified: number;
|
|
lastOpened?: number;
|
|
perm: "ro" | "rw";
|
|
};
|
|
|
|
export type AttachmentMeta = {
|
|
name: string;
|
|
contentType: string;
|
|
lastModified: number;
|
|
size: number;
|
|
perm: "ro" | "rw";
|
|
};
|
|
|
|
// Used by FilterBox
|
|
export type FilterOption = {
|
|
name: string;
|
|
orderId?: number;
|
|
hint?: string;
|
|
};
|