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

docs(constants): document missing constants #8168

Merged
merged 3 commits into from Jun 29, 2022

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented Jun 24, 2022

Please describe the changes this PR makes and why it should be merged:

  • Several keys were missing from the Constants typedef
  • InteractionTypes, InteractionResponseTypes, and MessageComponentTypes were missing the modal related types.
  • SweeperKeys was missing in the typings
  • Sorted the Constants typedef alphabetically
  • Backported types(Status): add missing members #8179

Status and versioning classification:

  • I know how to update typings and have done so, or typings don't need updating
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@vercel
Copy link

vercel bot commented Jun 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
discord-js ❌ Failed (Inspect) Jun 28, 2022 at 3:58PM (UTC)

@vercel vercel bot temporarily deployed to Preview June 24, 2022 12:38 Inactive
@Jiralite Jiralite added this to the discord.js v13.9 milestone Jun 24, 2022
@Jiralite Jiralite requested a review from a team June 24, 2022 12:42
src/util/Constants.js Outdated Show resolved Hide resolved
src/util/Constants.js Outdated Show resolved Hide resolved
@vercel vercel bot temporarily deployed to Preview June 24, 2022 13:07 Inactive
@vercel vercel bot temporarily deployed to Preview June 24, 2022 18:49 Inactive
Comment on lines -136 to -146
/**
* @deprecated See {@link https://github.com/discord/discord-api-docs/issues/3690 this issue} for more information.
*/
APPLICATION_COMMAND_CREATE: 'applicationCommandCreate',
/**
* @deprecated See {@link https://github.com/discord/discord-api-docs/issues/3690 this issue} for more information.
*/
APPLICATION_COMMAND_DELETE: 'applicationCommandDelete',
/**
* @deprecated See {@link https://github.com/discord/discord-api-docs/issues/3690 this issue} for more information.
*/
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were crashing the docgen

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How exactly? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, the "Tests / Documentation (pull_request)" check in the first commit

@vercel vercel bot temporarily deployed to Preview June 28, 2022 15:55 Inactive
@vercel vercel bot temporarily deployed to Preview June 28, 2022 15:58 Inactive
@iCrawl iCrawl merged commit 4ae08ad into discordjs:v13 Jun 29, 2022
@almeidx almeidx deleted the constants-v13 branch June 30, 2022 10:24
@RedGuy12 RedGuy12 mentioned this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

7 participants