mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	chore(client/ts): port services/branches
This commit is contained in:
		| @@ -15,6 +15,7 @@ import toast from "../services/toast.js"; | ||||
| import ShortcutComponent from "./shortcut_component.js"; | ||||
| import { t, initLocale } from "../services/i18n.js"; | ||||
| import NoteDetailWidget from "../widgets/note_detail.js"; | ||||
| import { ResolveOptions } from "../widgets/dialogs/delete_notes.js"; | ||||
|  | ||||
| interface Layout { | ||||
|     getRootWidget: (appContext: AppContext) => RootWidget; | ||||
| @@ -43,6 +44,11 @@ export type TriggerData = { | ||||
| } | { | ||||
|     // For "searchNotes" | ||||
|     searchString: string | undefined; | ||||
| } | { | ||||
|     // For "showDeleteNotesDialog" | ||||
|     branchIdsToDelete: string[]; | ||||
|     callback: (value: ResolveOptions) => void; | ||||
|     forceDeleteAllClones: boolean; | ||||
| } | ||||
|  | ||||
| class AppContext extends Component { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user