15 lines
446 B
TypeScript
15 lines
446 B
TypeScript
/**
|
|||
|
|
* Validation Constants
|
||
|
|
*
|
||
|
|
* Shared constants used across validation schemas.
|
||
|
|
* These should match the constants in the API.
|
||
|
|
*/
|
||
|
|
|
||
|
|
export const ALLOWED_CONTENT_TYPES = ['video/mp4', 'video/quicktime', 'video/x-msvideo', 'video/x-matroska'] as const;
|
||
|
|
|
||
|
|
export const ALLOWED_DOCUMENT_TYPES = [
|
||
|
|
'application/pdf',
|
||
|
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx
|
||
|
|
'application/msword' // .doc
|
||
|
|
] as const;
|