feat: use downloadBlob util (#186)

* feat: use downloadBlob util

* chore: lint

* fix: revert saveCalAsPng

* feat: refactor downloadBlob

* chore: remove comments

* chore: lint and remove extra async

* refactor: cleanup

---------

Co-authored-by: Razboy20 <razboy20@gmail.com>
This commit is contained in:
doprz
2024-03-21 16:25:37 -05:00
committed by GitHub
parent 036cd628d3
commit 2dfb10e57b
3 changed files with 17 additions and 22 deletions

View File

@@ -8,7 +8,10 @@ const MIMEType = {
IMAGE: 'image/*',
AUDIO: 'audio/*',
VIDEO: 'video/*',
CALENDAR: 'text/calendar',
ANY: '*/*',
} as const satisfies Record<string, string>;
export type MIMETypeKey = keyof typeof MIMEType;
export default MIMEType;