chore(react/dialog): improve recent changes

This commit is contained in:
Elian Doran
2025-08-07 22:31:51 +03:00
parent c0d7278827
commit bd6c690160
4 changed files with 46 additions and 21 deletions

View File

@@ -5,18 +5,7 @@ import protectedSessionService from "../../services/protected_session.js";
import noteService from "../../services/notes.js";
import becca from "../../becca/becca.js";
import type { Request } from "express";
interface RecentChangeRow {
noteId: string;
current_isDeleted: boolean;
current_deleteId: string;
current_title: string;
current_isProtected: boolean;
title: string;
utcDate: string;
date: string;
canBeUndeleted?: boolean;
}
import type { RecentChangeRow } from "@triliumnext/commons";
function getRecentChanges(req: Request) {
const { ancestorNoteId } = req.params;