Add user update for admins
[oweals/peertube.git] / client / src / app / +admin / users / user-edit / user-edit.ts
1 import { FormReactive } from '../../../shared'
2
3 export abstract class UserEdit extends FormReactive {
4   videoQuotaOptions = [
5     { value: -1, label: 'Unlimited' },
6     { value: 100 * 1024 * 1024, label: '100MB' },
7     { value: 5 * 1024 * 1024, label: '500MB' },
8     { value: 1024 * 1024 * 1024, label: '1GB' },
9     { value: 5 * 1024 * 1024 * 1024, label: '5GB' },
10     { value: 20 * 1024 * 1024 * 1024, label: '20GB' },
11     { value: 50 * 1024 * 1024 * 1024, label: '50GB' }
12   ]
13
14   abstract isCreation (): boolean
15   abstract getFormButtonTitle (): string
16 }