Skip to content

Conversation

ethanlookpotts
Copy link
Contributor

This adds the new Switch API type to the TypeScript SDK using the following API: https://github.com/viamrobotics/api/blob/main/proto/viam/component/switch/v1/switch.proto

This will get used in the new control cards to render a switch card and call the various APIs.

Change log

  • Add Switch interface
  • Add SwitchClient implementation
  • Export Switch, SwitchClient, and protos from the package

@ethanlookpotts ethanlookpotts requested a review from a team as a code owner January 27, 2025 19:29
@ethanlookpotts ethanlookpotts requested review from purplenicole730 and lia-viam and removed request for a team January 27, 2025 19:29
@ethanlookpotts ethanlookpotts force-pushed the APP-7497/ethanlookpotts/switch branch from 91e378b to a140bb5 Compare January 27, 2025 20:47
@ethanlookpotts ethanlookpotts requested a review from njooma January 28, 2025 17:35
@ethanlookpotts ethanlookpotts force-pushed the APP-7497/ethanlookpotts/button branch from ee3188e to 9488823 Compare January 28, 2025 18:57
@ethanlookpotts ethanlookpotts force-pushed the APP-7497/ethanlookpotts/switch branch from a140bb5 to 8afb7e0 Compare January 28, 2025 18:57
@ethanlookpotts ethanlookpotts force-pushed the APP-7497/ethanlookpotts/switch branch from 8afb7e0 to 688b08d Compare January 28, 2025 19:00
Base automatically changed from APP-7497/ethanlookpotts/button to main January 28, 2025 19:56
@ethanlookpotts ethanlookpotts force-pushed the APP-7497/ethanlookpotts/switch branch from 688b08d to 7c738e9 Compare January 28, 2025 19:57
@ethanlookpotts ethanlookpotts merged commit 6fddc56 into main Jan 28, 2025
3 checks passed
@ethanlookpotts ethanlookpotts deleted the APP-7497/ethanlookpotts/switch branch January 28, 2025 20:02
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.

2 participants