diff --git a/src/constants/fieldInference.js b/src/constants/fieldInference.js index cbced64a..2a5163bf 100644 --- a/src/constants/fieldInference.js +++ b/src/constants/fieldInference.js @@ -5,7 +5,7 @@ export const INFERABLE_FIELDS = { title: { type: 'string', secondaryTypes: [], - synonyms: ['title', 'name', 'label', 'headline'], + synonyms: ['title', 'name', 'label', 'headline', 'header'], defaultPreview: value =>

{ value }

, fallbackToFirstField: true, showError: true, @@ -13,7 +13,7 @@ export const INFERABLE_FIELDS = { shortTitle: { type: 'string', secondaryTypes: [], - synonyms: ['short_title', 'shortTitle'], + synonyms: ['short_title', 'shortTitle', 'short'], defaultPreview: value =>

{ value }

, fallbackToFirstField: false, showError: false, @@ -21,7 +21,7 @@ export const INFERABLE_FIELDS = { author: { type: 'string', secondaryTypes: [], - synonyms: ['author', 'name', 'by'], + synonyms: ['author', 'name', 'by', 'byline', 'owner'], defaultPreview: value => { value }, fallbackToFirstField: false, showError: false, @@ -29,7 +29,7 @@ export const INFERABLE_FIELDS = { description: { type: 'string', secondaryTypes: ['text', 'markdown'], - synonyms: ['shortDescription', 'short_description', 'shortdescription', 'description', 'intro', 'introduction', 'brief', 'body', 'content', 'biography', 'bio'], + synonyms: ['shortDescription', 'short_description', 'shortdescription', 'description', 'intro', 'introduction', 'brief', 'content', 'biography', 'bio', 'summary'], defaultPreview: value => value, fallbackToFirstField: false, showError: false, @@ -37,7 +37,7 @@ export const INFERABLE_FIELDS = { image: { type: 'image', secondaryTypes: [], - synonyms: ['image', 'thumbnail', 'thumb', 'picture', 'avatar'], + synonyms: ['image', 'thumbnail', 'thumb', 'picture', 'avatar', 'photo'], defaultPreview: value => value, fallbackToFirstField: false, showError: false,