-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat(structures): add Presences structures #11411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AsadHumayun
wants to merge
51
commits into
discordjs:main
Choose a base branch
from
AsadHumayun:feat/add-presence-structures
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+988
−64
Open
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
85b96b3
feat(structures): add barrel exports for new structs
AsadHumayun e939029
feat(structures): rename
AsadHumayun 2694d11
feat(structures): update barrel exports
AsadHumayun dd5d136
feat(structures): remove redundant exports
AsadHumayun 475c1a5
feat(structures): rename structures
AsadHumayun 6c8fedc
feat(structures): add GatewayPresenceActivityTimestamps substructure
AsadHumayun 3d99b0f
feat(structures): add GatewayPresenceActivitySecrets
AsadHumayun 67f33c1
feat(structures): add GatewayPresenceActivityParty
AsadHumayun d56f675
feat(structures): add GatewayPresenceActivityEmoji
AsadHumayun 153bd1b
chore: fix style and imports
AsadHumayun 2e34745
feat(structures): add GatewayPresenceActivityButton
AsadHumayun 54ebdf5
chore: fix barrel exports
AsadHumayun 84576b1
feat(structures): add GatewayPresenceActivityAssets
AsadHumayun 1bc2006
chore: fix barrel exports
AsadHumayun 5003482
feat(structures): add ActivityFlagBitFields
AsadHumayun 991f022
feat(structures): add GatewayPresenceActivity structure
AsadHumayun f4f0c28
docs(structures): update class remark on GatewayPresenceActivityButton
AsadHumayun 5d0c9ef
feat(structures): add GatewayPresenceClientStatus
AsadHumayun 821be32
feat(structures): add GatewayPresenceUpdate
AsadHumayun c4a9f83
chore: actually export structures on the lib exports
AsadHumayun 5e72b87
docs(structures): update `GatewayPresenceActivity#flags` for clarity
AsadHumayun b62f61e
fix(structures): return correct value for getter on ActivitySecrets
AsadHumayun 89eb8f4
test(structures): add tests for GatewayPresence[..] structs
AsadHumayun ead0d68
fix: test that does not assert anything
AsadHumayun 054ebdb
fix: correct type case on ActivityTimestamps
AsadHumayun ddda56c
docs: remove todo comment
AsadHumayun 58dfb68
docs: remove todo
AsadHumayun 6d77662
fix: correct incorrect implementation of party#id
AsadHumayun 77c3a35
chore: rename structures
AsadHumayun c53fcf8
test: update tests
AsadHumayun 6d0120b
docs: update comments
AsadHumayun fc546be
chore: type safety via `isFieldSet`
AsadHumayun 9bf68ad
chore: add `xTimestamp` to `end`, `start` getters
AsadHumayun 9897a2b
test: update tests for new field values
AsadHumayun 1a22bab
chore: rename tests file to match new name
AsadHumayun fc9cfc7
fix(structures): use correct type on Presence
AsadHumayun dd6726d
feat: split `size` into 2 different getters
AsadHumayun c695cf7
test: update tests for new getters
AsadHumayun 3530120
refactor(structures)!: use xDate convention in favour of xAt
AsadHumayun f56f925
fix(structures): add `inviteCoverImage` getter + update tests
AsadHumayun 9362031
test(structures): apply review feedback
AsadHumayun 2731961
chore: rename folder
AsadHumayun 059abf6
docs: rm redundant link
AsadHumayun 2ae8aff
chore: use `dateToDiscordISOTimestamp` and cleanup tests
AsadHumayun 992076f
feat: isArrayFieldSet typeguard
AsadHumayun ec47b0b
chore: tidy
AsadHumayun 96bf888
test(structures): cleanup tests
AsadHumayun cd87021
feat(structures): add URL getters and update tests
AsadHumayun 2e4ac32
feat(structures): apply typeguards
AsadHumayun 4b6b12d
Merge remote-tracking branch 'upstream/main' into feat/add-presence-s…
AsadHumayun f8a5c71
Merge remote-tracking branch 'upstream/main' into feat/add-presence-s…
AsadHumayun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.