import { ComponentTypeFactory, FieldTypeFactory } from '@sentecacommerce-theme/base';
export var VoucherType = ComponentTypeFactory.create('Vouchers', {
  header: FieldTypeFactory.text({
    required: false
  }),
  withArrows: FieldTypeFactory.boolean({
    defaultValue: true,
    required: false
  }),
  vouchers: FieldTypeFactory.list({
    of: {
      styleId: FieldTypeFactory.text({
        required: true
      }),
      price: FieldTypeFactory.number({
        required: true
      }),
      image: FieldTypeFactory.text({
        required: true
      }),
      name: FieldTypeFactory.text({
        required: true
      })
    }
  }),
  small: FieldTypeFactory.boolean({
    defaultValue: false,
    required: false
  })
});
//# sourceMappingURL=vouchers.type.js.map