From 3283ff18ec733df0735b42578f329432af984792 Mon Sep 17 00:00:00 2001 From: Dominik Pfaffenbauer Date: Tue, 24 Jan 2023 15:22:41 +0100 Subject: [PATCH] change to patch and add missing types for gitlab config Signed-off-by: Dominik Pfaffenbauer --- .changeset/soft-boxes-buy.md | 2 +- plugins/catalog-backend-module-gitlab/config.d.ts | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.changeset/soft-boxes-buy.md b/.changeset/soft-boxes-buy.md index 5e50be4028..581f69cacd 100644 --- a/.changeset/soft-boxes-buy.md +++ b/.changeset/soft-boxes-buy.md @@ -1,5 +1,5 @@ --- -'@backstage/plugin-catalog-backend-module-gitlab': minor +'@backstage/plugin-catalog-backend-module-gitlab': patch --- Implement Group and User Catalog Provider diff --git a/plugins/catalog-backend-module-gitlab/config.d.ts b/plugins/catalog-backend-module-gitlab/config.d.ts index ac75a04c2a..4f51867efc 100644 --- a/plugins/catalog-backend-module-gitlab/config.d.ts +++ b/plugins/catalog-backend-module-gitlab/config.d.ts @@ -48,6 +48,18 @@ export interface Config { * (Optional) TaskScheduleDefinition for the refresh. */ schedule?: TaskScheduleDefinitionConfig; + /** + * (Optional) RegExp for the Project Name Pattern + */ + projectPattern?: RegExp; + /** + * (Optional) RegExp for the User Name Pattern + */ + userPattern?: RegExp; + /** + * (Optional) RegExp for the Group Name Pattern + */ + groupPattern?: RegExp; } >; };