|
| 1 | +/* eslint-disable */ |
| 2 | +/** |
| 3 | + * This file was automatically generated by json-schema-to-typescript. |
| 4 | + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, |
| 5 | + * and run json-schema-to-typescript to regenerate this file. |
| 6 | + */ |
| 7 | + |
| 8 | +/** |
| 9 | + * Unique id for a component |
| 10 | + */ |
| 11 | +export type Id = string; |
| 12 | +/** |
| 13 | + * Optional variable name associated with a component |
| 14 | + */ |
| 15 | +export type VariableName = string; |
| 16 | +/** |
| 17 | + * Vue component name |
| 18 | + */ |
| 19 | +export type Component = string; |
| 20 | +/** |
| 21 | + * The input text value |
| 22 | + */ |
| 23 | +export type Value = string; |
| 24 | +/** |
| 25 | + * Hint text for switch |
| 26 | + */ |
| 27 | +export type Hint = string | null; |
| 28 | +/** |
| 29 | + * If true, the input is disabled |
| 30 | + */ |
| 31 | +export type Disabled = boolean | null; |
| 32 | +/** |
| 33 | + * Color of the switch. Can be custom or standard Material color |
| 34 | + */ |
| 35 | +export type Color = string; |
| 36 | +/** |
| 37 | + * A label for your switch |
| 38 | + */ |
| 39 | +export type Label = string | null; |
| 40 | +/** |
| 41 | + * Determines if multiple selections are allowed |
| 42 | + */ |
| 43 | +export type Multiple = boolean | null; |
| 44 | +/** |
| 45 | + * Width of the switch |
| 46 | + */ |
| 47 | +export type Width = number | string; |
| 48 | +/** |
| 49 | + * Trigger event for when to trigger a run |
| 50 | + */ |
| 51 | +export type Triggerevent = string; |
| 52 | +/** |
| 53 | + * Determines if the Switch is read-only |
| 54 | + */ |
| 55 | +export type Readonly = boolean | null; |
| 56 | + |
| 57 | +/** |
| 58 | + * A slider component that allows a user to select a range of values |
| 59 | + */ |
| 60 | +export interface Switch { |
| 61 | + id: Id; |
| 62 | + variable_name?: VariableName; |
| 63 | + component?: Component; |
| 64 | + value?: Value; |
| 65 | + hint?: Hint; |
| 66 | + disabled?: Disabled; |
| 67 | + color?: Color; |
| 68 | + label?: Label; |
| 69 | + multiple?: Multiple; |
| 70 | + width?: Width; |
| 71 | + triggerEvent?: Triggerevent; |
| 72 | + readonly?: Readonly; |
| 73 | + [k: string]: unknown; |
| 74 | +} |
0 commit comments