add edit url annotation to the github teams entity
Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
@@ -52,6 +52,7 @@ export type Team = {
|
||||
name?: string;
|
||||
description?: string;
|
||||
avatarUrl?: string;
|
||||
editTeamUrl: string;
|
||||
parentTeam?: Team;
|
||||
members: Connection<User>;
|
||||
};
|
||||
@@ -165,6 +166,7 @@ export async function getOrganizationTeams(
|
||||
name
|
||||
description
|
||||
avatarUrl
|
||||
editTeamUrl
|
||||
parentTeam { slug }
|
||||
members(first: 100, membership: IMMEDIATE) {
|
||||
pageInfo { hasNextPage }
|
||||
@@ -186,6 +188,7 @@ export async function getOrganizationTeams(
|
||||
name: team.slug,
|
||||
annotations: {
|
||||
'github.com/team-slug': team.combinedSlug,
|
||||
'backstage.io/edit-url': team.editTeamUrl,
|
||||
},
|
||||
},
|
||||
spec: {
|
||||
|
||||
Reference in New Issue
Block a user