X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fserver%2Fcustom-config.model.ts;h=0bccd63e3d5684785f55fbdba8855c6b7f242f9f;hb=fae6e4da8f516a9d6c3bad9bf6f35811ccacbad8;hp=9a6a249231e6c5fcd76cb29cb582a64f715abbff;hpb=b7085c713220c9c5a96c9bb77330c2ba6ae9274e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 9a6a24923..0bccd63e3 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts @@ -30,8 +30,10 @@ export interface CustomConfig { categories: number[] isNSFW: boolean - defaultClientRoute: string defaultNSFWPolicy: NSFWPolicyType + + defaultClientRoute: string + customizations: { javascript?: string css?: string @@ -57,6 +59,10 @@ export interface CustomConfig { captions: { size: number } + + torrents: { + size: number + } } signup: { @@ -85,6 +91,10 @@ export interface CustomConfig { allowAudioFiles: boolean threads: number + concurrency: number + + profile: string + resolutions: ConfigResolutions & { '0p': boolean } webtorrent: { @@ -108,12 +118,15 @@ export interface CustomConfig { transcoding: { enabled: boolean threads: number + profile: string resolutions: ConfigResolutions } } import: { videos: { + concurrency: number + http: { enabled: boolean } @@ -123,6 +136,15 @@ export interface CustomConfig { } } + trending: { + videos: { + algorithms: { + enabled: string[] + default: string + } + } + } + autoBlacklist: { videos: { ofUsers: {