UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 366 B
import{getAlertConfigs as e}from"../../libs/alerts/alert-map.mjs";const t=async t=>{for(let n of e()){if(!n.nightly)continue;let e=await t.queue.add(t,{event:`alert:execute`,payload:{key:n.key,source:`cron`,trigger:`scheduled`,metadata:{}}});if(e.error)return e}return{error:void 0,data:void 0}};export{t as default}; //# sourceMappingURL=check-system-alerts.mjs.map