import { FieldTypeFactory, ComponentTypeFactory } from '@sentecacommerce-theme/base';
export var BannerFields = {
  images: FieldTypeFactory.list({
    of: {
      imageDesktop: FieldTypeFactory.image({
        required: true
      }),
      imageDesktopWidth: FieldTypeFactory.number({
        required: false
      }),
      imageDesktopHeight: FieldTypeFactory.number({
        required: false
      }),
      image: FieldTypeFactory.image({
        required: false,
        label: 'Mobile Image'
      }),
      imageWidth: FieldTypeFactory.number({
        required: false,
        label: 'Mobile Image Width'
      }),
      imageHeight: FieldTypeFactory.number({
        required: false,
        label: 'Mobile Image Height'
      }),
      title: FieldTypeFactory.text({
        required: false
      }),
      description: FieldTypeFactory.text({
        required: false
      }),
      pushFromTopDesktop: FieldTypeFactory.text({
        required: false
      }),
      pushFromLeftDesktop: FieldTypeFactory.text({
        required: false
      }),
      imageUrl: FieldTypeFactory.text({
        required: false
      }),
      button: {
        label: FieldTypeFactory.text({
          required: false
        }),
        link: FieldTypeFactory.text({
          required: false
        })
      }
    }
  })
};
export var BannerType = ComponentTypeFactory.create('Banner', BannerFields);
//# sourceMappingURL=banner.type.js.map