-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from HarshitaDPoojary/ZT-Essa
fix: switch component
- Loading branch information
Showing
1 changed file
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* eslint-disable */ | ||
/** | ||
* This file was automatically generated by json-schema-to-typescript. | ||
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, | ||
* and run json-schema-to-typescript to regenerate this file. | ||
*/ | ||
|
||
/** | ||
* Unique id for a component | ||
*/ | ||
export type Id = string; | ||
/** | ||
* Optional variable name associated with a component | ||
*/ | ||
export type VariableName = string; | ||
/** | ||
* Vue component name | ||
*/ | ||
export type Component = string; | ||
/** | ||
* The input text value | ||
*/ | ||
export type Value = string; | ||
/** | ||
* Hint text for switch | ||
*/ | ||
export type Hint = string | null; | ||
/** | ||
* If true, the input is disabled | ||
*/ | ||
export type Disabled = boolean | null; | ||
/** | ||
* Color of the switch. Can be custom or standard Material color | ||
*/ | ||
export type Color = string; | ||
/** | ||
* A label for your switch | ||
*/ | ||
export type Label = string | null; | ||
/** | ||
* Determines if multiple selections are allowed | ||
*/ | ||
export type Multiple = boolean | null; | ||
/** | ||
* Width of the switch | ||
*/ | ||
export type Width = number | string; | ||
/** | ||
* Trigger event for when to trigger a run | ||
*/ | ||
export type Triggerevent = string; | ||
/** | ||
* Determines if the Switch is read-only | ||
*/ | ||
export type Readonly = boolean | null; | ||
|
||
/** | ||
* A slider component that allows a user to select a range of values | ||
*/ | ||
export interface Switch { | ||
id: Id; | ||
variable_name?: VariableName; | ||
component?: Component; | ||
value?: Value; | ||
hint?: Hint; | ||
disabled?: Disabled; | ||
color?: Color; | ||
label?: Label; | ||
multiple?: Multiple; | ||
width?: Width; | ||
triggerEvent?: Triggerevent; | ||
readonly?: Readonly; | ||
[k: string]: unknown; | ||
} |