Skip to content

Conversation

@voxivoid
Copy link
Contributor

@voxivoid voxivoid commented Jan 7, 2022

Adding the exports for the UseQueryReturnType, UseQueriesOptions, UseQueriesResults types. These are particularly useful when building custom types around the query hooks.

Additionally, I've also renamed the useQueries types to follow the same pattern as the ones existing for the useQuery and useMutation that were already being exported.

Thank you for this awesome port of react-query 🙇

@vercel
Copy link

vercel bot commented Jan 7, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/damianosipiuk/vue-query/Am8YEHz9DEiNe3jcL43VNzicpsNo
✅ Preview: https://vue-query-git-fork-voxivoid-feat-type-exports-damianosipiuk.vercel.app

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 7, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5fb62ab:

Sandbox Source
DamianOsipiuk/vue-query: basic Configuration
DamianOsipiuk/vue-query: 2.x-basic Configuration
DamianOsipiuk/vue-query: nuxt-simple Configuration

@codecov
Copy link

codecov bot commented Jan 9, 2022

Codecov Report

Merging #107 (5fb62ab) into main (23ae6c3) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #107   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          206       206           
  Branches        31        31           
=========================================
  Hits           206       206           
Impacted Files Coverage Δ
src/vue/useQueries.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23ae6c3...5fb62ab. Read the comment docs.

@DamianOsipiuk DamianOsipiuk merged commit f3dbbaa into DamianOsipiuk:main Jan 9, 2022
@github-actions
Copy link

github-actions bot commented Jan 9, 2022

🎉 This PR is included in version 1.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants