Skip to content

Commit 9b5efe3

Browse files
feat(payments-next): Strapi clean up - remove unused fields
Because: * We didn't ed up using the advertisedSavings, ctaMessage, and modalHeading2 fields for the Cancel Interstitial Offer. This commit: * Removes those unused fields from the shared-cms library. Closes #[PAY-3515](https://mozilla-hub.atlassian.net/browse/PAY-3515)
1 parent 918411b commit 9b5efe3

7 files changed

Lines changed: 5 additions & 43 deletions

File tree

libs/payments/ui/src/lib/nestapp/validators/DetermineCancellationInterventionActionResult.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,10 @@ export class CmsCancelInterstitialOfferPartialResult {
107107
@IsOptional()
108108
upgradeInterval?: string;
109109

110-
@IsNumber()
111-
@IsOptional()
112-
advertisedSavings?: number;
113-
114-
@IsString()
115-
@IsOptional()
116-
ctaMessage?: string;
117-
118110
@IsString()
119111
@IsOptional()
120112
modalHeading1?: string;
121113

122-
@IsString()
123-
@IsOptional()
124-
modalHeading2?: string;
125-
126114
@IsString()
127115
@IsOptional()
128116
modalMessage?: string;
@@ -155,18 +143,9 @@ export class CmsCancelInterstitialOfferResult {
155143
@IsString()
156144
upgradeInterval!: string;
157145

158-
@IsNumber()
159-
advertisedSavings!: number;
160-
161-
@IsString()
162-
ctaMessage!: string;
163-
164146
@IsString()
165147
modalHeading1!: string;
166148

167-
@IsString()
168-
modalHeading2!: string;
169-
170149
@IsString()
171150
modalMessage!: string;
172151

libs/shared/cms/src/__generated__/gql.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)