Add note duplication (#24)

This commit is contained in:
Yuri Karamian
2026-08-03 13:23:18 +02:00
parent 1a880a4f96
commit e6e1ed1ed6
6 changed files with 158 additions and 7 deletions
+4
View File
@@ -141,6 +141,10 @@ export async function createNote(
return invoke("create_note", { notebookRelative, title });
}
export async function duplicateNote(path: string): Promise<NoteEntry> {
return invoke("duplicate_note", { path });
}
export async function createDailyNote(date?: string): Promise<NoteEntry> {
return invoke("create_daily_note", { date: date ?? null });
}