std::map< wxString, wxString > STRING_MAP
PCM_PACKAGE_TYPE
< Supported package types
std::map< std::string, wxString > STRING_MAP
PCM_PACKAGE_VERSION_STATUS
void to_json(json &j, const PCM_PACKAGE &p)
NLOHMANN_JSON_SERIALIZE_ENUM(PCM_PACKAGE_TYPE, { { PT_INVALID, "invalid" }, { PT_PLUGIN, "plugin" }, { PT_LIBRARY, "library" }, { PT_COLORTHEME, "colortheme" }, }) NLOHMANN_JSON_SERIALIZE_ENUM(PCM_PACKAGE_VERSION_STATUS
void from_json(const json &j, PACKAGE_VERSION &v)
< Package version metadata Package metadata
std::optional< uint64_t > download_size
std::optional< uint64_t > install_size
PCM_PACKAGE_VERSION_STATUS status
std::optional< wxString > kicad_version_max
std::optional< wxString > download_url
std::optional< wxString > download_sha256
std::optional< int > version_epoch
std::vector< std::string > platforms
std::tuple< int, int, int, int > parsed_version
std::vector< std::string > keep_on_update
uint64_t install_timestamp
Repository reference to a resource.
wxString description_full
std::vector< std::string > tags
std::optional< PCM_CONTACT > maintainer
std::vector< PACKAGE_VERSION > versions
std::vector< std::string > keep_on_update
Package installation entry.
PCM_RESOURCE_REFERENCE packages
std::optional< PCM_CONTACT > maintainer
std::vector< PCM_PACKAGE > package_list
std::optional< PCM_RESOURCE_REFERENCE > manifests
std::optional< PCM_RESOURCE_REFERENCE > resources
std::unordered_map< wxString, size_t > package_map
std::optional< wxString > sha256
uint64_t update_timestamp
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(UPDATE_REQUEST, platform, arch, current_version, lang, last_check) struct UPDATE_RESPONSE