Qjuh
f2138bb5a8
ci: always generate docs with latest main ae ( #10037 )
2023-12-13 14:06:50 +01:00
Qjuh
651ffc2caf
feat(website): more builtin docs links ( #10030 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-10 14:06:09 +00:00
Vlad Frangu
319ef9a70b
feat: use globally available WebSocket client in runtimes that have it ( #10042 )
2023-12-10 13:42:02 +00:00
Jiralite
8ace6face8
docs(CategoryCreateChannelOptions): Update reference ( #10031 )
...
docs(CategoryCreateChannelOptions): update reference
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-05 19:26:27 +00:00
Jiralite
e245a390e7
docs(resolvePartialEmoji): Add @internal
to all overloads ( #10033 )
...
docs: add `@internal`
2023-12-05 19:19:52 +00:00
Jiralite
2b8ac35e56
refactor: Document relevant types as @internal
( #9974 )
...
* refactor: mark data resolver as internal
* docs: mark relevant TypeScript symbols as `@internal`
* docs: extra additions
* style: prefer at end
* docs: add more `@internal`s
* test: update template code
2023-12-05 18:15:08 +00:00
Danial Raza
62e31cb9ee
fix(InteractionResponses): check if ephemeral message flag is used ( #10021 )
2023-12-04 20:16:26 +00:00
Ryan Munro
941642ad2f
fix: replace internal calls to Emoji#url ( #10025 )
2023-12-03 22:53:02 +00:00
Jiralite
54453b04e5
chore(uploadDocumentation): Expose full error ( #10012 )
...
chore: expose full error
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-02 12:50:53 +00:00
Danial Raza
b992019a78
docs(PermissionOverwriteManager): PermissionsFlagsBit
typo ( #10004 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2023-12-01 20:58:21 +00:00
Qjuh
17a6f5d3c9
types: omit unnecessary methods from <ContextMenuCommandInteraction>.options ( #10003 )
...
* types: omit getUser/Member/Message from ContextMenu interaction
* types: omit getAttachment and add tests
* fix: remove duplicate tests
2023-12-01 20:13:20 +00:00
Qjuh
a44ada661f
feat(website): show union members of type aliases ( #10001 )
...
* feat(website): show union members of type aliases
* refactor: suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Noel <buechler.noel@outlook.com>
2023-12-01 02:19:07 +01:00
Qjuh
b229240731
ci: documentation.yml refactor branch/tag check to one place only ( #10008 )
...
* ci: fix documentation manual dispatch run on tag
* ci: move conditional to env var
* fix: spacing
2023-12-01 02:12:36 +01:00
Qjuh
1ec2901f56
feat(website): type parameters on methods and overloads ( #9998 )
...
* feat(website): type parameters on methods and overloads
* refactor: add collapsible parameter list
2023-12-01 02:11:59 +01:00
Renegade334
179af387d0
refactor(ThreadMemberManager): #remove accepts UserResolvable ( #10000 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2023-12-01 00:35:59 +00:00
Vlad Frangu
e412a22ceb
fix: export "ESM" types when discord.js is imported in ESM land ( #10009 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-30 23:19:22 +00:00
Jiralite
30f6a5fc56
types(InteractionWebhook): Add client
( #9997 )
...
types(InteractionWebhook): add `client`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-30 21:48:54 +00:00
brynpttrsn
cbbbfb9823
fix(website): serialize methods with overload index ( #10005 )
...
fix: add overload index to methods
2023-11-30 22:43:43 +01:00
Qjuh
fe90487974
ci: fix documentation manual dispatch run on tag ( #10007 )
2023-11-30 22:41:55 +01:00
Noel
d0aa8d25e2
ci: fix deploy-website
2023-11-24 12:23:31 +01:00
Qjuh
bc2ecef73d
fix: cross package links again ( #9995 )
2023-11-24 12:10:16 +01:00
Qjuh
9fdbf0ad65
fix(website): doc links to other packages ( #9994 )
...
* fix(website): doc links to other packages
* fix: missing parameter
* Apply suggestions from code review
Co-authored-by: Almeida <almeidx@pm.me>
---------
Co-authored-by: Almeida <almeidx@pm.me>
2023-11-22 19:06:13 +01:00
Qjuh
57c414be21
fix(website): discord-api-types links, URL links and some minor doc issues ( #9990 )
...
* fix(website): correctly link to discord-api-types in link tags
* fix: url links and some minor doc issues
* fix: unneeded import
* fix: another unneccessary import
* fix: several linting issues
* refactor: simplify ApiItemLike interface
* refactor: apply suggestions
* fix: missing newline in docComment
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-22 08:26:43 +00:00
Jiralite
e9ff99101b
docs: Remove hyphen after @returns
( #9989 )
...
docs: remove hyphen after `@returns`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-21 17:16:51 +00:00
Qjuh
3d1c884926
refactor(website): remove unneccessary addPackageToModel function ( #9983 )
...
* types: fix links in @deprecated tags
* Merge branch 'main' into fix/deprecated-links-d.ts
* fix: searchIndices
* refactor: apply review suggestions
* refactor: remove addPackageToModel function
* fix: event links in search index
* fix: wrong overload condition
2023-11-21 10:06:13 +01:00
Rahul Mishra
ce0be392d8
fix(Bun): Fix typo for Bun template ( #9987 )
...
fix(create-discord-bot): Fix typo for Bun Template which caused install errors
2023-11-18 16:58:33 +00:00
Qjuh
802ec63a48
fix(website): cross package deprecated links ( #9981 )
...
* refactor: minify api.json by shortening keys
* fix: links to other packages
* refactor: get doclink from canonicalReference, not model
* fix: types
* fix: again
* fix: @link tags with alt texts
* fix(website): cross-package links in @deprecated
2023-11-18 11:45:32 +01:00
Qjuh
5a715706df
fix(website): search index generation ( #9980 )
...
* types: fix links in @deprecated tags
* Merge branch 'main' into fix/deprecated-links-d.ts
* fix: searchIndices
* refactor: apply review suggestions
2023-11-18 10:44:06 +00:00
Vlad Frangu
ae58053dc8
chore: release @discordjs/rest@2.2.0 & @discordjs/core@1.1.1 ( #9978 )
...
* chore(rest): release @discordjs/rest@2.2.0
* chore(core): release @discordjs/core@1.1.1
* chore: at this point might as well hand write
2023-11-18 00:01:40 +00:00
Jiralite
5da5be2bc9
fix(route): Conditionally prefix package names ( #9975 )
...
fix(route): conditionally prefix package names
2023-11-17 23:38:49 +01:00
Noel
55be1c901a
ci: properly extract name from minified docs files
2023-11-17 23:37:14 +01:00
Qjuh
492f86af39
refactor: minify api.json by shortening keys ( #9971 )
...
* refactor: minify api.json by shortening keys
* fix: links to other packages
* refactor: get doclink from canonicalReference, not model
* fix: types
* fix: again
* fix: @link tags with alt texts
2023-11-17 23:26:48 +01:00
Qjuh
9868772b64
docs: fix links in @deprecated tags ( #9976 )
...
types: fix links in @deprecated tags
2023-11-17 20:44:39 +00:00
Vlad Frangu
6df233de14
feat: present x-ratelimit-scope for 429s hit ( #9973 )
...
* feat: present x-ratelimit-scope for 429s hit
* fix: get scope from headers for burst too
2023-11-16 10:49:05 +00:00
Qjuh
0aa7dc1b86
fix: replace Object< with Record< ( #9970 )
2023-11-15 20:20:21 +01:00
Qjuh
cab60142ff
fix: type mapping for docgen methods/props ( #9969 )
...
* fix: minify mainlib docs json
* fix: minify them all
* fix: type mapping for docgen methods/props
2023-11-14 20:54:29 +00:00
Qjuh
4b88306dcb
fix: minify mainlib docs json ( #9963 )
...
* fix: minify mainlib docs json
* fix: minify them all
2023-11-14 09:13:28 +01:00
iCrawl
f9177be61b
fix: don't hardcode discordjs special case
2023-11-14 02:04:02 +01:00
iCrawl
75137bac6f
refactor: don't prebuild on preview builds
2023-11-14 01:55:08 +01:00
iCrawl
00063912ee
fix: conflict resolution
2023-11-14 01:35:08 +01:00
iCrawl
8f432400d8
build: multi-config build and dep update
2023-11-14 01:26:22 +01:00
iCrawl
75fc7f2454
ci: include secret
2023-11-13 23:21:35 +01:00
iCrawl
01c63d2e0f
refactor: switch to vercel blob for docs
2023-11-13 23:15:16 +01:00
iCrawl
ffc3ea5c3f
fix: hardcode redirect for main lib for now
2023-11-13 21:37:59 +01:00
iCrawl
1d2d01e1f5
ci: dont set the ci to failed on fail to upload docs
2023-11-13 21:31:46 +01:00
iCrawl
0063dae43b
fix: use correct pkg variable
2023-11-13 21:30:05 +01:00
iCrawl
69c949ab28
fix: properly switch versions
2023-11-13 21:17:42 +01:00
iCrawl
25d552b318
fix: missing on conflict clause
2023-11-13 21:09:43 +01:00
iCrawl
c4767bacde
refactor: switch to vercel pg
2023-11-13 21:07:01 +01:00
iCrawl
9a8110047e
fix: cache nextjs cache output with turbo
2023-11-13 19:55:08 +01:00