- Add UpdateCurrentCompanyUseCase to handle company updates. - Create update-current-company.controller.ts to manage update requests. - Implement validation and mapping for update requests using Zod. - Add tests for the update use case and controller to ensure functionality. - Introduce error handling and feedback state management for company details settings. - Create utility functions for error normalization and feedback state resolution. - Implement tests for error handling and feedback state utilities. - Ensure nullable fields are handled correctly in DTOs and forms.
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
NODE_ENV=test
|
|
PORT=3002
|
|
API_BASE_PATH=/api/v1
|
|
FRONTEND_URL=http://localhost:5173
|
|
TRUST_PROXY=0
|
|
TIMEZONE=Europe/Madrid
|
|
|
|
DB_DIALECT=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_NAME=uecko_erp_http_test
|
|
DB_USER=rodax
|
|
DB_PASS=rodax
|
|
|
|
DB_LOGGING=false
|
|
DB_SSL=false
|
|
DB_SYNC_MODE=force
|
|
|
|
WARMUP_TIMEOUT_MS=10000
|
|
WARMUP_STRICT=false
|
|
|
|
JWT_SECRET=supersecretkeysupersecretkeysupersecretkey
|
|
JWT_ACCESS_EXPIRATION=1h
|
|
JWT_REFRESH_EXPIRATION=7d
|
|
|
|
TEMPLATES_PATH=/home/rodax/Documentos/uecko-erp/modules/
|
|
DOCUMENTS_PATH=/home/rodax/Documentos/uecko-erp/out/rodax/documents
|
|
SIGNED_DOCUMENTS_PATH=/home/rodax/Documentos/uecko-erp/out/rodax/signed-documents
|
|
|
|
FASTREPORT_BIN=/home/rodax/Documentos/uecko-erp/tools/fastreportcli-net-core-skia/FastReportCliGenerator/publish/linux/FastReportCliGenerator
|
|
|
|
SIGNING_SERVICE_URL=http://127.0.0.1:8000/documents/sign
|
|
SIGNING_SERVICE_METHOD=POST
|
|
SIGNING_SERVICE_TIMEOUT_MS=15000
|
|
SIGNING_SERVICE_MAX_RETRIES=2
|
|
|
|
COMPANY_CERTIFICATES_PATH=/home/rodax/Documentos/uecko-erp/apps/server/src/config/company-certificates.json
|