mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 13:49:54 -06:00
* feat: adds api handlers for upload and get file from S3 * feat: upload and fetch files from local storage * feat: upload and fetch files from local storage * feat: adds restriction check for allowed file extesnsions * refactor * fix: uses t3 env for validation * fix: fixes validation issues in storage api * merge with main * fix: moves UPLOADS_DIR to constants file * fix: moves private uploads to responseId * chore: merge with main * fix: changes api route * remove comment in storage service, use services in client storage route * simplify client storage endpoint * rename fileType to contentType * relocate storage endpoints, update validation * update management storage route for readability --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
45 lines
483 B
Plaintext
45 lines
483 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.js
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# local env files
|
|
.env*.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# Sentry Auth Token
|
|
.sentryclirc
|
|
|
|
# Google Sheets Token File
|
|
token.json
|
|
|
|
# Local Uploads
|
|
uploads/ |