diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-31 17:47:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-31 17:51:04 +0100 |
commit | 36f9424ff192b0584a433bc196bced6fcf265808 (patch) | |
tree | 35d9fa5c53b228f5e7fc27bcc82854d035e9dde8 /shared/models | |
parent | 66b16cafb380012d3eca14e524d86f2450e04069 (diff) | |
download | PeerTube-36f9424ff192b0584a433bc196bced6fcf265808.tar.gz PeerTube-36f9424ff192b0584a433bc196bced6fcf265808.tar.zst PeerTube-36f9424ff192b0584a433bc196bced6fcf265808.zip |
Add about page
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/config/about.model.ts | 7 | ||||
-rw-r--r-- | shared/models/config/server-config.model.ts | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/shared/models/config/about.model.ts b/shared/models/config/about.model.ts new file mode 100644 index 000000000..7d11da850 --- /dev/null +++ b/shared/models/config/about.model.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | export interface About { | ||
2 | instance: { | ||
3 | name: string | ||
4 | description: string | ||
5 | terms: string | ||
6 | } | ||
7 | } | ||
diff --git a/shared/models/config/server-config.model.ts b/shared/models/config/server-config.model.ts index 5cb176c5b..fdc36bcc1 100644 --- a/shared/models/config/server-config.model.ts +++ b/shared/models/config/server-config.model.ts | |||
@@ -1,11 +1,18 @@ | |||
1 | export interface ServerConfig { | 1 | export interface ServerConfig { |
2 | serverVersion: string, | 2 | serverVersion: string |
3 | |||
4 | instance: { | ||
5 | name: string | ||
6 | } | ||
7 | |||
3 | signup: { | 8 | signup: { |
4 | allowed: boolean | 9 | allowed: boolean |
5 | } | 10 | } |
11 | |||
6 | transcoding: { | 12 | transcoding: { |
7 | enabledResolutions: number[] | 13 | enabledResolutions: number[] |
8 | } | 14 | } |
15 | |||
9 | avatar: { | 16 | avatar: { |
10 | file: { | 17 | file: { |
11 | size: { | 18 | size: { |
@@ -14,6 +21,7 @@ export interface ServerConfig { | |||
14 | extensions: string[] | 21 | extensions: string[] |
15 | } | 22 | } |
16 | } | 23 | } |
24 | |||
17 | video: { | 25 | video: { |
18 | file: { | 26 | file: { |
19 | extensions: string[] | 27 | extensions: string[] |