Skip to content

Commit 90007ec

Browse files
authored
Merge pull request #29 from RonasIT/feat/v1
feat: release v1
2 parents 632318e + a268411 commit 90007ec

17 files changed

+10228
-4217
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ Generated entity APIs provide the following [endpoints](https://redux-toolkit.js
8181

8282
3. `search` - a query that requests `GET /{baseEndpoint}` to get entities list with pagination. Accepts request params described by `entitySearchRequestConstructor` and returns `entitySearchResponseConstructor` extending `PaginationRequest` and `PaginationResponse` respectively.
8383

84-
4. `searchInfinite` - this query behaves similar to `search`, but accumulates data from newly requested pages.
85-
This query can be used with `useSearchInfiniteQuery` hook to implement infinite scrolling lists. It supports loading
86-
data in both directions using `fetchNextPage` and `fetchPreviousPage` callbacks, and provides other useful props.
84+
4. `searchPaginated` - this query behaves similar to `search`, but accumulates data from newly requested pages.
85+
This query can be used with `useSearchPaginatedInfiniteQuery` hook to implement infinite scrolling lists. It supports loading data in both directions using `fetchNextPage` and `fetchPreviousPage` callbacks, and provides other useful props.
8786

8887
5. `update` - this mutation performs `PUT /{baseEndpoint}/{id}` request to update entity data.
8988
Accepts `Partial` data of entity instance with mandatory `id`.

0 commit comments

Comments
 (0)