feat: add MIMEType
This commit is contained in:
14
src/shared/types/MIMEType.ts
Normal file
14
src/shared/types/MIMEType.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
const MIMEType = {
|
||||
JSON: 'application/json',
|
||||
HTML: 'text/html',
|
||||
TEXT: 'text/plain',
|
||||
FORM: 'application/x-www-form-urlencoded',
|
||||
MULTIPART: 'multipart/form-data',
|
||||
PDF: 'application/pdf',
|
||||
IMAGE: 'image/*',
|
||||
AUDIO: 'audio/*',
|
||||
VIDEO: 'video/*',
|
||||
ANY: '*/*',
|
||||
} as const satisfies Record<string, string>;
|
||||
|
||||
export default MIMEType;
|
||||
Reference in New Issue
Block a user