Current File : /home/kelaby89/jrncommunityhousing.charity/wp-content/plugins/give/src/Donors/resources/types.ts |
import { IntlTelInputSettings } from "@givewp/forms/propTypes";
/**
* @since 4.4.0
*/
export type GiveDonorOptions = {
isAdmin: boolean;
adminUrl: string;
apiRoot: string;
apiNonce: string;
donorsAdminUrl: string;
currency: string;
isRecurringEnabled: boolean;
defaultForm: string;
intlTelInputSettings: IntlTelInputSettings;
nameTitlePrefixes: string[];
mode: 'test' | 'live';
countries: {[countryCode: string]: string};
states: {
list: {[countryCode: string]: {[stateCode: string]: string}};
labels: {[countryCode: string]: string};
noStatesCountries: string[];
statesNotRequiredCountries: string[];
};
admin: {
showCampaignInteractionNotice: boolean
showFormGoalNotice: boolean
showExistingUserIntroNotice: boolean
showCampaignListTableNotice: boolean
showCampaignFormNotice: boolean
showCampaignSettingsNotice: boolean
}
}