/*
 *
 * Create actions
 *
 */

import * as types from './constants';

export function createTemplate(template, onCreateTemplateComplete) {
  return {
    type: types.CREATE_TEMPLATE_REQUEST,
    template,
    onCreateTemplateComplete,
  };
}

export function clearCreateResponse() {
  return {
    type: types.CLEAR_CREATE_RESPONSE_REQUEST,
  };
}

export function defaultAction() {
  return {
    type: types.DEFAULT_ACTION,
  };
}
