import { FieldTypeFactory, ComponentTypeFactory } from '@sentecacommerce-theme/base';
var BannerType = ComponentTypeFactory.create('Banner', {
  images: FieldTypeFactory.list({
    of: {
      image: FieldTypeFactory.image({
        required: false,
        label: 'Mobile Image'
      }),
      imageDesktop: FieldTypeFactory.image({
        required: false
      }),
      bannerUrl: FieldTypeFactory.text(),
      buttonTitle: FieldTypeFactory.text({
        required: false
      }),
      buttonCaption: FieldTypeFactory.text({
        required: false
      }),
      title: FieldTypeFactory.text({
        required: false
      }),
      height: FieldTypeFactory.number({
        required: false,
        defaultValue: 700
      }),
      inverted: FieldTypeFactory.boolean({
        defaultValue: false,
        required: false
      }),
      expiry: {
        validFrom: FieldTypeFactory.number({
          required: false
        }),
        validTo: FieldTypeFactory.number({
          required: false
        })
      }
    }
  })
});
export { BannerType };
//# sourceMappingURL=banner.type.js.map