diff options
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 9f17276e0..9c3dcd6d3 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import { VideoPrivacy } from '../videos/video-privacy.enum' | ||
1 | import { ClientScript } from '../plugins/plugin-package-json.model' | 2 | import { ClientScript } from '../plugins/plugin-package-json.model' |
2 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | 3 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
3 | import { BroadcastMessageLevel } from './broadcast-message-level.type' | 4 | import { BroadcastMessageLevel } from './broadcast-message-level.type' |
@@ -47,6 +48,15 @@ export interface ServerConfig { | |||
47 | } | 48 | } |
48 | } | 49 | } |
49 | 50 | ||
51 | defaults: { | ||
52 | publish: { | ||
53 | downloadEnabled: boolean | ||
54 | commentsEnabled: boolean | ||
55 | privacy: VideoPrivacy | ||
56 | licence: number | ||
57 | } | ||
58 | } | ||
59 | |||
50 | webadmin: { | 60 | webadmin: { |
51 | configuration: { | 61 | configuration: { |
52 | edition: { | 62 | edition: { |