#pragma once #include #include #include #include "Version.h" struct GitHubReleaseAsset { int id = -1; QString name; QString label; QString content_type; int size; QDateTime created_at; QDateTime updated_at; QString browser_download_url; bool isValid() { return id > 0; } }; struct GitHubRelease { int id = -1; QString name; QString tag_name; QDateTime created_at; QDateTime published_at; bool prerelease; bool draft; QString body; QList assets; Version version; bool isValid() const { return id > 0; } };