Closed 7nohe closed 3 months ago
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🟢 | Lines | 99.01% (🎯 95%) | 2014 / 2034 |
🟢 | Statements | 99.01% (🎯 95%) | 2014 / 2034 |
🟢 | Functions | 100% (🎯 95%) | 41 / 41 |
🟢 | Branches | 94.84% (🎯 85%) | 184 / 194 |
File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/constants.mts | 100% | 100% | 100% | 100% | |
src/createExports.mts | 100% | 100% | 100% | 100% | |
src/createSource.mts | 100% | 100% | 100% | 100% | |
src/createUseQuery.mts | 99.41% | 97.05% | 100% | 99.41% | 267-270 |
src/generate.mts | 100% | 100% | 100% | 100% |
npm publish
What's the state of the PR?
117
This new feature will generate a function in infiniteQueries.ts when the name specified by the pageParam option exists in the query parameters and the name specified by the nextPageParam option exists in the response.
Input:
Output:
This can be used as follows: