File tree Expand file tree Collapse file tree 7 files changed +10
-12
lines changed
browser/components/DesktopIntegration Expand file tree Collapse file tree 7 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 2121 }
2222 ],
2323 "scripts" : {
24- "build" : " NODE_ENV=\" production\" webpack --config ./build_scripts/webpack.config.js" ,
24+ "build" : " NODE_ENV=\" production\" webpack --config ./build_scripts/webpack.config.js --progress " ,
2525 "dev" : " jest --watch" ,
2626 "e2e" : " cypress run" ,
2727 "e2e-local" : " CYPRESS_E2E_TEST_ENV=\" local\" cypress run" ,
Original file line number Diff line number Diff line change 1818 * along with this program. If not, see <http://www.gnu.org/licenses/>.
1919 */
2020
21- import { NATIVE , KERBEROS } from 'shared/modules/connections/connectionsDuck'
22-
23- export { NATIVE , KERBEROS }
21+ import { NATIVE , KERBEROS } from 'services/bolt/boltHelpers'
2422
2523export const getActiveGraph = ( context = { } ) => {
2624 if ( ! context ) return null
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ import {
2424 eventToHandler ,
2525 didChangeActiveGraph ,
2626 getActiveCredentials ,
27- buildConnectionCredentialsObject ,
28- KERBEROS ,
29- NATIVE
27+ buildConnectionCredentialsObject
3028} from './helpers'
29+ import { KERBEROS , NATIVE } from 'services/bolt/boltHelpers'
3130
3231test ( 'getActiveGraph handles non objects and non-active projects' , ( ) => {
3332 // Given
Original file line number Diff line number Diff line change @@ -60,9 +60,6 @@ export const DISCONNECTED_STATE = 0
6060export const CONNECTED_STATE = 1
6161export const PENDING_STATE = 2
6262
63- export const KERBEROS = 'KERBEROS'
64- export const NATIVE = 'NATIVE'
65-
6663const initialState = {
6764 allConnectionIds : [ ] ,
6865 connectionsById : { } ,
Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ import {
3232 POST_CANCEL_TRANSACTION_MESSAGE ,
3333 BOLT_CONNECTION_ERROR_MESSAGE
3434} from './boltWorkerMessages'
35+ import { NATIVE } from 'services/bolt/boltHelpers'
36+
3537/* eslint-disable import/no-webpack-loader-syntax */
3638import BoltWorkerModule from 'worker-loader?inline!./boltWorker.js'
3739/* eslint-enable import/no-webpack-loader-syntax */
38- import { NATIVE } from 'shared/modules/connections/connectionsDuck'
3940
4041let connectionProperties = null
4142let boltWorkPool = new WorkPool ( ( ) => new BoltWorkerModule ( ) , 10 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { v1 as neo4j } from 'neo4j-driver'
2222import { v4 } from 'uuid'
2323import { BoltConnectionError , createErrorObject } from '../exceptions'
2424import { generateBoltHost } from 'services/utils'
25- import { KERBEROS } from 'shared/modules/connections/connectionsDuck '
25+ import { KERBEROS } from 'services/bolt/boltHelpers '
2626
2727export const DIRECT_CONNECTION = 'DIRECT_CONNECTION'
2828export const ROUTED_WRITE_CONNECTION = 'ROUTED_WRITE_CONNECTION'
Original file line number Diff line number Diff line change 2121/* global location */
2222import { getUrlInfo } from 'services/utils'
2323
24+ export const KERBEROS = 'KERBEROS'
25+ export const NATIVE = 'NATIVE'
26+
2427export const getEncryptionMode = options => {
2528 if ( options && typeof options [ 'encrypted' ] !== 'undefined' ) {
2629 return options . encrypted
You can’t perform that action at this time.
0 commit comments