Module graphql/query_listTeamsInOrg/listTeamsInOrg

Source

Functions§

Source§

listTeamNodesRelatedToRepo(
    context: PRLogusContext,
    projectQuery: string,
    teamQuery?: string | undefined,
): Promise<WithoutNullableKeys<Team>[]>

Lists all team nodes related to a repository in an organization.

throws

Will throw an error if the organization is not defined in the payload.

Source§

listTeamsInOrgRelatedToRepo(
    context: PRLogusContext,
    projectQuery: string,
    teamQuery?: string | undefined,
): Promise<string[]>

Lists all team names related to a repository in an organization.