@@ -48,6 +48,8 @@ export enum HexTaskType {
4848 APP_UNINSTALL = 'APP_UNINSTALL' ,
4949 APP_UPGRADE = 'APP_UPGRADE' ,
5050 APP_UPDATE = 'APP_UPDATE' ,
51+ APP_START = 'APP_START' ,
52+ APP_STOP = 'APP_STOP' ,
5153 PREFERENCE_LOCATION_PATH_MIGRATION = 'PREFERENCE_LOCATION_PATH_MIGRATION' ,
5254 POOLS_DELETE_ALL = 'POOLS_DELETE_ALL' ,
5355 DRIVE_REPLACE = 'DRIVE_REPLACE' ,
@@ -160,6 +162,8 @@ export type HexTaskDataMap = {
160162 [ HexTaskType . APP_UNINSTALL ] : HexTaskMeta < HexTaskDataBase & { appId : string } , string > ;
161163 [ HexTaskType . APP_UPGRADE ] : HexTaskMeta < HexTaskDataBase & { appId : string ; fromVersion ?: string ; toVersion ?: string } , string > ;
162164 [ HexTaskType . APP_UPDATE ] : HexTaskMeta < HexTaskDataBase & HexTaskAppUpdateData , string > ;
165+ [ HexTaskType . APP_START ] : HexTaskMeta < HexTaskDataBase & { appId : string } , string > ;
166+ [ HexTaskType . APP_STOP ] : HexTaskMeta < HexTaskDataBase & { appId : string } , string > ;
163167 [ HexTaskType . PREFERENCE_LOCATION_PATH_MIGRATION ] : HexTaskMeta < HexTaskDataBase & { locationPreferenceId : string ; oldPath : string ; newPath : string } , never > ;
164168 [ HexTaskType . DRIVE_REPLACE ] : HexTaskMeta < HexTaskDataBase & { poolId : number ; devname : string ; newDevname : string ; label : string ; disk : string } , string > ;
165169 [ HexTaskType . DOCKER_UPDATE ] : HexTaskMeta < HexTaskDataBase & { poolName ?: string ; } , string > ;
@@ -191,6 +195,8 @@ export const HexTaskSettings: {
191195 [ HexTaskType . APP_UNINSTALL ] : { canHaveMultiple : true , predictedSecondsToComplete : 500 } ,
192196 [ HexTaskType . APP_UPGRADE ] : { canHaveMultiple : true , predictedSecondsToComplete : 500 } ,
193197 [ HexTaskType . APP_UPDATE ] : { canHaveMultiple : true , predictedSecondsToComplete : 500 } ,
198+ [ HexTaskType . APP_START ] : { canHaveMultiple : true , predictedSecondsToComplete : 120 } ,
199+ [ HexTaskType . APP_STOP ] : { canHaveMultiple : true , predictedSecondsToComplete : 120 } ,
194200 [ HexTaskType . PREFERENCE_LOCATION_PATH_MIGRATION ] : { canHaveMultiple : false , predictedSecondsToComplete : 1200 } ,
195201 [ HexTaskType . DRIVE_REPLACE ] : { canHaveMultiple : true , predictedSecondsToComplete : 120 } ,
196202 [ HexTaskType . DOCKER_UPDATE ] : { canHaveMultiple : false , predictedSecondsToComplete : 120 } ,
0 commit comments