diff options
Diffstat (limited to 'shared/models/plugins/register-client-form-field.model.ts')
-rw-r--r-- | shared/models/plugins/register-client-form-field.model.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/shared/models/plugins/register-client-form-field.model.ts b/shared/models/plugins/register-client-form-field.model.ts new file mode 100644 index 000000000..ec333e8d6 --- /dev/null +++ b/shared/models/plugins/register-client-form-field.model.ts | |||
@@ -0,0 +1,14 @@ | |||
1 | export interface RegisterClientFormFieldOptions { | ||
2 | name: string | ||
3 | label: string | ||
4 | type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' | ||
5 | |||
6 | descriptionHTML?: string | ||
7 | |||
8 | // Default setting value | ||
9 | default?: string | boolean | ||
10 | } | ||
11 | |||
12 | export interface RegisterClientVideoFieldOptions { | ||
13 | type: 'import-url' | 'import-torrent' | 'update' | 'upload' | ||
14 | } | ||