diff options
Diffstat (limited to 'vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts')
-rw-r--r-- | vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts b/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts index 069ef82e8..20c6dbe85 100644 --- a/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts +++ b/vid-webpack-master/src/app/shared/storeUtil/utils/service/service.actions.ts @@ -12,6 +12,7 @@ export enum ServiceActions { UNDO_DELETE_ACTION_SERVICE_INSTANCE = "UNDO_DELETE_ACTION_SERVICE_INSTANCE", CHANGE_SERVICE_IS_DIRTY = "CHANGE_SERVICE_IS_DIRTY", UPGRADE_SERVICE_ACTION = "UPGRADE_SERVICE_ACTION", + UPDATE_SERVICE_INFO_MODEL = "UPDATE_SERVICE_INFO_MODEL", UNDO_UPGRADE_SERVICE_ACTION = "UNDO_UPGRADE_SERVICE_ACTION" } @@ -63,6 +64,10 @@ export interface ChangeServiceDirty extends Action { serviceId : string; } +export interface UpdateServiceModelInfoAction extends Action { + serviceInfoModel?: any; +} + export const addServiceAction: ActionCreator<AddServiceAction> = (serviceUuid : string, actionName : ServiceInstanceActions) => ({ type: ServiceActions.ADD_SERVICE_ACTION, serviceUuid: serviceUuid, @@ -117,3 +122,8 @@ export const undoUpgradeService: ActionCreator<UndoUpgradeServiceAction> = (serv type: ServiceActions.UNDO_UPGRADE_SERVICE_ACTION, serviceUuid }); + +export const updateServiceInfoModel : ActionCreator<UpdateServiceModelInfoAction> = (serviceInfoModel : any) => ({ + type: ServiceActions.UPDATE_SERVICE_INFO_MODEL, + serviceInfoModel +}); |