import { target , SharedData } from '@vue-devtools/shared-utils' ; export interface PageConfig { openInEditorHost ? : string ; defaultSelectedAppId ? : string ; } let config = { } ; export function getPageConfig ( ) { return config ; } export function initOnPageConfig ( ) { if ( Object . hasOwnProperty . call ( target , 'VUE_DEVTOOLS_CONFIG' ) ) { config = SharedData . pageConfig = target . VUE_DEVTOOLS_CONFIG ; if ( Object . hasOwnProperty . call ( config , 'openInEditorHost' ) ) { SharedData . openInEditorHost = config . openInEditorHost ; } } }