Yet the implementation returns just a number, which equals to the total amount of records found.
src/stores/local-queries.ts line 140
See especially line 148 where only the total of the result is returned instead of the paginated result.
So I think the signature schould either be changed to
or the implementation of the method should be adapted so that it returns the paginated result and fits with the definition of the count-service-method.
The type signature of the countInStore-service-method is
src/create-pinia-service.ts line 179
Yet the implementation returns just a number, which equals to the total amount of records found. src/stores/local-queries.ts line 140 See especially line 148 where only the total of the result is returned instead of the paginated result.
So I think the signature schould either be changed to
or the implementation of the method should be adapted so that it returns the paginated result and fits with the definition of the count-service-method.