-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add capped characters validation for description
- Loading branch information
Manh Cao
committed
Nov 25, 2024
1 parent
ffc1884
commit 9acb8c7
Showing
2 changed files
with
17 additions
and
4 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,9 @@ | ||
// categories need to be lowercase strings | ||
const PROTOCOL_CATEGORIES = ['money market', 'yield strategy', 'liquid locker', 'others']; | ||
|
||
const DESCRIPTION_MAXIMUM_CHARACTERS = 120; | ||
|
||
module.exports = { | ||
PROTOCOL_CATEGORIES, | ||
DESCRIPTION_MAXIMUM_CHARACTERS, | ||
} |
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