@jbrowse/core
Version:
JBrowse 2 core libraries used by plugins
29 lines (28 loc) • 912 B
TypeScript
import PluggableElementBase from './PluggableElementBase';
import type { AnyConfigurationSchemaType } from '../configuration';
import type { AnyReactComponentType } from '../util';
import type { IAnyModelType } from 'mobx-state-tree';
export default class DisplayType extends PluggableElementBase {
stateModel: IAnyModelType;
configSchema: AnyConfigurationSchemaType;
ReactComponent: AnyReactComponentType;
trackType: string;
subDisplay?: {
type: string;
[key: string]: unknown;
};
viewType: string;
constructor(stuff: {
name: string;
stateModel: IAnyModelType;
trackType: string;
viewType: string;
displayName?: string;
subDisplay?: {
type: string;
[key: string]: unknown;
};
configSchema: AnyConfigurationSchemaType;
ReactComponent: AnyReactComponentType;
});
}