#ifndef LIBPKG_PARSER_AUR_H #define LIBPKG_PARSER_AUR_H #include "../global.h" #include #include #include #include #include namespace LibPkg { struct LIBPKG_EXPORT AurRpcResult : public ReflectiveRapidJSON::JsonSerializable { std::int64_t ID; std::string Name; std::int64_t PackageBaseID; std::string PackageBase; std::string Version; std::string Description; std::string URL; std::int64_t NumVotes; double Popularity = 0.0; std::unique_ptr OutOfDate; std::string Maintainer; std::int64_t FirstSubmitted = 0; std::int64_t LastModified = 0; std::string URLPath; std::vector Depends; std::vector MakeDepends; std::vector CheckDepends; std::vector OptDepends; std::vector License; std::vector Groups; std::vector Keywords; }; struct LIBPKG_EXPORT AurRpcMultiInfo : public ReflectiveRapidJSON::JsonSerializable { std::int64_t version = -1; std::int64_t resultcount = -1; std::string type; std::vector results; }; } // namespace LibPkg #endif // LIBPKG_PARSER_CONFIG_H