From 5b6edf1ccfde6ef7d3e61b6254d7333bec524ffb Mon Sep 17 00:00:00 2001 From: Thomas Cardonne Date: Wed, 18 Sep 2024 22:44:14 +0200 Subject: [PATCH] fix(catalog-backend-module-gerrit): add schedule in config.d.ts Signed-off-by: Thomas Cardonne --- .changeset/cyan-cooks-sing.md | 5 +++++ plugins/catalog-backend-module-gerrit/config.d.ts | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 .changeset/cyan-cooks-sing.md diff --git a/.changeset/cyan-cooks-sing.md b/.changeset/cyan-cooks-sing.md new file mode 100644 index 0000000000..18aa3966ec --- /dev/null +++ b/.changeset/cyan-cooks-sing.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-backend-module-gerrit': patch +--- + +Add missing `schedule` key in `config.d.ts` diff --git a/plugins/catalog-backend-module-gerrit/config.d.ts b/plugins/catalog-backend-module-gerrit/config.d.ts index a246662b0a..8f38b47771 100644 --- a/plugins/catalog-backend-module-gerrit/config.d.ts +++ b/plugins/catalog-backend-module-gerrit/config.d.ts @@ -14,6 +14,8 @@ * limitations under the License. */ +import { SchedulerServiceTaskScheduleDefinition } from '@backstage/backend-plugin-api'; + export interface Config { catalog?: { /** @@ -41,6 +43,10 @@ export interface Config { * The branch where the provider will try to find entities. Defaults to "master". */ branch?: string; + /** + * (Optional) TaskScheduleDefinition for the discovery. + */ + schedule?: SchedulerServiceTaskScheduleDefinition; }; }; };