UNPKG

strapi-plugin-publisher

Version:

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

26 lines (23 loc) 437 B
'use strict'; const { pluginConfigSchema } = require('./schema'); module.exports = { default: () => ({ actions: { syncFrequency: '*/1 * * * *', }, hooks: { beforePublish: () => {}, afterPublish: () => {}, beforeUnpublish: () => {}, afterUnpublish: () => {}, }, components: { dateTimePicker: { step: 1, }, }, }), validator: async (config) => { await pluginConfigSchema.validate(config); }, };