code: function appendView(id, viewID, viewObj) {
    return updateItem(id, item => {
      const pos = item.views.findIndex(e => e.viewID === viewID);
      item.views.splice(pos + 1, 0, viewObj);
    });
  }
docs: Append a view next to a specific view
  @param {string} id - Package instance ID
  @param {string} viewID - view ID
  @param {object} viewObj - view object