Merge pull request #41 from TriliumNext/feature/typescript_backend_5

Convert backend to TypeScript (64% -> 67%)
This commit is contained in:
Elian Doran
2024-04-15 21:09:37 +03:00
committed by GitHub
19 changed files with 593 additions and 585 deletions

View File

@@ -42,6 +42,15 @@ interface Message {
message?: string;
reason?: string;
result?: string;
script?: string;
params?: any[];
noteId?: string;
messages?: string[];
startNoteId?: string;
currentNoteId?: string;
originEntityName?: "notes";
originEntityId?: string | null;
}
type SessionParser = (req: IncomingMessage, params: {}, cb: () => void) => void;