Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

421 B
Raw Blame
import type { ScheduleTriggerNodeType } from './types'

export const getDefaultScheduleConfig = (): Partial<ScheduleTriggerNodeType> => ({
  mode: 'visual',
  frequency: 'daily',
  visual_config: {
    time: '12:00 AM',
    weekdays: ['sun'],
    on_minute: 0,
    monthly_days: [1],
  },
})

export const getDefaultVisualConfig = () => ({
  time: '12:00 AM',
  weekdays: ['sun'],
  on_minute: 0,
  monthly_days: [1],
})