function getComponentSavedTypes(fullSchema) {
  const schema = fullSchema || {};

  if (schema.persistent !== true) {
    return [];
  }

  if (schema.multiple) {
    return [componentValueTypes.array];
  }

  return null;
}
Returns the saved types for the component
@param {import('@formio/core').Component} fullSchema - The component schema
@returns {Array<string>|null} - The saved types for the component