diff --git a/actions/cron-action/src/data_types.rs b/actions/cron-action/src/data_types.rs index 487a87f..b53e25a 100644 --- a/actions/cron-action/src/data_types.rs +++ b/actions/cron-action/src/data_types.rs @@ -52,7 +52,8 @@ pub struct CronDayOfMonth( identifier = "CRON_MONTH", name(en_US = "Cron Month"), display_message(en_US = "Cron Month"), - alias(en_US = "cron;code;schedule;timer;clock;month") + alias(en_US = "cron;code;schedule;timer;clock;month"), + type_override = "string | 'JAN' | 'FEB' | 'MAR' | 'APR' | 'MAY' | 'JUN' | 'JUL' | 'AUG' | 'SEP' | 'OCT' | 'NOV' | 'DEC' " )] #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] #[serde(transparent)] @@ -67,7 +68,8 @@ pub struct CronMonth( identifier = "CRON_DAY_OF_WEEK", name(en_US = "Cron Day of Week"), display_message(en_US = "Cron Day of Week"), - alias(en_US = "cron;code;schedule;timer;clock;day;week") + alias(en_US = "cron;code;schedule;timer;clock;day;week"), + type_override = "string | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT' | 'SUN'" )] #[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)] #[serde(transparent)] diff --git a/actions/cron-action/src/main.rs b/actions/cron-action/src/main.rs index 496d11c..eaccb56 100644 --- a/actions/cron-action/src/main.rs +++ b/actions/cron-action/src/main.rs @@ -22,7 +22,7 @@ fn build_action() -> Action { // Each flow's schedule only needs to be evaluated by one instance; // splitting avoids every instance firing the same flow independently. .scaling(ScalingOption::Split) - .author("code0-tech") + .author("CodeZero") .icon("tabler:file-time") .documentation("Scheduled Flow using Cron-Jobs.") .name([Translation::new("en-US", "Cron")]) diff --git a/actions/rest-action/src/main.rs b/actions/rest-action/src/main.rs index 88e88c0..4e72980 100644 --- a/actions/rest-action/src/main.rs +++ b/actions/rest-action/src/main.rs @@ -37,7 +37,7 @@ fn build_action(pending: pending::PendingResponses) -> Action { // Every instance needs to be reachable to serve HTTP traffic, so every // instance gets every flow rather than splitting them up. .scaling(ScalingOption::Disabled) - .author("code0-tech") + .author("CodeZero") .icon("tabler:world-www") .documentation("Webhook triggered by an incoming HTTP request.") .name([Translation::new("en-US", "Webhook")]);