1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Add admin config wizard

This commit is contained in:
Chocobozzz 2025-06-05 15:42:15 +02:00
parent a6b89bde2b
commit eb11e5793f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
96 changed files with 2609 additions and 616 deletions

View file

@ -1,3 +1,4 @@
import { VideoCommentPolicyType, VideoPrivacyType } from '../videos/index.js'
import { NSFWPolicyType } from '../videos/nsfw-policy.type.js'
import { BroadcastMessageLevel } from './broadcast-message-level.type.js'
@ -320,4 +321,27 @@ export interface CustomConfig {
storyboards: {
enabled: boolean
}
defaults: {
publish: {
downloadEnabled: boolean
commentsPolicy: VideoCommentPolicyType
privacy: VideoPrivacyType
licence: number
}
p2p: {
webapp: {
enabled: boolean
}
embed: {
enabled: boolean
}
}
player: {
autoPlay: boolean
}
}
}