PeerTube/shared/models/plugins/client/register-client-settings-sc...

9 lines
241 B
TypeScript

import { RegisterServerSettingOptions } from '../server'
export interface RegisterClientSettingsScriptOptions {
isSettingHidden (options: {
setting: RegisterServerSettingOptions
formValues: { [name: string]: any }
}): boolean
}