UNPKG

@jbrowse/plugin-config

Version:

JBrowse 2 config utilities

13 lines (12 loc) 449 B
import { AdapterType } from '@jbrowse/core/pluggableElementTypes'; import configSchema from './configSchema'; export default function FromConfigAdapterF(pluginManager) { pluginManager.addAdapterType(() => new AdapterType({ name: 'FromConfigAdapter', configSchema, getAdapterClass: () => import('./FromConfigAdapter').then(r => r.default), adapterMetadata: { hiddenFromGUI: true, }, })); }