-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
export const NEXT = 'next'; | ||
export const PREV = 'prev'; | ||
export const pagination = { | ||
NEXT, | ||
PREV | ||
}; | ||
|
||
// THIS SHOULD BE SET BY CALLING CODE, ONLY DEFAULTED TO AVOID DIVISION BY UNDEFINED | ||
export const DEFAULT_PAGINATION_SIZE = 25; | ||
// Only here because we need argument 3 from onNeedMoreData | ||
// and want to avoid "magic number" sonarlint | ||
export const MCL_NEED_MORE_DATA_PREV_NEXT_ARG_INDEX = 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters