Skip to content

Commit 3411de3

Browse files
chore: release (#2579)
1 parent 3c4e927 commit 3411de3

67 files changed

Lines changed: 317 additions & 235 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/add-blocks-chunk.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-block-descriptions.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/itchy-buttons-begin.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/english/reference/cli-test/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @slack/cli-test v3.0.1
1+
# @slack/cli-test v3.0.2
22

33
## Classes
44

docs/english/reference/types/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @slack/types v2.21.0
1+
# @slack/types v2.21.1
22

33
## Enumerations
44

@@ -22,6 +22,7 @@
2222
- [AssistantThreadContextChangedEvent](interfaces/AssistantThreadContextChangedEvent.md)
2323
- [AssistantThreadStartedEvent](interfaces/AssistantThreadStartedEvent.md)
2424
- [Block](interfaces/Block.md)
25+
- [BlocksChunk](interfaces/BlocksChunk.md)
2526
- [BotMessageEvent](interfaces/BotMessageEvent.md)
2627
- [Button](interfaces/Button.md)
2728
- [CallRejectedEvent](interfaces/CallRejectedEvent.md)

docs/english/reference/types/interfaces/AlertBlock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Defined in: [block-kit/blocks.ts:119](https://github.com/slackapi/node-slack-sdk
66

77
## Description
88

9-
A prominent notice block for displaying warnings, status updates, or other important information.
9+
Displays alerts, warnings, and informational messages.
1010

1111
## See
1212

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[@slack/types](../index.md) / BlocksChunk
2+
3+
# Interface: BlocksChunk
4+
5+
Defined in: [chunk.ts:16](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L16)
6+
7+
Used for passing an array of blocks within a streaming message.
8+
https://docs.slack.dev/changelog/2026/04/16/block-kit-new-blocks/
9+
10+
## Extends
11+
12+
- [`Chunk`](Chunk.md)
13+
14+
## Properties
15+
16+
### blocks
17+
18+
```ts
19+
blocks: AnyBlock[];
20+
```
21+
22+
Defined in: [chunk.ts:19](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L19)
23+
24+
#### Description
25+
26+
An array of [AnyBlock](../type-aliases/AnyBlock.md) objects. Maximum of 50 blocks.
27+
28+
***
29+
30+
### type
31+
32+
```ts
33+
type: "blocks";
34+
```
35+
36+
Defined in: [chunk.ts:17](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L17)
37+
38+
#### Overrides
39+
40+
[`Chunk`](Chunk.md).[`type`](Chunk.md#type)

docs/english/reference/types/interfaces/CardBlock.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
# Interface: CardBlock
44

5-
Defined in: [block-kit/blocks.ts:139](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L139)
5+
Defined in: [block-kit/blocks.ts:138](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L138)
66

77
## Description
88

9-
A rich display block for presenting structured content such as recommendations, results, or work items.
10-
At least one of `hero_image`, `title`, `actions`, or `body` must be provided.
9+
Displays content in a card. At least one of `hero_image`, `title`, `actions`, or `body` must be provided.
1110

1211
## See
1312

@@ -25,7 +24,7 @@ At least one of `hero_image`, `title`, `actions`, or `body` must be provided.
2524
optional actions: Button[];
2625
```
2726

28-
Defined in: [block-kit/blocks.ts:170](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L170)
27+
Defined in: [block-kit/blocks.ts:169](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L169)
2928

3029
#### Description
3130

@@ -61,7 +60,7 @@ a message. If a message is updated, use a new `block_id`.
6160
optional body: MrkdwnElement;
6261
```
6362

64-
Defined in: [block-kit/blocks.ts:166](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L166)
63+
Defined in: [block-kit/blocks.ts:165](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L165)
6564

6665
#### Description
6766

@@ -76,7 +75,7 @@ Maximum length for the text in this field is 200 characters.
7675
optional hero_image: ImageElement;
7776
```
7877

79-
Defined in: [block-kit/blocks.ts:147](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L147)
78+
Defined in: [block-kit/blocks.ts:146](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L146)
8079

8180
#### Description
8281

@@ -90,7 +89,7 @@ A top banner image for the card in the form of an [ImageElement](../type-aliases
9089
optional icon: ImageElement;
9190
```
9291

93-
Defined in: [block-kit/blocks.ts:151](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L151)
92+
Defined in: [block-kit/blocks.ts:150](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L150)
9493

9594
#### Description
9695

@@ -104,7 +103,7 @@ A small icon displayed next to the title and subtitle in the form of an [ImageEl
104103
optional subtitle: MrkdwnElement;
105104
```
106105

107-
Defined in: [block-kit/blocks.ts:161](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L161)
106+
Defined in: [block-kit/blocks.ts:160](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L160)
108107

109108
#### Description
110109

@@ -119,7 +118,7 @@ Maximum length for the text in this field is 150 characters.
119118
optional title: MrkdwnElement;
120119
```
121120

122-
Defined in: [block-kit/blocks.ts:156](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L156)
121+
Defined in: [block-kit/blocks.ts:155](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L155)
123122

124123
#### Description
125124

@@ -134,7 +133,7 @@ Maximum length for the text in this field is 150 characters.
134133
type: "card";
135134
```
136135

137-
Defined in: [block-kit/blocks.ts:143](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L143)
136+
Defined in: [block-kit/blocks.ts:142](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L142)
138137

139138
#### Description
140139

docs/english/reference/types/interfaces/CarouselBlock.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
# Interface: CarouselBlock
44

5-
Defined in: [block-kit/blocks.ts:177](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L177)
5+
Defined in: [block-kit/blocks.ts:176](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L176)
66

77
## Description
88

9-
A horizontally scrollable collection of [CardBlock](CardBlock.md) elements.
9+
Displays related card blocks in a horizontally-scrolling container.
1010

1111
## See
1212

@@ -46,7 +46,7 @@ a message. If a message is updated, use a new `block_id`.
4646
elements: CardBlock[];
4747
```
4848

49-
Defined in: [block-kit/blocks.ts:185](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L185)
49+
Defined in: [block-kit/blocks.ts:184](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L184)
5050

5151
#### Description
5252

@@ -60,7 +60,7 @@ An array of [CardBlock](CardBlock.md) elements. Minimum 1, maximum 10 cards.
6060
type: "carousel";
6161
```
6262

63-
Defined in: [block-kit/blocks.ts:181](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L181)
63+
Defined in: [block-kit/blocks.ts:180](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/block-kit/blocks.ts#L180)
6464

6565
#### Description
6666

docs/english/reference/types/interfaces/Chunk.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
# Interface: Chunk
44

5-
Defined in: [chunk.ts:6](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L6)
5+
Defined in: [chunk.ts:8](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L8)
66

77
Base interface for streaming message chunks.
88
https://docs.slack.dev/messaging/sending-and-scheduling-messages#text-streaming
99

1010
## Extended by
1111

12+
- [`BlocksChunk`](BlocksChunk.md)
1213
- [`MarkdownTextChunk`](MarkdownTextChunk.md)
1314
- [`PlanUpdateChunk`](PlanUpdateChunk.md)
1415
- [`TaskUpdateChunk`](TaskUpdateChunk.md)
@@ -21,4 +22,4 @@ https://docs.slack.dev/messaging/sending-and-scheduling-messages#text-streaming
2122
type: string;
2223
```
2324

24-
Defined in: [chunk.ts:7](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L7)
25+
Defined in: [chunk.ts:9](https://github.com/slackapi/node-slack-sdk/blob/main/packages/types/src/chunk.ts#L9)

0 commit comments

Comments
 (0)