feat: allow per-file preview_path in file collection (#4413)

This commit is contained in:
stefanprobst
2020-10-15 16:21:36 +02:00
committed by GitHub
parent a5750d782e
commit 9e0b8ac4b8
5 changed files with 105 additions and 14 deletions

View File

@ -187,6 +187,8 @@ const getConfigSchema = () => ({
label_singular: { type: 'string' },
description: { type: 'string' },
file: { type: 'string' },
preview_path: { type: 'string' },
preview_path_date_field: { type: 'string' },
fields: fieldsConfig(),
},
required: ['name', 'label', 'file', 'fields'],