-
Notifications
You must be signed in to change notification settings - Fork 2
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 #53 from ProvideQ/feat/solver-settings
Adds solver specific settings
- Loading branch information
Showing
13 changed files
with
371 additions
and
235 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
This file was deleted.
Oops, something went wrong.
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
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,33 @@ | ||
export enum SolverSettingType { | ||
INTEGER = "INTEGER", | ||
DOUBLE = "DOUBLE", | ||
CHECKBOX = "CHECKBOX", | ||
TEXT = "TEXT", | ||
SELECT = "SELECT", | ||
} | ||
|
||
export interface SolverSetting { | ||
name: string; | ||
description: string; | ||
type: SolverSettingType; | ||
required: boolean; | ||
} | ||
|
||
export interface RangeSetting extends SolverSetting { | ||
min: number; | ||
max: number; | ||
value: number; | ||
} | ||
|
||
export interface CheckboxSetting extends SolverSetting { | ||
state: boolean; | ||
} | ||
|
||
export interface TextSetting extends SolverSetting { | ||
text: string; | ||
} | ||
|
||
export interface SelectSetting extends SolverSetting { | ||
options: string[]; | ||
selectedOption: string; | ||
} |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.