| 1 | export enum ImageType { |
| 2 | JPEG = 'image/jpeg', |
| 3 | WEBP = 'image/webp', |
| 4 | PNG = 'image/png', |
| 5 | GIF = 'image/gif', |
| 6 | BMP = 'image/bmp', |
| 7 | SVG = 'image/svg+xml', |
| 8 | ICO = 'image/vnd.microsoft.icon', |
| 9 | TIFF = 'image/tiff', |
| 10 | AVIF = 'image/avif', |
| 11 | HEIC = 'image/heic', |
| 12 | } |
| 13 | |
| 14 | export enum DocumentType { |
| 15 | XLS = 'application/vnd.ms-excel', |
| 16 | XLSX = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', |
| 17 | DOC = 'application/msword', |
| 18 | DOCX = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', |
| 19 | PDF = 'application/pdf', |
| 20 | PPT = 'application/vnd.ms-powerpoint', |
| 21 | PPTX = 'application/vnd.openxmlformats-officedocument.presentationml.presentation', |
| 22 | } |
| 23 | |
| 24 | export enum VideoType { |
| 25 | MP4 = 'video/mp4', |
| 26 | WEBM = 'video/webm', |
| 27 | MOV = 'video/quicktime', |
| 28 | AVI = 'video/x-msvideo', |
| 29 | FLV = 'video/x-flv', |
| 30 | MKV = 'video/x-matroska', |
| 31 | } |
| 32 | |
| 33 | export enum AudioType { |
| 34 | MP3 = 'audio/mp3', |
| 35 | OGG = 'audio/ogg', |
| 36 | WAV = 'audio/wav', |
| 37 | FLAC = 'audio/flac', |
| 38 | AAC = 'audio/aac', |
| 39 | } |
| 40 | |
| 41 | export enum TextType { |
| 42 | TEXT = 'text/plain', |
| 43 | CSV = 'text/csv', |
| 44 | } |
| 45 |