chore(monorepo): move everything into subdirectory for easy diffing

This commit is contained in:
Elian Doran
2025-04-18 01:28:32 +03:00
parent 3b69eadbf6
commit 318808f9ec
2646 changed files with 654 additions and 654 deletions

View File

@@ -0,0 +1,14 @@
// creating notes is backend (server) responsibility so we need to pass
// the control there
const taskNoteId = await api.runOnBackend(() => {
const todoRootNote = api.getNoteWithLabel('taskTodoRoot');
const resp = api.createTextNote(todoRootNote.noteId, 'new task', '');
return resp.note.noteId;
});
// wait until the frontend is fully synced with the changes made on the backend above
await api.waitUntilSynced();
// we got an ID of newly created note and we want to immediatelly display it
await api.activateNewNote(taskNoteId);