// Generated by CoffeeScript 1.12.5
var validations;

import {
  validatePresence
} from 'ember-changeset-validations/validators';

import buildMessage from 'ember-changeset-validations/utils/validation-errors';

validations = {
  name: validatePresence({
    presence: true,
    message: function(key, type) {
      return buildMessage(t("attributes.workflow_action_definition." + key), {
        type: type
      });
    }
  })
};

export default validations;
