refactor: add variable descriptions in variables.ts

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-12-24 01:11:03 +01:00
parent a20bab62a5
commit 093cd7c5d4
No known key found for this signature in database
GPG Key ID: 5D3A5823133D2246

View File

@ -35,6 +35,9 @@ export const additionalSensors = [
'htu21d',
]
/*
* List of valid gcode file extensions
*/
export const validGcodeExtensions = [
'.gcode',
'.g',
@ -43,6 +46,9 @@ export const validGcodeExtensions = [
'.nc',
]
/*
* List of initable server components
*/
export const initableServerComponents = [
'history',
'power',
@ -51,6 +57,9 @@ export const initableServerComponents = [
'jobQueue',
]
/*
* List of required klipper config modules
*/
export const checkKlipperConfigModules = [
'virtual_sdcard',
'pause_resume',
@ -59,6 +68,9 @@ export const checkKlipperConfigModules = [
'gcode_macro cancel_print',
]
/*
* List of allowed metadata fields
*/
export const allowedMetadata = [
'estimated_time',
'filament_total',
@ -81,6 +93,9 @@ export const allowedMetadata = [
export const maxEventHistory = 500
export const maxGcodeHistory = 50
/*
* List of generic dashboard panels
*/
export const allDashboardPanels = [
'control',
'macros',
@ -102,7 +117,9 @@ export const navigationItemHeight = 48
export const panelToolbarHeight = 48
export const topbarHeight = 48
// timelapse variables
/*
* List of hidden timelapse console outputs
*/
export const timelapseConsoleFilters = [
'^_TIMELAPSE_NEW_FRAME',
'^TIMELAPSE_TAKE_FRAME',