import {
  getTypeValidationProperty,
  validationProperty,
  editableProperty
} from "./utils.js";

export default {
  typeName: "image",
  properties: {
    validation: validationProperty,
    editable: editableProperty,
    label: getTypeValidationProperty("label", "string"),
    multiple: getTypeValidationProperty("multiple", "boolean")
  },
  requiredProperties: [],
  validation: () => null,
  initValue: input => undefined,
  prepareValue: v => v
};
