"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.removeid = exports.addid = void 0;

var _ramda = require("ramda");

var _shortid = _interopRequireDefault(require("shortid"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var addid = (0, _ramda.map)((0, _ramda.assoc)('id', _shortid["default"].generate()));
exports.addid = addid;
var removeid = (0, _ramda.map)((0, _ramda.omit)(['id']));
exports.removeid = removeid;