-
Notifications
You must be signed in to change notification settings - Fork 2
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
Version 3 #645
Conversation
This file contains 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
BREAKING CHANGE: See https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5 if using the react-query API exposed by the hooks. The most notable change is that isLoading has been renamed to isPending.
* Update from seamapi to @seamapi/javescript-http * Update useDevices hook * Move use-toggle-lock * Update use-device * Update types * Update more hooks * Update use-toggle-lock * Fix use-create-connect-webview * Update access code query hooks * ci: Format code * ci: Format code * Update useDeleteAccessCode * Update use-generate-access-code-code * Rename MutationParams to MutationVariables * ci: Format code * Update types for AccessCodeDevice * Update types * Add newlines * Update access code mutations * Rename mutationParams * ci: Format code * Set query data on creating access code * Support starts_at, ends_at, and type for updating access code * Remove normalizedParams from useDevice * Move useToggleLock params to variables * Remove redundant type annotations * Update types * Update useEvents * Update useNoiseThresholds * Update useClimateSettingSchedule * Update useClimateSettingSchedules * ci: Format code * Update useCreateClimateSettingSchedule * Update useDeleteClimateSettingSchedule * ci: Format code * Do not require device_id in useUpdateAccessCode * Update useUpdateClimateSettingSchedule * Use SeamEvent for useEvents * Use some new types * Add SeamEvent type cast * Move thermostat functions to module * Update heat and cool thermostat hooks * Update use-set-thermostat-off * Rename getUpdatedThermostat to getUpdatedDevice * Rename useUpdateFanMode to useSetThermostatFanMode * Update useUpdateThermostat * Update usage of useGenerateAccessCodeCode * Add isLockDevice * Add isThermostatDevice * Add isNoiseSensorDevice * Replace CommonDevice with Device * Update usage of useConnectedAccount * Update usage of useAccessCode * Use more base types from @seamapi/types * Fix nullish conditional * Replace subtypes * Prefer arrow functions * Resolve AccessCode nullish type errors * Update SupportedDeviceTable hooks to use new types * Prefer basic type over hook data type * Update types * Use new types in validation error * Use new error and warning types * Remove noise_sensor event type assertions * Assert type from useEvents * Fix ClimateSetting type * Remove seamapi * Add missing properties in story sample data * Use getInputErrorMessages * Update dependencies * ci: Format code * Update fake-seam-connect * Add noise_level_decibels to seed * Add lock capability flags * Update fake-seam-connect * Use @seamapi/http v1.0.0 * ci: Generate code --------- Co-authored-by: Seam Bot <devops@getseam.com>
* Implement shake * Update src/lib/object.ts Co-authored-by: Charles Pick <charles@codemix.com> * ci: Format code * Fix Shook type error * Fix type error --------- Co-authored-by: Charles Pick <charles@codemix.com> Co-authored-by: Seam Bot <devops@getseam.com>
…648) Co-authored-by: Louis Pré <louis@getseam.com>
phpnode
approved these changes
Jul 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📜 Release notes here: #640