Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(noteList): added page parameter and portionSize constant #93

Merged
merged 7 commits into from
Oct 22, 2023

Conversation

e11sy
Copy link
Contributor

@e11sy e11sy commented Oct 22, 2023

  • added parameter for getNoteListByCreatorId func
  • added portionSize constant for noteList in service

* added offset and limit parameters for getNoteListByCreatorId func
@slaveeks
Copy link
Member

Maybe page and count?

*added constant portipnSize insead of variable limit
*added page
*offset is now calculated by page
parameters logic in comments fixed
src/domain/service/noteList.ts Show resolved Hide resolved
src/domain/service/noteList.ts Outdated Show resolved Hide resolved
e11sy and others added 2 commits October 22, 2023 20:33
Co-authored-by: Peter Savchenko <[email protected]>
Co-authored-by: Peter Savchenko <[email protected]>
@e11sy e11sy changed the title feat(noteList): offset and limit parameters added feat(noteList): added page parameter and limit conctant Oct 22, 2023
@e11sy e11sy changed the title feat(noteList): added page parameter and limit conctant feat(noteList): added page parameter and portionSize constant Oct 22, 2023
@e11sy e11sy merged commit e72b453 into main Oct 22, 2023
3 checks passed
@neSpecc neSpecc deleted the noteList(offset_limit) branch October 22, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants