Skip to content

Commit

Permalink
Remove deprecated fields (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasCairns authored Oct 4, 2024
1 parent b686bb9 commit 21ca5f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 35 deletions.
35 changes: 0 additions & 35 deletions app/form/v1_0/fields/common/fieldsFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,41 +197,6 @@ export default abstract class FieldsFactory {
dependentValue: 'NO',
maxChars: summaryCharacterLimit,
}),
// TODO: 🔥
{
text: 'Give details',
code: `${this.fieldPrefix}_practitioner_analysis_strengths_or_protective_factors_details`,
type: FieldType.TextArea,
characterCountMax: summaryCharacterLimit,
dependent: {
field: `${this.fieldPrefix}_practitioner_analysis_strengths_or_protective_factors`,
value: 'FOO',
displayInline: true,
},
},
{
text: 'Give details',
code: `${this.fieldPrefix}_practitioner_analysis_risk_of_serious_harm_details`,
type: FieldType.TextArea,
characterCountMax: summaryCharacterLimit,
dependent: {
field: `${this.fieldPrefix}_practitioner_analysis_risk_of_serious_harm`,
value: 'FOO',
displayInline: true,
},
},
{
text: 'Give details',
code: `${this.fieldPrefix}_practitioner_analysis_risk_of_reoffending_details`,
type: FieldType.TextArea,
characterCountMax: summaryCharacterLimit,
dependent: {
field: `${this.fieldPrefix}_practitioner_analysis_risk_of_reoffending`,
value: 'FOO',
displayInline: true,
},
},
// TODO: 👆
]
}
}
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ services:
- coordinator-api
healthcheck:
test: ["CMD", "curl", "-f", "http://arns-handover:7070/health/ping"]
interval: 5s
retries: 60
environment:
SERVER_PORT: 7070
REDIS_HOST: redis
Expand All @@ -61,6 +63,8 @@ services:
- redis
healthcheck:
test: ["CMD", "node", "/app/docker/healthcheck.js"]
interval: 5s
retries: 60
environment:
REDIS_ENABLED: "true"
SYSTEM_CLIENT_SECRET: clientsecret
Expand Down

0 comments on commit 21ca5f8

Please sign in to comment.