Skip to content

Build your personal knowledge base with Trilium Notes

Merge branch 'develop' into port_dialogs

JYC333883a67bcfeff
diff --cc src/public/app/components/app_context.ts
index 69b1536611,3357cacefb..bafeaaa608
--- a/src/public/app/components/app_context.ts
+++ b/src/public/app/components/app_context.ts
@@@ -22,8 -22,8 +22,9 @@@ import type LoadResults from "../servic
import type { Attribute } from "../services/attribute_parser.js";
import type NoteTreeWidget from "../widgets/note_tree.js";
import type { default as NoteContext, GetTextEditorCallback } from "./note_context.js";
+ import type { ContextMenuEvent } from "../menus/context_menu.js";
import type TypeWidget from "../widgets/type_widgets/type_widget.js";
+import type EditableTextTypeWidget from "../widgets/type_widgets/editable_text.js";
interface Layout {
getRootWidget: (appContext: AppContext) => RootWidget;
@@@ -361,11 -361,6 +362,12 @@@ type EventMappings =
relationMapResetPanZoom: { ntxId: string | null | undefined };
relationMapResetZoomIn: { ntxId: string | null | undefined };
relationMapResetZoomOut: { ntxId: string | null | undefined };
+ activeNoteChangedEvent: {};
+ showAddLinkDialog: {
+ textTypeWidget: EditableTextTypeWidget;
+ text: string;
+ };
++
};
export type EventListener<T extends EventNames> = {