X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/40952ad86a823635968c9abc5d6feacef316cffd..d0b5089542fbb8daf95e5bd82da2cd710bd2b57a:/src/validators/validators.tsx diff --git a/src/validators/validators.tsx b/src/validators/validators.tsx index fdeb8fa8..edc47265 100644 --- a/src/validators/validators.tsx +++ b/src/validators/validators.tsx @@ -6,4 +6,17 @@ 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 COLLECTION_NAME_VALIDATION = [require, maxLength(255)]; +export const COLLECTION_DESCRIPTION_VALIDATION = [maxLength(255)]; +export const COLLECTION_PROJECT_VALIDATION = [require]; + +export const COPY_NAME_VALIDATION = [require, maxLength(255)]; +export const COPY_FILE_VALIDATION = [require]; + +export const MOVE_TO_VALIDATION = [require]; + +export const PROCESS_NAME_VALIDATION = [require, maxLength(255)]; \ No newline at end of file