chore(client/ts): port highlights_list

This commit is contained in:
Elian Doran
2025-01-07 12:34:10 +02:00
parent 0713b4aec8
commit 85c225fe05
9 changed files with 133 additions and 66 deletions

View File

@@ -208,6 +208,29 @@ type EventMappings = {
/** Triggered when the {@link CommandMappings.setActiveScreen} command is invoked. */
activeScreenChanged: {
activeScreen: Screen;
},
activeContextChanged: {
noteContext: NoteContext;
},
noteSwitched: {
noteContext: NoteContext;
notePath: string;
},
noteSwitchedAndActivatedEvent: {
noteContext: NoteContext;
notePath: string;
},
setNoteContext: {
noteContext: NoteContext;
},
noteTypeMimeChangedEvent: {
noteId: string;
},
reEvaluateHighlightsListWidgetVisibility: {
noteId: string | undefined;
},
showHighlightsListWidget: {
noteId: string;
}
}