You are missing a closing bracket }
at the end of your query.
const GET_VEHICLE_CHECKS = gql`
query getVehicleChecks($uuid: String!) {
tripDetails(uuid: $uuid){
departmentAssigned{
vehicleChecks{
conditions{
id
name
standard
valueType
spinnerItems
}
}
}
}
} <- THIS
`;