- 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.
56 lines
873 B
JSON
56 lines
873 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"globalDependencies": [
|
|
"**/.env.*local"
|
|
],
|
|
"tasks": {
|
|
"check": {
|
|
"dependsOn": [
|
|
"^check"
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": [
|
|
"^lint"
|
|
]
|
|
},
|
|
"test": {
|
|
"cache": false,
|
|
"dependsOn": [
|
|
"^test"
|
|
]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"//#format-and-lint": {},
|
|
"//#format-and-lint:fix": {
|
|
"cache": false
|
|
},
|
|
"build": {
|
|
"cache": false,
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"inputs": [
|
|
"$TURBO_DEFAULT$",
|
|
".env*"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"build:templates": {
|
|
"dependsOn": [],
|
|
"outputs": [
|
|
"dist/templates/**"
|
|
]
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|