Skip to content

Commit

Permalink
refactor: add descriptions to DonationAmountAttributes types
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh committed Apr 15, 2024
1 parent 48d2a88 commit 409d9ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type {subscriptionPeriod} from "@givewp/forms/registrars/templates/groups
export interface DonationAmountAttributes {
label: string;
levels: number[];
descriptions: string[];
defaultLevel: number;
priceOption: string;
setPrice: number;
Expand All @@ -15,4 +16,4 @@ export interface DonationAmountAttributes {
recurringLengthOfTime: string;
recurringOptInDefaultBillingPeriod: subscriptionPeriod | 'one-time';
recurringEnableOneTimeDonations: boolean
}
}

0 comments on commit 409d9ed

Please sign in to comment.