UNPKG

strapi-plugin-publisher

Version:

A plugin for Strapi Headless CMS that provides the ability to schedule publishing for any content type.

25 lines (22 loc) 490 B
import * as yup from 'yup'; const pluginConfigSchema = yup.object().shape({ actions: yup .object() .shape({ syncFrequency: yup.string().optional(), }) .optional(), hooks: yup.object().optional(), components: yup .object({ dateTimePicker: yup .object({ step: yup.number().optional(), locale: yup.string().optional(), }) .optional(), }) .optional(), contentTypes: yup.array().of(yup.string()).optional(), }); export default pluginConfigSchema;