Added Prisma Documentation Generator.

This commit is contained in:
Leon Meier 2023-05-06 20:30:32 +02:00
parent 95ec75b8d7
commit 884af9e487
4 changed files with 3082 additions and 144 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ config.js
node_modules
.env
config.json
dist
dist
docs

3216
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -37,6 +37,7 @@
"@types/signale": "^1.4.4",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"prisma-docs-generator": "^0.7.0",
"typescript": "^5.0.4"
}
}

View File

@ -10,6 +10,12 @@ datasource db {
url = env("DATABASE_URL")
}
// https://github.com/pantharshit00/prisma-docs-generator
generator docs {
provider = "node node_modules/prisma-docs-generator"
output = "../docs"
}
enum Status {
normal
borrowed