2022-09-05 19:11:03 +08:00
|
|
|
export const maximumAttachmentSize = 100 * 1024 * 1024; // 100 MB
|
2022-09-05 17:47:30 +08:00
|
|
|
|
2022-09-12 20:50:37 +08:00
|
|
|
export type FileMeta = {
|
|
|
|
name: string;
|
|
|
|
lastModified: number;
|
|
|
|
contentType: string;
|
|
|
|
size: number;
|
|
|
|
perm: "ro" | "rw";
|
|
|
|
};
|
|
|
|
|
2022-03-20 16:56:28 +08:00
|
|
|
export type PageMeta = {
|
|
|
|
name: string;
|
|
|
|
lastModified: number;
|
2022-04-01 23:07:08 +08:00
|
|
|
lastOpened?: number;
|
2022-05-17 14:32:33 +08:00
|
|
|
perm: "ro" | "rw";
|
2022-03-20 16:56:28 +08:00
|
|
|
};
|
2022-04-13 20:46:52 +08:00
|
|
|
|
2022-09-05 17:47:30 +08:00
|
|
|
export type AttachmentMeta = {
|
|
|
|
name: string;
|
|
|
|
contentType: string;
|
|
|
|
lastModified: number;
|
|
|
|
size: number;
|
|
|
|
perm: "ro" | "rw";
|
|
|
|
};
|
|
|
|
|
2022-04-13 20:46:52 +08:00
|
|
|
// Used by FilterBox
|
|
|
|
export type FilterOption = {
|
|
|
|
name: string;
|
|
|
|
orderId?: number;
|
|
|
|
hint?: string;
|
|
|
|
};
|