( note: Pick<ZenNote, "path" | "title">, )
| 118 | } |
| 119 | |
| 120 | export async function openNoteInZenNotes( |
| 121 | note: Pick<ZenNote, "path" | "title">, |
| 122 | ): Promise<void> { |
| 123 | await openNoteWithDeepLink(note, "open", { |
| 124 | openingTitle: "Opening note", |
| 125 | successTitle: "Opened in ZenNotes", |
| 126 | failureTitle: "Could not open ZenNotes", |
| 127 | }); |
| 128 | } |
| 129 | |
| 130 | export async function openNoteInFloatingWindow( |
| 131 | note: Pick<ZenNote, "path" | "title">, |
no test coverage detected