"use strict";

exports.__esModule = true;
exports.VoucherType = void 0;

var _base = require("@sentecacommerce-theme/base");

var VoucherType = _base.ComponentTypeFactory.create('Vouchers', {
  header: _base.FieldTypeFactory.text({
    required: false
  }),
  withArrows: _base.FieldTypeFactory["boolean"]({
    defaultValue: true,
    required: false
  }),
  vouchers: _base.FieldTypeFactory.list({
    of: {
      styleId: _base.FieldTypeFactory.text({
        required: true
      }),
      price: _base.FieldTypeFactory.number({
        required: true
      }),
      image: _base.FieldTypeFactory.text({
        required: true
      }),
      name: _base.FieldTypeFactory.text({
        required: true
      })
    }
  }),
  small: _base.FieldTypeFactory["boolean"]({
    defaultValue: false,
    required: false
  })
});

exports.VoucherType = VoucherType;
//# sourceMappingURL=vouchers.type.js.map