"use strict";

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

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

var HelpCenterType = _base.ComponentTypeFactory.create('HelpCenter', {
  title: _base.FieldTypeFactory.text(),
  quickAssists: {
    title: _base.FieldTypeFactory.text(),
    subtitle: _base.FieldTypeFactory.text(),
    groups: _base.FieldTypeFactory.list({
      of: {
        title: _base.FieldTypeFactory.text(),
        elements: _base.FieldTypeFactory.list({
          of: {
            title: _base.FieldTypeFactory.text(),
            slug: _base.FieldTypeFactory.text(),
            isExternal: _base.FieldTypeFactory["boolean"]({
              defaultValue: false
            })
          }
        })
      }
    })
  },
  contacts: {
    title: _base.FieldTypeFactory.text(),
    subtitle: _base.FieldTypeFactory.text(),
    elements: _base.FieldTypeFactory.list({
      of: {
        image: _base.FieldTypeFactory.text({
          required: false
        }),
        title: _base.FieldTypeFactory.text(),
        subtitle: _base.FieldTypeFactory.text({
          required: false
        }),
        phoneNumber: _base.FieldTypeFactory.text({
          required: false
        }),
        workHours: _base.FieldTypeFactory.text({
          required: false
        }),
        workDays: _base.FieldTypeFactory.text({
          required: false
        }),
        url: _base.FieldTypeFactory.text({
          required: false
        })
      }
    })
  }
});

exports.HelpCenterType = HelpCenterType;
//# sourceMappingURL=helpCenter.type.js.map