diff --git a/common/components/utils/ProjectAPIUtils.js b/common/components/utils/ProjectAPIUtils.js index 36ceca775..d9a2501b5 100644 --- a/common/components/utils/ProjectAPIUtils.js +++ b/common/components/utils/ProjectAPIUtils.js @@ -109,6 +109,13 @@ export type VolunteerDetailsAPIData = {| +isUpForRenewal: boolean, |}; +// Structure for minimal volunteer data exposure +export type VolunteerMinimalDetailsAPIData = {| + +application_id: number, + +user: VolunteerUserData, + +roleTag: TagDefinition, +|}; + export type ProjectDetailsAPIData = {| +project_id: number, +project_description: string, @@ -136,7 +143,7 @@ export type ProjectDetailsAPIData = {| +project_links: $ReadOnlyArray, +project_files: $ReadOnlyArray, +project_owners: $ReadOnlyArray, - +project_volunteers: $ReadOnlyArray, + +project_volunteers: $ReadOnlyArray, +project_date_modified: Date, +project_events: $ReadOnlyArray, +event_created_from: ?number,