Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

#223 teamsListByUser информация о количестве участников и проектов команды #234

Merged
merged 17 commits into from
Nov 7, 2023

Conversation

gfg7
Copy link
Collaborator

@gfg7 gfg7 commented Nov 6, 2023

query ($input: TeamsListInput!) {
  teamsListByUser(input: $input) {
    teams {
      id
      name
      projectCount
      avatarUrl
      teamParticipants{
        avatarUrl
      }
    }
  }
}
{
  "data": {
    "teamsListByUser": {
      "teams": [
        {
          "id": "654543f6ab07971943521a4a",
          "name": "test team 1",
          "projectCount": 0,
          "avatarUrl": null,
          "teamParticipants": [
            {
              "avatarUrl": "test"
            }
          ]
        },
        {
          "id": "654543f6ab07971943521a4b",
          "name": "test team 2",
          "projectCount": 0,
          "avatarUrl": null,
          "teamParticipants": [
            {
              "avatarUrl": "test"
            },
            {
              "avatarUrl": "test"
            }
          ]
        }
      ]
    }
  }
}

@gfg7 gfg7 requested a review from picolino November 7, 2023 12:29
@picolino picolino merged commit bfedaf4 into master Nov 7, 2023
7 checks passed
@picolino picolino deleted the fix/223-team-list-by-user branch November 7, 2023 13:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
f/teams Feature: Teams
Projects
None yet
2 participants