feat: add 'minutely' option to recurrence types in CreateTaskDialog and schedulers

This commit is contained in:
JSC
2025-09-13 23:44:08 +02:00
parent 24cc0cc45f
commit 4fe280cf5c
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ export type TaskType = 'credit_recharge' | 'play_sound' | 'play_playlist'
export type TaskStatus = 'pending' | 'running' | 'completed' | 'failed' | 'cancelled'
export type RecurrenceType = 'none' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'cron'
export type RecurrenceType = 'none' | 'minutely' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'cron'
// Task interfaces
export interface ScheduledTask {
@@ -166,6 +166,8 @@ export function getRecurrenceTypeLabel(recurrenceType: RecurrenceType): string {
switch (recurrenceType) {
case 'none':
return 'None'
case 'minutely':
return 'Minutely'
case 'hourly':
return 'Hourly'
case 'daily':