Skip to content
Repos

DevPlaceApp

C++ 282 B16 lines Opens in site

Directory Raw Download

#pragma once
// Spec: models.md NotificationCounts.
#include <cstdint>

#include "core/Json.hpp"

namespace dp {

struct NotificationCounts {
  std::int64_t notifications = 0;
  std::int64_t messages = 0;

  static NotificationCounts fromJson(const Json& j);
};

}  // namespace dp
37.3ms