новые форматы
This commit is contained in:
@ -3,7 +3,9 @@ const ContentTypes = {
|
||||
AUDIO: 'audio',
|
||||
PICTURES: 'pictures',
|
||||
BOOKS: 'books',
|
||||
APPLICATION: 'application'
|
||||
APPLICATION: 'application',
|
||||
ARCHIVE: 'archive',
|
||||
DISC: 'disc',
|
||||
}
|
||||
|
||||
const ExtesionBase = {
|
||||
@ -36,6 +38,7 @@ const ExtesionBase = {
|
||||
roq: ContentTypes.VIDEO,
|
||||
nsv: ContentTypes.VIDEO,
|
||||
f4v: ContentTypes.VIDEO,
|
||||
ts: ContentTypes.VIDEO,
|
||||
|
||||
aa: ContentTypes.AUDIO,
|
||||
aac: ContentTypes.AUDIO,
|
||||
@ -168,6 +171,60 @@ const ExtesionBase = {
|
||||
xap: ContentTypes.APPLICATION,
|
||||
a: ContentTypes.APPLICATION,
|
||||
bin: ContentTypes.APPLICATION,
|
||||
msi: ContentTypes.APPLICATION,
|
||||
dmg: ContentTypes.APPLICATION,
|
||||
|
||||
tar: ContentTypes.ARCHIVE,
|
||||
gz: ContentTypes.ARCHIVE,
|
||||
bz2: ContentTypes.ARCHIVE,
|
||||
rar: ContentTypes.ARCHIVE,
|
||||
zip: ContentTypes.ARCHIVE,
|
||||
lz: ContentTypes.ARCHIVE,
|
||||
lzma: ContentTypes.ARCHIVE,
|
||||
lzo: ContentTypes.ARCHIVE,
|
||||
rz: ContentTypes.ARCHIVE,
|
||||
sfark: ContentTypes.ARCHIVE,
|
||||
sf2: ContentTypes.ARCHIVE,
|
||||
xz: ContentTypes.ARCHIVE,
|
||||
z: ContentTypes.ARCHIVE,
|
||||
'7z': ContentTypes.ARCHIVE,
|
||||
s7z: ContentTypes.ARCHIVE,
|
||||
ace: ContentTypes.ARCHIVE,
|
||||
afa: ContentTypes.ARCHIVE,
|
||||
arc: ContentTypes.ARCHIVE,
|
||||
ace: ContentTypes.ARCHIVE,
|
||||
arj: ContentTypes.ARCHIVE,
|
||||
b1: ContentTypes.ARCHIVE,
|
||||
car: ContentTypes.ARCHIVE,
|
||||
cfs: ContentTypes.ARCHIVE,
|
||||
cpt: ContentTypes.ARCHIVE,
|
||||
dar: ContentTypes.ARCHIVE,
|
||||
ice: ContentTypes.ARCHIVE,
|
||||
sfx: ContentTypes.ARCHIVE,
|
||||
shk: ContentTypes.ARCHIVE,
|
||||
sit: ContentTypes.ARCHIVE,
|
||||
tgz: ContentTypes.ARCHIVE,
|
||||
xar: ContentTypes.ARCHIVE,
|
||||
zz: ContentTypes.ARCHIVE,
|
||||
|
||||
iso: ContentTypes.DISC,
|
||||
mdf: ContentTypes.DISC,
|
||||
mds: ContentTypes.DISC,
|
||||
nrg: ContentTypes.DISC,
|
||||
ima: ContentTypes.DISC,
|
||||
imz: ContentTypes.DISC,
|
||||
mdx: ContentTypes.DISC,
|
||||
uif: ContentTypes.DISC,
|
||||
isz: ContentTypes.DISC,
|
||||
daa: ContentTypes.DISC,
|
||||
cso: ContentTypes.DISC,
|
||||
cue: ContentTypes.DISC,
|
||||
fvd: ContentTypes.DISC,
|
||||
ndif: ContentTypes.DISC,
|
||||
udif: ContentTypes.DISC,
|
||||
vdi: ContentTypes.DISC,
|
||||
vhd: ContentTypes.DISC,
|
||||
wim: ContentTypes.DISC,
|
||||
};
|
||||
|
||||
const ContentTypeProp = 'contentType';
|
||||
|
Reference in New Issue
Block a user