aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/register-client-form-field.model.ts
blob: 641d7490c806a734fe0a1a6f1d15334732eed82a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export interface RegisterClientFormFieldOptions {
  name: string
  label: string
  type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'

  descriptionHTML?: string

  // Default setting value
  default?: string | boolean
}

export interface RegisterClientVideoFieldOptions {
  type: 'import-url' | 'import-torrent' | 'update' | 'upload'
}