Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move block-action.ts to @slack/types #1432

Open
4 of 10 tasks
benasher44 opened this issue Apr 26, 2022 · 2 comments
Open
4 of 10 tasks

Move block-action.ts to @slack/types #1432

benasher44 opened this issue Apr 26, 2022 · 2 comments
Labels
enhancement M-T: A feature request for new functionality TypeScript-specific
Milestone

Comments

@benasher44
Copy link

benasher44 commented Apr 26, 2022

Description

The types in block-action.ts are super useful for just interacting with the Slack API in other packages, like @slack/web-api. We pull in @slack/bolt just to use these types. It would be great if these types could be moved to @slack/types to avoid having to pull in all of @slack/bolt just to use them.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • example code related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

package version: 3.11.0

node version: 16.x

OS version(s): Ubuntu 20.04

Steps to reproduce:

  1. npm i @slack/types
  2. import various button action types :)

Expected result:

Leverage the awesome button action types

Actual result:

Have to get them from @slack/bolt instead

Attachments:

I picked the funny image option:

@seratch seratch added enhancement M-T: A feature request for new functionality TypeScript-specific labels Apr 26, 2022
@seratch seratch added this to the 3.x milestone Apr 26, 2022
@seratch
Copy link
Member

seratch commented Apr 26, 2022

Hi @benasher44 , thanks for taking the time to share this feedback! Indeed, this should be valuable for many developers! We will work on this sometime soon.

@filmaj
Copy link
Contributor

filmaj commented Aug 19, 2024

FYI I've included/linked this issue in slackapi/node-slack-sdk#1395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement M-T: A feature request for new functionality TypeScript-specific
Projects
None yet
Development

No branches or pull requests

3 participants