feat: implement bulk account deletion and enhance account management with folder organization and drag-and-drop functionality

This commit is contained in:
Julien Froidefond
2025-11-30 12:00:29 +01:00
parent d663fbcbd0
commit c26ba9ddc6
16 changed files with 1188 additions and 261 deletions

View File

@@ -70,4 +70,11 @@ export const accountService = {
where: { id },
});
},
async deleteMany(ids: string[]): Promise<void> {
// Transactions will be deleted automatically due to onDelete: Cascade
await prisma.account.deleteMany({
where: { id: { in: ids } },
});
},
};