From 7c72628117959516537463f9a9d3eac0c6eaf000 Mon Sep 17 00:00:00 2001 From: Christian Dupuis Date: Wed, 11 Mar 2020 17:51:59 +0100 Subject: [PATCH] Add SlackChannelType [changelog:added] --- lib/decorators.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/decorators.ts b/lib/decorators.ts index 15044b3f0..c0db3bce6 100644 --- a/lib/decorators.ts +++ b/lib/decorators.ts @@ -125,6 +125,7 @@ export const MappedParameters = { SlackChannel: "atomist://slack/channel", SlackChannelName: "atomist://slack/channel_name", + SlackChannelType: "atomist://slack/channel_type", SlackTeam: "atomist://slack/team", SlackUser: "atomist://slack/user", SlackUserName: "atomist://slack/user_name", @@ -132,6 +133,11 @@ export const MappedParameters = { AtomistWebhookUrlBase: "atomist://base_webhook_url", }; +export enum SlackChannelType { + Channel = "channel", + User = "user", +} + export const Secrets = { OrgToken: "github://org_token", UserToken: "github://user_token",