#import "~/graphql_shared/fragments/pageInfo.fragment.graphql"

query groupIterationCadences(
  $fullPath: ID!
  $beforeCursor: String = ""
  $afterCursor: String = ""
  $firstPageSize: Int
  $lastPageSize: Int
) {
  workspace: group(fullPath: $fullPath) {
    id
    iterationCadences(
      includeAncestorGroups: true
      before: $beforeCursor
      after: $afterCursor
      first: $firstPageSize
      last: $lastPageSize
    ) {
      nodes {
        id
        title
        durationInWeeks
        automatic
      }
      pageInfo {
        ...PageInfo
      }
    }
  }
}
