* fix: dashboard logs out user when cookie expires or is unauthorized
* fix: handles the 401 error thrown when trying to refresh tokens
* chore: updated wrong logic when returning state in refresh token function
* feat: introduced auth exchange to urql client to check for errors on each backend call
* fix: prevent multiple window reloads
---------
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
* feat: add ability to export a single environment
* refactor: export environment without id
* feat: introducing zod for checking json format for environment variables
* refactor: new zod specific type for HoppEnvPair
* feat: add ability to export single environment in team environment
* refactor: moved zod as a dependency to devDependency
* refactor: separated repeating logic to helper file
* refactor: removed unnecessary to string operation
* chore: rearranged smart item placement
* refactor: introduced error type when a bulk environment export is used in cli
* refactor: removed unnecssary type exports and updated logic and variable names across most files
* refactor: better logic for type shapes
* chore: bump hoppscotch-cli package version
---------
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>