feat(react/ribbon): port edited notes

This commit is contained in:
Elian Doran
2025-08-22 17:31:06 +03:00
parent c3eca3b626
commit cee4714665
9 changed files with 101 additions and 111 deletions

View File

@@ -12,7 +12,7 @@ import type { Request, Response } from "express";
import type BRevision from "../../becca/entities/brevision.js";
import type BNote from "../../becca/entities/bnote.js";
import type { NotePojo } from "../../becca/becca-interface.js";
import { RevisionItem, RevisionPojo, RevisionRow } from "@triliumnext/commons";
import { EditedNotesResponse, RevisionItem, RevisionPojo, RevisionRow } from "@triliumnext/commons";
interface NotePath {
noteId: string;
@@ -184,7 +184,7 @@ function getEditedNotesOnDate(req: Request) {
notePojo.notePath = notePath ? notePath.notePath : null;
return notePojo;
});
}) satisfies EditedNotesResponse;
}
function getNotePathData(note: BNote): NotePath | undefined {