@atomist/slack-messages
Advanced tools
Comparing version 1.2.0-master.20200806083959 to 1.2.0-master.20200806084935
@@ -134,3 +134,3 @@ /** | ||
export interface Block { | ||
type: "actions" | "context" | "divider" | "file" | "header" | "image" | "section"; | ||
type: "actions" | "context" | "divider" | "file" | "header" | "image" | "section" | "input"; | ||
block_id?: string; | ||
@@ -276,2 +276,21 @@ } | ||
} | ||
export interface SlackModal { | ||
type: "modal"; | ||
title: PlainTextElement; | ||
blocks: Block[]; | ||
close?: PlainTextElement; | ||
submit?: PlainTextElement; | ||
private_metadata?: string; | ||
callback_id?: string; | ||
clear_on_close?: boolean; | ||
notify_on_close?: boolean; | ||
external_id?: boolean; | ||
} | ||
export interface InputBlock extends Block { | ||
type: "input"; | ||
label: PlainTextElement; | ||
element: PlainTextElement | DatePickerElement | StaticOptionElement | UserOptionElement | ConversationOptionElement | ChannelOptionElement; | ||
hint?: PlainTextElement; | ||
optional?: boolean; | ||
} | ||
//# sourceMappingURL=SlackMessages.d.ts.map |
{ | ||
"name": "@atomist/slack-messages", | ||
"version": "1.2.0-master.20200806083959", | ||
"version": "1.2.0-master.20200806084935", | ||
"description": "Atomist utilities for creating formatted Slack messages", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69774
832