1
0
Fork 0
peertube/shared/models/server/server-config.model.ts

47 lines
611 B
TypeScript
Raw Normal View History

2017-06-17 05:28:11 -04:00
export interface ServerConfig {
2018-01-31 11:47:36 -05:00
serverVersion: string
instance: {
2018-03-01 07:57:29 -05:00
name: string
2018-03-15 09:31:08 -04:00
shortDescription: string
2018-03-01 07:57:29 -05:00
defaultClientRoute: string
customizations: {
javascript: string
css: string
}
2018-01-31 11:47:36 -05:00
}
2017-06-17 05:28:11 -04:00
signup: {
allowed: boolean
2017-06-17 05:28:11 -04:00
}
2018-01-31 11:47:36 -05:00
transcoding: {
enabledResolutions: number[]
}
2018-01-31 11:47:36 -05:00
2018-01-03 05:10:40 -05:00
avatar: {
file: {
size: {
max: number
},
extensions: string[]
}
}
2018-01-31 11:47:36 -05:00
2018-01-03 05:10:40 -05:00
video: {
image: {
size: {
max: number
}
extensions: string[]
},
2018-01-03 05:10:40 -05:00
file: {
extensions: string[]
}
}
user: {
videoQuota: number
}
2017-06-17 05:28:11 -04:00
}