import { ServerService } from '../../../core'
import { FormReactive } from '../../../shared'
-import { VideoResolution } from '../../../../../../shared/models/videos/video-resolution.enum'
+import { USER_ROLE_LABELS, VideoResolution } from '../../../../../../shared'
export abstract class UserEdit extends FormReactive {
videoQuotaOptions = [
{ value: 50 * 1024 * 1024 * 1024, label: '50GB' }
]
+ roles = Object.keys(USER_ROLE_LABELS).map(key => ({ value: key, label: USER_ROLE_LABELS[key] }))
+
protected abstract serverService: ServerService
abstract isCreation (): boolean
abstract getFormButtonTitle (): string