Merge pull request #3 from k-puig/feature/zodify

Prisma type generation ; Add deleted flag to message
This commit is contained in:
Kevin Puig
2025-09-27 03:15:32 -04:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
"": {
"name": "concord-server",
"dependencies": {
"@prisma/client": "^6.16.2",
"hono": "^4.9.9",
"prisma": "^6.16.2",
},
@@ -13,6 +14,8 @@
},
},
"packages": {
"@prisma/client": ["@prisma/client@6.16.2", "", { "peerDependencies": { "prisma": "*", "typescript": ">=5.1.0" }, "optionalPeers": ["prisma", "typescript"] }, "sha512-E00PxBcalMfYO/TWnXobBVUai6eW/g5OsifWQsQDzJYm7yaY+IRLo7ZLsaefi0QkTpxfuhFcQ/w180i6kX3iJw=="],
"@prisma/config": ["@prisma/config@6.16.2", "", { "dependencies": { "c12": "3.1.0", "deepmerge-ts": "7.1.5", "effect": "3.16.12", "empathic": "2.0.0" } }, "sha512-mKXSUrcqXj0LXWPmJsK2s3p9PN+aoAbyMx7m5E1v1FufofR1ZpPoIArjjzOIm+bJRLLvYftoNYLx1tbHgF9/yg=="],
"@prisma/debug": ["@prisma/debug@6.16.2", "", {}, "sha512-bo4/gA/HVV6u8YK2uY6glhNsJ7r+k/i5iQ9ny/3q5bt9ijCj7WMPUwfTKPvtEgLP+/r26Z686ly11hhcLiQ8zA=="],

View File

@@ -88,6 +88,7 @@ model Message {
categoryId String?
User User? @relation(fields: [userId], references: [id])
userId String?
deleted Boolean
text String
replies Reply[] @relation("MessageToReply")
repliedTo Reply[] @relation("ReplyToMessage")