feat(research): changed max length of research description from 1000 to 3000 (#3823)

feat: increase max length of research description to 3000
This commit is contained in:
Kristiyan Yanchev
2024-08-12 04:57:03 +03:00
committed by GitHub
parent 7ada98ec14
commit d21a388563

View File

@@ -2,7 +2,7 @@ import { UserRole } from 'oa-shared'
export const RESEARCH_TITLE_MAX_LENGTH = 60 export const RESEARCH_TITLE_MAX_LENGTH = 60
export const RESEARCH_TITLE_MIN_LENGTH = 5 export const RESEARCH_TITLE_MIN_LENGTH = 5
export const RESEARCH_MAX_LENGTH = 1000 export const RESEARCH_MAX_LENGTH = 3000
export const RESEARCH_EDITOR_ROLES: UserRole[] = [ export const RESEARCH_EDITOR_ROLES: UserRole[] = [
UserRole.ADMIN, UserRole.ADMIN,
UserRole.RESEARCH_EDITOR, UserRole.RESEARCH_EDITOR,