-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react-console constants): Make constants available from AccessCon…
…soles Fix after 1f3411a.
- Loading branch information
1 parent
4fc5d38
commit 02e6362
Showing
12 changed files
with
49 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/patternfly-3/react-console/src/DesktopViewer/vvFileGenerator.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
packages/patternfly-3/react-console/src/SerialConsole/constants.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 23 additions & 4 deletions
27
packages/patternfly-3/react-console/src/common/constants.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,23 @@ | ||
export const NONE_TYPE = '_none_'; | ||
export const SERIAL_CONSOLE_TYPE = 'SerialConsole'; | ||
export const SPICE_CONSOLE_TYPE = 'SpiceConsole'; | ||
export const VNC_CONSOLE_TYPE = 'VncConsole'; | ||
const NONE_TYPE = '_none_'; | ||
const SERIAL_CONSOLE_TYPE = 'SerialConsole'; | ||
const SPICE_CONSOLE_TYPE = 'SpiceConsole'; | ||
const VNC_CONSOLE_TYPE = 'VncConsole'; | ||
|
||
const CONNECTING = 'connecting'; | ||
const CONNECTED = 'connected'; | ||
const DISCONNECTED = 'disconnected'; | ||
const LOADING = 'loading'; | ||
|
||
const constants = { | ||
NONE_TYPE, | ||
SERIAL_CONSOLE_TYPE, | ||
SPICE_CONSOLE_TYPE, | ||
VNC_CONSOLE_TYPE, | ||
|
||
CONNECTING, | ||
CONNECTED, | ||
DISCONNECTED, | ||
LOADING | ||
}; | ||
|
||
export default constants; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters