github.com/pluralsh/plural-cli@v0.9.5/pkg/ui/web/src/graphql/groups.graphql (about)

     1  query GroupMembers($cursor: String, $id: ID!) {
     2    groupMembers(groupId: $id, after: $cursor, first: 20) {
     3      pageInfo {
     4        ...PageInfo
     5      }
     6      edges {
     7        node {
     8          ...GroupMember
     9        }
    10      }
    11    }
    12  }
    13  
    14  mutation CreateGroupMember($groupId: ID!, $userId: ID!) {
    15    createGroupMember(groupId: $groupId, userId: $userId) {
    16      ...GroupMember
    17    }
    18  }
    19  
    20  mutation DeleteGroupMember($groupId: ID!, $userId: ID!) {
    21    deleteGroupMember(groupId: $groupId, userId: $userId) {
    22      ...GroupMember
    23    }
    24  }
    25  
    26  mutation CreateGroup($attributes: GroupAttributes!) {
    27    createGroup(attributes: $attributes) {
    28      ...Group
    29    }
    30  }
    31  
    32  mutation UpdateGroup($id: ID!, $attributes: GroupAttributes!) {
    33    updateGroup(groupId: $id, attributes: $attributes) {
    34      ...Group
    35    }
    36  }
    37  
    38  mutation DeleteGroup($id: ID!) {
    39    deleteGroup(groupId: $id) {
    40      ...Group
    41    }
    42  }
    43  
    44  query Groups($q: String, $cursor: String) {
    45    groups(q: $q, first: 20, after: $cursor) {
    46      pageInfo {
    47        ...PageInfo
    48      }
    49      edges {
    50        node {
    51          ...Group
    52        }
    53      }
    54    }
    55  }