feat: adc extenções

This commit is contained in:
Luiz Silva 2024-09-16 18:16:42 -03:00
parent 97184ef169
commit f06f666cb4
9 changed files with 323 additions and 2 deletions

156
dist/extensoes.js vendored Normal file
View file

@ -0,0 +1,156 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extensoes = void 0;
exports.extensoes = [
{
ext: "gif",
tipo: "imagem",
mime: "image/gif",
},
{
ext: "jpg",
tipo: "imagem",
mime: "image/jpeg",
},
{
ext: "jpeg",
tipo: "imagem",
mime: "image/jpeg",
},
{
ext: "png",
tipo: "imagem",
mime: "image/png",
},
{
ext: "bmp",
tipo: "imagem",
mime: "image/bmp",
},
{
ext: "webp",
tipo: "imagem",
mime: "image/webp",
},
{
ext: "tiff",
tipo: "imagem",
mime: "image/tiff",
},
{
ext: "svg",
tipo: "imagem",
mime: "image/svg+xml",
},
{
ext: "ico",
tipo: "imagem",
mime: "image/x-icon",
},
{
ext: "pdf",
tipo: "documento",
mime: "application/pdf",
},
{
ext: "doc",
tipo: "documento",
mime: "application/msword",
},
{
ext: "docx",
tipo: "documento",
mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
},
{
ext: "xls",
tipo: "documento",
mime: "application/vnd.ms-excel",
},
{
ext: "xlsx",
tipo: "documento",
mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
},
{
ext: "ppt",
tipo: "documento",
mime: "application/vnd.ms-powerpoint",
},
{
ext: "pptx",
tipo: "documento",
mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation",
},
{
ext: "txt",
tipo: "documento",
mime: "text/plain",
},
{
ext: "odt",
tipo: "documento",
mime: "application/vnd.oasis.opendocument.text",
},
{
ext: "ods",
tipo: "documento",
mime: "application/vnd.oasis.opendocument.spreadsheet",
},
{
ext: "rtf",
tipo: "documento",
mime: "application/rtf",
},
{
ext: "csv",
tipo: "documento",
mime: "text/csv",
},
{
ext: "mp4",
tipo: "vídeo",
mime: "video/mp4",
},
{
ext: "avi",
tipo: "vídeo",
mime: "video/x-msvideo",
},
{
ext: "mkv",
tipo: "vídeo",
mime: "video/x-matroska",
},
{
ext: "mov",
tipo: "vídeo",
mime: "video/quicktime",
},
{
ext: "wmv",
tipo: "vídeo",
mime: "video/x-ms-wmv",
},
{
ext: "flv",
tipo: "vídeo",
mime: "video/x-flv",
},
{
ext: "webm",
tipo: "vídeo",
mime: "video/webm",
},
{
ext: "3gp",
tipo: "vídeo",
mime: "video/3gpp",
},
{
ext: "mpeg",
tipo: "vídeo",
mime: "video/mpeg",
},
];
//# sourceMappingURL=extensoes.js.map