plugin_types_info_card = (plugin, req) => ({
  type: "card",
  title: req.__("Types"),
  contents: plugin.plugin_module.types.map((type) =>
    span({ class: "badge bg-primary ms-2" }, type.name)
  ),
})
@param {object} plugin
@param {object} req
@returns {*}