You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.0 KiB
Python
42 lines
2.0 KiB
Python
MESSAGE_TYPE = {
|
|
'verbose': 'verbose',
|
|
'stream': 'stream',
|
|
'user_input_request': 'user_input_request', # Displayed above the
|
|
'hint': 'hint', # Hint text, eg "Do you want to add anything else? If not, just press ENTER."
|
|
'info': 'info', # JSON data can be sent to progress `progress_stage`
|
|
'local': 'local',
|
|
'run_command': 'run_command', # Command to run server needed for extension only
|
|
'project_folder_name': 'project_folder_name', # Project folder name for extension only
|
|
'button': 'button', # Button text for extension only
|
|
'buttons-only': 'buttons-only', # Button text for extension only but input field is disabled
|
|
'exit': 'exit', # Exit message to let extension know we are done
|
|
'ipc': 'ipc', # Regular print message that is for extension only
|
|
'openFile': 'openFile', # Open a file in extension
|
|
'loadingFinished': 'loadingFinished', # Marks end of loading project
|
|
'loopTrigger': 'loopTrigger', # Trigger loop feedback popup in extension
|
|
'progress': 'progress', # Progress bar for extension only
|
|
'projectStats': 'projectStats', # Project stats for extension only
|
|
'keyExpired': 'keyExpired', # (Free trial) key expired message - for extension only
|
|
'inputPrefill': 'inputPrefill', # Prefill input field with text in extension
|
|
'projectDescription': 'projectDescription', # Project description for extension only
|
|
'featuresList': 'featuresList', # Features list for extension only
|
|
}
|
|
|
|
LOCAL_IGNORE_MESSAGE_TYPES = [
|
|
'info',
|
|
'project_folder_name',
|
|
'run_command',
|
|
'button',
|
|
'buttons-only',
|
|
'exit',
|
|
'ipc',
|
|
'openFile',
|
|
'loadingFinished',
|
|
'loopTrigger',
|
|
'progress',
|
|
'projectStats',
|
|
'keyExpired',
|
|
'inputPrefill',
|
|
'projectDescription',
|
|
'featuresList',
|
|
] |