Skip to content

refactor: typescript rewrite #186

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
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

OfficialSirH
Copy link

@OfficialSirH OfficialSirH commented Feb 2, 2025

Have it generally rewritten, but need to test out a lot of the commands and events to confirm their types and functionality.

List of Events to be tested:

  • ActivityInvite
  • ActivityJoin
  • ActivityJoinRequest
  • ActivitySpectate
  • CaptureShortcutChange
  • ChannelCreate
  • CurrentUserUpdate
  • EntitlementCreate
  • EntitlementDelete
  • Error
  • GameJoin
  • GameSpectate
  • GuildCreate
  • GuildStatus
  • LobbyDelete
  • LobbyMemberConnect
  • LobbyMemberDisconnect
  • LobbyMemberUpdate
  • LobbyMessage
  • LobbyUpdate
  • MessageCreate
  • MessageDelete
  • MessageUpdate
  • NotificationCreate
  • Overlay
  • OverlayUpdate
  • Ready
  • RelationshipUpdate
  • SpeakingStart
  • SpeakingStop
  • UserAchievementUpdate
  • VoiceChannelSelect
  • VoiceConnectionStatus
  • VoiceSettingsUpdate
  • VoiceSettingsUpdate2
  • VoiceStateCreate
  • VoiceStateDelete
  • VoiceStateUpdate

List of RPC Commands to be tested:

  • AcceptActivityInvite
  • ActivityInviteUser
  • Authenticate
  • Authorize
  • BraintreePopupBridgeCallback
  • BrowserHandoff
  • CaptureShortcut
  • CloseActivityRequest
  • ConnectToLobby
  • ConnectToLobbyVoice
  • ConnectionsCallback
  • CreateChannelInvite
  • CreateLobby
  • DeepLink
  • DeleteLobby
  • DisconnectFromLobby
  • DisconnectFromLobbyVoice
  • Dispatch
  • GetApplicationTicket
  • GetChannel
  • GetChannels
  • GetEntitlementTicket
  • GetEntitlements
  • GetGuild
  • GetGuilds
  • GetImage
  • GetNetworkingConfig
  • GetRelationships
  • GetSelectedVoiceChannel
  • GetSkus
  • GetUser
  • GetUserAchievements
  • GetVoiceSettings
  • GiftCodeBrowser
  • GuildTemplateBrowser
  • InviteBrowser
  • NetworkingCreateToken
  • NetworkingPeerMetrics
  • NetworkingSystemMetrics
  • OpenOverlayActivityInvite
  • OpenOverlayGuildInvite
  • OpenOverlayVoiceSettings
  • Overlay
  • SearchLobbies
  • SelectTextChannel
  • SelectVoiceChannel
  • SendActivityJoinInvite
  • SendActivityJoinRequest
  • SendToLobby
  • SetActivity
  • SetCertifiedDevices
  • SetOverlayLocked
  • SetUserAchievement
  • SetUserVoiceSettings
  • SetUserVoiceSettings2
  • SetVoiceSettings
  • SetVoiceSettings2
  • StartPurchase
  • Subscribe
  • Unsubscribe
  • UpdateLobby
  • UpdateLobbyMember
  • ValidateApplication

@OfficialSirH OfficialSirH changed the title feat: typescript rewrite refactor: typescript rewrite Feb 2, 2025
OfficialSirH and others added 10 commits February 9, 2025 21:23
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
@OfficialSirH OfficialSirH marked this pull request as ready for review April 10, 2025 17:39
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src",
"fmt": "pnpm run format",
"docs": "pnpm run build:docs && api-extractor run --local",
Copy link
Member

Choose a reason for hiding this comment

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

How is this supposed to work, when api-extractor isn’t a dev dependency at all?

Copy link
Author

@OfficialSirH OfficialSirH May 1, 2025

Choose a reason for hiding this comment

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

I assume that package isn't possible to use until this is merged with the main repo. Could we ignore that until this merged later on to the main repo, or perhaps I just create a new PR for the main repo for this rewrite instead?

Copy link
Member

Choose a reason for hiding this comment

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

The CI on this repository will try to run that on merge (and fail). So if you'd want to ignore this then you probably should also edit the CI to not run (or delete it completely).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants