code: function toCursor(item, index) {
    const id = item.id;
    return base64(cursorPrefix + id + cursorSeparator + index);
  }
docs: Creates a cursor based on the item and the
  index of where is located on the result set.
  needed to identify edges
  
  @param item
  @param index
  @returns {*}