Skip to content

Commit

Permalink
Merge pull request #2051 from GMOD/more_exports_modules
Browse files Browse the repository at this point in the history
Add missing named exports to shared core modules
  • Loading branch information
rbuels authored Jun 18, 2021
2 parents 4b1da9a + 8b6b6c5 commit 01de19b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions packages/core/ReExports/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export default [
'@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType',
'@jbrowse/core/pluggableElementTypes/renderers/CircularChordRendererType',
'@jbrowse/core/pluggableElementTypes/renderers/BoxRendererType',
'@jbrowse/core/pluggableElementTypes/renderers/FeatureRendererType',
'@jbrowse/core/pluggableElementTypes/renderers/RendererType',
'@jbrowse/core/configuration',
'@jbrowse/core/util/types/mst',
'@jbrowse/core/ui',
Expand Down
10 changes: 7 additions & 3 deletions packages/core/ReExports/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ import TrackType from '../pluggableElementTypes/TrackType'
import WidgetType from '../pluggableElementTypes/WidgetType'

import * as pluggableElementTypeModels from '../pluggableElementTypes/models'
import ServerSideRendererType from '../pluggableElementTypes/renderers/ServerSideRendererType'
import * as ServerSideRendererType from '../pluggableElementTypes/renderers/ServerSideRendererType'
import CircularChordRendererType from '../pluggableElementTypes/renderers/CircularChordRendererType'
import BoxRendererType from '../pluggableElementTypes/renderers/BoxRendererType'
import * as BoxRendererType from '../pluggableElementTypes/renderers/BoxRendererType'
import * as FeatureRendererType from '../pluggableElementTypes/renderers/FeatureRendererType'
import * as RendererType from '../pluggableElementTypes/renderers/RendererType'

import * as Configuration from '../configuration'
import Plugin from '../Plugin'
import * as Plugin from '../Plugin'
import * as coreUi from '../ui'
import * as coreUtil from '../util'
import * as coreColor from '../util/color'
Expand Down Expand Up @@ -143,6 +145,8 @@ const libs = {
'@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType': ServerSideRendererType,
'@jbrowse/core/pluggableElementTypes/renderers/CircularChordRendererType': CircularChordRendererType,
'@jbrowse/core/pluggableElementTypes/renderers/BoxRendererType': BoxRendererType,
'@jbrowse/core/pluggableElementTypes/renderers/FeatureRendererType': FeatureRendererType,
'@jbrowse/core/pluggableElementTypes/renderers/RendererType': RendererType,
'@jbrowse/core/configuration': Configuration,
'@jbrowse/core/util/types/mst': mstTypes,
'@jbrowse/core/ui': coreUi,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ import { readConfObject, isConfigurationModel } from '../../configuration'
import SerializableFilterChain from './util/serializableFilterChain'
import RpcManager from '../../rpc/RpcManager'

interface LayoutSessionProps {
export interface LayoutSessionProps {
config: AnyConfigurationModel
bpPerPx: number
filters: SerializableFilterChain
}

type MyMultiLayout = MultiLayout<GranularRectLayout<unknown>, unknown>
interface CachedLayout {
export type MyMultiLayout = MultiLayout<GranularRectLayout<unknown>, unknown>
export interface CachedLayout {
layout: MyMultiLayout
config: AnyConfigurationModel
filters: SerializableFilterChain
Expand Down

0 comments on commit 01de19b

Please sign in to comment.