/** * Defines types used within the Donation module * Author: Callan Heard */ import { Type } from '@angular/core'; import { DonationInputComponent } from '../components/donation-input/donation-input.component'; /** Details for modelling donation state */ export declare type Donation = { /** Donation campaign name */ name: string; /** Donation value */ amount: number; /** Whether to apply donation to order total */ active: boolean; }; /** Donation feature state object type */ export declare type DonationsState = { /** Donation details */ donation: Donation; /** Dynamic DonationInput component registry */ inputs: { [key: string]: Type; }; /** Donation checkout summary text registry */ summaries: { [key: string]: string; }; }; //# sourceMappingURL=donation.type.d.ts.map