Skip to content

Commit f14792f

Browse files
committed
CCM-8585: tf docs
1 parent f793aab commit f14792f

File tree

7 files changed

+4
-15
lines changed

7 files changed

+4
-15
lines changed

frontend/next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const nextConfig = (phase) => {
2525
experimental: {
2626
serverActions: {
2727
allowedOrigins: [domain, domain.replace('templates', 'web-gateway')],
28-
bodySizeLimit: '6mb',
2928
},
3029
},
3130

frontend/src/content/content.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -434,15 +434,6 @@ const templateFormNhsApp = {
434434
backLinkText: 'Back to choose a template type',
435435
};
436436

437-
const templateFormLetter = {
438-
backLinkText: 'Back to choose a template type',
439-
errorHeading: 'There is a problem',
440-
pageHeading: 'Upload a letter template',
441-
templateNameLabelText: 'Template name',
442-
templateNameHintText: 'This will not be visible to recipients.',
443-
buttonText: 'Save and upload',
444-
};
445-
446437
const templateFormEmail = {
447438
pageHeadingSuffix: 'email template',
448439
errorHeading: 'There is a problem',

frontend/src/hooks/use-text-input.hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState } from 'react';
22

3-
type InputValue = HTMLTextAreaElement | HTMLInputElement | HTMLSelectElement;
3+
type InputValue = HTMLTextAreaElement | HTMLInputElement;
44

55
export const useTextInput = <T extends InputValue>(
66
initialState: string

frontend/src/middleware.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const protectedPaths = [
1111
/^\/create-letter-template$/,
1212
/^\/delete-template\/[^/]+$/,
1313
/^\/edit-email-template\/[^/]+$/,
14-
/^\/edit-letter-template\/[^/]+$/,
1514
/^\/edit-nhs-app-template\/[^/]+$/,
1615
/^\/edit-text-message-template\/[^/]+$/,
1716
/^\/email-template-submitted\/[^/]+$/,

infrastructure/terraform/components/app/module_backend_api.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ module "backend_api" {
1616

1717
enable_backup = var.destination_vault_arn != null ? true : false
1818

19-
enable_letters = true
19+
enable_letters = var.enable_letters
2020
}

infrastructure/terraform/modules/backend-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ No requirements.
3333
| <a name="module_create_template_lambda"></a> [create\_template\_lambda](#module\_create\_template\_lambda) | ../lambda-function | n/a |
3434
| <a name="module_get_template_lambda"></a> [get\_template\_lambda](#module\_get\_template\_lambda) | ../lambda-function | n/a |
3535
| <a name="module_list_template_lambda"></a> [list\_template\_lambda](#module\_list\_template\_lambda) | ../lambda-function | n/a |
36-
| <a name="module_s3bucket_pdf_template_quarantine"></a> [s3bucket\_pdf\_template\_scan](#module\_s3bucket\_pdf\_template\_scan) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v1.0.8 |
36+
| <a name="module_s3bucket_pdf_template_quarantine"></a> [s3bucket\_pdf\_template\_quarantine](#module\_s3bucket\_pdf\_template\_quarantine) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v1.0.8 |
3737
| <a name="module_update_template_lambda"></a> [update\_template\_lambda](#module\_update\_template\_lambda) | ../lambda-function | n/a |
3838
## Outputs
3939

tests/test-team/fixtures/pdf-upload/with-personalisation/test-data.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
appointment_date,Wednesday 10 September 2025,Saturday 10 April 2025,Monday 1 May 2025
33
appointment_time,12:56pm,11:56am,1:56pm
44
appointment_location,"City, Sandwell & Walsall BSS, The Rosewood Centre, Sandwell & West Birmingham Hospitals NHS Trust, The Birmingham Treatment Centre, City Hospital, Dudley Road, Birmingham, B18 7QH","The Royal Shrewsbury Hospital, Breast Screening Office, Treatment Centre, Mytton Oak Road, Shrewsbury, SY3 8XQ","The Epping Breast Screening Unit, St Margaret's Hospital, The Plain, Epping, Essex, CM16 6TN"
5-
contact_telephone_number,020 3299 9010,020 3299 9010,020 3299 9010
5+
contact_telephone_number,020 3299 9010,020 3299 9010,020 3299 9010

0 commit comments

Comments
 (0)