refactor: replace ignored numeric literals with constants
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
export const FIRST_PAGE = 1;
|
||||
|
||||
export const MIN_ENTITY_VERSION = 1;
|
||||
|
||||
export const MIN_CATEGORY_NAME_LENGTH = 1;
|
||||
|
||||
export const MIN_CARD_NAME_LENGTH = 1;
|
||||
export const MAX_CARD_NAME_LENGTH = 100;
|
||||
export const MAX_CATEGORY_NAME_LENGTH = 80;
|
||||
export const MAX_OPERATION_DESCRIPTION_LENGTH = 500;
|
||||
|
||||
Reference in New Issue
Block a user