Merge branch 'master' of git.curoverse.com:arvados-workbench2 into 14512_admin_links
[arvados.git] / src / validators / validators.tsx
index 1980ed802eb15ef57a64d04667e1ae7ede3fe2fe..9bc76419ff03fd713311a25c60b7dc0a4d0822ba 100644 (file)
@@ -21,6 +21,14 @@ export const COPY_FILE_VALIDATION = [require];
 export const MOVE_TO_VALIDATION = [require];
 
 export const PROCESS_NAME_VALIDATION = [require, maxLength(255)];
+export const PROCESS_DESCRIPTION_VALIDATION = [maxLength(255)];
+
+export const REPOSITORY_NAME_VALIDATION = [require, maxLength(255)];
+
+export const USER_EMAIL_VALIDATION = [require, maxLength(255)];
+export const USER_LENGTH_VALIDATION = [maxLength(255)];
 
 export const SSH_KEY_PUBLIC_VALIDATION = [require, isRsaKey, maxLength(1024)];
-export const SSH_KEY_NAME_VALIDATION = [require, maxLength(255)];
\ No newline at end of file
+export const SSH_KEY_NAME_VALIDATION = [require, maxLength(255)];
+
+export const MY_ACCOUNT_VALIDATION = [require];