Skip to content
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 beta #638

Merged
merged 6 commits into from
Jul 19, 2024
Merged

Version 3 beta #638

merged 6 commits into from
Jul 19, 2024

Commits on Jun 28, 2024

  1. feat: Upgrade react-query to v5

    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.
    phpnode authored and razor-x committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    2a090ab View commit details
    Browse the repository at this point in the history
  2. Rename isLoading to isPending

    razor-x committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    57485b1 View commit details
    Browse the repository at this point in the history
  3. Remove use of onSuccess

    razor-x committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    48edca7 View commit details
    Browse the repository at this point in the history
  4. Update to uuid v10

    razor-x committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    af3aacc View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Replace seamapi package with seam package (#641)

    * 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>
    razor-x and seambot authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b0d0a77 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Implement shake (#644)

    * 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>
    3 people authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    ad7fc33 View commit details
    Browse the repository at this point in the history