fix(catalog-backend-module-gerrit): add schedule in config.d.ts

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
Thomas Cardonne
2024-09-18 22:44:14 +02:00
parent 3f12044826
commit 5b6edf1ccf
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-gerrit': patch
---
Add missing `schedule` key in `config.d.ts`
+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;
};
};
};