From 09cababd79f9d445aa027c93cdfe823745fa041a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Feb 2018 18:04:46 +0100 Subject: Add stats route --- shared/models/server/server-config.model.ts | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 shared/models/server/server-config.model.ts (limited to 'shared/models/server/server-config.model.ts') diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts new file mode 100644 index 000000000..004cf6ddb --- /dev/null +++ b/shared/models/server/server-config.model.ts @@ -0,0 +1,40 @@ +export interface ServerConfig { + serverVersion: string + + instance: { + name: string; + customizations: { + javascript: string + css: string + } + } + + signup: { + allowed: boolean + } + + transcoding: { + enabledResolutions: number[] + } + + avatar: { + file: { + size: { + max: number + }, + extensions: string[] + } + } + + video: { + image: { + size: { + max: number + } + extensions: string[] + }, + file: { + extensions: string[] + } + } +} -- cgit v1.2.3