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

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