Initial commit

This commit is contained in:
2026-03-27 19:35:14 +01:00
commit 38581b88a4
68 changed files with 12137 additions and 0 deletions

40
prisma/seed.ts Normal file
View File

@@ -0,0 +1,40 @@
import { PrismaClient } from "@prisma/client";
const prisma = new PrismaClient();
async function main() {
await prisma.theme.upsert({
where: { id: "terminal-dark" },
update: {
name: "Terminal Dark",
description: "Near-black background, warm text, and muted green accent"
},
create: {
id: "terminal-dark",
name: "Terminal Dark",
description: "Near-black background, warm text, and muted green accent"
}
});
await prisma.theme.upsert({
where: { id: "amber-paper" },
update: {
name: "Amber Paper",
description: "Soft dark slate with amber accent and warm mono feel"
},
create: {
id: "amber-paper",
name: "Amber Paper",
description: "Soft dark slate with amber accent and warm mono feel"
}
});
}
main()
.catch((error) => {
console.error(error);
process.exit(1);
})
.finally(async () => {
await prisma.$disconnect();
});