const seoTemplate = {
  title: {
    type: 'input',
    label: 'title',
    key: 'title',
    toComplete: true,
  },
  description: {
    type: 'textarea',
    label: 'description',
    key: 'description',
    toComplete: true,
  },
  keywords: {
    type: 'input',
    label: 'keywords',
    key: 'keywords',
    toComplete: true,
  },
  thumbnail: {
    type: 'img',
    label: 'thumbnail',
    key: 'thumbnail',
    toComplete: true,
  },
};

const sectionTemplate = {
  title: {
    type: 'input',
    label: 'title',
    key: 'title',
    toComplete: true,
  },
  subtitle: {
    type: 'input',
    label: 'subtitle',
    key: 'subtitle',
    toComplete: true,
  },
  text: {
    type: 'wysiwyg',
    label: 'text',
    key: 'text',
    toComplete: true,
  },
  image: {
    type: 'img',
    label: 'image',
    key: 'image',
  },
};

const modalTemplate = {
  title: {
    type: 'input',
    label: 'title',
    key: 'title',
    toComplete: true,
  },
  message: {
    type: 'input',
    label: 'message',
    key: 'message',
    toComplete: true,
  },
  success: {
    type: 'input',
    label: 'success',
    key: 'success',
    toComplete: true,
  },
};

const fieldTemplate = {
  text: {
    type: 'input',
    label: 'text',
    key: 'text',
    toComplete: true,
  },
  placeholder: {
    type: 'input',
    label: 'placeholder',
    key: 'placeholder',
    toComplete: true,
  },
};

const actionsTemplate = {
  confirm: {
    type: 'input',
    label: 'confirm',
    key: 'confirm',
    toComplete: true,
  },
  cancel: {
    type: 'input',
    label: 'cancel',
    key: 'cancel',
    toComplete: true,
  },
};

const listTemplate = [
  {
    type: 'Object',
    label: 'item',
    position: 1,
    key: 'item',
    toComplete: true,
    content: {
      title: {
        type: 'input',
        label: 'title',
        key: 'title',
        toComplete: true,
      },
    },
  },
];

export {
  sectionTemplate,
  seoTemplate,
  modalTemplate,
  fieldTemplate,
  actionsTemplate,
  listTemplate,
};
