build: Bump dependencies (#11333)

* build: bump dependencies

* fix: guide build

* build: amend package.json.hbs

* build: create-discord-bot

* style: formatting

* build: final change

---------

Co-authored-by: almeidx <github@almeidx.dev>
This commit is contained in:
Jiralite
2025-12-06 22:55:07 +00:00
committed by GitHub
parent 0aaba0305f
commit 5e6bd4b3d7
83 changed files with 6148 additions and 5493 deletions

View File

@@ -48,69 +48,69 @@
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"@opennextjs/cloudflare": "^1.11.0", "@opennextjs/cloudflare": "^1.14.4",
"@react-icons/all-files": "^4.1.0", "@react-icons/all-files": "^4.1.0",
"@vercel/analytics": "^1.5.0", "@vercel/analytics": "^1.6.1",
"cmdk": "^1.1.1", "cmdk": "^1.1.1",
"cva": "1.0.0-beta.3", "cva": "1.0.0-beta.3",
"fumadocs-core": "^16.0.6", "fumadocs-core": "^16.2.3",
"fumadocs-mdx": "^13.0.3", "fumadocs-mdx": "^14.1.0",
"fumadocs-twoslash": "^3.1.9", "fumadocs-twoslash": "^3.1.10",
"fumadocs-ui": "^16.0.6", "fumadocs-ui": "16.1.0",
"geist": "^1.5.1", "geist": "^1.5.1",
"immer": "^10.2.0", "immer": "^10.2.0",
"jotai": "^2.15.0", "jotai": "^2.15.2",
"jotai-immer": "^0.4.1", "jotai-immer": "^0.4.1",
"lucide-react": "^0.548.0", "lucide-react": "^0.548.0",
"mermaid": "^11.12.1", "mermaid": "^11.12.2",
"motion": "^12.23.24", "motion": "^12.23.25",
"next": "^16.0.1", "next": "^16.0.7",
"next-mdx-remote-client": "^2.1.7", "next-mdx-remote-client": "^2.1.7",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"nuqs": "^2.7.2", "nuqs": "^2.8.3",
"p-retry": "^7.1.0", "p-retry": "^7.1.0",
"react": "^19.2.0", "react": "^19.2.1",
"react-aria": "^3.44.0", "react-aria": "^3.44.0",
"react-aria-components": "^1.13.0", "react-aria-components": "^1.13.0",
"react-dom": "^19.2.0", "react-dom": "^19.2.1",
"react-error-boundary": "^6.0.0", "react-error-boundary": "^6.0.0",
"safe-mdx": "^1.3.8", "safe-mdx": "^1.3.9",
"sharp": "^0.34.4", "sharp": "^0.34.5",
"tailwind-merge": "^3.3.1", "tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0", "tw-animate-css": "^1.4.0",
"twoslash": "^0.3.4", "twoslash": "^0.3.4",
"usehooks-ts": "^3.1.1" "usehooks-ts": "^3.1.1"
}, },
"devDependencies": { "devDependencies": {
"@next/env": "^16.0.1", "@next/env": "^16.0.7",
"@shikijs/rehype": "^3.14.0", "@shikijs/rehype": "^3.19.0",
"@tailwindcss/postcss": "^4.1.16", "@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.19", "@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.16", "@tailwindcss/vite": "^4.1.17",
"@types/mdx": "^2.0.13", "@types/mdx": "^2.0.13",
"@types/node": "^24.9.2", "@types/node": "^24.10.1",
"@types/react": "^19.2.2", "@types/react": "^19.2.7",
"@types/react-dom": "^19.2.2", "@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.22",
"babel-plugin-react-compiler": "19.1.0-rc.3", "babel-plugin-react-compiler": "19.1.0-rc.3",
"cpy-cli": "^6.0.0", "cpy-cli": "^6.0.0",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"git-describe": "^4.1.1", "git-describe": "^4.1.1",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.7.1", "prettier-plugin-tailwindcss": "^0.7.2",
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2", "remark-rehype": "^11.1.2",
"shiki": "^3.14.0", "shiki": "^3.19.0",
"tailwindcss": "^4.1.16", "tailwindcss": "^4.1.17",
"tailwindcss-react-aria-components": "^2.0.1", "tailwindcss-react-aria-components": "^2.0.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"vercel": "^48.7.1", "vercel": "^48.12.1",
"wrangler": "^4.45.3" "wrangler": "^4.53.0"
}, },
"engines": { "engines": {
"node": ">=22.12.0" "node": ">=22.12.0"

View File

@@ -1,7 +1,7 @@
import { loader } from 'fumadocs-core/source'; import { loader } from 'fumadocs-core/source';
import { icons } from 'lucide-react'; import { icons } from 'lucide-react';
import { createElement } from 'react'; import { createElement } from 'react';
import { docs } from '../../.source'; import { docs } from '../../.source/server';
export const source = loader({ export const source = loader({
icon(icon) { icon(icon) {

View File

@@ -51,11 +51,11 @@
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"@opennextjs/cloudflare": "^1.11.0", "@opennextjs/cloudflare": "^1.14.4",
"@radix-ui/react-collapsible": "^1.1.12", "@radix-ui/react-collapsible": "^1.1.12",
"@react-icons/all-files": "^4.1.0", "@react-icons/all-files": "^4.1.0",
"@tanstack/react-query": "^5.90.5", "@tanstack/react-query": "^5.90.12",
"@vercel/analytics": "^1.5.0", "@vercel/analytics": "^1.6.1",
"@vercel/edge-config": "^1.4.3", "@vercel/edge-config": "^1.4.3",
"@vercel/postgres": "^0.10.0", "@vercel/postgres": "^0.10.0",
"cloudflare": "^5.2.0", "cloudflare": "^5.2.0",
@@ -63,57 +63,57 @@
"cva": "1.0.0-beta.3", "cva": "1.0.0-beta.3",
"geist": "^1.5.1", "geist": "^1.5.1",
"immer": "^10.2.0", "immer": "^10.2.0",
"jotai": "^2.15.0", "jotai": "^2.15.2",
"jotai-immer": "^0.4.1", "jotai-immer": "^0.4.1",
"lucide-react": "^0.548.0", "lucide-react": "^0.548.0",
"meilisearch": "^0.53.0", "meilisearch": "^0.53.0",
"motion": "^12.23.24", "motion": "^12.23.25",
"next": "^16.0.1", "next": "^16.0.7",
"next-mdx-remote-client": "^2.1.7", "next-mdx-remote-client": "^2.1.7",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"nuqs": "^2.7.2", "nuqs": "^2.8.3",
"overlayscrollbars": "^2.12.0", "overlayscrollbars": "^2.13.0",
"overlayscrollbars-react": "^0.5.6", "overlayscrollbars-react": "^0.5.6",
"react": "^19.2.0", "react": "^19.2.1",
"react-aria": "^3.44.0", "react-aria": "^3.44.0",
"react-aria-components": "^1.13.0", "react-aria-components": "^1.13.0",
"react-dom": "^19.2.0", "react-dom": "^19.2.1",
"react-error-boundary": "^6.0.0", "react-error-boundary": "^6.0.0",
"safe-mdx": "^1.3.8", "safe-mdx": "^1.3.9",
"sharp": "^0.34.4", "sharp": "^0.34.5",
"tailwind-merge": "^3.3.1", "tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0", "tw-animate-css": "^1.4.0",
"usehooks-ts": "^3.1.1" "usehooks-ts": "^3.1.1"
}, },
"devDependencies": { "devDependencies": {
"@next/env": "^16.0.1", "@next/env": "^16.0.7",
"@shikijs/rehype": "^3.14.0", "@shikijs/rehype": "^3.19.0",
"@tailwindcss/postcss": "^4.1.16", "@tailwindcss/postcss": "^4.1.17",
"@tailwindcss/typography": "^0.5.19", "@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.16", "@tailwindcss/vite": "^4.1.17",
"@types/node": "^24.9.2", "@types/node": "^24.10.1",
"@types/react": "^19.2.2", "@types/react": "^19.2.7",
"@types/react-dom": "^19.2.2", "@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.22",
"babel-plugin-react-compiler": "19.1.0-rc.3", "babel-plugin-react-compiler": "19.1.0-rc.3",
"cpy-cli": "^6.0.0", "cpy-cli": "^6.0.0",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"git-describe": "^4.1.1", "git-describe": "^4.1.1",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"prettier-plugin-tailwindcss": "^0.7.1", "prettier-plugin-tailwindcss": "^0.7.2",
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"remark-rehype": "^11.1.2", "remark-rehype": "^11.1.2",
"shiki": "^3.14.0", "shiki": "^3.19.0",
"tailwindcss": "^4.1.16", "tailwindcss": "^4.1.17",
"tailwindcss-react-aria-components": "^2.0.1", "tailwindcss-react-aria-components": "^2.0.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"vercel": "^48.7.1", "vercel": "^48.12.1",
"wrangler": "^4.45.3" "wrangler": "^4.53.0"
}, },
"engines": { "engines": {
"node": ">=22.12.0" "node": ">=22.12.0"

View File

@@ -27,7 +27,6 @@ async function loadGoogleFont(font: string, text: string) {
export default async function Image() { export default async function Image() {
return new ImageResponse( return new ImageResponse(
(
<div tw="flex bg-[#121214] h-full w-full"> <div tw="flex bg-[#121214] h-full w-full">
<div tw="mx-auto flex items-center h-full"> <div tw="mx-auto flex items-center h-full">
<div tw="flex"> <div tw="flex">
@@ -42,8 +41,7 @@ export default async function Image() {
</div> </div>
</div> </div>
</div> </div>
</div> </div>,
),
{ {
...size, ...size,
fonts: [ fonts: [

View File

@@ -51,33 +51,33 @@
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^20.1.0", "@commitlint/cli": "^20.2.0",
"@commitlint/config-angular": "^20.0.0", "@commitlint/config-angular": "^20.2.0",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@favware/npm-deprecate": "^2.0.0", "@favware/npm-deprecate": "^2.0.0",
"@types/lodash.merge": "^4.6.9", "@types/lodash.merge": "^4.6.9",
"@unocss/eslint-plugin": "^66.5.4", "@unocss/eslint-plugin": "^66.5.10",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"conventional-changelog-cli": "^5.0.0", "conventional-changelog-cli": "^5.0.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-import-resolver-typescript": "^4.4.4", "eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-react-compiler": "19.1.0-rc.2", "eslint-plugin-react-compiler": "19.1.0-rc.2",
"husky": "^9.1.7", "husky": "^9.1.7",
"is-ci": "^4.1.0", "is-ci": "^4.1.0",
"lint-staged": "^16.2.6", "lint-staged": "^16.2.7",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"typescript-eslint": "^8.46.2", "typescript-eslint": "^8.48.1",
"unocss": "^66.5.4", "unocss": "^66.5.10",
"vercel": "^48.7.1", "vercel": "^48.12.1",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },
"engines": { "engines": {
"node": ">=22.12.0" "node": ">=22.12.0"
}, },
"packageManager": "pnpm@10.20.0" "packageManager": "pnpm@10.24.0"
} }

View File

@@ -44,30 +44,30 @@
"@actions/core": "^1.11.1", "@actions/core": "^1.11.1",
"@actions/github": "^6.0.1", "@actions/github": "^6.0.1",
"@actions/glob": "^0.5.0", "@actions/glob": "^0.5.0",
"@aws-sdk/client-s3": "^3.921.0", "@aws-sdk/client-s3": "^3.946.0",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"cloudflare": "^5.2.0", "cloudflare": "^5.2.0",
"commander": "^14.0.2", "commander": "^14.0.2",
"meilisearch": "^0.38.0", "meilisearch": "^0.38.0",
"p-limit": "^7.2.0", "p-limit": "^7.2.0",
"p-queue": "^9.0.0", "p-queue": "^9.0.1",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"undici": "7.16.0" "undici": "7.16.0"
}, },
"devDependencies": { "devDependencies": {
"@npm/types": "^2.1.0", "@npm/types": "^2.1.0",
"@types/bun": "^1.3.1", "@types/bun": "^1.3.3",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -36,16 +36,16 @@
"@rushstack/node-core-library": "5.13.1" "@rushstack/node-core-library": "5.13.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3" "typescript": "~5.9.3"
} }
} }

View File

@@ -15,7 +15,8 @@ import { type IApiDeclaredItemOptions, ApiDeclaredItem, type IApiDeclaredItemJso
* @public * @public
*/ */
export interface IApiPropertyItemOptions export interface IApiPropertyItemOptions
extends IApiNameMixinOptions, extends
IApiNameMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiOptionalMixinOptions, IApiOptionalMixinOptions,
IApiReadonlyMixinOptions, IApiReadonlyMixinOptions,

View File

@@ -18,7 +18,8 @@ import {
* @public * @public
*/ */
export interface IApiCallSignatureOptions export interface IApiCallSignatureOptions
extends IApiTypeParameterListMixinOptions, extends
IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions, IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiReturnTypeMixinOptions, IApiReturnTypeMixinOptions,

View File

@@ -32,7 +32,8 @@ import { HeritageType } from './HeritageType.js';
* @public * @public
*/ */
export interface IApiClassOptions export interface IApiClassOptions
extends IApiItemContainerMixinOptions, extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions, IApiNameMixinOptions,
IApiAbstractMixinOptions, IApiAbstractMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
@@ -48,10 +49,7 @@ export interface IExcerptTokenRangeWithTypeParameters extends IExcerptTokenRange
} }
export interface IApiClassJson export interface IApiClassJson
extends IApiDeclaredItemJson, extends IApiDeclaredItemJson, IApiAbstractMixinJson, IApiTypeParameterListMixinJson, IApiExportedMixinJson {
IApiAbstractMixinJson,
IApiTypeParameterListMixinJson,
IApiExportedMixinJson {
extendsTokenRange?: IExcerptTokenRangeWithTypeParameters | undefined; extendsTokenRange?: IExcerptTokenRangeWithTypeParameters | undefined;
implementsTokenRanges: IExcerptTokenRangeWithTypeParameters[]; implementsTokenRanges: IExcerptTokenRangeWithTypeParameters[];
} }

View File

@@ -18,7 +18,8 @@ import {
* @public * @public
*/ */
export interface IApiConstructSignatureOptions export interface IApiConstructSignatureOptions
extends IApiTypeParameterListMixinOptions, extends
IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions, IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiReturnTypeMixinOptions, IApiReturnTypeMixinOptions,

View File

@@ -14,7 +14,8 @@ import { type IApiReleaseTagMixinOptions, ApiReleaseTagMixin } from '../mixins/A
* @public * @public
*/ */
export interface IApiConstructorOptions export interface IApiConstructorOptions
extends IApiParameterListMixinOptions, extends
IApiParameterListMixinOptions,
IApiProtectedMixinOptions, IApiProtectedMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions {} IApiDeclaredItemOptions {}

View File

@@ -16,7 +16,8 @@ import type { ApiEnumMember } from './ApiEnumMember.js';
* @public * @public
*/ */
export interface IApiEnumOptions export interface IApiEnumOptions
extends IApiItemContainerMixinOptions, extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions, IApiNameMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions, IApiDeclaredItemOptions,

View File

@@ -14,10 +14,7 @@ import { ApiReleaseTagMixin, type IApiReleaseTagMixinOptions } from '../mixins/A
* @public * @public
*/ */
export interface IApiEnumMemberOptions export interface IApiEnumMemberOptions
extends IApiNameMixinOptions, extends IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiInitializerMixinOptions {}
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions,
IApiInitializerMixinOptions {}
/** /**
* Options for customizing the sort order of {@link ApiEnum} members. * Options for customizing the sort order of {@link ApiEnum} members.

View File

@@ -14,10 +14,7 @@ import { type IApiReleaseTagMixinOptions, ApiReleaseTagMixin } from '../mixins/A
* @public * @public
*/ */
export interface IApiEventOptions export interface IApiEventOptions
extends IApiNameMixinOptions, extends IApiNameMixinOptions, IApiParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions {}
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions {}
/** /**
* Represents a TypeScript event declaration that belongs to an `ApiClass`. * Represents a TypeScript event declaration that belongs to an `ApiClass`.

View File

@@ -20,7 +20,8 @@ import {
* @public * @public
*/ */
export interface IApiFunctionOptions export interface IApiFunctionOptions
extends IApiNameMixinOptions, extends
IApiNameMixinOptions,
IApiTypeParameterListMixinOptions, IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions, IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,

View File

@@ -15,7 +15,8 @@ import { type IApiReturnTypeMixinOptions, ApiReturnTypeMixin } from '../mixins/A
* @public * @public
*/ */
export interface IApiIndexSignatureOptions export interface IApiIndexSignatureOptions
extends IApiParameterListMixinOptions, extends
IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiReturnTypeMixinOptions, IApiReturnTypeMixinOptions,
IApiReadonlyMixinOptions, IApiReadonlyMixinOptions,

View File

@@ -35,7 +35,8 @@ import { HeritageType } from './HeritageType.js';
* @public * @public
*/ */
export interface IApiInterfaceOptions export interface IApiInterfaceOptions
extends IApiItemContainerMixinOptions, extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions, IApiNameMixinOptions,
IApiTypeParameterListMixinOptions, IApiTypeParameterListMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
@@ -45,7 +46,8 @@ export interface IApiInterfaceOptions
} }
export interface IApiInterfaceJson export interface IApiInterfaceJson
extends IApiItemContainerJson, extends
IApiItemContainerJson,
IApiNameMixinJson, IApiNameMixinJson,
IApiTypeParameterListMixinJson, IApiTypeParameterListMixinJson,
IApiReleaseTagMixinJson, IApiReleaseTagMixinJson,

View File

@@ -23,7 +23,8 @@ import {
* @public * @public
*/ */
export interface IApiMethodOptions export interface IApiMethodOptions
extends IApiNameMixinOptions, extends
IApiNameMixinOptions,
IApiAbstractMixinOptions, IApiAbstractMixinOptions,
IApiOptionalMixinOptions, IApiOptionalMixinOptions,
IApiParameterListMixinOptions, IApiParameterListMixinOptions,

View File

@@ -18,7 +18,8 @@ import {
* @public * @public
*/ */
export interface IApiMethodSignatureOptions export interface IApiMethodSignatureOptions
extends IApiNameMixinOptions, extends
IApiNameMixinOptions,
IApiTypeParameterListMixinOptions, IApiTypeParameterListMixinOptions,
IApiParameterListMixinOptions, IApiParameterListMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,

View File

@@ -15,7 +15,8 @@ import { ApiReleaseTagMixin, type IApiReleaseTagMixinOptions } from '../mixins/A
* @public * @public
*/ */
export interface IApiNamespaceOptions export interface IApiNamespaceOptions
extends IApiItemContainerMixinOptions, extends
IApiItemContainerMixinOptions,
IApiNameMixinOptions, IApiNameMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions, IApiDeclaredItemOptions,

View File

@@ -28,9 +28,7 @@ import { DeserializerContext, ApiJsonSchemaVersion } from './DeserializerContext
* @public * @public
*/ */
export interface IApiPackageOptions export interface IApiPackageOptions
extends IApiItemContainerMixinOptions, extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiDocumentedItemOptions {
IApiNameMixinOptions,
IApiDocumentedItemOptions {
dependencies?: Record<string, string> | undefined; dependencies?: Record<string, string> | undefined;
projectFolderUrl?: string | undefined; projectFolderUrl?: string | undefined;
tsdocConfiguration: TSDocConfiguration; tsdocConfiguration: TSDocConfiguration;

View File

@@ -15,7 +15,8 @@ import { ApiStaticMixin, type IApiStaticMixinOptions } from '../mixins/ApiStatic
* @public * @public
*/ */
export interface IApiPropertyOptions export interface IApiPropertyOptions
extends IApiPropertyItemOptions, extends
IApiPropertyItemOptions,
IApiAbstractMixinOptions, IApiAbstractMixinOptions,
IApiProtectedMixinOptions, IApiProtectedMixinOptions,
IApiStaticMixinOptions, IApiStaticMixinOptions,

View File

@@ -25,7 +25,8 @@ import type { DeserializerContext } from './DeserializerContext.js';
* @public * @public
*/ */
export interface IApiTypeAliasOptions export interface IApiTypeAliasOptions
extends IApiNameMixinOptions, extends
IApiNameMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiDeclaredItemOptions, IApiDeclaredItemOptions,
IApiTypeParameterListMixinOptions, IApiTypeParameterListMixinOptions,

View File

@@ -22,7 +22,8 @@ import type { DeserializerContext } from './DeserializerContext.js';
* @public * @public
*/ */
export interface IApiVariableOptions export interface IApiVariableOptions
extends IApiNameMixinOptions, extends
IApiNameMixinOptions,
IApiReleaseTagMixinOptions, IApiReleaseTagMixinOptions,
IApiReadonlyMixinOptions, IApiReadonlyMixinOptions,
IApiDeclaredItemOptions, IApiDeclaredItemOptions,

View File

@@ -267,7 +267,8 @@ function mapParam(
} }
interface IApiMethodJson interface IApiMethodJson
extends IApiAbstractMixinJson, extends
IApiAbstractMixinJson,
IApiDeclaredItemJson, IApiDeclaredItemJson,
IApiNameMixinJson, IApiNameMixinJson,
IApiOptionalMixinJson, IApiOptionalMixinJson,
@@ -279,10 +280,7 @@ interface IApiMethodJson
IApiTypeParameterListMixinJson {} IApiTypeParameterListMixinJson {}
interface IApiConstructorJson interface IApiConstructorJson
extends IApiParameterListJson, extends IApiParameterListJson, IApiProtectedMixinJson, IApiReleaseTagMixinJson, IApiDeclaredItemJson {}
IApiProtectedMixinJson,
IApiReleaseTagMixinJson,
IApiDeclaredItemJson {}
function mapMethod(method: DocgenMethodJson, _package: string, parent?: DocgenClassJson): IApiMethodJson { function mapMethod(method: DocgenMethodJson, _package: string, parent?: DocgenClassJson): IApiMethodJson {
const excerptTokens: IExcerptToken[] = []; const excerptTokens: IExcerptToken[] = [];

View File

@@ -50,16 +50,16 @@
"@microsoft/tsdoc": "~0.15.1" "@microsoft/tsdoc": "~0.15.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3" "typescript": "~5.9.3"
}, },
"engines": { "engines": {

View File

@@ -77,10 +77,7 @@ export interface ApiParameterListJSON {
} }
export interface ApiMethodSignatureJSON export interface ApiMethodSignatureJSON
extends ApiItemJSON, extends ApiItemJSON, ApiTypeParameterListJSON, ApiParameterListJSON, ApiInheritableJSON {
ApiTypeParameterListJSON,
ApiParameterListJSON,
ApiInheritableJSON {
mergedSiblings: ApiMethodSignatureJSON[]; mergedSiblings: ApiMethodSignatureJSON[];
optional: boolean; optional: boolean;
overloadIndex: number; overloadIndex: number;

View File

@@ -63,19 +63,19 @@
"typescript": "~5.5.4" "typescript": "~5.5.4"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash": "^4.17.20", "@types/lodash": "^4.17.21",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@types/resolve": "^1.20.6", "@types/resolve": "^1.20.6",
"@types/semver": "^7.7.1", "@types/semver": "^7.7.1",
"cpy-cli": "^6.0.0", "cpy-cli": "^6.0.0",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8" "turbo": "^2.6.3"
} }
} }

View File

@@ -75,17 +75,17 @@
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -54,8 +54,7 @@ export interface IBaseBroker<TEvents extends {}> {
// eslint-disable-next-line @typescript-eslint/no-empty-object-type // eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface IPubSubBroker<TEvents extends {}> export interface IPubSubBroker<TEvents extends {}>
extends IBaseBroker<TEvents>, extends IBaseBroker<TEvents>, AsyncEventEmitter<ToEventMap<TEvents>> {
AsyncEventEmitter<ToEventMap<TEvents>> {
/** /**
* Publishes an event * Publishes an event
*/ */
@@ -63,8 +62,7 @@ export interface IPubSubBroker<TEvents extends {}>
} }
export interface IRPCBroker<TEvents extends Record<string, any[]>, TResponses extends Record<keyof TEvents, any>> export interface IRPCBroker<TEvents extends Record<string, any[]>, TResponses extends Record<keyof TEvents, any>>
extends IBaseBroker<TEvents>, extends IBaseBroker<TEvents>, AsyncEventEmitter<ToEventMap<TEvents, TResponses>> {
AsyncEventEmitter<ToEventMap<TEvents, TResponses>> {
/** /**
* Makes an RPC call * Makes an RPC call
*/ */

View File

@@ -83,7 +83,7 @@ export const DefaultRedisBrokerOptions = {
export abstract class BaseRedisBroker< export abstract class BaseRedisBroker<
TEvents extends Record<string, any[]>, TEvents extends Record<string, any[]>,
TResponses extends Record<keyof TEvents, any> | undefined = undefined, TResponses extends Record<keyof TEvents, any> | undefined = undefined,
> >
extends AsyncEventEmitter<ToEventMap<TEvents, TResponses>> extends AsyncEventEmitter<ToEventMap<TEvents, TResponses>>
implements IBaseBroker<TEvents> implements IBaseBroker<TEvents>
{ {

View File

@@ -66,26 +66,26 @@
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"@discordjs/util": "workspace:^", "@discordjs/util": "workspace:^",
"discord-api-types": "^0.38.31", "discord-api-types": "^0.38.36",
"ts-mixer": "^6.0.4", "ts-mixer": "^6.0.4",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"zod": "^4.1.12" "zod": "^4.1.13"
}, },
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -34,8 +34,9 @@ import { StringSelectMenuBuilder } from './selectMenu/StringSelectMenu.js';
import { UserSelectMenuBuilder } from './selectMenu/UserSelectMenu.js'; import { UserSelectMenuBuilder } from './selectMenu/UserSelectMenu.js';
import { TextInputBuilder } from './textInput/TextInput.js'; import { TextInputBuilder } from './textInput/TextInput.js';
export interface ActionRowBuilderData export interface ActionRowBuilderData extends Partial<
extends Partial<Omit<APIActionRowComponent<APIComponentInActionRow>, 'components'>> { Omit<APIActionRowComponent<APIComponentInActionRow>, 'components'>
> {
components: AnyActionRowComponentBuilder[]; components: AnyActionRowComponentBuilder[];
} }

View File

@@ -10,9 +10,9 @@ export interface ComponentBuilderBaseData {
* *
* @typeParam Component - The type of API data that is stored within the builder * @typeParam Component - The type of API data that is stored within the builder
*/ */
export abstract class ComponentBuilder<Component extends APIBaseComponent<ComponentType>> export abstract class ComponentBuilder<
implements JSONEncodable<Component> Component extends APIBaseComponent<ComponentType>,
{ > implements JSONEncodable<Component> {
/** /**
* @internal * @internal
*/ */

View File

@@ -1,7 +1,9 @@
import type { APIButtonComponent, APIButtonComponentWithSKUId, APIMessageComponentEmoji } from 'discord-api-types/v10'; import type { APIButtonComponent, APIButtonComponentWithSKUId, APIMessageComponentEmoji } from 'discord-api-types/v10';
export interface EmojiOrLabelButtonData export interface EmojiOrLabelButtonData extends Pick<
extends Pick<Exclude<APIButtonComponent, APIButtonComponentWithSKUId>, 'emoji' | 'label'> {} Exclude<APIButtonComponent, APIButtonComponentWithSKUId>,
'emoji' | 'label'
> {}
/** /**
* A mixin that adds emoji and label symbols to a button builder. * A mixin that adds emoji and label symbols to a button builder.

View File

@@ -8,20 +8,16 @@ import type {
import type { RestOrArray } from '../../util/normalizeArray.js'; import type { RestOrArray } from '../../util/normalizeArray.js';
import { normalizeArray } from '../../util/normalizeArray.js'; import { normalizeArray } from '../../util/normalizeArray.js';
export interface CommandData export interface CommandData extends Partial<
extends Partial< Pick<RESTPostAPIApplicationCommandsJSONBody, 'contexts' | 'default_member_permissions' | 'integration_types' | 'nsfw'>
Pick< > {}
RESTPostAPIApplicationCommandsJSONBody,
'contexts' | 'default_member_permissions' | 'integration_types' | 'nsfw'
>
> {}
/** /**
* The base class for all command builders. * The base class for all command builders.
*/ */
export abstract class CommandBuilder<Command extends RESTPostAPIApplicationCommandsJSONBody> export abstract class CommandBuilder<
implements JSONEncodable<Command> Command extends RESTPostAPIApplicationCommandsJSONBody,
{ > implements JSONEncodable<Command> {
/** /**
* The API data associated with this command. * The API data associated with this command.
* *

View File

@@ -1,7 +1,8 @@
import type { Locale, RESTPostAPIApplicationCommandsJSONBody } from 'discord-api-types/v10'; import type { Locale, RESTPostAPIApplicationCommandsJSONBody } from 'discord-api-types/v10';
export interface SharedNameData export interface SharedNameData extends Partial<
extends Partial<Pick<RESTPostAPIApplicationCommandsJSONBody, 'name_localizations' | 'name'>> {} Pick<RESTPostAPIApplicationCommandsJSONBody, 'name_localizations' | 'name'>
> {}
/** /**
* This mixin holds name and description symbols for chat input commands. * This mixin holds name and description symbols for chat input commands.

View File

@@ -3,8 +3,7 @@ import type { SharedNameData } from './SharedName.js';
import { SharedName } from './SharedName.js'; import { SharedName } from './SharedName.js';
export interface SharedNameAndDescriptionData export interface SharedNameAndDescriptionData
extends SharedNameData, extends SharedNameData, Partial<Pick<APIApplicationCommand, 'description_localizations' | 'description'>> {}
Partial<Pick<APIApplicationCommand, 'description_localizations' | 'description'>> {}
/** /**
* This mixin holds name and description symbols for chat input commands. * This mixin holds name and description symbols for chat input commands.

View File

@@ -1,7 +1,9 @@
import type { APIApplicationCommandIntegerOption } from 'discord-api-types/v10'; import type { APIApplicationCommandIntegerOption } from 'discord-api-types/v10';
export interface ApplicationCommandNumericOptionMinMaxValueData export interface ApplicationCommandNumericOptionMinMaxValueData extends Pick<
extends Pick<APIApplicationCommandIntegerOption, 'max_value' | 'min_value'> {} APIApplicationCommandIntegerOption,
'max_value' | 'min_value'
> {}
/** /**
* This mixin holds minimum and maximum symbols used for options. * This mixin holds minimum and maximum symbols used for options.

View File

@@ -19,8 +19,10 @@ export const ApplicationCommandOptionAllowedChannelTypes = [
*/ */
export type ApplicationCommandOptionAllowedChannelType = (typeof ApplicationCommandOptionAllowedChannelTypes)[number]; export type ApplicationCommandOptionAllowedChannelType = (typeof ApplicationCommandOptionAllowedChannelTypes)[number];
export interface ApplicationCommandOptionChannelTypesData export interface ApplicationCommandOptionChannelTypesData extends Pick<
extends Pick<APIApplicationCommandChannelOption, 'channel_types'> {} APIApplicationCommandChannelOption,
'channel_types'
> {}
/** /**
* This mixin holds channel type symbols used for options. * This mixin holds channel type symbols used for options.

View File

@@ -38,13 +38,12 @@ import { MessageReferenceBuilder } from './MessageReference.js';
import { EmbedBuilder } from './embed/Embed.js'; import { EmbedBuilder } from './embed/Embed.js';
import { PollBuilder } from './poll/Poll.js'; import { PollBuilder } from './poll/Poll.js';
export interface MessageBuilderData export interface MessageBuilderData extends Partial<
extends Partial<
Omit< Omit<
RESTPostAPIChannelMessageJSONBody, RESTPostAPIChannelMessageJSONBody,
'allowed_mentions' | 'attachments' | 'components' | 'embeds' | 'message_reference' | 'poll' 'allowed_mentions' | 'attachments' | 'components' | 'embeds' | 'message_reference' | 'poll'
> >
> { > {
allowed_mentions?: AllowedMentionsBuilder; allowed_mentions?: AllowedMentionsBuilder;
attachments: AttachmentBuilder[]; attachments: AttachmentBuilder[];
components: MessageTopLevelComponentBuilder[]; components: MessageTopLevelComponentBuilder[];

View File

@@ -64,17 +64,17 @@
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -70,23 +70,23 @@
"@discordjs/ws": "workspace:^", "@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.5", "@sapphire/snowflake": "^3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.7", "@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31" "discord-api-types": "^0.38.36"
}, },
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -16,8 +16,7 @@ import {
import type { WebhooksAPI } from './webhook.js'; import type { WebhooksAPI } from './webhook.js';
export interface CreateInteractionResponseOptions export interface CreateInteractionResponseOptions
extends APIInteractionResponseCallbackData, extends APIInteractionResponseCallbackData, RESTPostAPIInteractionCallbackQuery {
RESTPostAPIInteractionCallbackQuery {
files?: RawFile[]; files?: RawFile[];
} }

View File

@@ -57,17 +57,17 @@
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@types/prompts": "^2.4.9", "@types/prompts": "^2.4.9",
"@types/validate-npm-package-name": "^4.0.2", "@types/validate-npm-package-name": "^4.0.2",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"typescript": "~5.9.3" "typescript": "~5.9.3"
}, },
"engines": { "engines": {

View File

@@ -11,14 +11,14 @@
"start": "bun run src/index.[REPLACE_IMPORT_EXT]" "start": "bun run src/index.[REPLACE_IMPORT_EXT]"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.3.0", "@discordjs/core": "^2.4.0",
"discord.js": "^14.24.2" "discord.js": "^14.25.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^9.38.0", "eslint": "^9.38.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"zod": "^4.1.12" "zod": "^4.1.13"
} }
} }

View File

@@ -11,17 +11,17 @@
"start": "bun run src/index.[REPLACE_IMPORT_EXT]" "start": "bun run src/index.[REPLACE_IMPORT_EXT]"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.3.0", "@discordjs/core": "^2.4.0",
"discord.js": "^14.24.2" "discord.js": "^14.25.1"
}, },
"devDependencies": { "devDependencies": {
"@sapphire/ts-config": "^5.0.1", "@sapphire/ts-config": "^5.0.3",
"@types/bun": "^1.3.1", "@types/bun": "^1.3.3",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"zod": "^4.1.12" "zod": "^4.1.13"
} }
} }

View File

@@ -11,15 +11,15 @@
"deploy": "node --env-file=.env src/util/deploy.js" "deploy": "node --env-file=.env src/util/deploy.js"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.3.0", "@discordjs/core": "^2.4.0",
"discord.js": "^14.24.2" "discord.js": "^14.25.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^9.38.0", "eslint": "^9.38.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"zod": "^4.1.12" "zod": "^4.1.13"
}, },
"engines": { "engines": {
"node": ">=22.12.0" "node": ">=22.12.0"

View File

@@ -12,18 +12,18 @@
"start": "node --env-file=.env dist/index.js" "start": "node --env-file=.env dist/index.js"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.3.0", "@discordjs/core": "^2.4.0",
"discord.js": "^14.24.2" "discord.js": "^14.25.1"
}, },
"devDependencies": { "devDependencies": {
"@sapphire/ts-config": "^5.0.1", "@sapphire/ts-config": "^5.0.3",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"zod": "^4.1.12" "zod": "^4.1.13"
}, },
"engines": { "engines": {
"node": ">=22.12.0" "node": ">=22.12.0"

View File

@@ -74,7 +74,7 @@
"@discordjs/ws": "workspace:^", "@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "3.5.5", "@sapphire/snowflake": "3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.7", "@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31", "discord-api-types": "^0.38.36",
"fast-deep-equal": "3.1.3", "fast-deep-equal": "3.1.3",
"lodash.snakecase": "4.1.1", "lodash.snakecase": "4.1.1",
"magic-bytes.js": "^1.12.1", "magic-bytes.js": "^1.12.1",
@@ -86,17 +86,17 @@
"@discordjs/docgen": "workspace:^", "@discordjs/docgen": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"eslint-plugin-import": "^2.32.0", "eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^54.7.0", "eslint-plugin-jsdoc": "^54.7.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsd": "^0.33.0", "tsd": "^0.33.0",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3" "typescript": "~5.9.3"
}, },
"engines": { "engines": {

View File

@@ -266,8 +266,9 @@ export type ActionRowComponentData = MessageActionRowComponentData;
export type ActionRowComponent = MessageActionRowComponent; export type ActionRowComponent = MessageActionRowComponent;
export interface ActionRowData<ComponentType extends ActionRowComponentData | JSONEncodable<APIComponentInActionRow>> export interface ActionRowData<
extends BaseComponentData { ComponentType extends ActionRowComponentData | JSONEncodable<APIComponentInActionRow>,
> extends BaseComponentData {
components: readonly ComponentType[]; components: readonly ComponentType[];
} }
@@ -603,7 +604,8 @@ export class BaseGuildEmoji extends Emoji {
} }
export interface BaseGuildTextChannel export interface BaseGuildTextChannel
extends TextBasedChannelFields<true>, extends
TextBasedChannelFields<true>,
PinnableChannelFields, PinnableChannelFields,
WebhookChannelFields, WebhookChannelFields,
BulkDeleteMethod, BulkDeleteMethod,
@@ -630,7 +632,8 @@ export class BaseGuildTextChannel extends GuildChannel {
} }
export interface BaseGuildVoiceChannel export interface BaseGuildVoiceChannel
extends TextBasedChannelFields<true>, extends
TextBasedChannelFields<true>,
WebhookChannelFields, WebhookChannelFields,
BulkDeleteMethod, BulkDeleteMethod,
SetRateLimitPerUserMethod, SetRateLimitPerUserMethod,
@@ -1282,10 +1285,7 @@ export class PrimaryEntryPointCommandInteraction<
} }
export interface DMChannel export interface DMChannel
extends TextBasedChannelFields<false, true>, extends TextBasedChannelFields<false, true>, PinnableChannelFields, MessageChannelFields, SendMethod<false> {}
PinnableChannelFields,
MessageChannelFields,
SendMethod<false> {}
export class DMChannel extends BaseChannel { export class DMChannel extends BaseChannel {
private constructor(client: Client<true>, data?: RawDMChannelData); private constructor(client: Client<true>, data?: RawDMChannelData);
public flags: Readonly<ChannelFlagsBitField>; public flags: Readonly<ChannelFlagsBitField>;
@@ -2558,14 +2558,13 @@ export interface TextInputModalData extends BaseModalData<ComponentType.TextInpu
value: string; value: string;
} }
export interface SelectMenuModalData<Cached extends CacheType = CacheType> export interface SelectMenuModalData<Cached extends CacheType = CacheType> extends BaseModalData<
extends BaseModalData<
| ComponentType.ChannelSelect | ComponentType.ChannelSelect
| ComponentType.MentionableSelect | ComponentType.MentionableSelect
| ComponentType.RoleSelect | ComponentType.RoleSelect
| ComponentType.StringSelect | ComponentType.StringSelect
| ComponentType.UserSelect | ComponentType.UserSelect
> { > {
channels?: ReadonlyCollection< channels?: ReadonlyCollection<
Snowflake, Snowflake,
CacheTypeReducer<Cached, GuildBasedChannel, APIInteractionDataResolvedChannel> CacheTypeReducer<Cached, GuildBasedChannel, APIInteractionDataResolvedChannel>
@@ -2660,8 +2659,9 @@ export class ModalComponentResolver<Cached extends CacheType = CacheType> {
public getUploadedFiles(customId: string, required?: boolean): ReadonlyCollection<Snowflake, Attachment> | null; public getUploadedFiles(customId: string, required?: boolean): ReadonlyCollection<Snowflake, Attachment> | null;
} }
export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType> export interface ModalMessageModalSubmitInteraction<
extends ModalSubmitInteraction<Cached> { Cached extends CacheType = CacheType,
> extends ModalSubmitInteraction<Cached> {
channelId: Snowflake; channelId: Snowflake;
inCachedGuild(): this is ModalMessageModalSubmitInteraction<'cached'>; inCachedGuild(): this is ModalMessageModalSubmitInteraction<'cached'>;
inGuild(): this is ModalMessageModalSubmitInteraction<'cached' | 'raw'>; inGuild(): this is ModalMessageModalSubmitInteraction<'cached' | 'raw'>;
@@ -3514,7 +3514,8 @@ export interface PrivateThreadChannel extends ThreadChannel<false> {
} }
export interface ThreadChannel<ThreadOnly extends boolean = boolean> export interface ThreadChannel<ThreadOnly extends boolean = boolean>
extends TextBasedChannelFields<true>, extends
TextBasedChannelFields<true>,
PinnableChannelFields, PinnableChannelFields,
BulkDeleteMethod, BulkDeleteMethod,
SetRateLimitPerUserMethod, SetRateLimitPerUserMethod,
@@ -5061,15 +5062,17 @@ export interface ApplicationCommandAutocompleteStringOptionData extends BaseAppl
type: ApplicationCommandOptionType.String; type: ApplicationCommandOptionType.String;
} }
export interface ApplicationCommandChoicesData<Type extends number | string = number | string> export interface ApplicationCommandChoicesData<
extends BaseApplicationCommandOptionsData { Type extends number | string = number | string,
> extends BaseApplicationCommandOptionsData {
autocomplete?: false; autocomplete?: false;
choices?: readonly ApplicationCommandOptionChoiceData<Type>[]; choices?: readonly ApplicationCommandOptionChoiceData<Type>[];
type: CommandOptionChoiceResolvableType; type: CommandOptionChoiceResolvableType;
} }
export interface ApplicationCommandChoicesOption<Type extends number | string = number | string> export interface ApplicationCommandChoicesOption<
extends BaseApplicationCommandOptionsData { Type extends number | string = number | string,
> extends BaseApplicationCommandOptionsData {
autocomplete?: false; autocomplete?: false;
choices?: readonly ApplicationCommandOptionChoiceData<Type>[]; choices?: readonly ApplicationCommandOptionChoiceData<Type>[];
type: CommandOptionChoiceResolvableType; type: CommandOptionChoiceResolvableType;
@@ -5252,13 +5255,15 @@ export interface AutoModerationTriggerMetadata {
regexPatterns: readonly string[]; regexPatterns: readonly string[];
} }
export interface AwaitMessageComponentOptions<Interaction extends CollectedMessageInteraction> export interface AwaitMessageComponentOptions<Interaction extends CollectedMessageInteraction> extends CollectorOptions<
extends CollectorOptions<[Interaction, Collection<Snowflake, Interaction>]> { [Interaction, Collection<Snowflake, Interaction>]
> {
componentType?: ComponentType; componentType?: ComponentType;
} }
export interface AwaitModalSubmitOptions export interface AwaitModalSubmitOptions extends CollectorOptions<
extends CollectorOptions<[ModalSubmitInteraction, Collection<Snowflake, ModalSubmitInteraction>]> { [ModalSubmitInteraction, Collection<Snowflake, ModalSubmitInteraction>]
> {
time: number; time: number;
} }
@@ -5631,8 +5636,9 @@ export interface BaseInteractionResolvedData<Cached extends CacheType = CacheTyp
users?: ReadonlyCollection<Snowflake, User>; users?: ReadonlyCollection<Snowflake, User>;
} }
export interface CommandInteractionResolvedData<Cached extends CacheType = CacheType> export interface CommandInteractionResolvedData<
extends BaseInteractionResolvedData<Cached> { Cached extends CacheType = CacheType,
> extends BaseInteractionResolvedData<Cached> {
messages?: ReadonlyCollection<Snowflake, CacheTypeReducer<Cached, Message, APIMessage>>; messages?: ReadonlyCollection<Snowflake, CacheTypeReducer<Cached, Message, APIMessage>>;
} }
@@ -6618,8 +6624,9 @@ export type CollectedMessageInteraction<Cached extends CacheType = CacheType> =
ModalSubmitInteraction ModalSubmitInteraction
>; >;
export interface MessageComponentCollectorOptions<Interaction extends CollectedMessageInteraction> export interface MessageComponentCollectorOptions<
extends AwaitMessageComponentOptions<Interaction> { Interaction extends CollectedMessageInteraction,
> extends AwaitMessageComponentOptions<Interaction> {
max?: number; max?: number;
maxComponents?: number; maxComponents?: number;
maxUsers?: number; maxUsers?: number;
@@ -6658,8 +6665,7 @@ export interface MessageMentionOptions {
export type MessageMentionTypes = 'everyone' | 'roles' | 'users'; export type MessageMentionTypes = 'everyone' | 'roles' | 'users';
export interface MessageSnapshot export interface MessageSnapshot extends Partialize<
extends Partialize<
Message, Message,
null, null,
Exclude< Exclude<
@@ -6676,7 +6682,7 @@ export interface MessageSnapshot
| 'stickers' | 'stickers'
| 'type' | 'type'
> >
> {} > {}
export interface BaseMessageOptions { export interface BaseMessageOptions {
allowedMentions?: MessageMentionOptions; allowedMentions?: MessageMentionOptions;
@@ -6724,11 +6730,7 @@ export interface MessageOptionsStickers {
} }
export interface BaseMessageCreateOptions export interface BaseMessageCreateOptions
extends BaseMessageOptions, extends BaseMessageOptions, MessageOptionsPoll, MessageOptionsFlags, MessageOptionsTTS, MessageOptionsStickers {
MessageOptionsPoll,
MessageOptionsFlags,
MessageOptionsTTS,
MessageOptionsStickers {
enforceNonce?: boolean; enforceNonce?: boolean;
nonce?: number | string; nonce?: number | string;
} }
@@ -6738,9 +6740,7 @@ export interface MessageCreateOptions extends BaseMessageCreateOptions {
} }
export interface GuildForumThreadMessageCreateOptions export interface GuildForumThreadMessageCreateOptions
extends BaseMessageOptions, extends BaseMessageOptions, MessageOptionsFlags, MessageOptionsStickers {}
MessageOptionsFlags,
MessageOptionsStickers {}
export interface MessageEditAttachmentData { export interface MessageEditAttachmentData {
id: Snowflake; id: Snowflake;
@@ -6943,18 +6943,20 @@ export interface PartialDMChannel extends Partialize<DMChannel, null, null, 'las
export interface PartialGuildMember extends Partialize<GuildMember, 'joinedAt' | 'joinedTimestamp' | 'pending'> {} export interface PartialGuildMember extends Partialize<GuildMember, 'joinedAt' | 'joinedTimestamp' | 'pending'> {}
export interface PartialMessage<InGuild extends boolean = boolean> export interface PartialMessage<InGuild extends boolean = boolean> extends Partialize<
extends Partialize<Message<InGuild>, 'pinned' | 'system' | 'tts' | 'type', 'author' | 'cleanContent' | 'content'> {} Message<InGuild>,
'pinned' | 'system' | 'tts' | 'type',
'author' | 'cleanContent' | 'content'
> {}
export interface PartialMessageReaction extends Partialize<MessageReaction, 'count'> {} export interface PartialMessageReaction extends Partialize<MessageReaction, 'count'> {}
export interface PartialPoll export interface PartialPoll extends Partialize<
extends Partialize<
Poll, Poll,
'allowMultiselect' | 'expiresTimestamp' | 'layoutType', 'allowMultiselect' | 'expiresTimestamp' | 'layoutType',
null, null,
'answers' | 'message' | 'question' 'answers' | 'message' | 'question'
> { > {
// eslint-disable-next-line no-restricted-syntax // eslint-disable-next-line no-restricted-syntax
answers: Collection<number, PartialPollAnswer>; answers: Collection<number, PartialPollAnswer>;
message: PartialMessage; message: PartialMessage;
@@ -6965,8 +6967,11 @@ export interface PartialPollAnswer extends Partialize<PollAnswer, 'emoji' | 'tex
readonly poll: PartialPoll; readonly poll: PartialPoll;
} }
export interface PartialGuildScheduledEvent export interface PartialGuildScheduledEvent extends Partialize<
extends Partialize<GuildScheduledEvent, 'userCount', 'entityType' | 'name' | 'privacyLevel' | 'status'> {} GuildScheduledEvent,
'userCount',
'entityType' | 'name' | 'privacyLevel' | 'status'
> {}
export interface PartialThreadMember extends Partialize<ThreadMember, 'flags' | 'joinedAt' | 'joinedTimestamp'> {} export interface PartialThreadMember extends Partialize<ThreadMember, 'flags' | 'joinedAt' | 'joinedTimestamp'> {}
@@ -7261,10 +7266,7 @@ export interface WebhookFetchMessageOptions {
} }
export interface WebhookMessageCreateOptions export interface WebhookMessageCreateOptions
extends BaseMessageOptions, extends BaseMessageOptions, MessageOptionsPoll, MessageOptionsFlags, MessageOptionsTTS {
MessageOptionsPoll,
MessageOptionsFlags,
MessageOptionsTTS {
appliedTags?: readonly Snowflake[]; appliedTags?: readonly Snowflake[];
avatarURL?: string; avatarURL?: string;
threadId?: Snowflake; threadId?: Snowflake;

View File

@@ -67,16 +67,16 @@
}, },
"devDependencies": { "devDependencies": {
"@types/jsdoc-to-markdown": "^7.0.6", "@types/jsdoc-to-markdown": "^7.0.6",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3" "typescript": "~5.9.3"
}, },
"engines": { "engines": {

View File

@@ -55,23 +55,23 @@
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"discord-api-types": "^0.38.31" "discord-api-types": "^0.38.36"
}, },
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -72,23 +72,23 @@
"@discordjs/rest": "workspace:^", "@discordjs/rest": "workspace:^",
"@discordjs/util": "workspace:^", "@discordjs/util": "workspace:^",
"@discordjs/ws": "workspace:^", "@discordjs/ws": "workspace:^",
"discord-api-types": "^0.38.31" "discord-api-types": "^0.38.36"
}, },
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -50,16 +50,16 @@
"tslib": "^2.8.1" "tslib": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3" "typescript": "~5.9.3"
}, },
"engines": { "engines": {

View File

@@ -74,19 +74,19 @@
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@types/supertest": "^6.0.3", "@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"supertest": "^7.1.4", "supertest": "^7.1.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -88,7 +88,7 @@
"@sapphire/async-queue": "^1.5.5", "@sapphire/async-queue": "^1.5.5",
"@sapphire/snowflake": "^3.5.5", "@sapphire/snowflake": "^3.5.5",
"@vladfrangu/async_event_emitter": "^2.4.7", "@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31", "discord-api-types": "^0.38.36",
"magic-bytes.js": "^1.12.1", "magic-bytes.js": "^1.12.1",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"undici": "7.16.0", "undici": "7.16.0",
@@ -98,17 +98,17 @@
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -260,8 +260,10 @@ export interface APIRequest {
route: string; route: string;
} }
export interface ResponseLike export interface ResponseLike extends Pick<
extends Pick<Response, 'arrayBuffer' | 'bodyUsed' | 'headers' | 'json' | 'ok' | 'status' | 'statusText' | 'text'> { Response,
'arrayBuffer' | 'bodyUsed' | 'headers' | 'json' | 'ok' | 'status' | 'statusText' | 'text'
> {
body: Readable | ReadableStream | null; body: Readable | ReadableStream | null;
} }

View File

@@ -70,20 +70,20 @@
"commander": "^14.0.2", "commander": "^14.0.2",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"undici": "7.16.0", "undici": "7.16.0",
"yaml": "^2.8.1" "yaml": "^2.8.2"
}, },
"devDependencies": { "devDependencies": {
"@turbo/gen": "^2.5.8", "@turbo/gen": "^2.6.3",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"terser": "^5.44.0", "terser": "^5.44.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3" "typescript": "~5.9.3"
}, },
"engines": { "engines": {

View File

@@ -59,17 +59,17 @@
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -63,24 +63,24 @@
"dependencies": { "dependencies": {
"@discordjs/formatters": "workspace:^", "@discordjs/formatters": "workspace:^",
"@sapphire/snowflake": "^3.5.5", "@sapphire/snowflake": "^3.5.5",
"discord-api-types": "^0.38.31" "discord-api-types": "^0.38.36"
}, },
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cpy-cli": "^6.0.0", "cpy-cli": "^6.0.0",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -10,8 +10,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js'; import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' = ''> export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildAnnouncement>, Channel<ChannelType.GuildAnnouncement>,
[ [
TextChannelMixin<ChannelType.GuildAnnouncement>, TextChannelMixin<ChannelType.GuildAnnouncement>,
@@ -21,7 +20,7 @@ export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' =
ChannelSlowmodeMixin<ChannelType.GuildAnnouncement>, ChannelSlowmodeMixin<ChannelType.GuildAnnouncement>,
ChannelTopicMixin<ChannelType.GuildAnnouncement>, ChannelTopicMixin<ChannelType.GuildAnnouncement>,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for announcement channels, usable by direct end consumers. * Sample Implementation of a structure for announcement channels, usable by direct end consumers.

View File

@@ -11,8 +11,9 @@ import { GuildChannelMixin } from './mixins/GuildChannelMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js'; import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
export interface AnnouncementThreadChannel<Omitted extends keyof APIAnnouncementThreadChannel | '' = ''> export interface AnnouncementThreadChannel<
extends MixinTypes< Omitted extends keyof APIAnnouncementThreadChannel | '' = '',
> extends MixinTypes<
Channel<ChannelType.AnnouncementThread>, Channel<ChannelType.AnnouncementThread>,
[ [
TextChannelMixin<ChannelType.AnnouncementThread>, TextChannelMixin<ChannelType.AnnouncementThread>,
@@ -23,7 +24,7 @@ export interface AnnouncementThreadChannel<Omitted extends keyof APIAnnouncement
GuildChannelMixin<ChannelType.AnnouncementThread>, GuildChannelMixin<ChannelType.AnnouncementThread>,
ThreadChannelMixin<ChannelType.AnnouncementThread>, ThreadChannelMixin<ChannelType.AnnouncementThread>,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for announcement threads, usable by direct end consumers. * Sample Implementation of a structure for announcement threads, usable by direct end consumers.

View File

@@ -6,11 +6,10 @@ import { Channel } from './Channel.js';
import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js'; import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
import { GuildChannelMixin } from './mixins/GuildChannelMixin.js'; import { GuildChannelMixin } from './mixins/GuildChannelMixin.js';
export interface CategoryChannel<Omitted extends keyof APIGuildCategoryChannel | '' = ''> export interface CategoryChannel<Omitted extends keyof APIGuildCategoryChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildCategory>, Channel<ChannelType.GuildCategory>,
[ChannelPermissionMixin<ChannelType.GuildCategory>, GuildChannelMixin<ChannelType.GuildCategory>] [ChannelPermissionMixin<ChannelType.GuildCategory>, GuildChannelMixin<ChannelType.GuildCategory>]
> {} > {}
/** /**
* Sample Implementation of a structure for category channels, usable by direct end consumers. * Sample Implementation of a structure for category channels, usable by direct end consumers.

View File

@@ -7,11 +7,10 @@ import { ChannelPinMixin } from './mixins/ChannelPinMixin.js';
import { DMChannelMixin } from './mixins/DMChannelMixin.js'; import { DMChannelMixin } from './mixins/DMChannelMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface DMChannel<Omitted extends keyof APIDMChannel | '' = ''> export interface DMChannel<Omitted extends keyof APIDMChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.DM>, Channel<ChannelType.DM>,
[DMChannelMixin<ChannelType.DM>, TextChannelMixin<ChannelType.DM>, ChannelPinMixin<ChannelType.DM>] [DMChannelMixin<ChannelType.DM>, TextChannelMixin<ChannelType.DM>, ChannelPinMixin<ChannelType.DM>]
> {} > {}
/** /**
* Sample Implementation of a structure for dm channels, usable by direct end consumers. * Sample Implementation of a structure for dm channels, usable by direct end consumers.

View File

@@ -9,8 +9,7 @@ import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js'; import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js'; import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js';
export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' = ''> export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildForum>, Channel<ChannelType.GuildForum>,
[ [
ChannelParentMixin<ChannelType.GuildForum>, ChannelParentMixin<ChannelType.GuildForum>,
@@ -18,7 +17,7 @@ export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' =
ChannelTopicMixin<ChannelType.GuildForum>, ChannelTopicMixin<ChannelType.GuildForum>,
ThreadOnlyChannelMixin<ChannelType.GuildForum>, ThreadOnlyChannelMixin<ChannelType.GuildForum>,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for forum channels, usable by direct end consumers. * Sample Implementation of a structure for forum channels, usable by direct end consumers.

View File

@@ -8,8 +8,7 @@ import { DMChannelMixin } from './mixins/DMChannelMixin.js';
import { GroupDMMixin } from './mixins/GroupDMMixin.js'; import { GroupDMMixin } from './mixins/GroupDMMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = ''> export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GroupDM>, Channel<ChannelType.GroupDM>,
[ [
DMChannelMixin<ChannelType.GroupDM>, DMChannelMixin<ChannelType.GroupDM>,
@@ -17,7 +16,7 @@ export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = '
ChannelOwnerMixin<ChannelType.GroupDM>, ChannelOwnerMixin<ChannelType.GroupDM>,
GroupDMMixin, GroupDMMixin,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for group dm channels, usable by direct end consumers. * Sample Implementation of a structure for group dm channels, usable by direct end consumers.

View File

@@ -8,8 +8,7 @@ import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js'; import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js'; import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js';
export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' = ''> export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildMedia>, Channel<ChannelType.GuildMedia>,
[ [
ChannelParentMixin<ChannelType.GuildMedia>, ChannelParentMixin<ChannelType.GuildMedia>,
@@ -17,7 +16,7 @@ export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' =
ChannelTopicMixin<ChannelType.GuildMedia>, ChannelTopicMixin<ChannelType.GuildMedia>,
ThreadOnlyChannelMixin<ChannelType.GuildMedia>, ThreadOnlyChannelMixin<ChannelType.GuildMedia>,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for media channels, usable by direct end consumers. * Sample Implementation of a structure for media channels, usable by direct end consumers.

View File

@@ -10,8 +10,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js'; import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChannel | '' = ''> export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.PrivateThread>, Channel<ChannelType.PrivateThread>,
[ [
TextChannelMixin<ChannelType.PrivateThread>, TextChannelMixin<ChannelType.PrivateThread>,
@@ -21,7 +20,7 @@ export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChan
ChannelSlowmodeMixin<ChannelType.PrivateThread>, ChannelSlowmodeMixin<ChannelType.PrivateThread>,
ThreadChannelMixin<ChannelType.PrivateThread>, ThreadChannelMixin<ChannelType.PrivateThread>,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for private thread channels, usable by direct end consumers. * Sample Implementation of a structure for private thread channels, usable by direct end consumers.

View File

@@ -11,8 +11,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js'; import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChannel | '' = ''> export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.PublicThread>, Channel<ChannelType.PublicThread>,
[ [
TextChannelMixin<ChannelType.PublicThread>, TextChannelMixin<ChannelType.PublicThread>,
@@ -23,7 +22,7 @@ export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChanne
ThreadChannelMixin<ChannelType.PublicThread>, ThreadChannelMixin<ChannelType.PublicThread>,
AppliedTagsMixin, AppliedTagsMixin,
] ]
> {} > {}
/** /**
* Sample Implementation of a structure for public thread channels, usable by direct end consumers. * Sample Implementation of a structure for public thread channels, usable by direct end consumers.

View File

@@ -9,8 +9,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js'; import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js';
import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js'; import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js';
export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildStageVoice>, Channel<ChannelType.GuildStageVoice>,
[ [
ChannelParentMixin<ChannelType.GuildStageVoice>, ChannelParentMixin<ChannelType.GuildStageVoice>,
@@ -19,7 +18,7 @@ export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel |
ChannelWebhookMixin<ChannelType.GuildStageVoice>, ChannelWebhookMixin<ChannelType.GuildStageVoice>,
VoiceChannelMixin<ChannelType.GuildStageVoice>, VoiceChannelMixin<ChannelType.GuildStageVoice>,
] ]
> {} > {}
export class StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends Channel< export class StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends Channel<
ChannelType.GuildStageVoice, ChannelType.GuildStageVoice,

View File

@@ -10,8 +10,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js'; import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
import { TextChannelMixin } from './mixins/TextChannelMixin.js'; import { TextChannelMixin } from './mixins/TextChannelMixin.js';
export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''> export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildText>, Channel<ChannelType.GuildText>,
[ [
TextChannelMixin<ChannelType.GuildText>, TextChannelMixin<ChannelType.GuildText>,
@@ -21,7 +20,7 @@ export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''>
ChannelSlowmodeMixin<ChannelType.GuildText>, ChannelSlowmodeMixin<ChannelType.GuildText>,
ChannelTopicMixin<ChannelType.GuildText>, ChannelTopicMixin<ChannelType.GuildText>,
] ]
> {} > {}
export class TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends Channel< export class TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends Channel<
ChannelType.GuildText, ChannelType.GuildText,

View File

@@ -9,8 +9,7 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js'; import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js';
import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js'; import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js';
export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends MixinTypes<
extends MixinTypes<
Channel<ChannelType.GuildVoice>, Channel<ChannelType.GuildVoice>,
[ [
ChannelParentMixin<ChannelType.GuildVoice>, ChannelParentMixin<ChannelType.GuildVoice>,
@@ -19,7 +18,7 @@ export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' =
ChannelWebhookMixin<ChannelType.GuildVoice>, ChannelWebhookMixin<ChannelType.GuildVoice>,
VoiceChannelMixin<ChannelType.GuildVoice>, VoiceChannelMixin<ChannelType.GuildVoice>,
] ]
> {} > {}
export class VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends Channel< export class VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends Channel<
ChannelType.GuildVoice, ChannelType.GuildVoice,

View File

@@ -52,10 +52,10 @@
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"@ariakit/react": "^0.4.19", "@ariakit/react": "^0.4.20",
"@react-icons/all-files": "^4.1.0", "@react-icons/all-files": "^4.1.0",
"react": "^19.2.0", "react": "^19.2.1",
"react-dom": "^19.2.0" "react-dom": "^19.2.1"
}, },
"devDependencies": { "devDependencies": {
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
@@ -68,25 +68,25 @@
"@storybook/react": "^8.6.14", "@storybook/react": "^8.6.14",
"@storybook/react-vite": "^8.6.14", "@storybook/react-vite": "^8.6.14",
"@storybook/testing-library": "^0.2.2", "@storybook/testing-library": "^0.2.2",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@types/react": "^19.2.2", "@types/react": "^19.2.7",
"@types/react-dom": "^19.2.2", "@types/react-dom": "^19.2.3",
"@unocss/eslint-plugin": "^66.5.4", "@unocss/eslint-plugin": "^66.5.10",
"@unocss/reset": "^66.5.4", "@unocss/reset": "^66.5.10",
"@vitejs/plugin-react": "^5.1.0", "@vitejs/plugin-react": "^5.1.1",
"chromatic": "^11.29.0", "chromatic": "^11.29.0",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"storybook": "^8.6.14", "storybook": "^8.6.14",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"unocss": "^66.5.4", "unocss": "^66.5.10",
"vite": "^7.1.12", "vite": "^7.2.6",
"vite-plugin-dts": "^4.5.4" "vite-plugin-dts": "^4.5.4"
}, },
"engines": { "engines": {

View File

@@ -62,23 +62,23 @@
"homepage": "https://discord.js.org", "homepage": "https://discord.js.org",
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"discord-api-types": "^0.38.31" "discord-api-types": "^0.38.36"
}, },
"devDependencies": { "devDependencies": {
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4" "vitest": "^3.2.4"
}, },

View File

@@ -64,7 +64,7 @@
"funding": "https://github.com/discordjs/discord.js?sponsor", "funding": "https://github.com/discordjs/discord.js?sponsor",
"dependencies": { "dependencies": {
"@types/ws": "^8.18.1", "@types/ws": "^8.18.1",
"discord-api-types": "^0.38.31", "discord-api-types": "^0.38.36",
"prism-media": "^1.3.5", "prism-media": "^1.3.5",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"ws": "^8.18.3" "ws": "^8.18.3"
@@ -75,18 +75,18 @@
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@noble/ciphers": "^1.3.0", "@noble/ciphers": "^1.3.0",
"@snazzah/davey": "^0.1.7", "@snazzah/davey": "^0.1.8",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4", "vitest": "^3.2.4",
"vitest-websocket-mock": "^0.5.0" "vitest-websocket-mock": "^0.5.0"

View File

@@ -78,7 +78,7 @@
"@sapphire/async-queue": "^1.5.5", "@sapphire/async-queue": "^1.5.5",
"@types/ws": "^8.18.1", "@types/ws": "^8.18.1",
"@vladfrangu/async_event_emitter": "^2.4.7", "@vladfrangu/async_event_emitter": "^2.4.7",
"discord-api-types": "^0.38.31", "discord-api-types": "^0.38.36",
"tslib": "^2.8.1", "tslib": "^2.8.1",
"ws": "^8.18.3" "ws": "^8.18.3"
}, },
@@ -86,18 +86,18 @@
"@discordjs/api-extractor": "workspace:^", "@discordjs/api-extractor": "workspace:^",
"@discordjs/scripts": "workspace:^", "@discordjs/scripts": "workspace:^",
"@favware/cliff-jumper": "^6.0.0", "@favware/cliff-jumper": "^6.0.0",
"@types/node": "^22.18.13", "@types/node": "^22.19.1",
"@vitest/coverage-v8": "^3.2.4", "@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.1.0", "cross-env": "^10.1.0",
"esbuild-plugin-version-injector": "^1.2.1", "esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^9.38.0", "eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9", "eslint-config-neon": "^0.2.9",
"eslint-formatter-compact": "^9.0.1", "eslint-formatter-compact": "^9.0.1",
"eslint-formatter-pretty": "^7.0.0", "eslint-formatter-pretty": "^7.0.0",
"mock-socket": "^9.3.1", "mock-socket": "^9.3.1",
"prettier": "^3.6.2", "prettier": "^3.7.4",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"turbo": "^2.5.8", "turbo": "^2.6.3",
"typescript": "~5.9.3", "typescript": "~5.9.3",
"vitest": "^3.2.4", "vitest": "^3.2.4",
"zlib-sync": "^0.1.10" "zlib-sync": "^0.1.10"

View File

@@ -2,8 +2,7 @@ import type { Awaitable } from '@discordjs/util';
import type { APIGatewayBotInfo } from 'discord-api-types/v10'; import type { APIGatewayBotInfo } from 'discord-api-types/v10';
import type { SessionInfo, WebSocketManager, WebSocketManagerOptions } from '../../ws/WebSocketManager.js'; import type { SessionInfo, WebSocketManager, WebSocketManagerOptions } from '../../ws/WebSocketManager.js';
export interface FetchingStrategyOptions export interface FetchingStrategyOptions extends Pick<
extends Pick<
WebSocketManagerOptions, WebSocketManagerOptions,
| 'compression' | 'compression'
| 'encoding' | 'encoding'
@@ -17,7 +16,7 @@ export interface FetchingStrategyOptions
| 'token' | 'token'
| 'useIdentifyCompression' | 'useIdentifyCompression'
| 'version' | 'version'
> { > {
readonly gatewayInformation: APIGatewayBotInfo; readonly gatewayInformation: APIGatewayBotInfo;
readonly shardCount: number; readonly shardCount: number;
} }

View File

@@ -205,8 +205,7 @@ export interface OptionalWebSocketManagerOptions {
export interface WebSocketManagerOptions extends OptionalWebSocketManagerOptions, RequiredWebSocketManagerOptions {} export interface WebSocketManagerOptions extends OptionalWebSocketManagerOptions, RequiredWebSocketManagerOptions {}
export interface CreateWebSocketManagerOptions export interface CreateWebSocketManagerOptions
extends Partial<OptionalWebSocketManagerOptions>, extends Partial<OptionalWebSocketManagerOptions>, RequiredWebSocketManagerOptions {}
RequiredWebSocketManagerOptions {}
export interface ManagerShardEventsMap { export interface ManagerShardEventsMap {
[WebSocketShardEvents.Closed]: [code: number, shardId: number]; [WebSocketShardEvents.Closed]: [code: number, shardId: number];

10524
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff