blob: ea6d9638fd8e3cd314c6a5b85c46671cbca91d99 [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001/*!
svishnevbacc7152018-11-05 12:11:30 +02002 * Copyright © 2016-2018 European Support Limited
AviZi280f8012017-06-09 02:39:56 +03003 *
Michael Landoefa037d2017-02-19 12:57:33 +02004 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
AviZi280f8012017-06-09 02:39:56 +03007 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
Michael Landoefa037d2017-02-19 12:57:33 +020010 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
AviZi280f8012017-06-09 02:39:56 +030012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13 * or implied. See the License for the specific language governing
14 * permissions and limitations under the License.
Michael Landoefa037d2017-02-19 12:57:33 +020015 */
Michael Landoefa037d2017-02-19 12:57:33 +020016import keyMirror from 'nfvo-utils/KeyMirror.js';
17
svishnevbacc7152018-11-05 12:11:30 +020018export const actionTypes = keyMirror(
19 {
20 OPEN_FLOW_DETAILS_EDITOR: null,
21 CLOSE_FLOW_DETAILS_EDITOR: null,
Michael Landoefa037d2017-02-19 12:57:33 +020022
svishnevbacc7152018-11-05 12:11:30 +020023 OPEN_FLOW_DIAGRAM_EDITOR: null,
24 CLOSE_FLOW_DIAGRAM_EDITOR: null,
Michael Landoefa037d2017-02-19 12:57:33 +020025
svishnevbacc7152018-11-05 12:11:30 +020026 FLOW_LIST_LOADED: null,
27 ADD_OR_UPDATE_FLOW: null,
28 ARTIFACT_LOADED: null,
29 DELETE_FLOW: null,
Michael Landoefa037d2017-02-19 12:57:33 +020030
svishnevbacc7152018-11-05 12:11:30 +020031 CURRENT_FLOW_DATA_CHANGED: null,
Michael Landoefa037d2017-02-19 12:57:33 +020032
svishnevbacc7152018-11-05 12:11:30 +020033 RESET: null
34 },
35 'flow'
36);
Michael Landoefa037d2017-02-19 12:57:33 +020037
38export const enums = {
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020039 WORKFLOW: 'WORKFLOW',
40 NETWORK: 'NETWORK_CALL_FLOW',
41 INFORMATIONAL: 'INFORMATIONAL',
42 INSTANTIATION_FLOWS: 'instantiationflows',
43 MESSAGE_FLOWS: 'messageflows'
Michael Landoefa037d2017-02-19 12:57:33 +020044};
AviZi280f8012017-06-09 02:39:56 +030045
46export const FLOWS_EDITOR_FORM = 'FLOWS_FORM';