Variable: MEDIA_RULES
constMEDIA_RULES:object
Defined in: src/media.ts:6
What each kind of media accepts, from LinkedIn's Images, Videos and Documents API pages.
Type Declaration
document
readonlydocument:object
document.extensions
readonlyextensions:object
document.extensions..doc
readonly.doc:"application/msword"="application/msword"
document.extensions..docx
readonly.docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
document.extensions..pdf
readonly.pdf:"application/pdf"="application/pdf"
document.extensions..ppt
readonly.ppt:"application/vnd.ms-powerpoint"="application/vnd.ms-powerpoint"
document.extensions..pptx
readonly.pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation"="application/vnd.openxmlformats-officedocument.presentationml.presentation"
document.maxBytes
readonlymaxBytes:number
image
readonlyimage:object
image.extensions
readonlyextensions:object
image.extensions..gif
readonly.gif:"image/gif"="image/gif"
image.extensions..jpeg
readonly.jpeg:"image/jpeg"="image/jpeg"
image.extensions..jpg
readonly.jpg:"image/jpeg"="image/jpeg"
image.extensions..png
readonly.png:"image/png"="image/png"
image.maxBytes
readonlymaxBytes:number
video
readonlyvideo:object
video.extensions
readonlyextensions:object
video.extensions..mp4
readonly.mp4:"video/mp4"="video/mp4"
video.maxBytes
readonlymaxBytes:number
video.minBytes
readonlyminBytes:number