mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 09:45:55 -07:00
Clarify switch input type
This commit is contained in:
parent
1455d65428
commit
0cb9e75a53
10 changed files with 17 additions and 76 deletions
|
|
@ -2,7 +2,8 @@ import { IFileObject, Istreams } from './synced/IFileObject';
|
|||
import Ijob from './synced/jobInterface';
|
||||
|
||||
export interface IpluginInputUi {
|
||||
type: 'dropdown' | 'text' | 'textarea' | 'directory' | 'slider',
|
||||
// boolean inputs will default to a switch
|
||||
type: 'dropdown' | 'text' | 'textarea' | 'directory' | 'slider' | 'switch',
|
||||
options?: string[],
|
||||
sliderOptions?: {max: number, min: number, }
|
||||
style?: Record<string, unknown>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue