Add expected mime types for different types of contents in
MDRequirementsSet
This commit is contained in:
parent
d5bc140889
commit
c06729f477
|
@ -16,4 +16,28 @@ final class MDRequirementsSet {
|
|||
// Object images need to be at least 500 px wide
|
||||
const MIN_OBJECT_IMAGE_HEIGHT = 540;
|
||||
|
||||
const MIMETYPES_USER_PROFILE_IMG = ['image/jpeg', 'image/jpg'];
|
||||
|
||||
const MIMETYPES_OBJECT_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_OBJECT_PDF = ['application/pdf'];
|
||||
const MIMETYPES_OBJECT_PROVENANCE_REPORT = ['application/pdf'];
|
||||
const MIMETYPES_OBJECT_RESTORATION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];
|
||||
const MIMETYPES_OBJECT_CONDITION_REPORT = ['application/pdf', 'image/jpeg', 'image/png'];
|
||||
|
||||
const MIMETYPES_COLLECTION_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_INSTITUTION_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_EXHIBITION_IMAGE = ['image/jpeg', 'image/jpg', 'image/png'];
|
||||
|
||||
const MIMETYPES_ARTICLE_ASSET = ['image/jpeg', 'image/jpg', 'image/png'];
|
||||
|
||||
const MIMETYPES_APPOINTMENT_IMAGE = ['image/jpeg', 'image/jpg', 'image/png'];
|
||||
const MIMETYPES_APPOINTMENT_DOC_ASSET = ['application/pdf', 'image/jpeg', 'image/jpg', 'image/png'];
|
||||
|
||||
const MIMETYPES_PODCAST_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_PODCAST_EPISODE_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_TOUR_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
|
||||
const MIMETYPES_CATALOGUE_WORK_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
const MIMETYPES_CATALOGUE_OBJECT_SUMMARY_IMAGE = ['image/jpeg', 'image/jpg'];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user