import { FieldTypeFactory, ComponentTypeFactory } from '@sentecacommerce-theme/base';
var schema = {
  menu: {
    isEnabled: FieldTypeFactory.boolean({
      defaultValue: false
    }),
    elements: FieldTypeFactory.list({
      of: {
        label: FieldTypeFactory.text(),
        url: FieldTypeFactory.text(),
        expandable: FieldTypeFactory.boolean({
          defaultValue: true,
          required: false
        }),
        children: FieldTypeFactory.list({
          of: {
            url: FieldTypeFactory.text(),
            label: FieldTypeFactory.text(),
            isHighlighted: FieldTypeFactory.boolean({
              defaultValue: false,
              required: false
            })
          }
        }),
        isExternal: FieldTypeFactory.text()
      }
    })
  },
  social: {
    isEnabled: FieldTypeFactory.boolean({
      defaultValue: false
    }),
    elements: FieldTypeFactory.list({
      of: {
        media: FieldTypeFactory.text(),
        url: FieldTypeFactory.text()
      }
    })
  },
  copyright: {
    isEnabled: FieldTypeFactory.boolean({
      defaultValue: false
    }),
    content: FieldTypeFactory.text()
  },
  subfooter: {
    isEnabled: FieldTypeFactory.boolean({
      defaultValue: false
    }),
    elements: FieldTypeFactory.list({
      of: {
        label: FieldTypeFactory.text()
      }
    })
  },
  contacts: {
    isEnabled: FieldTypeFactory.boolean({
      defaultValue: false
    }),
    label: FieldTypeFactory.text(),
    phone: FieldTypeFactory.text()
  },
  footerImages: {
    isEnabled: FieldTypeFactory.boolean({
      defaultValue: false
    }),
    elements: FieldTypeFactory.list({
      of: {
        label: FieldTypeFactory.text(),
        images: FieldTypeFactory.list({
          of: {
            url: FieldTypeFactory.text()
          }
        })
      }
    })
  }
};
var FooterType = ComponentTypeFactory.create('Footer', schema);
export { FooterType };
//# sourceMappingURL=footer.type.js.map