refactor: add variable descriptions in variables.ts
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
@@ -35,6 +35,9 @@ export const additionalSensors = [
|
|||||||
'htu21d',
|
'htu21d',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/*
|
||||||
|
* List of valid gcode file extensions
|
||||||
|
*/
|
||||||
export const validGcodeExtensions = [
|
export const validGcodeExtensions = [
|
||||||
'.gcode',
|
'.gcode',
|
||||||
'.g',
|
'.g',
|
||||||
@@ -43,6 +46,9 @@ export const validGcodeExtensions = [
|
|||||||
'.nc',
|
'.nc',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/*
|
||||||
|
* List of initable server components
|
||||||
|
*/
|
||||||
export const initableServerComponents = [
|
export const initableServerComponents = [
|
||||||
'history',
|
'history',
|
||||||
'power',
|
'power',
|
||||||
@@ -51,6 +57,9 @@ export const initableServerComponents = [
|
|||||||
'jobQueue',
|
'jobQueue',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/*
|
||||||
|
* List of required klipper config modules
|
||||||
|
*/
|
||||||
export const checkKlipperConfigModules = [
|
export const checkKlipperConfigModules = [
|
||||||
'virtual_sdcard',
|
'virtual_sdcard',
|
||||||
'pause_resume',
|
'pause_resume',
|
||||||
@@ -59,6 +68,9 @@ export const checkKlipperConfigModules = [
|
|||||||
'gcode_macro cancel_print',
|
'gcode_macro cancel_print',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/*
|
||||||
|
* List of allowed metadata fields
|
||||||
|
*/
|
||||||
export const allowedMetadata = [
|
export const allowedMetadata = [
|
||||||
'estimated_time',
|
'estimated_time',
|
||||||
'filament_total',
|
'filament_total',
|
||||||
@@ -81,6 +93,9 @@ export const allowedMetadata = [
|
|||||||
export const maxEventHistory = 500
|
export const maxEventHistory = 500
|
||||||
export const maxGcodeHistory = 50
|
export const maxGcodeHistory = 50
|
||||||
|
|
||||||
|
/*
|
||||||
|
* List of generic dashboard panels
|
||||||
|
*/
|
||||||
export const allDashboardPanels = [
|
export const allDashboardPanels = [
|
||||||
'control',
|
'control',
|
||||||
'macros',
|
'macros',
|
||||||
@@ -102,7 +117,9 @@ export const navigationItemHeight = 48
|
|||||||
export const panelToolbarHeight = 48
|
export const panelToolbarHeight = 48
|
||||||
export const topbarHeight = 48
|
export const topbarHeight = 48
|
||||||
|
|
||||||
// timelapse variables
|
/*
|
||||||
|
* List of hidden timelapse console outputs
|
||||||
|
*/
|
||||||
export const timelapseConsoleFilters = [
|
export const timelapseConsoleFilters = [
|
||||||
'^_TIMELAPSE_NEW_FRAME',
|
'^_TIMELAPSE_NEW_FRAME',
|
||||||
'^TIMELAPSE_TAKE_FRAME',
|
'^TIMELAPSE_TAKE_FRAME',
|
||||||
|
Reference in New Issue
Block a user