feat: add single file upload

This commit is contained in:
Joel
2025-04-14 18:38:27 +08:00
parent e9923e8220
commit 7216f40bee
22 changed files with 1671 additions and 4 deletions

View File

@ -19,6 +19,7 @@
"@mdx-js/loader": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@monaco-editor/react": "^4.6.0",
"@remixicon/react": "^4.6.0",
"@tailwindcss/line-clamp": "^0.4.2",
"@types/node": "18.15.0",
"@types/react": "18.0.28",
@ -26,6 +27,7 @@
"@types/react-syntax-highlighter": "^15.5.6",
"ahooks": "^3.7.5",
"axios": "^1.3.5",
"class-variance-authority": "^0.7.1",
"classnames": "^2.3.2",
"copy-to-clipboard": "^3.3.3",
"dify-client": "^2.3.1",
@ -38,6 +40,8 @@
"immer": "^9.0.19",
"js-cookie": "^3.0.1",
"katex": "^0.16.7",
"lodash-es": "^4.17.21",
"mime": "^4.0.7",
"negotiator": "^0.6.3",
"next": "^14.0.4",
"rc-textarea": "^1.5.3",
@ -57,15 +61,18 @@
"scheduler": "^0.23.0",
"server-only": "^0.0.1",
"swr": "^2.1.0",
"tailwind-merge": "^3.2.0",
"typescript": "4.9.5",
"use-context-selector": "^1.4.1",
"uuid": "^9.0.0"
"uuid": "^9.0.0",
"zustand": "^4.5.2"
},
"devDependencies": {
"@antfu/eslint-config": "0.36.0",
"@faker-js/faker": "^7.6.0",
"@tailwindcss/typography": "^0.5.9",
"@types/js-cookie": "^3.0.3",
"@types/lodash-es": "^4.17.12",
"@types/negotiator": "^0.6.1",
"autoprefixer": "^10.4.14",
"eslint-plugin-react-hooks": "^4.6.0",
@ -81,4 +88,4 @@
"eslint --fix"
]
}
}
}