server-ts: Convert routes/api/files

This commit is contained in:
Elian Doran
2024-04-05 22:22:18 +03:00
parent 952c3cc12f
commit 0ab137de03
7 changed files with 67 additions and 43 deletions

View File

@@ -50,8 +50,12 @@ interface Message {
messages?: string[];
startNoteId?: string;
currentNoteId?: string;
entityType?: string;
entityId?: string;
originEntityName?: "notes";
originEntityId?: string | null;
lastModifiedMs?: number;
filePath?: string;
}
type SessionParser = (req: IncomingMessage, params: {}, cb: () => void) => void;