diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-28 18:04:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-28 18:04:55 +0100 |
commit | 09cababd79f9d445aa027c93cdfe823745fa041a (patch) | |
tree | f781d6ba78b5c4ce7220dea55f13b21230f203d6 /shared/models/config | |
parent | 22b59e8099947605085cf65a440f07f37fce6b65 (diff) | |
download | PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.gz PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.zst PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.zip |
Add stats route
Diffstat (limited to 'shared/models/config')
-rw-r--r-- | shared/models/config/about.model.ts | 7 | ||||
-rw-r--r-- | shared/models/config/custom-config.model.ts | 42 | ||||
-rw-r--r-- | shared/models/config/customization.model.ts | 8 | ||||
-rw-r--r-- | shared/models/config/server-config.model.ts | 40 |
4 files changed, 0 insertions, 97 deletions
diff --git a/shared/models/config/about.model.ts b/shared/models/config/about.model.ts deleted file mode 100644 index 7d11da850..000000000 --- a/shared/models/config/about.model.ts +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | export interface About { | ||
2 | instance: { | ||
3 | name: string | ||
4 | description: string | ||
5 | terms: string | ||
6 | } | ||
7 | } | ||
diff --git a/shared/models/config/custom-config.model.ts b/shared/models/config/custom-config.model.ts deleted file mode 100644 index 46d0a86ef..000000000 --- a/shared/models/config/custom-config.model.ts +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | export interface CustomConfig { | ||
2 | instance: { | ||
3 | name: string | ||
4 | description: string | ||
5 | terms: string | ||
6 | customizations: { | ||
7 | javascript?: string | ||
8 | css?: string | ||
9 | } | ||
10 | } | ||
11 | |||
12 | cache: { | ||
13 | previews: { | ||
14 | size: number | ||
15 | } | ||
16 | } | ||
17 | |||
18 | signup: { | ||
19 | enabled: boolean | ||
20 | limit: number | ||
21 | } | ||
22 | |||
23 | admin: { | ||
24 | email: string | ||
25 | } | ||
26 | |||
27 | user: { | ||
28 | videoQuota: number | ||
29 | } | ||
30 | |||
31 | transcoding: { | ||
32 | enabled: boolean | ||
33 | threads: number | ||
34 | resolutions: { | ||
35 | '240p': boolean | ||
36 | '360p': boolean | ||
37 | '480p': boolean | ||
38 | '720p': boolean | ||
39 | '1080p': boolean | ||
40 | } | ||
41 | } | ||
42 | } | ||
diff --git a/shared/models/config/customization.model.ts b/shared/models/config/customization.model.ts deleted file mode 100644 index 4e4d0d193..000000000 --- a/shared/models/config/customization.model.ts +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | export interface Customization { | ||
2 | instance: { | ||
3 | customization: { | ||
4 | javascript: string | ||
5 | css: string | ||
6 | } | ||
7 | } | ||
8 | } | ||
diff --git a/shared/models/config/server-config.model.ts b/shared/models/config/server-config.model.ts deleted file mode 100644 index 004cf6ddb..000000000 --- a/shared/models/config/server-config.model.ts +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | export interface ServerConfig { | ||
2 | serverVersion: string | ||
3 | |||
4 | instance: { | ||
5 | name: string; | ||
6 | customizations: { | ||
7 | javascript: string | ||
8 | css: string | ||
9 | } | ||
10 | } | ||
11 | |||
12 | signup: { | ||
13 | allowed: boolean | ||
14 | } | ||
15 | |||
16 | transcoding: { | ||
17 | enabledResolutions: number[] | ||
18 | } | ||
19 | |||
20 | avatar: { | ||
21 | file: { | ||
22 | size: { | ||
23 | max: number | ||
24 | }, | ||
25 | extensions: string[] | ||
26 | } | ||
27 | } | ||
28 | |||
29 | video: { | ||
30 | image: { | ||
31 | size: { | ||
32 | max: number | ||
33 | } | ||
34 | extensions: string[] | ||
35 | }, | ||
36 | file: { | ||
37 | extensions: string[] | ||
38 | } | ||
39 | } | ||
40 | } | ||