1
0
silverbullet/common/types.ts
2023-07-30 08:56:44 +02:00

11 lines
235 B
TypeScript

export const maximumAttachmentSize = 20 * 1024 * 1024; // 10 MB
export type FileMeta = {
name: string;
lastModified: number;
contentType: string;
size: number;
perm: "ro" | "rw";
noSync?: boolean;
} & Record<string, any>;