PeerTube/shared/models/config/server-config.model.ts

31 lines
353 B
TypeScript
Raw Normal View History

2017-06-17 11:28:11 +02:00
export interface ServerConfig {
2018-01-31 17:47:36 +01:00
serverVersion: string
instance: {
name: string
}
2017-06-17 11:28:11 +02:00
signup: {
allowed: boolean
2017-06-17 11:28:11 +02:00
}
2018-01-31 17:47:36 +01:00
transcoding: {
enabledResolutions: number[]
}
2018-01-31 17:47:36 +01:00
2018-01-03 11:10:40 +01:00
avatar: {
file: {
size: {
max: number
},
extensions: string[]
}
}
2018-01-31 17:47:36 +01:00
2018-01-03 11:10:40 +01:00
video: {
file: {
extensions: string[]
}
}
2017-06-17 11:28:11 +02:00
}