Skip to content

Commit 3a62789

Browse files
committed
🌟feat: support openapi & api token
1 parent 321bb64 commit 3a62789

File tree

24 files changed

+465
-70
lines changed

24 files changed

+465
-70
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blinko",
3-
"version": "0.0.26",
3+
"version": "0.1.0",
44
"private": true,
55
"browser": {
66
"fs": false,
@@ -57,6 +57,7 @@
5757
"cron": "^3.1.7",
5858
"dataloader": "^2.2.2",
5959
"dayjs": "^1.11.8",
60+
"decimal.js": "^10.4.3",
6061
"emoji-picker-react": "^4.12.0",
6162
"execa": "^9.4.1",
6263
"faiss-node": "^0.5.1",
@@ -81,6 +82,7 @@
8182
"next": "^14.2.5",
8283
"next-auth": "^4.24.7",
8384
"next-themes": "^0.3.0",
85+
"nextjs-cors": "^2.2.0",
8486
"nprogress": "^0.2.0",
8587
"pg": "^8.11.4",
8688
"pg-connection-string": "^2.7.0",
@@ -116,7 +118,8 @@
116118
"typeorm": "^0.3.20",
117119
"unfurl.js": "^6.4.0",
118120
"usehooks-ts": "^3.1.0",
119-
"zod": "^3.23.8"
121+
"zod": "^3.23.8",
122+
"zod-prisma-types": "^3.1.8"
120123
},
121124
"devDependencies": {
122125
"@headlessui/tailwindcss": "^0.1.3",

pnpm-lock.yaml

Lines changed: 79 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prisma/schema.prisma

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ generator client {
22
provider = "prisma-client-js"
33
}
44

5+
// generator zod {
6+
// provider = "zod-prisma-types"
7+
// }
8+
59
datasource db {
610
provider = "postgres"
711
url = env("DATABASE_URL")

0 commit comments

Comments
 (0)