Add comments to PluginMeta definition

This commit is contained in:
Mm2PL 2023-02-14 11:55:44 +01:00
parent e19b96026d
commit 8b37a297d4

View file

@ -19,17 +19,30 @@ struct lua_State;
namespace chatterino {
struct PluginMeta {
// required fields
// for more info on these fields see docs/plugin-info.schema.json
// display name of the plugin
QString name;
// description shown to the user
QString description;
// plugin authors shown to the user
std::vector<QString> authors;
// license name
QString license;
// version of the plugin
semver::version version;
// optional
// optionally a homepage link
QString homepage;
// optionally tags that might help in searching for the plugin
std::vector<QString> tags;
// errors that occurred while parsing info.json
std::vector<QString> errors;
bool isValid() const