Skip to content

fix(web-api): widen Slack Lists message field type#2599

Open
AjTheSpidey wants to merge 1 commit into
slackapi:mainfrom
AjTheSpidey:codex/fix-slack-lists-message-type
Open

fix(web-api): widen Slack Lists message field type#2599
AjTheSpidey wants to merge 1 commit into
slackapi:mainfrom
AjTheSpidey:codex/fix-slack-lists-message-type

Conversation

@AjTheSpidey
Copy link
Copy Markdown

Summary

  • add a Slack Lists message metadata type for response values
  • widen SlackListsItemFieldMessage.message to accept request URL arrays, a single returned message object, or returned message object arrays
  • add tsd coverage for the preserved request shape and the response object shapes
  • add a patch changeset for @slack/web-api

Fixes #2598

Validation

  • npm run build --workspace=@slack/logger
  • npm run build --workspace=@slack/types
  • npm run build --workspace=@slack/web-api
  • npm run test:types --workspace=@slack/web-api
  • npx @biomejs/biome check packages/web-api/src/types/request/slackLists.ts packages/web-api/test/types/methods/slacklists.test-d.ts .changeset/slack-lists-message-field.md
  • From packages/web-api: node --import tsx --test src/*.test.ts (154 tests passed)

@AjTheSpidey AjTheSpidey requested a review from a team as a code owner May 15, 2026 20:05
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2026

🦋 Changeset detected

Latest commit: f63d812

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/web-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @AjTheSpidey to sign the Salesforce Inc. Contributor License Agreement.

@hello-ashleyintech
Copy link
Copy Markdown
Contributor

Hi, @AjTheSpidey! Thanks for your contribution! Could you please sign the CLA?

@AjTheSpidey
Copy link
Copy Markdown
Author

Hi, @AjTheSpidey! Thanks for your contribution! Could you please sign the CLA?

Unfortunately my parents have not responded to me if they will allow me to sign, I am only 14 and i need my parents permission to sign it 😅.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SlackListsItem FieldMessage.message type does not match API response shape

2 participants