#import "./epic.fragment.graphql"

query groupEpics(
  $fullPath: ID!
  $state: EpicState
  $sort: EpicSort
  $iid: ID
  $timeframe: Timeframe
  $labelName: [String!] = []
  $authorUsername: String = ""
  $milestoneTitle: String = ""
  $myReactionEmoji: String
  $confidential: Boolean
  $search: String = ""
  $first: Int = 1001
) {
  group(fullPath: $fullPath) {
    id
    name
    epics(
      iid: $iid
      state: $state
      sort: $sort
      labelName: $labelName
      authorUsername: $authorUsername
      milestoneTitle: $milestoneTitle
      myReactionEmoji: $myReactionEmoji
      confidential: $confidential
      search: $search
      first: $first
      timeframe: $timeframe
    ) {
      edges {
        node {
          ...BaseEpic
          parent {
            id
          }
        }
      }
    }
  }
}
