Skip to content

Commit

Permalink
feat: add MIMEType
Browse files Browse the repository at this point in the history
  • Loading branch information
doprz committed Mar 21, 2024
1 parent 2af351e commit 0c76052
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/shared/types/MIMEType.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0c76052

Please sign in to comment.