mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add ability to customize instance logo
This commit is contained in:
parent
f5fd593976
commit
c0f4de6077
96 changed files with 1910 additions and 532 deletions
|
@ -1,4 +1,4 @@
|
|||
import { ActorImage, VideoCommentPolicyType } from '../index.js'
|
||||
import { ActorImage, LogoType, VideoCommentPolicyType } from '../index.js'
|
||||
import { ClientScriptJSON } from '../plugins/plugin-package-json.model.js'
|
||||
import { NSFWPolicyType } from '../videos/nsfw-policy.type.js'
|
||||
import { VideoPrivacyType } from '../videos/video-privacy.enum.js'
|
||||
|
@ -37,6 +37,10 @@ export interface ServerConfig {
|
|||
serverCommit?: string
|
||||
|
||||
client: {
|
||||
header: {
|
||||
hideInstanceName: boolean
|
||||
}
|
||||
|
||||
videos: {
|
||||
miniature: {
|
||||
preferAuthorDisplayName: boolean
|
||||
|
@ -132,6 +136,14 @@ export interface ServerConfig {
|
|||
|
||||
avatars: ActorImage[]
|
||||
banners: ActorImage[]
|
||||
|
||||
logo: {
|
||||
type: LogoType
|
||||
width: number
|
||||
height: number
|
||||
fileUrl: string
|
||||
isFallback: boolean
|
||||
}[]
|
||||
}
|
||||
|
||||
search: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue