Skip to content

Commit

Permalink
Merge pull request #107 from raycharius/v2.7.1
Browse files Browse the repository at this point in the history
🐛 Fix issues with type compatibility of input block and recently added block elements
  • Loading branch information
raycharius authored Nov 11, 2022
2 parents 68af561 + 573d22b commit 3bc6ecb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slack-block-builder",
"version": "2.7.0",
"version": "2.7.1",
"description": "Maintainable code for interactive Slack messages, modals, home tabs, and workflow steps. A must-have for the Slack Block Kit framework.",
"author": {
"name": "Ray East",
Expand Down
8 changes: 7 additions & 1 deletion src/internal/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {
CheckboxesBuilder,
ConversationMultiSelectBuilder,
ConversationSelectBuilder,
DatePickerBuilder,
DatePickerBuilder, DateTimePickerBuilder,
ExternalMultiSelectBuilder,
ExternalSelectBuilder,
ImgBuilder,
Expand All @@ -29,13 +29,15 @@ import type {
SectionBuilder,
VideoBuilder,
} from '../../blocks';
import { EmailInputBuilder, NumberInputBuilder, URLInputBuilder } from '../../elements';

export type ActionsElementBuilder =
ButtonBuilder
| ChannelSelectBuilder
| CheckboxesBuilder
| ConversationSelectBuilder
| DatePickerBuilder
| DateTimePickerBuilder
| ExternalSelectBuilder
| OverflowMenuBuilder
| RadioButtonsBuilder
Expand Down Expand Up @@ -69,13 +71,17 @@ export type InputElementBuilder =
| ConversationMultiSelectBuilder
| ConversationSelectBuilder
| DatePickerBuilder
| DateTimePickerBuilder
| EmailInputBuilder
| ExternalMultiSelectBuilder
| ExternalSelectBuilder
| NumberInputBuilder
| RadioButtonsBuilder
| StaticMultiSelectBuilder
| StaticSelectBuilder
| TextInputBuilder
| TimePickerBuilder
| URLInputBuilder
| UserMultiSelectBuilder
| UserSelectBuilder;

Expand Down

0 comments on commit 3bc6ecb

Please sign in to comment.