Merge branch 'master' of https://git.project-name-here.de/Project-Name-Here/assetflow
This commit is contained in:
commit
43ef7fd395
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
|
||||||
|
3500
package-lock.json
generated
3500
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -37,6 +37,8 @@
|
|||||||
"@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-dbml-generator": "^0.10.0",
|
||||||
|
"prisma-docs-generator": "^0.7.0",
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,21 @@ 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"
|
||||||
|
}
|
||||||
|
|
||||||
|
// https://github.com/notiz-dev/prisma-dbml-generator
|
||||||
|
// Viewer: https://dbdiagram.io/d
|
||||||
|
generator dbml {
|
||||||
|
provider = "prisma-dbml-generator"
|
||||||
|
output = "../docs"
|
||||||
|
outputName = "schema.dbml"
|
||||||
|
projectName = "AssetFlow"
|
||||||
|
}
|
||||||
|
|
||||||
enum Status {
|
enum Status {
|
||||||
normal
|
normal
|
||||||
borrowed
|
borrowed
|
||||||
|
Loading…
Reference in New Issue
Block a user