1
0
silverbullet/common/types.ts
2023-07-28 21:22:06 +02:00

11 lines
238 B
TypeScript

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