import {
  validatePresence
} from 'ember-changeset-validations/validators'
import buildMessage from 'ember-changeset-validations/utils/validation-errors'

validations =
  title: validatePresence presence: true, message: (key, type) ->
    buildMessage t("attributes.workflow_action_definition.#{key}"), type: type
export default validations

