slackapi / slackapi/deno-slack-api

[FEATURE] expose block types

Open
#88 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement semver:major
Dominant language
TypeScript
Stars
45
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I'd like to have the block types exposed just like the NPM module:

For example with the nodejs module:

import type {
  ContextBlock,
  DividerBlock,
  HeaderBlock,
  SectionBlock,
} from 'npm:@slack/bolt@3.13.1'

I don't think the types are exposed in the deno module

Description of the problem being solved

Types for creating a chat request exposed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the Deno module's exported types with the npm module example, focusing on ContextBlock, DividerBlock, HeaderBlock, and SectionBlock. Done means these block types are exposed for creating chat requests and the shown import pattern works in the Deno module.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, typescript
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.