Merge pull request #26778 from leboncoin/fix-gerrit-config

fix(catalog-backend-module-gerrit): add schedule in config.d.ts
This commit is contained in:
Ben Lambert
2024-09-30 12:02:38 +02:00
committed by GitHub
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-gerrit': patch
---
Fixed an issue preventing the provider's `schedule` config from being applied."
+6
View File
@@ -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;
};
};
};