feat: hey-api and projects fetch

This commit is contained in:
2025-08-03 11:07:56 +04:00
parent 459487a896
commit 3e1d544b33
26 changed files with 1825 additions and 684 deletions

View File

@ -7,7 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"generate-client": "openapi --input http://127.0.0.1:8000/openapi.json --output ./src/client --client axios --useOptions --useUnionTypes --exportSchemas true && prettier --write ./src/client/**/*.ts"
"generate-client": "openapi-ts && prettier --write ./src/client/**/*.ts && git add ./src/client"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
@ -29,7 +29,6 @@
"lexorank": "^1.0.5",
"libphonenumber-js": "^1.12.10",
"next": "15.3.3",
"openapi-typescript-codegen": "^0.29.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-imask": "^7.6.1",
@ -40,6 +39,9 @@
"devDependencies": {
"@babel/core": "^7.27.4",
"@eslint/js": "^9.29.0",
"@hey-api/client-axios": "^0.9.1",
"@hey-api/client-next": "^0.5.1",
"@hey-api/openapi-ts": "^0.80.1",
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
"@storybook/nextjs": "^8.6.8",
"@storybook/react": "^8.6.8",