Migration script in prevision of the future settings "chat-type".
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
import { getBaseRouterRoute } from './helpers'
|
||||
import { ensureProsodyRunning, ensureProsodyNotRunning } from './prosody/ctl'
|
||||
|
||||
export function initSettings (options: RegisterServerOptions): void {
|
||||
type ChatType = 'disabled' | 'builtin-prosody' | 'builtin-converse' | 'external-uri'
|
||||
|
||||
function initSettings (options: RegisterServerOptions): void {
|
||||
const { peertubeHelpers, registerSetting, settingsManager } = options
|
||||
|
||||
registerSetting({
|
||||
@ -214,3 +216,8 @@ Before asking for help, please use this diagnostic tool:
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
ChatType,
|
||||
initSettings
|
||||
}
|
||||
|
Reference in New Issue
Block a user