Add validation for at least one active action.

This commit is contained in:
James Cole
2022-02-07 09:42:23 +01:00
parent b9ac43e86d
commit 8dd7d9ba26
2 changed files with 63 additions and 1 deletions

View File

@@ -61,7 +61,9 @@ return [
'accepted' => 'The :attribute must be accepted.',
'bic' => 'This is not a valid BIC.',
'at_least_one_trigger' => 'Rule must have at least one trigger.',
'at_least_one_active_trigger' => 'Rule must have at least one active trigger.',
'at_least_one_action' => 'Rule must have at least one action.',
'at_least_one_active_action' => 'Rule must have at least one active action.',
'base64' => 'This is not valid base64 encoded data.',
'model_id_invalid' => 'The given ID seems invalid for this model.',
'less' => ':attribute must be less than 10,000,000',