diff --git a/src/controllers/plugins/Plugin.hpp b/src/controllers/plugins/Plugin.hpp index 5f96af744..8a35b3312 100644 --- a/src/controllers/plugins/Plugin.hpp +++ b/src/controllers/plugins/Plugin.hpp @@ -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 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 tags; + // errors that occurred while parsing info.json std::vector errors; bool isValid() const