Skip to main content

Variable: MEDIA_RULES

const MEDIA_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​

readonly document: object

document.extensions​

readonly extensions: 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​

readonly maxBytes: number

image​

readonly image: object

image.extensions​

readonly extensions: 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​

readonly maxBytes: number

video​

readonly video: object

video.extensions​

readonly extensions: object

video.extensions..mp4​

readonly .mp4: "video/mp4" = "video/mp4"

video.maxBytes​

readonly maxBytes: number

video.minBytes​

readonly minBytes: number