Skip to content

Commit 10cc9c6

Browse files
committed
rm duplication in api spec letter types
1 parent 3c7300c commit 10cc9c6

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

infrastructure/terraform/modules/backend-api/spec.tmpl.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@
758758
{
759759
"type": "object",
760760
"required": [
761-
"files",
762-
"templateType"
761+
"files"
763762
],
764763
"properties": {
765764
"files": {
@@ -770,12 +769,6 @@
770769
"items": {
771770
"type": "string"
772771
}
773-
},
774-
"templateType": {
775-
"type": "string",
776-
"enum": [
777-
"LETTER"
778-
]
779772
}
780773
}
781774
}

lambdas/backend-client/src/types/generated/types.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export type CreateLetterProperties = {
8585
export type LetterProperties = CreateLetterProperties & {
8686
files: LetterFiles;
8787
personalisationParameters?: Array<string>;
88-
templateType: 'LETTER';
8988
};
9089

9190
export type BaseTemplate = {

0 commit comments

Comments
 (0)