#pragma once // Spec: models.md Projects. #include #include #include #include #include "core/Date.hpp" #include "core/Json.hpp" #include "model/Project.hpp" #include "model/User.hpp" namespace dp { struct Projects { std::vector projects; std::string currentTab; std::string search; std::string projectType; std::int64_t totalCount = 0; std::optional nextCursor; std::int64_t totalMembers = 0; std::vector topAuthors; static Projects fromJson(const Json& j); }; } // namespace dp