aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/env.ts
Commit message (Collapse)AuthorAgeFilesLines
* Optimize docker image size (#91)Jan T2024-02-141-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move prisma to runtime dependencies * Optimize Dockerfile and build script * Fix: remove mention of generated next-env.d.ts in Dockerfile * Add missing reset.d.ts file to Dockerfile * Remove compression steps from Dockerfile and entrypoint script * Add an env file with mocked env vars added for Docker production builds * Use server actions to get runtime env vars * Refactor types and names * Rollback serverActions, use parsed Zod object for runtime env * Reintroduce featureFlags object to avoid passing secret envs to the frontend * Improve string to boolean coercion Co-authored-by: Sebastien Castiel <sebastien@castiel.me> * Run prettier autoformat * Fix type issue, rename function to match behaviour better --------- Co-authored-by: Lauri Vuorela <lauri.vuorela@gmail.com> Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
* Automatic category from expense title (#80)Mert Demir2024-02-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * environment variable * random category draft * get category from ai * input limit and documentation * use watch * use field.name * prettier * presigned upload, readme warning, category to string util * prettier * check whether feature is enabled * use process.env * improved prompt to return id only * remove console.debug * show loader * share class name * prettier * use template literals * rename format util * prettier
* Support for additional S3 providers (#71)Mert Demir2024-01-311-0/+2
| | | | | | | | | * support for other s3 providers * remove redundant route options * use type safe env * prettier
* Create expense from receipt (#69)Sebastien Castiel2024-01-301-0/+9
| | | | | | | * Create expense from receipt * Add modal * Update README
* Attach documents to expenses (#64)Sebastien Castiel2024-01-281-13/+34
| | | | | | | | | * Upload documents to receipts * Improve documents * Make the feature opt-in * Fix file name issue
* Bring back NEXT_PUBLIC_BASE_URLSebastien Castiel2024-01-191-0/+8
|
* Remove varianle NEXT_PUBLIC_BASE_URLSebastien Castiel2024-01-191-1/+0
|
* Clean project from marketing content (#50)Sebastien Castiel2024-01-191-5/+0
| | | | | * Clean project from marketing content * Remove some dependencies
* Merge feedback and support dialogsSebastien Castiel2024-01-181-1/+1
|
* Add donation button (closes #40)Sebastien Castiel2024-01-141-0/+1
|
* Feedback buttonSebastien Castiel2024-01-091-0/+3
|
* Add PlausibleSebastien Castiel2023-12-111-0/+1
|
* Titles and navigationSebastien Castiel2023-12-071-0/+9