{"size": 829, "ext": "js", "max_stars_repo_path": "thesis-fe/src/components/apollo/subscriptions/get_trip_details_calendar_sub.js", "max_stars_repo_name": "mrcknz/flock-client", "max_stars_repo_stars_event_min_datetime": "2018-12-01T09:33:15.000Z", "max_stars_repo_stars_event_max_datetime": "2019-03-01T20:34:32.000Z", "max_issues_repo_path": "thesis-fe/src/components/apollo/subscriptions/get_trip_details_calendar_sub.js", "max_issues_repo_name": "mrcknz/flock-client", "max_issues_repo_issues_event_min_datetime": "2018-12-06T13:11:48.000Z", "max_issues_repo_issues_event_max_datetime": "2018-12-06T13:35:05.000Z", "max_forks_repo_path": "thesis-fe/src/components/apollo/subscriptions/get_trip_details_calendar_sub.js", "max_forks_repo_name": "mrcknz/flock-client", "max_forks_repo_forks_event_min_datetime": "2018-12-07T13:53:33.000Z", "max_forks_repo_forks_event_max_datetime": "2020-07-03T02:56:45.000Z"}
{"max_stars_count": 3, "max_issues_count": 2, "max_forks_count": 4, "avg_line_length": 18.0217391304, "max_line_length": 75, "alphanum_fraction": 0.4318455971}
import gql from "graphql-tag";

const GET_TRIP_DETAILS_PARTICIPANTS_SUB = gql` subscription tripInfoChanged
  {
    tripInfoChanged {
      id,
      timeFrame {
        chosenSuggestion {
          startDate,
          endDate,
          id
          creator {
            email,
            firstName,
            lastName
          },
          voters {
            email,
            firstName,
            lastName
          }
        },
        suggestions {
          id,
          startDate,
          endDate,
          voters {
            email,
            firstName,
            lastName
          },
          creator {
            email,
            firstName,
            lastName
          }
        },
        isLocked,
        isDictated
      }
    }
  }
`;

export default GET_TRIP_DETAILS_PARTICIPANTS_SUB;
