This uses the `any` escape hatch a few more places, which should be tidied up later. Suggest upgrading redux usage to the latest version and start using slices to make a few things easier. Also the confetti component might be worth replacing Remove dead code from the old membership charge flow++
34 lines
586 B
TypeScript
34 lines
586 B
TypeScript
export interface EventType {
|
|
id: string;
|
|
start_time: string;
|
|
end_time: string;
|
|
content: {
|
|
rendered: string;
|
|
};
|
|
venue: string;
|
|
title: {
|
|
decoded: string;
|
|
};
|
|
thumbnail: {
|
|
medium_large: string;
|
|
};
|
|
price_regular: string;
|
|
price_member: string;
|
|
ticket_url: string;
|
|
facebook_url: string;
|
|
}
|
|
|
|
export interface MembershipType {
|
|
membership_type: string;
|
|
end_date: string;
|
|
}
|
|
|
|
export interface UserType {
|
|
first_name: string;
|
|
last_name: string;
|
|
email: string;
|
|
last_membership: MembershipType | null;
|
|
is_volunteer: boolean;
|
|
is_member: boolean;
|
|
}
|