From c403c7c41bceaeeab750879b73882d03ea92dcb6 Mon Sep 17 00:00:00 2001 From: Kai Dubauskas Date: Wed, 3 Dec 2025 14:59:04 -0500 Subject: [PATCH] update config.d.ts Signed-off-by: Kai Dubauskas --- plugins/notifications-backend-module-slack/config.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/notifications-backend-module-slack/config.d.ts b/plugins/notifications-backend-module-slack/config.d.ts index 8cd450940e..441a49331c 100644 --- a/plugins/notifications-backend-module-slack/config.d.ts +++ b/plugins/notifications-backend-module-slack/config.d.ts @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import { HumanDuration } from '@backstage/types'; + export interface Config { notifications?: { processors?: { @@ -28,6 +30,14 @@ export interface Config { * Names, or Slack Channel IDs. Any valid identifier that chat.postMessage can accept. */ broadcastChannels?: string[]; + /** + * Concurrency limit for Slack notifications, defaults to 10 + */ + concurrencyLimit?: number; + /** + * Throttle duration between Slack notifications, defaults to 1 minute + */ + throttleInterval?: HumanDuration | string; }>; }; };