# ==========================================================
# Custom MIME types
# ==========================================================

# ---- Applications / exe ----
application/x-msdownload            exe dll
application/x-sh                    sh
application/x-bat                   bat
application/java-archive            jar
application/zip                     zip
application/x-rar-compressed        rar
application/x-7z-compressed         7z
application/gzip                    gz
application/x-tar                   tar
application/x-iso9660-image         iso
application/x-powershell            ps1
application/vnd.android.package-archive apk
application/x-msi                   msi

# ---- Images ----
image/png                           png
image/jpeg                          jpg jpeg jfif
image/webp                          webp
image/gif                           gif

# ---- Generic documents  ----
application/pdf                     pdf
text/plain                          txt
application/json                    json
text/markdown                       md markdown
text/html                           html htm
text/javascript                     js mjs cjs
text/typescript                     ts tsx
text/css                            css
application/xml                     xml
application/x-yaml                  yaml yml

# ---- Microsoft Word ----
application/msword                  doc dot
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template  dotx
application/vnd.ms-word.document.macroEnabled.12                         docm
application/vnd.ms-word.template.macroEnabled.12                         dotm

# ---- Microsoft Excel ----
application/vnd.ms-excel            xls xlt xla
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet        xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.template     xltx
application/vnd.ms-excel.sheet.macroEnabled.12                           xlsm
application/vnd.ms-excel.template.macroEnabled.12                        xltm
application/vnd.ms-excel.addin.macroEnabled.12                           xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12                    xlsb

# ---- Microsoft PowerPoint ----
application/vnd.ms-powerpoint       ppt pps pot
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.openxmlformats-officedocument.presentationml.template    potx
application/vnd.openxmlformats-officedocument.presentationml.slideshow   ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12               pptm
application/vnd.ms-powerpoint.template.macroEnabled.12                   potm
application/vnd.ms-powerpoint.slideshow.macroEnabled.12                  ppsm
application/vnd.ms-powerpoint.addin.macroEnabled.12                      ppam

# ---- Compiled languages ----
text/x-c                            c
text/x-c++                          cpp cxx cc hpp hxx
text/x-rust                         rs
text/x-go                           go
text/x-java-source                  java
text/x-kotlin                       kt kts
text/x-swift                        swift
text/x-objcsrc                      m
text/x-objchdr                      h

# ---- Scripts languages ----
text/x-python-script                py pyw
text/x-ruby                         rb
text/x-php                          php
text/x-perl                         pl pm
text/x-shellscript                  sh bash zsh
application/x-powershell            ps1
text/x-lua                          lua
text/x-sql                          sql
