refactor(ux): consolidate BMAD skills, update design system, and clean up Prisma generated client

This commit is contained in:
Sepehr Ramezani
2026-04-19 19:21:27 +02:00
parent 5296c4da2c
commit 25529a24b8
2476 changed files with 127934 additions and 101962 deletions

View File

@@ -16,7 +16,8 @@ export async function GET(req: NextRequest) {
// Fetch all notes with related data
const notes = await prisma.note.findMany({
where: {
userId: session.user.id
userId: session.user.id,
trashedAt: null
},
include: {
labelRelations: {
@@ -107,7 +108,7 @@ export async function GET(req: NextRequest) {
return new NextResponse(jsonString, {
headers: {
'Content-Type': 'application/json',
'Content-Disposition': `attachment; filename="keep-notes-export-${new Date().toISOString().split('T')[0]}.json"`
'Content-Disposition': `attachment; filename="memento-export-${new Date().toISOString().split('T')[0]}.json"`
}
})
} catch (error) {