Added Prisma Documentation Generator.
This commit is contained in:
parent
95ec75b8d7
commit
884af9e487
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@ config.js
|
|||||||
node_modules
|
node_modules
|
||||||
.env
|
.env
|
||||||
config.json
|
config.json
|
||||||
dist
|
dist
|
||||||
|
docs
|
||||||
|
3216
package-lock.json
generated
3216
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -37,6 +37,7 @@
|
|||||||
"@types/signale": "^1.4.4",
|
"@types/signale": "^1.4.4",
|
||||||
"eslint": "^8.39.0",
|
"eslint": "^8.39.0",
|
||||||
"eslint-config-prettier": "^8.8.0",
|
"eslint-config-prettier": "^8.8.0",
|
||||||
|
"prisma-docs-generator": "^0.7.0",
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,12 @@ datasource db {
|
|||||||
url = env("DATABASE_URL")
|
url = env("DATABASE_URL")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://github.com/pantharshit00/prisma-docs-generator
|
||||||
|
generator docs {
|
||||||
|
provider = "node node_modules/prisma-docs-generator"
|
||||||
|
output = "../docs"
|
||||||
|
}
|
||||||
|
|
||||||
enum Status {
|
enum Status {
|
||||||
normal
|
normal
|
||||||
borrowed
|
borrowed
|
||||||
|
Loading…
Reference in New Issue
Block a user