query TeamInfo($teamID: ID!) {
  infra {
    teamInfo(teamID: $teamID) {
      id
      name

      teamMembers {
        membershipID
        role
        user {
          uid
          displayName
          email
          photoURL
        }
      }
      teamInvitations {
        id
        inviteeEmail
        inviteeRole
      }
      teamEnvironments {
        id
        name
      }
      ownersCount
      editorsCount
      viewersCount
    }
  }
}
