feat: add support for additional document formats and video file types to DocumentRequirementEditorDrawer

This commit is contained in:
estifanos
2026-08-28 10:38:24 +00:00
parent 71ed409ef2
commit bd220a8fb2

View File

@@ -47,6 +47,19 @@ const MIME_OPTIONS = [
value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
label: 'Word (.docx)',
},
{ value: 'application/vnd.ms-excel', label: 'Excel (.xls)' },
{
value: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
label: 'Excel (.xlsx)',
},
{ value: 'text/csv', label: 'CSV' },
{ value: 'text/plain', label: 'Plain text (.txt)' },
// Video is measured in hundreds of megabytes, not the 5 MB a slot starts
// with: raise "Max file size" on any slot that accepts one.
{ value: 'video/mp4', label: 'Video (.mp4)' },
{ value: 'video/quicktime', label: 'Video (.mov, iPhone)' },
{ value: 'video/webm', label: 'Video (.webm)' },
{ value: 'video/x-msvideo', label: 'Video (.avi)' },
];
/** What a new slot accepts until someone widens it. */