6#include <userver/components/component_fwd.hpp>
7#include <userver/components/impl/component_base.hpp>
9#include <userver/alerts/storage.hpp>
11USERVER_NAMESPACE_BEGIN
30class StorageComponent
final :
public components::impl::ComponentBase {
36 StorageComponent(
const components::ComponentConfig& config,
39 Storage& GetStorage()
const;
42 mutable Storage storage_;
48inline constexpr bool components::kHasValidate<alerts::StorageComponent> =
true;
51inline constexpr auto components::kConfigFileMode<alerts::StorageComponent> =