aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/register-client-form-field.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/plugins/register-client-form-field.model.ts')
-rw-r--r--shared/models/plugins/register-client-form-field.model.ts12
1 files changed, 12 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..df24339c6
--- /dev/null
+++ b/shared/models/plugins/register-client-form-field.model.ts
@@ -0,0 +1,12 @@
1export interface RegisterClientFormFieldOptions {
2 name: string
3 label: string
4 type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
5
6 // Default setting value
7 default?: string | boolean
8}
9
10export interface RegisterClientVideoFieldOptions {
11 type: 'import-url' | 'import-torrent' | 'update' | 'upload'
12}