SilverBullet pivot to become an offline-first PWA (#403)
This commit is contained in:
+1
-23
@@ -1,4 +1,4 @@
|
||||
export const maximumAttachmentSize = 100 * 1024 * 1024; // 100 MB
|
||||
export const maximumAttachmentSize = 20 * 1024 * 1024; // 10 MB
|
||||
|
||||
export type FileMeta = {
|
||||
name: string;
|
||||
@@ -7,25 +7,3 @@ export type FileMeta = {
|
||||
size: number;
|
||||
perm: "ro" | "rw";
|
||||
} & Record<string, any>;
|
||||
|
||||
export type PageMeta = {
|
||||
name: string;
|
||||
lastModified: number;
|
||||
lastOpened?: number;
|
||||
perm: "ro" | "rw";
|
||||
} & Record<string, any>;
|
||||
|
||||
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;
|
||||
} & Record<string, any>;
|
||||
|
||||
Reference in New Issue
Block a user