@jbrowse/plugin-hic 2.17.0 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/HicAdapter/HicAdapter.d.ts +6 -5
  2. package/dist/HicAdapter/HicAdapter.js +3 -6
  3. package/dist/HicAdapter/HicFilehandle.d.ts +2 -2
  4. package/dist/HicAdapter/HicFilehandle.js +1 -6
  5. package/dist/HicAdapter/configSchema.d.ts +0 -6
  6. package/dist/HicAdapter/configSchema.js +1 -11
  7. package/dist/HicAdapter/index.d.ts +1 -1
  8. package/dist/HicRenderer/HicRenderer.d.ts +5 -4
  9. package/dist/HicRenderer/HicRenderer.js +3 -6
  10. package/dist/HicRenderer/components/HicRendering.d.ts +1 -1
  11. package/dist/HicRenderer/components/HicRendering.js +0 -1
  12. package/dist/HicRenderer/configSchema.d.ts +0 -9
  13. package/dist/HicRenderer/configSchema.js +1 -14
  14. package/dist/HicRenderer/index.d.ts +1 -1
  15. package/dist/HicRenderer/index.js +1 -1
  16. package/dist/HicRenderer/makeImageData.d.ts +4 -4
  17. package/dist/HicRenderer/makeImageData.js +9 -10
  18. package/dist/HicRenderer/viridis.js +0 -17
  19. package/dist/HicTrack/configSchema.d.ts +1 -1
  20. package/dist/HicTrack/configSchema.js +1 -8
  21. package/dist/HicTrack/index.d.ts +1 -1
  22. package/dist/LinearHicDisplay/configSchema.d.ts +2 -5
  23. package/dist/LinearHicDisplay/configSchema.js +1 -11
  24. package/dist/LinearHicDisplay/index.d.ts +1 -1
  25. package/dist/LinearHicDisplay/model.d.ts +15 -94
  26. package/dist/LinearHicDisplay/model.js +3 -57
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.js +1 -2
  29. package/esm/HicAdapter/HicAdapter.d.ts +6 -5
  30. package/esm/HicAdapter/HicAdapter.js +4 -7
  31. package/esm/HicAdapter/HicFilehandle.d.ts +2 -2
  32. package/esm/HicAdapter/HicFilehandle.js +1 -6
  33. package/esm/HicAdapter/configSchema.d.ts +0 -6
  34. package/esm/HicAdapter/configSchema.js +1 -11
  35. package/esm/HicAdapter/index.d.ts +1 -1
  36. package/esm/HicRenderer/HicRenderer.d.ts +5 -4
  37. package/esm/HicRenderer/HicRenderer.js +3 -6
  38. package/esm/HicRenderer/components/HicRendering.d.ts +1 -1
  39. package/esm/HicRenderer/components/HicRendering.js +0 -1
  40. package/esm/HicRenderer/configSchema.d.ts +0 -9
  41. package/esm/HicRenderer/configSchema.js +1 -14
  42. package/esm/HicRenderer/index.d.ts +1 -1
  43. package/esm/HicRenderer/index.js +1 -1
  44. package/esm/HicRenderer/makeImageData.d.ts +4 -4
  45. package/esm/HicRenderer/makeImageData.js +9 -10
  46. package/esm/HicRenderer/viridis.js +0 -17
  47. package/esm/HicTrack/configSchema.d.ts +1 -1
  48. package/esm/HicTrack/configSchema.js +1 -8
  49. package/esm/HicTrack/index.d.ts +1 -1
  50. package/esm/LinearHicDisplay/configSchema.d.ts +2 -5
  51. package/esm/LinearHicDisplay/configSchema.js +1 -11
  52. package/esm/LinearHicDisplay/index.d.ts +1 -1
  53. package/esm/LinearHicDisplay/model.d.ts +15 -94
  54. package/esm/LinearHicDisplay/model.js +3 -57
  55. package/esm/index.d.ts +1 -1
  56. package/esm/index.js +2 -3
  57. package/package.json +2 -2
