server-ts: Convert services/backend_script_api

This commit is contained in:
Elian Doran
2024-04-04 22:00:20 +03:00
parent a154dc76ce
commit 15dee4b952
8 changed files with 427 additions and 471 deletions

View File

@@ -43,6 +43,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;