feat(ui-flow): automation digest export schedule IPC handlers
Add set-automation-digest-export-schedule and run-automation-digest-export-now for scheduled email-style digest bundle exports in server settings. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -227,6 +227,17 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
send({ type: 'worker-trial-matrix', result })
|
||||
return true
|
||||
}
|
||||
if (t === 'set-automation-digest-export-schedule') {
|
||||
await platform.setAutomationDigestExportSchedule(msg.schedule || {})
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'run-automation-digest-export-now') {
|
||||
const out = await platform.runScheduledAutomationDigestExportNow()
|
||||
pushState()
|
||||
send({ type: 'automation-digest-export-scheduled', result: out })
|
||||
return true
|
||||
}
|
||||
if (t === 'run-worker-install-trial') {
|
||||
const result = await platform.runIntegrationWorkerTrial({
|
||||
templateId: msg.templateId,
|
||||
|
||||
Reference in New Issue
Block a user