docs: function dynamicArray(publicAPI, model, name) {
    if (!model[name]) {
      model[name] = [];
    }
  
    publicAPI[`set${capitalize(name)}`] = (items) => {
      model[name] = [].concat(items);
    };
  
    publicAPI[`add${capitalize(name)}`] = (item) => {
      model[name].push(item);
    };
  
    publicAPI[`remove${capitalize(name)}`] = (item) => {
      const index = model[name].indexOf(item);
      model[name].splice(index, 1);
    };
  
    publicAPI[`get${capitalize(name)}`] = () => model[name];
  
    publicAPI[`removeAll${capitalize(name)}`] = () => (model[name] = []);
  }