UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

36 lines (35 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const configuration_1 = require("@jbrowse/core/configuration"); function x() { } const baseLinearDisplayConfigSchema = (0, configuration_1.ConfigurationSchema)('BaseLinearDisplay', { maxFeatureScreenDensity: { type: 'number', description: 'maximum features per pixel that is displayed in the view, used if byte size estimates not available', defaultValue: 0.3, }, fetchSizeLimit: { type: 'number', defaultValue: 1000000, description: "maximum data to attempt to download for a given track, used if adapter doesn't specify one", }, height: { type: 'number', defaultValue: 100, description: 'default height for the track', }, mouseover: { type: 'string', description: 'text to display when the cursor hovers over a feature', defaultValue: `jexl:get(feature,'name')`, contextVariable: ['feature'], }, jexlFilters: { type: 'stringArray', description: 'default set of jexl filters to apply to a track. note: these do not use the jexl prefix because they have a deferred evaluation system', defaultValue: [], }, }, { explicitIdentifier: 'displayId', }); exports.default = baseLinearDisplayConfigSchema;