@@ -1,8 +1,9 @@
1
- import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
2
- import { Region } from '@jbrowse/core/util/types';
3
- import PluginManager from '@jbrowse/core/PluginManager';
4
- import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
5
- import { AnyConfigurationModel } from '@jbrowse/core/configuration';
1
+ import { BaseFeatureDataAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
2
+ import type PluginManager from '@jbrowse/core/PluginManager';
3
+ import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
4
+ import type { BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
5
+ import type { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
6
+ import type { Region } from '@jbrowse/core/util/types';
6
7
  interface HicOptions extends BaseOptions {
7
8
  resolution?: number;
8
9
  bpPerPx?: number;
@@ -4,10 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const BaseAdapter_1 = require("@jbrowse/core/data_adapters/BaseAdapter");
7
+ const util_1 = require("@jbrowse/core/util");
7
8
  const rxjs_1 = require("@jbrowse/core/util/rxjs");
8
9
  const hic_straw_1 = __importDefault(require("hic-straw"));
9
- const util_1 = require("@jbrowse/core/util");
10
- // locals
11
10
  const HicFilehandle_1 = require("./HicFilehandle");
12
11
  class HicAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
13
12
  constructor(config, getSubAdapter, pluginManager) {
@@ -22,7 +21,6 @@ class HicAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
22
21
  }
23
22
  async getHeader(opts) {
24
23
  const { chromosomes, ...rest } = await this.setup(opts);
25
- // @ts-expect-error
26
24
  const norms = await this.hic.getNormalizationOptions();
27
25
  return { ...rest, norms };
28
26
  }
@@ -54,14 +52,13 @@ class HicAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
54
52
  }
55
53
  });
56
54
  observer.complete();
57
- }, opts.signal);
55
+ }, opts.stopToken);
58
56
  }
59
- // don't do feature stats estimation, similar to bigwigadapter
60
57
  async getMultiRegionFeatureDensityStats(_regions) {
61
58
  return {
62
59
  featureDensity: 0,
63
60
  };
64
61
  }
65
- freeResources( /* { region } */) { }
62
+ freeResources() { }
66
63
  }
67
64
  exports.default = HicAdapter;
@@ -1,6 +1,6 @@
1
- import { FileLocation } from '@jbrowse/core/util';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
+ import type { FileLocation } from '@jbrowse/core/util';
2
3
  import type { GenericFilehandle } from 'generic-filehandle';
