]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - shared/models/plugins/server/settings/public-server.setting.ts
Fix plugin settings manager definition
authorlutangar <johan.dufour@gmail.com>
Thu, 20 Jan 2022 11:07:15 +0000 (12:07 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Thu, 20 Jan 2022 12:43:20 +0000 (13:43 +0100)
commitd2d4a5a999746ae0f01a2ce89b844252346bab27
tree428c6b0767c78398ce093b4969f59c3b174ed7e4
parent82b9a1005cd5f5d3c338270839a24f217594b35d
Fix plugin settings manager definition

This mainly fix the `onSettingsChange` argument typing.
I'm not 100% sure the setting `value` can be a boolean though.
But this is how it was typed before so I just made it consistent.

Feel free to change - or suggest change - to the type names / location.
client/src/types/register-client-option.model.ts
server/lib/plugins/register-helpers.ts
server/models/server/plugin.ts
shared/models/plugins/server/managers/plugin-settings-manager.model.ts
shared/models/plugins/server/settings/public-server.setting.ts