@jbrowse/plugin-sequence 2.4.2 → 2.5.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.
@@ -1,2 +1,44 @@
1
- declare const BgzipFastaAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const BgzipFastaAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ fastaLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ /**
13
+ * #slot
14
+ */
15
+ faiLocation: {
16
+ type: string;
17
+ defaultValue: {
18
+ uri: string;
19
+ locationType: string;
20
+ };
21
+ };
22
+ /**
23
+ * #slot
24
+ */
25
+ metadataLocation: {
26
+ description: string;
27
+ type: string;
28
+ defaultValue: {
29
+ uri: string;
30
+ locationType: string;
31
+ };
32
+ };
33
+ /**
34
+ * #slot
35
+ */
36
+ gziLocation: {
37
+ type: string;
38
+ defaultValue: {
39
+ uri: string;
40
+ locationType: string;
41
+ };
42
+ };
43
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
44
  export default BgzipFastaAdapter;
@@ -1,2 +1,13 @@
1
- declare const ChromSizesAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const ChromSizesAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ chromSizesLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
13
  export default ChromSizesAdapter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AnyConfigurationModel } from '@jbrowse/core/configuration';
3
2
  import { Feature, Region } from '@jbrowse/core/util';
4
3
  declare function Sequence(props: {
@@ -1,2 +1,11 @@
1
- declare const DivSequenceRenderer: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const DivSequenceRenderer: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ height: {
6
+ type: string;
7
+ description: string;
8
+ defaultValue: number;
9
+ };
10
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
11
  export default DivSequenceRenderer;
@@ -1,2 +1,34 @@
1
- declare const IndexedFastaAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const IndexedFastaAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ fastaLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ /**
13
+ * #slot
14
+ */
15
+ faiLocation: {
16
+ type: string;
17
+ defaultValue: {
18
+ uri: string;
19
+ locationType: string;
20
+ };
21
+ };
22
+ /**
23
+ * #slot
24
+ */
25
+ metadataLocation: {
26
+ description: string;
27
+ type: string;
28
+ defaultValue: {
29
+ uri: string;
30
+ locationType: string;
31
+ };
32
+ };
33
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
34
  export default IndexedFastaAdapter;
@@ -1 +1,12 @@
1
- export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ export declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ renderer: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ height: {
7
+ type: string;
8
+ description: string;
9
+ defaultValue: number;
10
+ };
11
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
12
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
@@ -9,6 +9,9 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
9
9
  type: import("mobx-state-tree").ISimpleType<string>;
10
10
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
11
11
  } & {
12
+ /**
13
+ * #getter
14
+ */
12
15
  heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
13
16
  blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
14
17
  key: import("mobx-state-tree").ISimpleType<string>;
@@ -44,9 +47,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
44
47
  renderProps: any;
45
48
  } & {
46
49
  doReload(): void;
47
- afterAttach(): void; /**
48
- * #action
49
- */
50
+ afterAttach(): void;
50
51
  setStatus(message: string): void;
51
52
  setLoading(abortController: AbortController): void;
52
53
  setMessage(messageText: string): void;
@@ -63,9 +64,35 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
63
64
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
64
65
  userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
65
66
  userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
67
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
68
+ maxFeatureScreenDensity: {
69
+ type: string;
70
+ description: string;
71
+ defaultValue: number;
72
+ };
73
+ fetchSizeLimit: {
74
+ type: string;
75
+ defaultValue: number;
76
+ description: string;
77
+ };
78
+ height: {
79
+ /**
80
+ * #property
81
+ */
82
+ type: string;
83
+ defaultValue: number;
84
+ description: string;
85
+ };
86
+ mouseover: {
87
+ type: string;
88
+ description: string;
89
+ defaultValue: string;
90
+ contextVariable: string[];
91
+ };
92
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
66
93
  } & {
67
94
  type: import("mobx-state-tree").ISimpleType<"LinearReferenceSequenceDisplay">;
68
- configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
95
+ configuration: AnyConfigurationSchemaType;
69
96
  showForward: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
70
97
  showReverse: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
71
98
  showTranslation: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
@@ -127,8 +154,8 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
127
154
  message: string;
128
155
  featureIdUnderMouse: string | undefined;
129
156
  contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
130
- estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
131
- estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
157
+ featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
158
+ featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
132
159
  } & {
133
160
  readonly height: number;
134
161
  readonly blockType: "dynamicBlocks" | "staticBlocks";
@@ -147,26 +174,26 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
147
174
  readonly currentBytesRequested: number;
148
175
  readonly currentFeatureScreenDensity: number;
149
176
  readonly maxFeatureScreenDensity: any;
150
- readonly estimatedStatsReady: boolean;
177
+ readonly featureDensityStatsReady: boolean;
151
178
  readonly maxAllowableBytes: number;
152
179
  } & {
153
180
  setMessage(message: string): void;
154
181
  } & {
155
182
  afterAttach(): void;
156
- estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
157
- setRegionsStatsP(arg: any): void;
158
- setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
159
- clearRegionsStats(): void;
183
+ getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
184
+ setFeatureDensityStatsP(arg: any): void;
185
+ setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
186
+ clearFeatureDensityStats(): void;
160
187
  setHeight(displayHeight: number): number;
161
188
  resizeHeight(distance: number): number;
162
189
  setScrollTop(scrollTop: number): void;
163
- updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
190
+ setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
164
191
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
165
192
  setCurrBpPerPx(n: number): void;
166
193
  deleteBlock(key: string): void;
167
194
  selectFeature(feature: import("@jbrowse/core/util").Feature): void;
168
195
  clearFeatureSelection(): void;
169
- setFeatureIdUnderMouse(feature: string | undefined): void;
196
+ setFeatureIdUnderMouse(feature?: string | undefined): void;
170
197
  reload(): void;
171
198
  setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
172
199
  } & {
@@ -232,6 +259,9 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
232
259
  type: import("mobx-state-tree").ISimpleType<string>;
233
260
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
234
261
  } & {
262
+ /**
263
+ * #getter
264
+ */
235
265
  heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
236
266
  blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
237
267
  key: import("mobx-state-tree").ISimpleType<string>;
@@ -267,9 +297,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
267
297
  renderProps: any;
268
298
  } & {
269
299
  doReload(): void;
270
- afterAttach(): void; /**
271
- * #action
272
- */
300
+ afterAttach(): void;
273
301
  setStatus(message: string): void;
274
302
  setLoading(abortController: AbortController): void;
275
303
  setMessage(messageText: string): void;
@@ -286,9 +314,36 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
286
314
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
287
315
  userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
288
316
  userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
317
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
318
+ maxFeatureScreenDensity: {
319
+ type: string;
320
+ description: string;
321
+ defaultValue: number;
322
+ };
323
+ fetchSizeLimit: {
324
+ type: string;
325
+ defaultValue: number;
326
+ description: string;
327
+ };
328
+ height: {
329
+ /**
330
+ * #property
331
+ */
332
+ type: string;
333
+ defaultValue: number;
334
+ description: string;
335
+ };
336
+ mouseover: {
337
+ type: string;
338
+ description: string;
339
+ defaultValue: string;
340
+ contextVariable: string[];
341
+ };
342
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
289
343
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
290
344
  type: string;
291
345
  id: string;
346
+ configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
292
347
  rpcDriverName: string | undefined;
293
348
  heightPreConfig: number | undefined;
294
349
  userBpPerPxLimit: number | undefined;
@@ -1,2 +1,47 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- export declare function createReferenceSeqTrackConfig(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
+ export declare function createReferenceSeqTrackConfig(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
+ /**
4
+ * #slot
5
+ * configuration for track adapter
6
+ */
7
+ adapter: import("mobx-state-tree").IAnyModelType;
8
+ /**
9
+ * #slot
10
+ * configuration for the displays e.g. LinearReferenceSequenceDisplay
11
+ */
12
+ displays: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
13
+ /**
14
+ * #slot
15
+ */
16
+ name: {
17
+ type: string;
18
+ description: string;
19
+ defaultValue: string;
20
+ };
21
+ /**
22
+ * #slot
23
+ */
24
+ metadata: {
25
+ type: string;
26
+ description: string;
27
+ defaultValue: {};
28
+ };
29
+ formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
30
+ /**
31
+ * #slot formatAbout.config
32
+ */
33
+ config: {
34
+ type: string;
35
+ description: string;
36
+ defaultValue: {};
37
+ contextVariable: string[];
38
+ };
39
+ /**
40
+ * #slot formatAbout.hideUris
41
+ */
42
+ hideUris: {
43
+ type: string;
44
+ defaultValue: boolean;
45
+ };
46
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
47
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>;
@@ -1,2 +1,39 @@
1
- declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ search: {
6
+ type: string;
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ /**
11
+ * #slot
12
+ */
13
+ sequenceAdapter: {
14
+ type: string;
15
+ defaultValue: null;
16
+ };
17
+ /**
18
+ * #slot
19
+ */
20
+ searchForward: {
21
+ type: string;
22
+ defaultValue: boolean;
23
+ };
24
+ /**
25
+ * #slot
26
+ */
27
+ searchReverse: {
28
+ type: string;
29
+ defaultValue: boolean;
30
+ };
31
+ /**
32
+ * #slot
33
+ */
34
+ caseInsensitive: {
35
+ type: string;
36
+ defaultValue: boolean;
37
+ };
38
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
39
  export default configSchema;
@@ -1,7 +1,7 @@
1
1
  import { BaseSequenceAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
2
2
  import { NoAssemblyRegion } from '@jbrowse/core/util/types';
3
3
  import { Feature } from '@jbrowse/core/util/simpleFeature';
4
- import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema';
4
+ import { AnyConfigurationModel } from '@jbrowse/core/configuration';
5
5
  import PluginManager from '@jbrowse/core/PluginManager';
6
6
  import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
7
7
  export default class TwoBitAdapter extends BaseSequenceAdapter {
@@ -1,2 +1,24 @@
1
- declare const TwoBitAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const TwoBitAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ twoBitLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ /**
13
+ * #slot
14
+ */
15
+ chromSizesLocation: {
16
+ type: string;
17
+ defaultValue: {
18
+ uri: string;
19
+ locationType: string;
20
+ };
21
+ description: string;
22
+ };
23
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
24
  export default TwoBitAdapter;
@@ -1,2 +1,44 @@
1
- declare const BgzipFastaAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const BgzipFastaAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ fastaLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ /**
13
+ * #slot
14
+ */
15
+ faiLocation: {
16
+ type: string;
17
+ defaultValue: {
18
+ uri: string;
19
+ locationType: string;
20
+ };
21
+ };
22
+ /**
23
+ * #slot
24
+ */
25
+ metadataLocation: {
26
+ description: string;
27
+ type: string;
28
+ defaultValue: {
29
+ uri: string;
30
+ locationType: string;
31
+ };
32
+ };
33
+ /**
34
+ * #slot
35
+ */
36
+ gziLocation: {
37
+ type: string;
38
+ defaultValue: {
39
+ uri: string;
40
+ locationType: string;
41
+ };
42
+ };
43
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
44
  export default BgzipFastaAdapter;
@@ -1,2 +1,13 @@
1
- declare const ChromSizesAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const ChromSizesAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ chromSizesLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
13
  export default ChromSizesAdapter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AnyConfigurationModel } from '@jbrowse/core/configuration';
3
2
  import { Feature, Region } from '@jbrowse/core/util';
4
3
  declare function Sequence(props: {
@@ -1,2 +1,11 @@
1
- declare const DivSequenceRenderer: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const DivSequenceRenderer: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ height: {
6
+ type: string;
7
+ description: string;
8
+ defaultValue: number;
9
+ };
10
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
11
  export default DivSequenceRenderer;
@@ -1,2 +1,34 @@
1
- declare const IndexedFastaAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const IndexedFastaAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ fastaLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ /**
13
+ * #slot
14
+ */
15
+ faiLocation: {
16
+ type: string;
17
+ defaultValue: {
18
+ uri: string;
19
+ locationType: string;
20
+ };
21
+ };
22
+ /**
23
+ * #slot
24
+ */
25
+ metadataLocation: {
26
+ description: string;
27
+ type: string;
28
+ defaultValue: {
29
+ uri: string;
30
+ locationType: string;
31
+ };
32
+ };
33
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
34
  export default IndexedFastaAdapter;
@@ -1 +1,12 @@
1
- export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ export declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ renderer: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ height: {
7
+ type: string;
8
+ description: string;
9
+ defaultValue: number;
10
+ };
11
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
12
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
@@ -9,6 +9,9 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
9
9
  type: import("mobx-state-tree").ISimpleType<string>;
10
10
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
11
11
  } & {
12
+ /**
13
+ * #getter
14
+ */
12
15
  heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
13
16
  blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
14
17
  key: import("mobx-state-tree").ISimpleType<string>;
@@ -44,9 +47,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
44
47
  renderProps: any;
45
48
  } & {
46
49
  doReload(): void;
47
- afterAttach(): void; /**
48
- * #action
49
- */
50
+ afterAttach(): void;
50
51
  setStatus(message: string): void;
51
52
  setLoading(abortController: AbortController): void;
52
53
  setMessage(messageText: string): void;
@@ -63,9 +64,35 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
63
64
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
64
65
  userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
65
66
  userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
67
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
68
+ maxFeatureScreenDensity: {
69
+ type: string;
70
+ description: string;
71
+ defaultValue: number;
72
+ };
73
+ fetchSizeLimit: {
74
+ type: string;
75
+ defaultValue: number;
76
+ description: string;
77
+ };
78
+ height: {
79
+ /**
80
+ * #property
81
+ */
82
+ type: string;
83
+ defaultValue: number;
84
+ description: string;
85
+ };
86
+ mouseover: {
87
+ type: string;
88
+ description: string;
89
+ defaultValue: string;
90
+ contextVariable: string[];
91
+ };
92
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
66
93
  } & {
67
94
  type: import("mobx-state-tree").ISimpleType<"LinearReferenceSequenceDisplay">;
68
- configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
95
+ configuration: AnyConfigurationSchemaType;
69
96
  showForward: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
70
97
  showReverse: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
71
98
  showTranslation: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
@@ -127,8 +154,8 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
127
154
  message: string;
128
155
  featureIdUnderMouse: string | undefined;
129
156
  contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
130
- estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
131
- estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
157
+ featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
158
+ featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
132
159
  } & {
133
160
  readonly height: number;
134
161
  readonly blockType: "dynamicBlocks" | "staticBlocks";
@@ -147,26 +174,26 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
147
174
  readonly currentBytesRequested: number;
148
175
  readonly currentFeatureScreenDensity: number;
149
176
  readonly maxFeatureScreenDensity: any;
150
- readonly estimatedStatsReady: boolean;
177
+ readonly featureDensityStatsReady: boolean;
151
178
  readonly maxAllowableBytes: number;
152
179
  } & {
153
180
  setMessage(message: string): void;
154
181
  } & {
155
182
  afterAttach(): void;
156
- estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
157
- setRegionsStatsP(arg: any): void;
158
- setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
159
- clearRegionsStats(): void;
183
+ getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
184
+ setFeatureDensityStatsP(arg: any): void;
185
+ setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
186
+ clearFeatureDensityStats(): void;
160
187
  setHeight(displayHeight: number): number;
161
188
  resizeHeight(distance: number): number;
162
189
  setScrollTop(scrollTop: number): void;
163
- updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
190
+ setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
164
191
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
165
192
  setCurrBpPerPx(n: number): void;
166
193
  deleteBlock(key: string): void;
167
194
  selectFeature(feature: import("@jbrowse/core/util").Feature): void;
168
195
  clearFeatureSelection(): void;
169
- setFeatureIdUnderMouse(feature: string | undefined): void;
196
+ setFeatureIdUnderMouse(feature?: string | undefined): void;
170
197
  reload(): void;
171
198
  setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
172
199
  } & {
@@ -232,6 +259,9 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
232
259
  type: import("mobx-state-tree").ISimpleType<string>;
233
260
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
234
261
  } & {
262
+ /**
263
+ * #getter
264
+ */
235
265
  heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
236
266
  blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
237
267
  key: import("mobx-state-tree").ISimpleType<string>;
@@ -267,9 +297,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
267
297
  renderProps: any;
268
298
  } & {
269
299
  doReload(): void;
270
- afterAttach(): void; /**
271
- * #action
272
- */
300
+ afterAttach(): void;
273
301
  setStatus(message: string): void;
274
302
  setLoading(abortController: AbortController): void;
275
303
  setMessage(messageText: string): void;
@@ -286,9 +314,36 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
286
314
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
287
315
  userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
288
316
  userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
317
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
318
+ maxFeatureScreenDensity: {
319
+ type: string;
320
+ description: string;
321
+ defaultValue: number;
322
+ };
323
+ fetchSizeLimit: {
324
+ type: string;
325
+ defaultValue: number;
326
+ description: string;
327
+ };
328
+ height: {
329
+ /**
330
+ * #property
331
+ */
332
+ type: string;
333
+ defaultValue: number;
334
+ description: string;
335
+ };
336
+ mouseover: {
337
+ type: string;
338
+ description: string;
339
+ defaultValue: string;
340
+ contextVariable: string[];
341
+ };
342
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
289
343
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
290
344
  type: string;
291
345
  id: string;
346
+ configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
292
347
  rpcDriverName: string | undefined;
293
348
  heightPreConfig: number | undefined;
294
349
  userBpPerPxLimit: number | undefined;
@@ -1,2 +1,47 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- export declare function createReferenceSeqTrackConfig(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
+ export declare function createReferenceSeqTrackConfig(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
+ /**
4
+ * #slot
5
+ * configuration for track adapter
6
+ */
7
+ adapter: import("mobx-state-tree").IAnyModelType;
8
+ /**
9
+ * #slot
10
+ * configuration for the displays e.g. LinearReferenceSequenceDisplay
11
+ */
12
+ displays: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
13
+ /**
14
+ * #slot
15
+ */
16
+ name: {
17
+ type: string;
18
+ description: string;
19
+ defaultValue: string;
20
+ };
21
+ /**
22
+ * #slot
23
+ */
24
+ metadata: {
25
+ type: string;
26
+ description: string;
27
+ defaultValue: {};
28
+ };
29
+ formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
30
+ /**
31
+ * #slot formatAbout.config
32
+ */
33
+ config: {
34
+ type: string;
35
+ description: string;
36
+ defaultValue: {};
37
+ contextVariable: string[];
38
+ };
39
+ /**
40
+ * #slot formatAbout.hideUris
41
+ */
42
+ hideUris: {
43
+ type: string;
44
+ defaultValue: boolean;
45
+ };
46
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
47
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>;
@@ -1,2 +1,39 @@
1
- declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ search: {
6
+ type: string;
7
+ defaultValue: string;
8
+ description: string;
9
+ };
10
+ /**
11
+ * #slot
12
+ */
13
+ sequenceAdapter: {
14
+ type: string;
15
+ defaultValue: null;
16
+ };
17
+ /**
18
+ * #slot
19
+ */
20
+ searchForward: {
21
+ type: string;
22
+ defaultValue: boolean;
23
+ };
24
+ /**
25
+ * #slot
26
+ */
27
+ searchReverse: {
28
+ type: string;
29
+ defaultValue: boolean;
30
+ };
31
+ /**
32
+ * #slot
33
+ */
34
+ caseInsensitive: {
35
+ type: string;
36
+ defaultValue: boolean;
37
+ };
38
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
39
  export default configSchema;
@@ -1,7 +1,7 @@
1
1
  import { BaseSequenceAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
2
2
  import { NoAssemblyRegion } from '@jbrowse/core/util/types';
3
3
  import { Feature } from '@jbrowse/core/util/simpleFeature';
4
- import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema';
4
+ import { AnyConfigurationModel } from '@jbrowse/core/configuration';
5
5
  import PluginManager from '@jbrowse/core/PluginManager';
6
6
  import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
7
7
  export default class TwoBitAdapter extends BaseSequenceAdapter {
@@ -1,2 +1,24 @@
1
- declare const TwoBitAdapter: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
1
+ declare const TwoBitAdapter: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
2
+ /**
3
+ * #slot
4
+ */
5
+ twoBitLocation: {
6
+ type: string;
7
+ defaultValue: {
8
+ uri: string;
9
+ locationType: string;
10
+ };
11
+ };
12
+ /**
13
+ * #slot
14
+ */
15
+ chromSizesLocation: {
16
+ type: string;
17
+ defaultValue: {
18
+ uri: string;
19
+ locationType: string;
20
+ };
21
+ description: string;
22
+ };
23
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
2
24
  export default TwoBitAdapter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-sequence",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "JBrowse 2 sequence adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -58,5 +58,5 @@
58
58
  "distModule": "esm/index.js",
59
59
  "srcModule": "src/index.ts",
60
60
  "module": "esm/index.js",
61
- "gitHead": "36e382a70e7d220343b873e7e6aba5c83e5342c8"
61
+ "gitHead": "d1ca073996d008f0fe9a52f7c1a47ae649dcfdaf"
62
62
  }
@@ -5,7 +5,7 @@ import { ObservableCreate } from '@jbrowse/core/util/rxjs'
5
5
  import SimpleFeature, { Feature } from '@jbrowse/core/util/simpleFeature'
6
6
  import { TwoBitFile } from '@gmod/twobit'
7
7
  import { readConfObject } from '@jbrowse/core/configuration'
8
- import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema'
8
+ import { AnyConfigurationModel } from '@jbrowse/core/configuration'
9
9
  import PluginManager from '@jbrowse/core/PluginManager'
10
10
  import { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache'
11
11