3
- import PluginManager from '@jbrowse/core/PluginManager';
4
4
  declare class HicFilehandle {
5
5
  private filehandle;
6
6
  constructor(filehandle: GenericFilehandle);
@@ -1,13 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.openHicFilehandle = openHicFilehandle;
4
- const io_1 = require("@jbrowse/core/util/io");
5
4
  const buffer_1 = require("buffer");
6
- // wraps generic-filehandle so the read function only takes a position and
7
- // length
8
- //
9
- // in some ways, generic-filehandle wishes it was just this but it has
10
- // to adapt to the node.js fs promises API
5
+ const io_1 = require("@jbrowse/core/util/io");
11
6
  class HicFilehandle {
12
7
  constructor(filehandle) {
13
8
  this.filehandle = filehandle;
@@ -1,7 +1,4 @@
1
1
  declare const HicAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
- /**
3
- * #slot
4
- */
5
2
  hicLocation: {
6
3
  type: string;
7
4
  defaultValue: {
@@ -9,9 +6,6 @@ declare const HicAdapter: import("@jbrowse/core/configuration/configurationSchem
9
6
  locationType: string;
10
7
  };
11
8
  };
12
- /**
13
- * #slot
14
- */
15
9
  resolutionMultiplier: {
16
10
  type: string;
17
11
  defaultValue: number;
@@ -1,15 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
- /**
5
- * #config HicAdapter
6
- * #category adapter
7
- */
8
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
4
+ function x() { }
9
5
  const HicAdapter = (0, configuration_1.ConfigurationSchema)('HicAdapter', {
10
- /**
11
- * #slot
12
- */
13
6
  hicLocation: {
14
7
  type: 'fileLocation',
15
8
  defaultValue: {
@@ -17,9 +10,6 @@ const HicAdapter = (0, configuration_1.ConfigurationSchema)('HicAdapter', {
17
10
  locationType: 'UriLocation',
18
11
  },
19
12
  },
20
- /**
21
- * #slot
22
- */
23
13
  resolutionMultiplier: {
24
14
  type: 'number',
25
15
  defaultValue: 1,
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function HicAdapterF(pluginManager: PluginManager): void;
@@ -1,7 +1,8 @@
1
- import ServerSideRendererType, { RenderArgs as ServerSideRenderArgs, RenderArgsDeserialized as ServerSideRenderArgsDeserialized, ResultsSerialized as ServerSideResultsSerialized, ResultsDeserialized as ServerSideResultsDeserialized } from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
2
- import { Region } from '@jbrowse/core/util/types';
3
- import { BaseFeatureDataAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
4
- import { AnyConfigurationModel } from '@jbrowse/core/configuration';
1
+ import ServerSideRendererType from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
2
+ import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
3
+ import type { BaseFeatureDataAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
4
+ import type { RenderArgs as ServerSideRenderArgs, RenderArgsDeserialized as ServerSideRenderArgsDeserialized, ResultsDeserialized as ServerSideResultsDeserialized, ResultsSerialized as ServerSideResultsSerialized } from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
5
+ import type { Region } from '@jbrowse/core/util/types';
5
6
  interface HicFeature {
6
7
  bin1: number;
7
8
  bin2: number;
@@ -26,12 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const ServerSideRendererType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType"));
30
- const offscreenCanvasUtils_1 = require("@jbrowse/core/util/offscreenCanvasUtils");
31
- const operators_1 = require("rxjs/operators");
32
29
  const configuration_1 = require("@jbrowse/core/configuration");
33
30
  const dataAdapterCache_1 = require("@jbrowse/core/data_adapters/dataAdapterCache");
31
+ const ServerSideRendererType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType"));
32
+ const offscreenCanvasUtils_1 = require("@jbrowse/core/util/offscreenCanvasUtils");
34
33
  const rxjs_1 = require("rxjs");
34
+ const operators_1 = require("rxjs/operators");
35
35
  class HicRenderer extends ServerSideRendererType_1.default {
36
36
  constructor() {
37
37
  super(...arguments);
@@ -70,9 +70,6 @@ class HicRenderer extends ServerSideRendererType_1.default {
70
70
  const features = await (0, rxjs_1.firstValueFrom)(dataAdapter
71
71
  .getFeatures(regions[0], args)
72
72
  .pipe((0, operators_1.toArray)()));
73
- // cast to any to avoid return-type conflict, because the
74
- // types of features returned by our getFeatures are quite
75
- // different from the base interface
76
73
  return features;
77
74
  }
78
75
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Region } from '@jbrowse/core/util/types';
2
+ import type { Region } from '@jbrowse/core/util/types';
3
3
  declare const HicRendering: (props: {
4
4
  blockKey: string;
5
5
  width: number;
@@ -9,7 +9,6 @@ const mobx_react_1 = require("mobx-react");
9
9
  const HicRendering = (0, mobx_react_1.observer)(function HicRendering(props) {
10
10
  const { width, height } = props;
11
11
  const canvasWidth = Math.ceil(width);
12
- // need to call this in render so we get the right observer behavior
13
12
  return (react_1.default.createElement("div", { style: { position: 'relative', width: canvasWidth, height } },
14
13
  react_1.default.createElement(ui_1.PrerenderedCanvas, { ...props, style: { position: 'absolute', left: 0, top: 0 } })));
15
14
  });
@@ -1,24 +1,15 @@
1
1
  declare const HicRenderer: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
- /**
3
- * #slot
4
- */
5
2
  baseColor: {
6
3
  type: string;
7
4
  description: string;
8
5
  defaultValue: string;
9
6
  };
10
- /**
11
- * #slot
12
- */
13
7
  color: {
14
8
  type: string;
15
9
  description: string;
16
10
  defaultValue: string;
17
11
  contextVariable: string[];
18
12
  };
19
- /**
20
- * #slot
21
- */
22
13
  maxHeight: {
23
14
  type: string;
24
15
  description: string;
@@ -1,32 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
- /**
5
- * #config HicRenderer
6
- * #category renderer
7
- */
8
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
4
+ function x() { }
9
5
  const HicRenderer = (0, configuration_1.ConfigurationSchema)('HicRenderer', {
10
- /**
11
- * #slot
12
- */
13
6
  baseColor: {
14
7
  type: 'color',
15
8
  description: 'base color to be used in the hic alignment',
16
9
  defaultValue: '#f00',
17
10
  },
18
- /**
19
- * #slot
20
- */
21
11
  color: {
22
12
  type: 'color',
23
13
  description: 'the color of each feature in a hic alignment',
24
14
  defaultValue: 'jexl:interpolate(count,scale)',
25
15
  contextVariable: ['count', 'maxScore', 'baseColor', 'scale'],
26
16
  },
27
- /**
28
- * #slot
29
- */
30
17
  maxHeight: {
31
18
  type: 'integer',
32
19
  description: 'the maximum height to be used in a hic rendering',
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function HicRendererF(pluginManager: PluginManager): void;
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = HicRendererF;
7
+ const HicRenderer_1 = __importDefault(require("./HicRenderer"));
7
8
  const HicRendering_1 = __importDefault(require("./components/HicRendering"));
8
9
  const configSchema_1 = __importDefault(require("./configSchema"));
9
- const HicRenderer_1 = __importDefault(require("./HicRenderer"));
10
10
  function HicRendererF(pluginManager) {
11
11
  pluginManager.addRendererType(() => new HicRenderer_1.default({
12
12
  name: 'HicRenderer',
@@ -1,7 +1,7 @@
1
- import { RenderArgs as ServerSideRenderArgs } from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
2
- import { Region } from '@jbrowse/core/util/types';
3
- import PluginManager from '@jbrowse/core/PluginManager';
4
- import { RenderArgsDeserializedWithFeatures } from './HicRenderer';
1
+ import type { RenderArgsDeserializedWithFeatures } from './HicRenderer';
2
+ import type PluginManager from '@jbrowse/core/PluginManager';
3
+ import type { RenderArgs as ServerSideRenderArgs } from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
4
+ import type { Region } from '@jbrowse/core/util/types';
5
5
  export interface RenderArgs extends ServerSideRenderArgs {
6
6
  regions: Region[];
7
7
  }
@@ -4,15 +4,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.makeImageData = makeImageData;
7
- const util_1 = require("@jbrowse/core/util");
8
7
  const configuration_1 = require("@jbrowse/core/configuration");
9
8
  const dataAdapterCache_1 = require("@jbrowse/core/data_adapters/dataAdapterCache");
10
9
  const colord_1 = require("@jbrowse/core/util/colord");
11
- const d3_scale_1 = require("@mui/x-charts-vendor/d3-scale");
10
+ const stopToken_1 = require("@jbrowse/core/util/stopToken");
12
11
  const d3_interpolate_1 = require("@mui/x-charts-vendor/d3-interpolate");
12
+ const d3_scale_1 = require("@mui/x-charts-vendor/d3-scale");
13
13
  const viridis_1 = __importDefault(require("./viridis"));
14
14
  async function makeImageData(ctx, props) {
15
- const { features, config, bpPerPx, signal, resolution, sessionId, adapterConfig, useLogScale, colorScheme, regions, pluginManager, } = props;
15
+ const { features, config, bpPerPx, stopToken, resolution, sessionId, adapterConfig, useLogScale, colorScheme, regions, pluginManager, } = props;
16
16
  const region = regions[0];
17
17
  const { dataAdapter } = await (0, dataAdapterCache_1.getAdapter)(pluginManager, sessionId, adapterConfig);
18
18
  const res = await dataAdapter.getResolution(bpPerPx / resolution);
@@ -24,13 +24,13 @@ async function makeImageData(ctx, props) {
24
24
  let maxScore = 0;
25
25
  let minBin = 0;
26
26
  let maxBin = 0;
27
- await (0, util_1.abortBreakPoint)(signal);
27
+ (0, stopToken_1.checkStopToken)(stopToken);
28
28
  for (const { bin1, bin2, counts } of features) {
29
29
  maxScore = Math.max(counts, maxScore);
30
30
  minBin = Math.min(Math.min(bin1, bin2), minBin);
31
31
  maxBin = Math.max(Math.max(bin1, bin2), maxBin);
32
32
  }
33
- await (0, util_1.abortBreakPoint)(signal);
33
+ (0, stopToken_1.checkStopToken)(stopToken);
34
34
  const colorSchemes = {
35
35
  juicebox: ['rgba(0,0,0,0)', 'red'],
36
36
  fall: (0, d3_interpolate_1.interpolateRgbBasis)([
@@ -49,7 +49,6 @@ async function makeImageData(ctx, props) {
49
49
  viridis: viridis_1.default,
50
50
  };
51
51
  const m = useLogScale ? maxScore : maxScore / 20;
52
- // @ts-expect-error
53
52
  const x1 = colorSchemes[colorScheme] || colorSchemes.juicebox;
54
53
  const scale = useLogScale
55
54
  ? (0, d3_scale_1.scaleSequentialLog)(x1).domain([1, m])
@@ -60,7 +59,7 @@ async function makeImageData(ctx, props) {
60
59
  ctx.translate(-width, 0);
61
60
  }
62
61
  ctx.rotate(-Math.PI / 4);
63
- let start = Date.now();
62
+ let start = performance.now();
64
63
  for (const { bin1, bin2, counts } of features) {
65
64
  ctx.fillStyle = (0, configuration_1.readConfObject)(config, 'color', {
66
65
  count: counts,
@@ -70,9 +69,9 @@ async function makeImageData(ctx, props) {
70
69
  useLogScale,
71
70
  });
72
71
  ctx.fillRect((bin1 - offset) * w, (bin2 - offset) * w, w, w);
73
- if (+Date.now() - start > 400) {
74
- await (0, util_1.abortBreakPoint)(signal);
75
- start = +Date.now();
72
+ if (performance.now() - start > 400) {
73
+ (0, stopToken_1.checkStopToken)(stopToken);
74
+ start = performance.now();
76
75
  }
77
76
  }
78
77
  ctx.restore();
@@ -1,22 +1,5 @@
1
1
  "use strict";
2
- // @ts-nocheck
3
- // vendored from
4
- // https://github.com/d3/d3-scale-chromatic/blob/main/src/sequential-multi/viridis.js,
5
- // license reproduced below
6
- //
7
- // Copyright 2010-2024 Mike Bostock
8
2
  Object.defineProperty(exports, "__esModule", { value: true });
9
- // Permission to use, copy, modify, and/or distribute this software for any purpose
10
- // with or without fee is hereby granted, provided that the above copyright notice
11
- // and this permission notice appear in all copies.
12
- //
13
- // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- // REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
15
- // FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- // INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
17
- // OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
19
- // THIS SOFTWARE.
20
3
  function colors(specifier) {
21
4
  const n = (specifier.length / 6) | 0;
22
5
  const colors = new Array(n);
@@ -1,4 +1,4 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
3
  name: {
4
4
  description: string;
@@ -2,15 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
4
  const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
5
- /**
6
- * #config HicTrack
7
- * #category track
8
- */
9
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
5
+ function x() { }
10
6
  const configSchema = (pluginManager) => (0, configuration_1.ConfigurationSchema)('HicTrack', {}, {
11
- /**
12
- * #baseConfiguration
13
- */
14
7
  baseConfiguration: (0, pluggableElementTypes_1.createBaseTrackConfig)(pluginManager),
15
8
  });
16
9
  exports.default = configSchema;
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function HicTrackF(pluginManager: PluginManager): void;
@@ -1,9 +1,6 @@
1
- import { Instance } from 'mobx-state-tree';
2
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
+ import type { Instance } from 'mobx-state-tree';
3
3
  declare const HicTrackConfigFactory: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
4
- /**
5
- * #slot
6
- */
7
4
  renderer: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
8
5
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
9
6
  maxFeatureScreenDensity: {
@@ -2,21 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
4
  const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
5
- /**
6
- * #config LinearHicDisplay
7
- * #category display
8
- */
9
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
5
+ function x() { }
10
6
  const HicTrackConfigFactory = (pluginManager) => {
11
7
  return (0, configuration_1.ConfigurationSchema)('LinearHicDisplay', {
12
- /**
13
- * #slot
14
- */
15
8
  renderer: pluginManager.getRendererType('HicRenderer').configSchema,
16
9
  }, {
17
- /**
18
- * #baseConfiguration
19
- */
20
10
  baseConfiguration: plugin_linear_genome_view_1.baseLinearDisplayConfigSchema,
21
11
  explicitlyTyped: true,
22
12
  });
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function LinearHicDisplayF(pluginManager: PluginManager): void;