mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
server-ts: Convert services/backend_script_api
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user