Merge branch '14013-upload-collection-files-using-webdav' into 14014-create-collectio...
[arvados-workbench2.git] / src / validators / validators.tsx
index fdeb8fa8747118ea3c8bec26c473ef9e9e932f1c..edd07822942ace10ac40ae68e79b9222422dbe55 100644 (file)
@@ -6,4 +6,11 @@ import { require } from './require';
 import { maxLength } from './max-length';
 
 export const TAG_KEY_VALIDATION = [require, maxLength(255)];
-export const TAG_VALUE_VALIDATION = [require, maxLength(255)];
\ No newline at end of file
+export const TAG_VALUE_VALIDATION = [require, maxLength(255)];
+
+export const PROJECT_NAME_VALIDATION = [require, maxLength(255)];
+export const PROJECT_DESCRIPTION_VALIDATION = [maxLength(255)];
+
+export const COLLECTION_NAME_VALIDATION = [require, maxLength(255)];
+export const COLLECTION_DESCRIPTION_VALIDATION = [maxLength(255)];
+export const COLLECTION_PROJECT_VALIDATION = [require];
\ No newline at end of file