UNPKG

@jbrowse/core

Version:

JBrowse 2 core libraries used by plugins

27 lines (26 loc) 715 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const configuration_1 = require("../../configuration"); function x() { } const configSchema = (0, configuration_1.ConfigurationSchema)('CytobandAdapter', { cytobandLocation: { type: 'fileLocation', defaultValue: { uri: '/path/to/cytoband.txt.gz', }, }, }, { explicitlyTyped: true, preProcessSnapshot: snap => { return snap.uri ? { ...snap, cytobandLocation: { uri: snap.uri, baseUri: snap.baseUri, }, } : snap; }, }); exports.default = configSchema;