chore: api report
Signed-off-by: Markus <markus.siebert@deutschebahn.com>
This commit is contained in:
@@ -63,7 +63,7 @@ export type GitLabGroup = {
|
||||
name: string;
|
||||
full_path: string;
|
||||
description?: string;
|
||||
visibility: string;
|
||||
visibility?: string;
|
||||
parent_id?: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -49,7 +49,10 @@ export function defaultGroupEntitiesTransformer(
|
||||
const annotations: { [annotationName: string]: string } = {};
|
||||
|
||||
annotations[`${options.providerConfig.host}/team-path`] = group.full_path;
|
||||
annotations[`${options.providerConfig.host}/visibility`] = group.visibility;
|
||||
if (group.visibility !== undefined) {
|
||||
annotations[`${options.providerConfig.host}/visibility`] =
|
||||
group.visibility;
|
||||
}
|
||||
|
||||
const entity: GroupEntity = {
|
||||
apiVersion: 'backstage.io/v1alpha1',
|
||||
|
||||
Reference in New Issue
Block a user