2018-10-22 09:35:44 -06:00
|
|
|
import {
|
|
|
|
BooleanConfigKey,
|
|
|
|
NumberConfigKey
|
|
|
|
} from "farmbot/dist/resources/configs/web_app";
|
2018-01-09 00:24:59 -07:00
|
|
|
|
|
|
|
export const BooleanSetting: Record<BooleanConfigKey, BooleanConfigKey> = {
|
|
|
|
x_axis_inverted: "x_axis_inverted",
|
|
|
|
y_axis_inverted: "y_axis_inverted",
|
|
|
|
z_axis_inverted: "z_axis_inverted",
|
|
|
|
raw_encoders: "raw_encoders",
|
|
|
|
scaled_encoders: "scaled_encoders",
|
|
|
|
legend_menu_open: "legend_menu_open",
|
|
|
|
show_plants: "show_plants",
|
|
|
|
show_points: "show_points",
|
|
|
|
show_spread: "show_spread",
|
|
|
|
show_farmbot: "show_farmbot",
|
2018-02-11 19:52:21 -07:00
|
|
|
show_images: "show_images",
|
2018-10-15 17:32:23 -06:00
|
|
|
show_sensor_readings: "show_sensor_readings",
|
2018-04-12 16:55:36 -06:00
|
|
|
xy_swap: "xy_swap",
|
2018-05-01 23:25:09 -06:00
|
|
|
home_button_homing: "home_button_homing",
|
2018-08-29 18:55:25 -06:00
|
|
|
show_motor_plot: "show_motor_plot",
|
2018-09-20 13:59:13 -06:00
|
|
|
show_historic_points: "show_historic_points",
|
2019-04-10 15:52:02 -06:00
|
|
|
time_format_24_hour: "time_format_24_hour",
|
2019-04-12 20:50:10 -06:00
|
|
|
show_pins: "show_pins",
|
2019-04-17 13:31:18 -06:00
|
|
|
disable_emergency_unlock_confirmation: "disable_emergency_unlock_confirmation",
|
2019-06-05 18:06:42 -06:00
|
|
|
expand_step_options: "expand_step_options",
|
2017-09-27 17:21:11 -06:00
|
|
|
|
2018-03-07 10:43:02 -07:00
|
|
|
/** "Labs" feature names. (App preferences) */
|
2018-01-09 10:22:27 -07:00
|
|
|
stub_config: "stub_config",
|
2018-01-09 00:24:59 -07:00
|
|
|
disable_i18n: "disable_i18n",
|
|
|
|
confirm_step_deletion: "confirm_step_deletion",
|
|
|
|
hide_webcam_widget: "hide_webcam_widget",
|
2019-06-07 18:26:32 -06:00
|
|
|
// hide_sensors: "hide_sensors",
|
2018-01-09 00:24:59 -07:00
|
|
|
dynamic_map: "dynamic_map",
|
|
|
|
map_xl: "map_xl",
|
|
|
|
disable_animations: "disable_animations",
|
|
|
|
display_trail: "display_trail",
|
|
|
|
encoder_figure: "encoder_figure",
|
2018-01-31 21:27:04 -07:00
|
|
|
enable_browser_speak: "enable_browser_speak",
|
2018-03-07 10:43:02 -07:00
|
|
|
discard_unsaved: "discard_unsaved",
|
2018-01-21 12:21:01 -07:00
|
|
|
|
|
|
|
/** Farmware Settings Panel */
|
2018-03-06 13:39:41 -07:00
|
|
|
show_first_party_farmware: "show_first_party_farmware",
|
2018-01-09 00:24:59 -07:00
|
|
|
};
|
2017-08-25 09:32:38 -06:00
|
|
|
|
2018-01-09 00:24:59 -07:00
|
|
|
export const NumericSetting: Record<NumberConfigKey, NumberConfigKey> = {
|
|
|
|
bot_origin_quadrant: "bot_origin_quadrant",
|
|
|
|
busy_log: "busy_log",
|
|
|
|
debug_log: "debug_log",
|
|
|
|
device_id: "device_id",
|
|
|
|
error_log: "error_log",
|
|
|
|
fun_log: "fun_log",
|
|
|
|
id: "id",
|
|
|
|
info_log: "info_log",
|
|
|
|
success_log: "success_log",
|
|
|
|
warn_log: "warn_log",
|
|
|
|
zoom_level: "zoom_level",
|
2019-05-13 18:13:28 -06:00
|
|
|
map_size_x: "map_size_x",
|
|
|
|
map_size_y: "map_size_y",
|
2018-01-09 00:24:59 -07:00
|
|
|
};
|