From bacc715f10f5c648d61f0720120b14aadebf9a77 Mon Sep 17 00:00:00 2001 From: svishnev Date: Mon, 5 Nov 2018 12:11:30 +0200 Subject: keyMirror with namespace Issue-ID: SDC-1873 Change-Id: Ib8e810397578610cd7e0cba64e10ecc38d67f5eb Signed-off-by: svishnev --- openecomp-ui/src/sdc-app/flows/FlowsConstants.js | 29 +++++++++++++----------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'openecomp-ui/src/sdc-app/flows/FlowsConstants.js') diff --git a/openecomp-ui/src/sdc-app/flows/FlowsConstants.js b/openecomp-ui/src/sdc-app/flows/FlowsConstants.js index 4dcd840ff3..ea6d9638fd 100644 --- a/openecomp-ui/src/sdc-app/flows/FlowsConstants.js +++ b/openecomp-ui/src/sdc-app/flows/FlowsConstants.js @@ -1,5 +1,5 @@ /*! - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright © 2016-2018 European Support Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,22 +15,25 @@ */ import keyMirror from 'nfvo-utils/KeyMirror.js'; -export const actionTypes = keyMirror({ - OPEN_FLOW_DETAILS_EDITOR: null, - CLOSE_FLOW_DETAILS_EDITOR: null, +export const actionTypes = keyMirror( + { + OPEN_FLOW_DETAILS_EDITOR: null, + CLOSE_FLOW_DETAILS_EDITOR: null, - OPEN_FLOW_DIAGRAM_EDITOR: null, - CLOSE_FLOW_DIAGRAM_EDITOR: null, + OPEN_FLOW_DIAGRAM_EDITOR: null, + CLOSE_FLOW_DIAGRAM_EDITOR: null, - FLOW_LIST_LOADED: null, - ADD_OR_UPDATE_FLOW: null, - ARTIFACT_LOADED: null, - DELETE_FLOW: null, + FLOW_LIST_LOADED: null, + ADD_OR_UPDATE_FLOW: null, + ARTIFACT_LOADED: null, + DELETE_FLOW: null, - CURRENT_FLOW_DATA_CHANGED: null, + CURRENT_FLOW_DATA_CHANGED: null, - RESET: null -}); + RESET: null + }, + 'flow' +); export const enums = { WORKFLOW: 'WORKFLOW', -- cgit 1.2.3-korg