@jbrowse/react-app2 3.7.0 → 4.0.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.
- package/esm/JBrowseApp/JBrowseApp.d.ts +2 -2
- package/esm/JBrowseApp/JBrowseApp.js +3 -3
- package/esm/JBrowseApp/index.d.ts +1 -1
- package/esm/JBrowseApp/index.js +1 -1
- package/esm/components/PreferencesDialog.d.ts +2 -0
- package/esm/components/PreferencesDialog.js +7 -5
- package/esm/corePlugins.d.ts +2 -2
- package/esm/corePlugins.js +2 -2
- package/esm/createModel.d.ts +56 -41
- package/esm/createModel.js +3 -3
- package/esm/createViewState.d.ts +160 -112
- package/esm/createViewState.js +2 -2
- package/esm/index.d.ts +4 -4
- package/esm/index.js +4 -4
- package/esm/jbrowseModel.d.ts +53 -35
- package/esm/jbrowseModel.js +2 -2
- package/esm/rootModel/rootModel.d.ts +53 -38
- package/esm/rootModel/rootModel.js +23 -12
- package/esm/rpcWorker.d.ts +1 -1
- package/esm/rpcWorker.js +2 -2
- package/esm/sessionModel/index.d.ts +1645 -1866
- package/esm/types.d.ts +1 -1
- package/esm/util.d.ts +2 -2
- package/esm/util.js +5 -5
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/esm/webpack.d.ts +4 -4
- package/esm/webpack.js +4 -4
- package/package.json +65 -74
- package/dist/JBrowseApp/AppReExport.d.ts +0 -1
- package/dist/JBrowseApp/AppReExport.js +0 -5
- package/dist/JBrowseApp/JBrowseApp.d.ts +0 -5
- package/dist/JBrowseApp/JBrowseApp.js +0 -55
- package/dist/JBrowseApp/index.d.ts +0 -1
- package/dist/JBrowseApp/index.js +0 -8
- package/dist/components/AboutDialog.d.ts +0 -1
- package/dist/components/AboutDialog.js +0 -5
- package/dist/components/PreferencesDialog.d.ts +0 -14
- package/dist/components/PreferencesDialog.js +0 -21
- package/dist/corePlugins.d.ts +0 -3
- package/dist/corePlugins.js +0 -64
- package/dist/createModel.d.ts +0 -565
- package/dist/createModel.js +0 -26
- package/dist/createViewState.d.ts +0 -1684
- package/dist/createViewState.js +0 -26
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -14
- package/dist/jbrowseModel.d.ts +0 -139
- package/dist/jbrowseModel.js +0 -7
- package/dist/loadPlugins.d.ts +0 -12
- package/dist/loadPlugins.js +0 -12
- package/dist/react-app.umd.production.min.js +0 -229
- package/dist/react-app.umd.production.min.js.LICENSE.txt +0 -195
- package/dist/react-app.umd.production.min.js.map +0 -1
- package/dist/rootModel/rootModel.d.ts +0 -577
- package/dist/rootModel/rootModel.js +0 -166
- package/dist/rootModel/rootModel.test.d.ts +0 -1
- package/dist/rootModel/rootModel.test.js +0 -140
- package/dist/rpcWorker.d.ts +0 -2
- package/dist/rpcWorker.js +0 -57
- package/dist/sessionModel/index.d.ts +0 -10028
- package/dist/sessionModel/index.js +0 -10
- package/dist/types.d.ts +0 -27
- package/dist/types.js +0 -2
- package/dist/util.d.ts +0 -5
- package/dist/util.js +0 -119
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/dist/webpack.d.ts +0 -7
- package/dist/webpack.js +0 -53
- package/dist/workerPolyfill.d.ts +0 -0
- package/dist/workerPolyfill.js +0 -34
- package/esm/workerPolyfill.d.ts +0 -0
- package/esm/workerPolyfill.js +0 -34
package/esm/createViewState.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Config } from './types';
|
|
1
|
+
import type { Config } from './types.ts';
|
|
2
2
|
import type { PluginConstructor } from '@jbrowse/core/Plugin';
|
|
3
|
-
import type { IJsonPatch } from 'mobx-state-tree';
|
|
3
|
+
import type { IJsonPatch } from '@jbrowse/mobx-state-tree';
|
|
4
4
|
export default function createViewState(opts: {
|
|
5
5
|
config: Config;
|
|
6
6
|
plugins?: PluginConstructor[];
|
|
@@ -11,8 +11,8 @@ export default function createViewState(opts: {
|
|
|
11
11
|
session: any;
|
|
12
12
|
sessionPath: string;
|
|
13
13
|
assemblyManager: {
|
|
14
|
-
assemblies: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
15
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
14
|
+
assemblies: import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
15
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
16
16
|
}, {
|
|
17
17
|
error: unknown;
|
|
18
18
|
loadingP: Promise<void> | undefined;
|
|
@@ -20,6 +20,7 @@ export default function createViewState(opts: {
|
|
|
20
20
|
refNameAliases: {
|
|
21
21
|
[x: string]: string;
|
|
22
22
|
} | undefined;
|
|
23
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
23
24
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
24
25
|
} & {
|
|
25
26
|
getConf(arg: string): any;
|
|
@@ -43,9 +44,10 @@ export default function createViewState(opts: {
|
|
|
43
44
|
readonly refNames: string[] | undefined;
|
|
44
45
|
} & {
|
|
45
46
|
getCanonicalRefName(refName: string): string | undefined;
|
|
46
|
-
getCanonicalRefName2(
|
|
47
|
+
getCanonicalRefName2(refName: string): string;
|
|
47
48
|
getRefNameColor(refName: string): string | undefined;
|
|
48
49
|
isValidRefName(refName: string): boolean;
|
|
50
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
49
51
|
} & {
|
|
50
52
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
51
53
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -60,6 +62,7 @@ export default function createViewState(opts: {
|
|
|
60
62
|
[x: string]: string;
|
|
61
63
|
}): void;
|
|
62
64
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
65
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
63
66
|
setLoadingP(p?: Promise<void>): void;
|
|
64
67
|
load(): Promise<void>;
|
|
65
68
|
loadPre(): Promise<void>;
|
|
@@ -78,8 +81,8 @@ export default function createViewState(opts: {
|
|
|
78
81
|
[x: string]: string;
|
|
79
82
|
}>;
|
|
80
83
|
afterCreate(): void;
|
|
81
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
82
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
84
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
85
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
83
86
|
}, {
|
|
84
87
|
error: unknown;
|
|
85
88
|
loadingP: Promise<void> | undefined;
|
|
@@ -87,6 +90,7 @@ export default function createViewState(opts: {
|
|
|
87
90
|
refNameAliases: {
|
|
88
91
|
[x: string]: string;
|
|
89
92
|
} | undefined;
|
|
93
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
90
94
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
91
95
|
} & {
|
|
92
96
|
getConf(arg: string): any;
|
|
@@ -110,9 +114,10 @@ export default function createViewState(opts: {
|
|
|
110
114
|
readonly refNames: string[] | undefined;
|
|
111
115
|
} & {
|
|
112
116
|
getCanonicalRefName(refName: string): string | undefined;
|
|
113
|
-
getCanonicalRefName2(
|
|
117
|
+
getCanonicalRefName2(refName: string): string;
|
|
114
118
|
getRefNameColor(refName: string): string | undefined;
|
|
115
119
|
isValidRefName(refName: string): boolean;
|
|
120
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
116
121
|
} & {
|
|
117
122
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
118
123
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -127,6 +132,7 @@ export default function createViewState(opts: {
|
|
|
127
132
|
[x: string]: string;
|
|
128
133
|
}): void;
|
|
129
134
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
135
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
130
136
|
setLoadingP(p?: Promise<void>): void;
|
|
131
137
|
load(): Promise<void>;
|
|
132
138
|
loadPre(): Promise<void>;
|
|
@@ -145,17 +151,18 @@ export default function createViewState(opts: {
|
|
|
145
151
|
[x: string]: string;
|
|
146
152
|
}>;
|
|
147
153
|
afterCreate(): void;
|
|
148
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
149
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
154
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
155
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
150
156
|
readonly assemblyNameMap: Record<string, {
|
|
151
157
|
configuration: any;
|
|
152
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
158
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
153
159
|
error: unknown;
|
|
154
160
|
loadingP: Promise<void> | undefined;
|
|
155
161
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
156
162
|
refNameAliases: {
|
|
157
163
|
[x: string]: string;
|
|
158
164
|
} | undefined;
|
|
165
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
159
166
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
160
167
|
} & {
|
|
161
168
|
getConf(arg: string): any;
|
|
@@ -179,9 +186,10 @@ export default function createViewState(opts: {
|
|
|
179
186
|
readonly refNames: string[] | undefined;
|
|
180
187
|
} & {
|
|
181
188
|
getCanonicalRefName(refName: string): string | undefined;
|
|
182
|
-
getCanonicalRefName2(
|
|
189
|
+
getCanonicalRefName2(refName: string): string;
|
|
183
190
|
getRefNameColor(refName: string): string | undefined;
|
|
184
191
|
isValidRefName(refName: string): boolean;
|
|
192
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
185
193
|
} & {
|
|
186
194
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
187
195
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -196,6 +204,7 @@ export default function createViewState(opts: {
|
|
|
196
204
|
[x: string]: string;
|
|
197
205
|
}): void;
|
|
198
206
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
207
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
199
208
|
setLoadingP(p?: Promise<void>): void;
|
|
200
209
|
load(): Promise<void>;
|
|
201
210
|
loadPre(): Promise<void>;
|
|
@@ -214,8 +223,8 @@ export default function createViewState(opts: {
|
|
|
214
223
|
[x: string]: string;
|
|
215
224
|
}>;
|
|
216
225
|
afterCreate(): void;
|
|
217
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
218
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
226
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
227
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
219
228
|
}, {
|
|
220
229
|
error: unknown;
|
|
221
230
|
loadingP: Promise<void> | undefined;
|
|
@@ -223,6 +232,7 @@ export default function createViewState(opts: {
|
|
|
223
232
|
refNameAliases: {
|
|
224
233
|
[x: string]: string;
|
|
225
234
|
} | undefined;
|
|
235
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
226
236
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
227
237
|
} & {
|
|
228
238
|
getConf(arg: string): any;
|
|
@@ -246,9 +256,10 @@ export default function createViewState(opts: {
|
|
|
246
256
|
readonly refNames: string[] | undefined;
|
|
247
257
|
} & {
|
|
248
258
|
getCanonicalRefName(refName: string): string | undefined;
|
|
249
|
-
getCanonicalRefName2(
|
|
259
|
+
getCanonicalRefName2(refName: string): string;
|
|
250
260
|
getRefNameColor(refName: string): string | undefined;
|
|
251
261
|
isValidRefName(refName: string): boolean;
|
|
262
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
252
263
|
} & {
|
|
253
264
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
254
265
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -263,6 +274,7 @@ export default function createViewState(opts: {
|
|
|
263
274
|
[x: string]: string;
|
|
264
275
|
}): void;
|
|
265
276
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
277
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
266
278
|
setLoadingP(p?: Promise<void>): void;
|
|
267
279
|
load(): Promise<void>;
|
|
268
280
|
loadPre(): Promise<void>;
|
|
@@ -281,19 +293,20 @@ export default function createViewState(opts: {
|
|
|
281
293
|
[x: string]: string;
|
|
282
294
|
}>;
|
|
283
295
|
afterCreate(): void;
|
|
284
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
296
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
285
297
|
} & {
|
|
286
298
|
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
287
299
|
getCanonicalAssemblyName2(asmName: string): string;
|
|
288
300
|
get(asmName: string): ({
|
|
289
301
|
configuration: any;
|
|
290
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
302
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
291
303
|
error: unknown;
|
|
292
304
|
loadingP: Promise<void> | undefined;
|
|
293
305
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
294
306
|
refNameAliases: {
|
|
295
307
|
[x: string]: string;
|
|
296
308
|
} | undefined;
|
|
309
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
297
310
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
298
311
|
} & {
|
|
299
312
|
getConf(arg: string): any;
|
|
@@ -317,9 +330,10 @@ export default function createViewState(opts: {
|
|
|
317
330
|
readonly refNames: string[] | undefined;
|
|
318
331
|
} & {
|
|
319
332
|
getCanonicalRefName(refName: string): string | undefined;
|
|
320
|
-
getCanonicalRefName2(
|
|
333
|
+
getCanonicalRefName2(refName: string): string;
|
|
321
334
|
getRefNameColor(refName: string): string | undefined;
|
|
322
335
|
isValidRefName(refName: string): boolean;
|
|
336
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
323
337
|
} & {
|
|
324
338
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
325
339
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -334,6 +348,7 @@ export default function createViewState(opts: {
|
|
|
334
348
|
[x: string]: string;
|
|
335
349
|
}): void;
|
|
336
350
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
351
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
337
352
|
setLoadingP(p?: Promise<void>): void;
|
|
338
353
|
load(): Promise<void>;
|
|
339
354
|
loadPre(): Promise<void>;
|
|
@@ -352,8 +367,8 @@ export default function createViewState(opts: {
|
|
|
352
367
|
[x: string]: string;
|
|
353
368
|
}>;
|
|
354
369
|
afterCreate(): void;
|
|
355
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
356
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
370
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
371
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
357
372
|
}, {
|
|
358
373
|
error: unknown;
|
|
359
374
|
loadingP: Promise<void> | undefined;
|
|
@@ -361,6 +376,7 @@ export default function createViewState(opts: {
|
|
|
361
376
|
refNameAliases: {
|
|
362
377
|
[x: string]: string;
|
|
363
378
|
} | undefined;
|
|
379
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
364
380
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
365
381
|
} & {
|
|
366
382
|
getConf(arg: string): any;
|
|
@@ -384,9 +400,10 @@ export default function createViewState(opts: {
|
|
|
384
400
|
readonly refNames: string[] | undefined;
|
|
385
401
|
} & {
|
|
386
402
|
getCanonicalRefName(refName: string): string | undefined;
|
|
387
|
-
getCanonicalRefName2(
|
|
403
|
+
getCanonicalRefName2(refName: string): string;
|
|
388
404
|
getRefNameColor(refName: string): string | undefined;
|
|
389
405
|
isValidRefName(refName: string): boolean;
|
|
406
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
390
407
|
} & {
|
|
391
408
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
392
409
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -401,6 +418,7 @@ export default function createViewState(opts: {
|
|
|
401
418
|
[x: string]: string;
|
|
402
419
|
}): void;
|
|
403
420
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
421
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
404
422
|
setLoadingP(p?: Promise<void>): void;
|
|
405
423
|
load(): Promise<void>;
|
|
406
424
|
loadPre(): Promise<void>;
|
|
@@ -419,20 +437,21 @@ export default function createViewState(opts: {
|
|
|
419
437
|
[x: string]: string;
|
|
420
438
|
}>;
|
|
421
439
|
afterCreate(): void;
|
|
422
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
440
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
423
441
|
readonly assemblyNamesList: any[];
|
|
424
442
|
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
425
443
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
426
444
|
} & {
|
|
427
445
|
waitForAssembly(assemblyName: string): Promise<({
|
|
428
446
|
configuration: any;
|
|
429
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
447
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
430
448
|
error: unknown;
|
|
431
449
|
loadingP: Promise<void> | undefined;
|
|
432
450
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
433
451
|
refNameAliases: {
|
|
434
452
|
[x: string]: string;
|
|
435
453
|
} | undefined;
|
|
454
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
436
455
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
437
456
|
} & {
|
|
438
457
|
getConf(arg: string): any;
|
|
@@ -456,9 +475,10 @@ export default function createViewState(opts: {
|
|
|
456
475
|
readonly refNames: string[] | undefined;
|
|
457
476
|
} & {
|
|
458
477
|
getCanonicalRefName(refName: string): string | undefined;
|
|
459
|
-
getCanonicalRefName2(
|
|
478
|
+
getCanonicalRefName2(refName: string): string;
|
|
460
479
|
getRefNameColor(refName: string): string | undefined;
|
|
461
480
|
isValidRefName(refName: string): boolean;
|
|
481
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
462
482
|
} & {
|
|
463
483
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
464
484
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -473,6 +493,7 @@ export default function createViewState(opts: {
|
|
|
473
493
|
[x: string]: string;
|
|
474
494
|
}): void;
|
|
475
495
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
496
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
476
497
|
setLoadingP(p?: Promise<void>): void;
|
|
477
498
|
load(): Promise<void>;
|
|
478
499
|
loadPre(): Promise<void>;
|
|
@@ -491,8 +512,8 @@ export default function createViewState(opts: {
|
|
|
491
512
|
[x: string]: string;
|
|
492
513
|
}>;
|
|
493
514
|
afterCreate(): void;
|
|
494
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
495
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
515
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
516
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
496
517
|
}, {
|
|
497
518
|
error: unknown;
|
|
498
519
|
loadingP: Promise<void> | undefined;
|
|
@@ -500,6 +521,7 @@ export default function createViewState(opts: {
|
|
|
500
521
|
refNameAliases: {
|
|
501
522
|
[x: string]: string;
|
|
502
523
|
} | undefined;
|
|
524
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
503
525
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
504
526
|
} & {
|
|
505
527
|
getConf(arg: string): any;
|
|
@@ -523,9 +545,10 @@ export default function createViewState(opts: {
|
|
|
523
545
|
readonly refNames: string[] | undefined;
|
|
524
546
|
} & {
|
|
525
547
|
getCanonicalRefName(refName: string): string | undefined;
|
|
526
|
-
getCanonicalRefName2(
|
|
548
|
+
getCanonicalRefName2(refName: string): string;
|
|
527
549
|
getRefNameColor(refName: string): string | undefined;
|
|
528
550
|
isValidRefName(refName: string): boolean;
|
|
551
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
529
552
|
} & {
|
|
530
553
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
531
554
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -540,6 +563,7 @@ export default function createViewState(opts: {
|
|
|
540
563
|
[x: string]: string;
|
|
541
564
|
}): void;
|
|
542
565
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
566
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
543
567
|
setLoadingP(p?: Promise<void>): void;
|
|
544
568
|
load(): Promise<void>;
|
|
545
569
|
loadPre(): Promise<void>;
|
|
@@ -558,21 +582,15 @@ export default function createViewState(opts: {
|
|
|
558
582
|
[x: string]: string;
|
|
559
583
|
}>;
|
|
560
584
|
afterCreate(): void;
|
|
561
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
585
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
562
586
|
getRefNameMapForAdapter(adapterConf: {
|
|
563
587
|
[x: string]: unknown;
|
|
564
|
-
}, assemblyName: string | undefined, opts: {
|
|
565
|
-
stopToken?: string;
|
|
566
|
-
sessionId: string;
|
|
567
|
-
}): Promise<{
|
|
588
|
+
}, assemblyName: string | undefined, opts: import("node_modules/@jbrowse/core/src/assemblyManager/assemblyManager.ts").AssemblyBaseOpts): Promise<{
|
|
568
589
|
[x: string]: string;
|
|
569
590
|
} | undefined>;
|
|
570
591
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
571
592
|
[x: string]: unknown;
|
|
572
|
-
}, assemblyName: string | undefined, opts: {
|
|
573
|
-
stopToken?: string;
|
|
574
|
-
sessionId: string;
|
|
575
|
-
}): Promise<{
|
|
593
|
+
}, assemblyName: string | undefined, opts: import("node_modules/@jbrowse/core/src/assemblyManager/assemblyManager.ts").AssemblyBaseOpts): Promise<{
|
|
576
594
|
[x: string]: string;
|
|
577
595
|
} | undefined>;
|
|
578
596
|
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
@@ -580,9 +598,9 @@ export default function createViewState(opts: {
|
|
|
580
598
|
afterAttach(): void;
|
|
581
599
|
removeAssembly(asm: import("@jbrowse/core/assemblyManager/assembly").Assembly): void;
|
|
582
600
|
addAssembly(configuration: any): void;
|
|
583
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
584
|
-
assemblies: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
585
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
601
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
602
|
+
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
603
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
586
604
|
}, {
|
|
587
605
|
error: unknown;
|
|
588
606
|
loadingP: Promise<void> | undefined;
|
|
@@ -590,6 +608,7 @@ export default function createViewState(opts: {
|
|
|
590
608
|
refNameAliases: {
|
|
591
609
|
[x: string]: string;
|
|
592
610
|
} | undefined;
|
|
611
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
593
612
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
594
613
|
} & {
|
|
595
614
|
getConf(arg: string): any;
|
|
@@ -613,9 +632,10 @@ export default function createViewState(opts: {
|
|
|
613
632
|
readonly refNames: string[] | undefined;
|
|
614
633
|
} & {
|
|
615
634
|
getCanonicalRefName(refName: string): string | undefined;
|
|
616
|
-
getCanonicalRefName2(
|
|
635
|
+
getCanonicalRefName2(refName: string): string;
|
|
617
636
|
getRefNameColor(refName: string): string | undefined;
|
|
618
637
|
isValidRefName(refName: string): boolean;
|
|
638
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
619
639
|
} & {
|
|
620
640
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
621
641
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -630,6 +650,7 @@ export default function createViewState(opts: {
|
|
|
630
650
|
[x: string]: string;
|
|
631
651
|
}): void;
|
|
632
652
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
653
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
633
654
|
setLoadingP(p?: Promise<void>): void;
|
|
634
655
|
load(): Promise<void>;
|
|
635
656
|
loadPre(): Promise<void>;
|
|
@@ -648,17 +669,18 @@ export default function createViewState(opts: {
|
|
|
648
669
|
[x: string]: string;
|
|
649
670
|
}>;
|
|
650
671
|
afterCreate(): void;
|
|
651
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
672
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
652
673
|
}, {
|
|
653
674
|
readonly assemblyNameMap: Record<string, {
|
|
654
675
|
configuration: any;
|
|
655
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
676
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
656
677
|
error: unknown;
|
|
657
678
|
loadingP: Promise<void> | undefined;
|
|
658
679
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
659
680
|
refNameAliases: {
|
|
660
681
|
[x: string]: string;
|
|
661
682
|
} | undefined;
|
|
683
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
662
684
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
663
685
|
} & {
|
|
664
686
|
getConf(arg: string): any;
|
|
@@ -682,9 +704,10 @@ export default function createViewState(opts: {
|
|
|
682
704
|
readonly refNames: string[] | undefined;
|
|
683
705
|
} & {
|
|
684
706
|
getCanonicalRefName(refName: string): string | undefined;
|
|
685
|
-
getCanonicalRefName2(
|
|
707
|
+
getCanonicalRefName2(refName: string): string;
|
|
686
708
|
getRefNameColor(refName: string): string | undefined;
|
|
687
709
|
isValidRefName(refName: string): boolean;
|
|
710
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
688
711
|
} & {
|
|
689
712
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
690
713
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -699,6 +722,7 @@ export default function createViewState(opts: {
|
|
|
699
722
|
[x: string]: string;
|
|
700
723
|
}): void;
|
|
701
724
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
725
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
702
726
|
setLoadingP(p?: Promise<void>): void;
|
|
703
727
|
load(): Promise<void>;
|
|
704
728
|
loadPre(): Promise<void>;
|
|
@@ -717,8 +741,8 @@ export default function createViewState(opts: {
|
|
|
717
741
|
[x: string]: string;
|
|
718
742
|
}>;
|
|
719
743
|
afterCreate(): void;
|
|
720
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
721
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
744
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
745
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
722
746
|
}, {
|
|
723
747
|
error: unknown;
|
|
724
748
|
loadingP: Promise<void> | undefined;
|
|
@@ -726,6 +750,7 @@ export default function createViewState(opts: {
|
|
|
726
750
|
refNameAliases: {
|
|
727
751
|
[x: string]: string;
|
|
728
752
|
} | undefined;
|
|
753
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
729
754
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
730
755
|
} & {
|
|
731
756
|
getConf(arg: string): any;
|
|
@@ -749,9 +774,10 @@ export default function createViewState(opts: {
|
|
|
749
774
|
readonly refNames: string[] | undefined;
|
|
750
775
|
} & {
|
|
751
776
|
getCanonicalRefName(refName: string): string | undefined;
|
|
752
|
-
getCanonicalRefName2(
|
|
777
|
+
getCanonicalRefName2(refName: string): string;
|
|
753
778
|
getRefNameColor(refName: string): string | undefined;
|
|
754
779
|
isValidRefName(refName: string): boolean;
|
|
780
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
755
781
|
} & {
|
|
756
782
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
757
783
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -766,6 +792,7 @@ export default function createViewState(opts: {
|
|
|
766
792
|
[x: string]: string;
|
|
767
793
|
}): void;
|
|
768
794
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
795
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
769
796
|
setLoadingP(p?: Promise<void>): void;
|
|
770
797
|
load(): Promise<void>;
|
|
771
798
|
loadPre(): Promise<void>;
|
|
@@ -784,19 +811,20 @@ export default function createViewState(opts: {
|
|
|
784
811
|
[x: string]: string;
|
|
785
812
|
}>;
|
|
786
813
|
afterCreate(): void;
|
|
787
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
814
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
788
815
|
} & {
|
|
789
816
|
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
790
817
|
getCanonicalAssemblyName2(asmName: string): string;
|
|
791
818
|
get(asmName: string): ({
|
|
792
819
|
configuration: any;
|
|
793
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
820
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
794
821
|
error: unknown;
|
|
795
822
|
loadingP: Promise<void> | undefined;
|
|
796
823
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
797
824
|
refNameAliases: {
|
|
798
825
|
[x: string]: string;
|
|
799
826
|
} | undefined;
|
|
827
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
800
828
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
801
829
|
} & {
|
|
802
830
|
getConf(arg: string): any;
|
|
@@ -820,9 +848,10 @@ export default function createViewState(opts: {
|
|
|
820
848
|
readonly refNames: string[] | undefined;
|
|
821
849
|
} & {
|
|
822
850
|
getCanonicalRefName(refName: string): string | undefined;
|
|
823
|
-
getCanonicalRefName2(
|
|
851
|
+
getCanonicalRefName2(refName: string): string;
|
|
824
852
|
getRefNameColor(refName: string): string | undefined;
|
|
825
853
|
isValidRefName(refName: string): boolean;
|
|
854
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
826
855
|
} & {
|
|
827
856
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
828
857
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -837,6 +866,7 @@ export default function createViewState(opts: {
|
|
|
837
866
|
[x: string]: string;
|
|
838
867
|
}): void;
|
|
839
868
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
869
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
840
870
|
setLoadingP(p?: Promise<void>): void;
|
|
841
871
|
load(): Promise<void>;
|
|
842
872
|
loadPre(): Promise<void>;
|
|
@@ -855,8 +885,8 @@ export default function createViewState(opts: {
|
|
|
855
885
|
[x: string]: string;
|
|
856
886
|
}>;
|
|
857
887
|
afterCreate(): void;
|
|
858
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
859
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
888
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
889
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
860
890
|
}, {
|
|
861
891
|
error: unknown;
|
|
862
892
|
loadingP: Promise<void> | undefined;
|
|
@@ -864,6 +894,7 @@ export default function createViewState(opts: {
|
|
|
864
894
|
refNameAliases: {
|
|
865
895
|
[x: string]: string;
|
|
866
896
|
} | undefined;
|
|
897
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
867
898
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
868
899
|
} & {
|
|
869
900
|
getConf(arg: string): any;
|
|
@@ -887,9 +918,10 @@ export default function createViewState(opts: {
|
|
|
887
918
|
readonly refNames: string[] | undefined;
|
|
888
919
|
} & {
|
|
889
920
|
getCanonicalRefName(refName: string): string | undefined;
|
|
890
|
-
getCanonicalRefName2(
|
|
921
|
+
getCanonicalRefName2(refName: string): string;
|
|
891
922
|
getRefNameColor(refName: string): string | undefined;
|
|
892
923
|
isValidRefName(refName: string): boolean;
|
|
924
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
893
925
|
} & {
|
|
894
926
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
895
927
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -904,6 +936,7 @@ export default function createViewState(opts: {
|
|
|
904
936
|
[x: string]: string;
|
|
905
937
|
}): void;
|
|
906
938
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
939
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
907
940
|
setLoadingP(p?: Promise<void>): void;
|
|
908
941
|
load(): Promise<void>;
|
|
909
942
|
loadPre(): Promise<void>;
|
|
@@ -922,20 +955,21 @@ export default function createViewState(opts: {
|
|
|
922
955
|
[x: string]: string;
|
|
923
956
|
}>;
|
|
924
957
|
afterCreate(): void;
|
|
925
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
958
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
926
959
|
readonly assemblyNamesList: any[];
|
|
927
960
|
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
928
961
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
929
962
|
} & {
|
|
930
963
|
waitForAssembly(assemblyName: string): Promise<({
|
|
931
964
|
configuration: any;
|
|
932
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
965
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
933
966
|
error: unknown;
|
|
934
967
|
loadingP: Promise<void> | undefined;
|
|
935
968
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
936
969
|
refNameAliases: {
|
|
937
970
|
[x: string]: string;
|
|
938
971
|
} | undefined;
|
|
972
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
939
973
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
940
974
|
} & {
|
|
941
975
|
getConf(arg: string): any;
|
|
@@ -959,9 +993,10 @@ export default function createViewState(opts: {
|
|
|
959
993
|
readonly refNames: string[] | undefined;
|
|
960
994
|
} & {
|
|
961
995
|
getCanonicalRefName(refName: string): string | undefined;
|
|
962
|
-
getCanonicalRefName2(
|
|
996
|
+
getCanonicalRefName2(refName: string): string;
|
|
963
997
|
getRefNameColor(refName: string): string | undefined;
|
|
964
998
|
isValidRefName(refName: string): boolean;
|
|
999
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
965
1000
|
} & {
|
|
966
1001
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
967
1002
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -976,6 +1011,7 @@ export default function createViewState(opts: {
|
|
|
976
1011
|
[x: string]: string;
|
|
977
1012
|
}): void;
|
|
978
1013
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1014
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
979
1015
|
setLoadingP(p?: Promise<void>): void;
|
|
980
1016
|
load(): Promise<void>;
|
|
981
1017
|
loadPre(): Promise<void>;
|
|
@@ -994,8 +1030,8 @@ export default function createViewState(opts: {
|
|
|
994
1030
|
[x: string]: string;
|
|
995
1031
|
}>;
|
|
996
1032
|
afterCreate(): void;
|
|
997
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
998
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1033
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1034
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
999
1035
|
}, {
|
|
1000
1036
|
error: unknown;
|
|
1001
1037
|
loadingP: Promise<void> | undefined;
|
|
@@ -1003,6 +1039,7 @@ export default function createViewState(opts: {
|
|
|
1003
1039
|
refNameAliases: {
|
|
1004
1040
|
[x: string]: string;
|
|
1005
1041
|
} | undefined;
|
|
1042
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1006
1043
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1007
1044
|
} & {
|
|
1008
1045
|
getConf(arg: string): any;
|
|
@@ -1026,9 +1063,10 @@ export default function createViewState(opts: {
|
|
|
1026
1063
|
readonly refNames: string[] | undefined;
|
|
1027
1064
|
} & {
|
|
1028
1065
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1029
|
-
getCanonicalRefName2(
|
|
1066
|
+
getCanonicalRefName2(refName: string): string;
|
|
1030
1067
|
getRefNameColor(refName: string): string | undefined;
|
|
1031
1068
|
isValidRefName(refName: string): boolean;
|
|
1069
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1032
1070
|
} & {
|
|
1033
1071
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1034
1072
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1043,6 +1081,7 @@ export default function createViewState(opts: {
|
|
|
1043
1081
|
[x: string]: string;
|
|
1044
1082
|
}): void;
|
|
1045
1083
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1084
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1046
1085
|
setLoadingP(p?: Promise<void>): void;
|
|
1047
1086
|
load(): Promise<void>;
|
|
1048
1087
|
loadPre(): Promise<void>;
|
|
@@ -1061,21 +1100,15 @@ export default function createViewState(opts: {
|
|
|
1061
1100
|
[x: string]: string;
|
|
1062
1101
|
}>;
|
|
1063
1102
|
afterCreate(): void;
|
|
1064
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
1103
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
1065
1104
|
getRefNameMapForAdapter(adapterConf: {
|
|
1066
1105
|
[x: string]: unknown;
|
|
1067
|
-
}, assemblyName: string | undefined, opts: {
|
|
1068
|
-
stopToken?: string;
|
|
1069
|
-
sessionId: string;
|
|
1070
|
-
}): Promise<{
|
|
1106
|
+
}, assemblyName: string | undefined, opts: import("node_modules/@jbrowse/core/src/assemblyManager/assemblyManager.ts").AssemblyBaseOpts): Promise<{
|
|
1071
1107
|
[x: string]: string;
|
|
1072
1108
|
} | undefined>;
|
|
1073
1109
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1074
1110
|
[x: string]: unknown;
|
|
1075
|
-
}, assemblyName: string | undefined, opts: {
|
|
1076
|
-
stopToken?: string;
|
|
1077
|
-
sessionId: string;
|
|
1078
|
-
}): Promise<{
|
|
1111
|
+
}, assemblyName: string | undefined, opts: import("node_modules/@jbrowse/core/src/assemblyManager/assemblyManager.ts").AssemblyBaseOpts): Promise<{
|
|
1079
1112
|
[x: string]: string;
|
|
1080
1113
|
} | undefined>;
|
|
1081
1114
|
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
@@ -1083,9 +1116,9 @@ export default function createViewState(opts: {
|
|
|
1083
1116
|
afterAttach(): void;
|
|
1084
1117
|
removeAssembly(asm: import("@jbrowse/core/assemblyManager/assembly").Assembly): void;
|
|
1085
1118
|
addAssembly(configuration: any): void;
|
|
1086
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>>;
|
|
1087
|
-
internetAccounts: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>>;
|
|
1088
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1119
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>, [undefined]>>;
|
|
1120
|
+
internetAccounts: import("@jbrowse/mobx-state-tree").IMSTArray<import("@jbrowse/mobx-state-tree").IAnyType> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1121
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1089
1122
|
rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1090
1123
|
adminMode: boolean;
|
|
1091
1124
|
error: unknown;
|
|
@@ -1093,7 +1126,7 @@ export default function createViewState(opts: {
|
|
|
1093
1126
|
pluginManager: import("@jbrowse/core/PluginManager").default;
|
|
1094
1127
|
} & {
|
|
1095
1128
|
setError(error: unknown): void;
|
|
1096
|
-
setSession(sessionSnapshot?: import("mobx-state-tree").SnapshotIn<import("mobx-state-tree").IAnyType>): void;
|
|
1129
|
+
setSession(sessionSnapshot?: import("@jbrowse/mobx-state-tree").SnapshotIn<import("@jbrowse/mobx-state-tree").IAnyType>): void;
|
|
1097
1130
|
setDefaultSession(): void;
|
|
1098
1131
|
setSessionPath(path: string): void;
|
|
1099
1132
|
renameCurrentSession(newName: string): void;
|
|
@@ -1121,20 +1154,20 @@ export default function createViewState(opts: {
|
|
|
1121
1154
|
error: unknown;
|
|
1122
1155
|
} & {
|
|
1123
1156
|
afterCreate(): void;
|
|
1124
|
-
setSession(sessionSnapshot?: import("mobx-state-tree").SnapshotIn<import("@jbrowse/product-core").BaseSessionType>): void;
|
|
1157
|
+
setSession(sessionSnapshot?: import("@jbrowse/mobx-state-tree").SnapshotIn<import("@jbrowse/product-core").BaseSessionType>): void;
|
|
1125
1158
|
setPluginsUpdated(flag: boolean): void;
|
|
1126
1159
|
setDefaultSession(): void;
|
|
1127
1160
|
renameCurrentSession(sessionName: string): void;
|
|
1128
1161
|
setError(error?: unknown): void;
|
|
1129
1162
|
} & {
|
|
1130
1163
|
menus(): import("@jbrowse/app-core").Menu[];
|
|
1131
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1132
|
-
jbrowse: import("mobx-state-tree").IAnyType;
|
|
1133
|
-
session: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IAnyType>;
|
|
1134
|
-
sessionPath: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1135
|
-
assemblyManager: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
1136
|
-
assemblies: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
1137
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1164
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1165
|
+
jbrowse: import("@jbrowse/mobx-state-tree").IAnyType;
|
|
1166
|
+
session: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
1167
|
+
sessionPath: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1168
|
+
assemblyManager: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1169
|
+
assemblies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1170
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1138
1171
|
}, {
|
|
1139
1172
|
error: unknown;
|
|
1140
1173
|
loadingP: Promise<void> | undefined;
|
|
@@ -1142,6 +1175,7 @@ export default function createViewState(opts: {
|
|
|
1142
1175
|
refNameAliases: {
|
|
1143
1176
|
[x: string]: string;
|
|
1144
1177
|
} | undefined;
|
|
1178
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1145
1179
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1146
1180
|
} & {
|
|
1147
1181
|
getConf(arg: string): any;
|
|
@@ -1165,9 +1199,10 @@ export default function createViewState(opts: {
|
|
|
1165
1199
|
readonly refNames: string[] | undefined;
|
|
1166
1200
|
} & {
|
|
1167
1201
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1168
|
-
getCanonicalRefName2(
|
|
1202
|
+
getCanonicalRefName2(refName: string): string;
|
|
1169
1203
|
getRefNameColor(refName: string): string | undefined;
|
|
1170
1204
|
isValidRefName(refName: string): boolean;
|
|
1205
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1171
1206
|
} & {
|
|
1172
1207
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1173
1208
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1182,6 +1217,7 @@ export default function createViewState(opts: {
|
|
|
1182
1217
|
[x: string]: string;
|
|
1183
1218
|
}): void;
|
|
1184
1219
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1220
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1185
1221
|
setLoadingP(p?: Promise<void>): void;
|
|
1186
1222
|
load(): Promise<void>;
|
|
1187
1223
|
loadPre(): Promise<void>;
|
|
@@ -1200,17 +1236,18 @@ export default function createViewState(opts: {
|
|
|
1200
1236
|
[x: string]: string;
|
|
1201
1237
|
}>;
|
|
1202
1238
|
afterCreate(): void;
|
|
1203
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
1239
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1204
1240
|
}, {
|
|
1205
1241
|
readonly assemblyNameMap: Record<string, {
|
|
1206
1242
|
configuration: any;
|
|
1207
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1243
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1208
1244
|
error: unknown;
|
|
1209
1245
|
loadingP: Promise<void> | undefined;
|
|
1210
1246
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1211
1247
|
refNameAliases: {
|
|
1212
1248
|
[x: string]: string;
|
|
1213
1249
|
} | undefined;
|
|
1250
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1214
1251
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1215
1252
|
} & {
|
|
1216
1253
|
getConf(arg: string): any;
|
|
@@ -1234,9 +1271,10 @@ export default function createViewState(opts: {
|
|
|
1234
1271
|
readonly refNames: string[] | undefined;
|
|
1235
1272
|
} & {
|
|
1236
1273
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1237
|
-
getCanonicalRefName2(
|
|
1274
|
+
getCanonicalRefName2(refName: string): string;
|
|
1238
1275
|
getRefNameColor(refName: string): string | undefined;
|
|
1239
1276
|
isValidRefName(refName: string): boolean;
|
|
1277
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1240
1278
|
} & {
|
|
1241
1279
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1242
1280
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1251,6 +1289,7 @@ export default function createViewState(opts: {
|
|
|
1251
1289
|
[x: string]: string;
|
|
1252
1290
|
}): void;
|
|
1253
1291
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1292
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1254
1293
|
setLoadingP(p?: Promise<void>): void;
|
|
1255
1294
|
load(): Promise<void>;
|
|
1256
1295
|
loadPre(): Promise<void>;
|
|
@@ -1269,8 +1308,8 @@ export default function createViewState(opts: {
|
|
|
1269
1308
|
[x: string]: string;
|
|
1270
1309
|
}>;
|
|
1271
1310
|
afterCreate(): void;
|
|
1272
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1273
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1311
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1312
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1274
1313
|
}, {
|
|
1275
1314
|
error: unknown;
|
|
1276
1315
|
loadingP: Promise<void> | undefined;
|
|
@@ -1278,6 +1317,7 @@ export default function createViewState(opts: {
|
|
|
1278
1317
|
refNameAliases: {
|
|
1279
1318
|
[x: string]: string;
|
|
1280
1319
|
} | undefined;
|
|
1320
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1281
1321
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1282
1322
|
} & {
|
|
1283
1323
|
getConf(arg: string): any;
|
|
@@ -1301,9 +1341,10 @@ export default function createViewState(opts: {
|
|
|
1301
1341
|
readonly refNames: string[] | undefined;
|
|
1302
1342
|
} & {
|
|
1303
1343
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1304
|
-
getCanonicalRefName2(
|
|
1344
|
+
getCanonicalRefName2(refName: string): string;
|
|
1305
1345
|
getRefNameColor(refName: string): string | undefined;
|
|
1306
1346
|
isValidRefName(refName: string): boolean;
|
|
1347
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1307
1348
|
} & {
|
|
1308
1349
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1309
1350
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1318,6 +1359,7 @@ export default function createViewState(opts: {
|
|
|
1318
1359
|
[x: string]: string;
|
|
1319
1360
|
}): void;
|
|
1320
1361
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1362
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1321
1363
|
setLoadingP(p?: Promise<void>): void;
|
|
1322
1364
|
load(): Promise<void>;
|
|
1323
1365
|
loadPre(): Promise<void>;
|
|
@@ -1336,19 +1378,20 @@ export default function createViewState(opts: {
|
|
|
1336
1378
|
[x: string]: string;
|
|
1337
1379
|
}>;
|
|
1338
1380
|
afterCreate(): void;
|
|
1339
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
1381
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>>;
|
|
1340
1382
|
} & {
|
|
1341
1383
|
getCanonicalAssemblyName(asmName: string): string | undefined;
|
|
1342
1384
|
getCanonicalAssemblyName2(asmName: string): string;
|
|
1343
1385
|
get(asmName: string): ({
|
|
1344
1386
|
configuration: any;
|
|
1345
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1387
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1346
1388
|
error: unknown;
|
|
1347
1389
|
loadingP: Promise<void> | undefined;
|
|
1348
1390
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1349
1391
|
refNameAliases: {
|
|
1350
1392
|
[x: string]: string;
|
|
1351
1393
|
} | undefined;
|
|
1394
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1352
1395
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1353
1396
|
} & {
|
|
1354
1397
|
getConf(arg: string): any;
|
|
@@ -1372,9 +1415,10 @@ export default function createViewState(opts: {
|
|
|
1372
1415
|
readonly refNames: string[] | undefined;
|
|
1373
1416
|
} & {
|
|
1374
1417
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1375
|
-
getCanonicalRefName2(
|
|
1418
|
+
getCanonicalRefName2(refName: string): string;
|
|
1376
1419
|
getRefNameColor(refName: string): string | undefined;
|
|
1377
1420
|
isValidRefName(refName: string): boolean;
|
|
1421
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1378
1422
|
} & {
|
|
1379
1423
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1380
1424
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1389,6 +1433,7 @@ export default function createViewState(opts: {
|
|
|
1389
1433
|
[x: string]: string;
|
|
1390
1434
|
}): void;
|
|
1391
1435
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1436
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1392
1437
|
setLoadingP(p?: Promise<void>): void;
|
|
1393
1438
|
load(): Promise<void>;
|
|
1394
1439
|
loadPre(): Promise<void>;
|
|
@@ -1407,8 +1452,8 @@ export default function createViewState(opts: {
|
|
|
1407
1452
|
[x: string]: string;
|
|
1408
1453
|
}>;
|
|
1409
1454
|
afterCreate(): void;
|
|
1410
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1411
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1455
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1456
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1412
1457
|
}, {
|
|
1413
1458
|
error: unknown;
|
|
1414
1459
|
loadingP: Promise<void> | undefined;
|
|
@@ -1416,6 +1461,7 @@ export default function createViewState(opts: {
|
|
|
1416
1461
|
refNameAliases: {
|
|
1417
1462
|
[x: string]: string;
|
|
1418
1463
|
} | undefined;
|
|
1464
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1419
1465
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1420
1466
|
} & {
|
|
1421
1467
|
getConf(arg: string): any;
|
|
@@ -1439,9 +1485,10 @@ export default function createViewState(opts: {
|
|
|
1439
1485
|
readonly refNames: string[] | undefined;
|
|
1440
1486
|
} & {
|
|
1441
1487
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1442
|
-
getCanonicalRefName2(
|
|
1488
|
+
getCanonicalRefName2(refName: string): string;
|
|
1443
1489
|
getRefNameColor(refName: string): string | undefined;
|
|
1444
1490
|
isValidRefName(refName: string): boolean;
|
|
1491
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1445
1492
|
} & {
|
|
1446
1493
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1447
1494
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1456,6 +1503,7 @@ export default function createViewState(opts: {
|
|
|
1456
1503
|
[x: string]: string;
|
|
1457
1504
|
}): void;
|
|
1458
1505
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1506
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1459
1507
|
setLoadingP(p?: Promise<void>): void;
|
|
1460
1508
|
load(): Promise<void>;
|
|
1461
1509
|
loadPre(): Promise<void>;
|
|
@@ -1474,20 +1522,21 @@ export default function createViewState(opts: {
|
|
|
1474
1522
|
[x: string]: string;
|
|
1475
1523
|
}>;
|
|
1476
1524
|
afterCreate(): void;
|
|
1477
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
1525
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
|
|
1478
1526
|
readonly assemblyNamesList: any[];
|
|
1479
1527
|
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
1480
1528
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1481
1529
|
} & {
|
|
1482
1530
|
waitForAssembly(assemblyName: string): Promise<({
|
|
1483
1531
|
configuration: any;
|
|
1484
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1532
|
+
} & import("@jbrowse/mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1485
1533
|
error: unknown;
|
|
1486
1534
|
loadingP: Promise<void> | undefined;
|
|
1487
1535
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1488
1536
|
refNameAliases: {
|
|
1489
1537
|
[x: string]: string;
|
|
1490
1538
|
} | undefined;
|
|
1539
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1491
1540
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1492
1541
|
} & {
|
|
1493
1542
|
getConf(arg: string): any;
|
|
@@ -1511,9 +1560,10 @@ export default function createViewState(opts: {
|
|
|
1511
1560
|
readonly refNames: string[] | undefined;
|
|
1512
1561
|
} & {
|
|
1513
1562
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1514
|
-
getCanonicalRefName2(
|
|
1563
|
+
getCanonicalRefName2(refName: string): string;
|
|
1515
1564
|
getRefNameColor(refName: string): string | undefined;
|
|
1516
1565
|
isValidRefName(refName: string): boolean;
|
|
1566
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1517
1567
|
} & {
|
|
1518
1568
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1519
1569
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1528,6 +1578,7 @@ export default function createViewState(opts: {
|
|
|
1528
1578
|
[x: string]: string;
|
|
1529
1579
|
}): void;
|
|
1530
1580
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1581
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1531
1582
|
setLoadingP(p?: Promise<void>): void;
|
|
1532
1583
|
load(): Promise<void>;
|
|
1533
1584
|
loadPre(): Promise<void>;
|
|
@@ -1546,8 +1597,8 @@ export default function createViewState(opts: {
|
|
|
1546
1597
|
[x: string]: string;
|
|
1547
1598
|
}>;
|
|
1548
1599
|
afterCreate(): void;
|
|
1549
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1550
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1600
|
+
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1601
|
+
configuration: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IReferenceType<import("@jbrowse/mobx-state-tree").IAnyType>>;
|
|
1551
1602
|
}, {
|
|
1552
1603
|
error: unknown;
|
|
1553
1604
|
loadingP: Promise<void> | undefined;
|
|
@@ -1555,6 +1606,7 @@ export default function createViewState(opts: {
|
|
|
1555
1606
|
refNameAliases: {
|
|
1556
1607
|
[x: string]: string;
|
|
1557
1608
|
} | undefined;
|
|
1609
|
+
canonicalToSeqAdapterRefNames: Record<string, string> | undefined;
|
|
1558
1610
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
1559
1611
|
} & {
|
|
1560
1612
|
getConf(arg: string): any;
|
|
@@ -1578,9 +1630,10 @@ export default function createViewState(opts: {
|
|
|
1578
1630
|
readonly refNames: string[] | undefined;
|
|
1579
1631
|
} & {
|
|
1580
1632
|
getCanonicalRefName(refName: string): string | undefined;
|
|
1581
|
-
getCanonicalRefName2(
|
|
1633
|
+
getCanonicalRefName2(refName: string): string;
|
|
1582
1634
|
getRefNameColor(refName: string): string | undefined;
|
|
1583
1635
|
isValidRefName(refName: string): boolean;
|
|
1636
|
+
getSeqAdapterRefName(canonicalRefName: string): string;
|
|
1584
1637
|
} & {
|
|
1585
1638
|
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
1586
1639
|
regions: import("@jbrowse/core/util").Region[];
|
|
@@ -1595,6 +1648,7 @@ export default function createViewState(opts: {
|
|
|
1595
1648
|
[x: string]: string;
|
|
1596
1649
|
}): void;
|
|
1597
1650
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1651
|
+
setCanonicalToSeqAdapterRefNames(map: Record<string, string>): void;
|
|
1598
1652
|
setLoadingP(p?: Promise<void>): void;
|
|
1599
1653
|
load(): Promise<void>;
|
|
1600
1654
|
loadPre(): Promise<void>;
|
|
@@ -1613,21 +1667,15 @@ export default function createViewState(opts: {
|
|
|
1613
1667
|
[x: string]: string;
|
|
1614
1668
|
}>;
|
|
1615
1669
|
afterCreate(): void;
|
|
1616
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
1670
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
1617
1671
|
getRefNameMapForAdapter(adapterConf: {
|
|
1618
1672
|
[x: string]: unknown;
|
|
1619
|
-
}, assemblyName: string | undefined, opts: {
|
|
1620
|
-
stopToken?: string;
|
|
1621
|
-
sessionId: string;
|
|
1622
|
-
}): Promise<{
|
|
1673
|
+
}, assemblyName: string | undefined, opts: import("node_modules/@jbrowse/core/src/assemblyManager/assemblyManager.ts").AssemblyBaseOpts): Promise<{
|
|
1623
1674
|
[x: string]: string;
|
|
1624
1675
|
} | undefined>;
|
|
1625
1676
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
1626
1677
|
[x: string]: unknown;
|
|
1627
|
-
}, assemblyName: string | undefined, opts: {
|
|
1628
|
-
stopToken?: string;
|
|
1629
|
-
sessionId: string;
|
|
1630
|
-
}): Promise<{
|
|
1678
|
+
}, assemblyName: string | undefined, opts: import("node_modules/@jbrowse/core/src/assemblyManager/assemblyManager.ts").AssemblyBaseOpts): Promise<{
|
|
1631
1679
|
[x: string]: string;
|
|
1632
1680
|
} | undefined>;
|
|
1633
1681
|
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
@@ -1635,9 +1683,9 @@ export default function createViewState(opts: {
|
|
|
1635
1683
|
afterAttach(): void;
|
|
1636
1684
|
removeAssembly(asm: import("@jbrowse/core/assemblyManager/assembly").Assembly): void;
|
|
1637
1685
|
addAssembly(configuration: any): void;
|
|
1638
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
1686
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
1639
1687
|
} & {
|
|
1640
|
-
internetAccounts: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
1688
|
+
internetAccounts: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IAnyType>;
|
|
1641
1689
|
}, {
|
|
1642
1690
|
rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1643
1691
|
adminMode: boolean;
|
|
@@ -1646,7 +1694,7 @@ export default function createViewState(opts: {
|
|
|
1646
1694
|
pluginManager: import("@jbrowse/core/PluginManager").default;
|
|
1647
1695
|
} & {
|
|
1648
1696
|
setError(error: unknown): void;
|
|
1649
|
-
setSession(sessionSnapshot?: import("mobx-state-tree").SnapshotIn<import("mobx-state-tree").IAnyType>): void;
|
|
1697
|
+
setSession(sessionSnapshot?: import("@jbrowse/mobx-state-tree").SnapshotIn<import("@jbrowse/mobx-state-tree").IAnyType>): void;
|
|
1650
1698
|
setDefaultSession(): void;
|
|
1651
1699
|
setSessionPath(path: string): void;
|
|
1652
1700
|
renameCurrentSession(newName: string): void;
|
|
@@ -1674,11 +1722,11 @@ export default function createViewState(opts: {
|
|
|
1674
1722
|
error: unknown;
|
|
1675
1723
|
} & {
|
|
1676
1724
|
afterCreate(): void;
|
|
1677
|
-
setSession(sessionSnapshot?: import("mobx-state-tree").SnapshotIn<import("@jbrowse/product-core").BaseSessionType>): void;
|
|
1725
|
+
setSession(sessionSnapshot?: import("@jbrowse/mobx-state-tree").SnapshotIn<import("@jbrowse/product-core").BaseSessionType>): void;
|
|
1678
1726
|
setPluginsUpdated(flag: boolean): void;
|
|
1679
1727
|
setDefaultSession(): void;
|
|
1680
1728
|
renameCurrentSession(sessionName: string): void;
|
|
1681
1729
|
setError(error?: unknown): void;
|
|
1682
1730
|
} & {
|
|
1683
1731
|
menus(): import("@jbrowse/app-core").Menu[];
|
|
1684
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
1732
|
+
}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|