@jbrowse/product-core 2.12.0 → 2.12.1
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/dist/RootModel/BaseRootModel.d.ts +14 -144
- package/dist/RootModel/BaseRootModel.js +2 -3
- package/dist/RootModel/FormatAbout.js +1 -2
- package/dist/RootModel/FormatDetails.js +1 -2
- package/dist/RootModel/HierarchicalConfig.js +1 -2
- package/dist/RootModel/InternetAccounts.js +1 -2
- package/dist/Session/BaseSession.d.ts +10 -8
- package/dist/Session/BaseSession.js +3 -4
- package/dist/Session/Connections.d.ts +29 -71
- package/dist/Session/Connections.js +2 -3
- package/dist/Session/DialogQueue.js +2 -3
- package/dist/Session/DrawerWidgets.js +2 -3
- package/dist/Session/MultipleViews.d.ts +84 -461
- package/dist/Session/MultipleViews.js +2 -3
- package/dist/Session/ReferenceManagement.js +2 -3
- package/dist/Session/SessionTracks.d.ts +69 -525
- package/dist/Session/SessionTracks.js +2 -3
- package/dist/Session/Themes.js +2 -3
- package/dist/Session/Tracks.d.ts +62 -535
- package/dist/Session/Tracks.js +2 -3
- package/dist/rpcWorker.js +1 -2
- package/dist/ui/AboutDialog.js +1 -2
- package/dist/ui/FileInfoPanel.js +1 -1
- package/esm/RootModel/BaseRootModel.d.ts +14 -144
- package/esm/Session/BaseSession.d.ts +10 -8
- package/esm/Session/Connections.d.ts +29 -71
- package/esm/Session/MultipleViews.d.ts +84 -461
- package/esm/Session/SessionTracks.d.ts +69 -525
- package/esm/Session/Tracks.d.ts +62 -535
- package/package.json +3 -3
|
@@ -72,14 +72,16 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
72
72
|
} & {
|
|
73
73
|
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
74
74
|
setError(e: unknown): void;
|
|
75
|
-
setRegions(regions: import("@jbrowse/core/util"
|
|
75
|
+
setRegions(regions: import("@jbrowse/core/util" /**
|
|
76
|
+
* #action
|
|
77
|
+
*/).Region[]): void;
|
|
76
78
|
setRefNameAliases(aliases: {
|
|
77
79
|
[x: string]: string | undefined;
|
|
78
80
|
}, lcAliases: {
|
|
79
81
|
[x: string]: string | undefined;
|
|
80
82
|
}): void;
|
|
81
83
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
82
|
-
setLoadingP(p?: Promise<void>
|
|
84
|
+
setLoadingP(p?: Promise<void>): void;
|
|
83
85
|
load(): Promise<void>;
|
|
84
86
|
loadPre(): Promise<void>;
|
|
85
87
|
} & {
|
|
@@ -143,7 +145,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
143
145
|
[x: string]: string | undefined;
|
|
144
146
|
}): void;
|
|
145
147
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
146
|
-
setLoadingP(p?: Promise<void>
|
|
148
|
+
setLoadingP(p?: Promise<void>): void;
|
|
147
149
|
load(): Promise<void>;
|
|
148
150
|
loadPre(): Promise<void>;
|
|
149
151
|
} & {
|
|
@@ -205,7 +207,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
205
207
|
[x: string]: string | undefined;
|
|
206
208
|
}): void;
|
|
207
209
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
208
|
-
setLoadingP(p?: Promise<void>
|
|
210
|
+
setLoadingP(p?: Promise<void>): void;
|
|
209
211
|
load(): Promise<void>;
|
|
210
212
|
loadPre(): Promise<void>;
|
|
211
213
|
} & {
|
|
@@ -269,7 +271,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
269
271
|
[x: string]: string | undefined;
|
|
270
272
|
}): void;
|
|
271
273
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
272
|
-
setLoadingP(p?: Promise<void>
|
|
274
|
+
setLoadingP(p?: Promise<void>): void;
|
|
273
275
|
load(): Promise<void>;
|
|
274
276
|
loadPre(): Promise<void>;
|
|
275
277
|
} & {
|
|
@@ -331,7 +333,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
331
333
|
[x: string]: string | undefined;
|
|
332
334
|
}): void;
|
|
333
335
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
334
|
-
setLoadingP(p?: Promise<void>
|
|
336
|
+
setLoadingP(p?: Promise<void>): void;
|
|
335
337
|
load(): Promise<void>;
|
|
336
338
|
loadPre(): Promise<void>;
|
|
337
339
|
} & {
|
|
@@ -350,11 +352,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
350
352
|
}>;
|
|
351
353
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
352
354
|
readonly assemblyNamesList: any[];
|
|
353
|
-
readonly assemblyList: (
|
|
354
|
-
[x: string]: any;
|
|
355
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
356
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
357
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
|
|
355
|
+
readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
|
|
358
356
|
readonly rpcManager: RpcManager;
|
|
359
357
|
} & {
|
|
360
358
|
waitForAssembly(assemblyName: string): Promise<({
|
|
@@ -402,7 +400,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
402
400
|
[x: string]: string | undefined;
|
|
403
401
|
}): void;
|
|
404
402
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
405
|
-
setLoadingP(p?: Promise<void>
|
|
403
|
+
setLoadingP(p?: Promise<void>): void;
|
|
406
404
|
load(): Promise<void>;
|
|
407
405
|
loadPre(): Promise<void>;
|
|
408
406
|
} & {
|
|
@@ -464,7 +462,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
464
462
|
[x: string]: string | undefined;
|
|
465
463
|
}): void;
|
|
466
464
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
467
|
-
setLoadingP(p?: Promise<void>
|
|
465
|
+
setLoadingP(p?: Promise<void>): void;
|
|
468
466
|
load(): Promise<void>;
|
|
469
467
|
loadPre(): Promise<void>;
|
|
470
468
|
} & {
|
|
@@ -485,7 +483,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
485
483
|
getRefNameMapForAdapter(adapterConf: {
|
|
486
484
|
[x: string]: unknown;
|
|
487
485
|
}, assemblyName: string | undefined, opts: {
|
|
488
|
-
signal?: AbortSignal
|
|
486
|
+
signal?: AbortSignal;
|
|
489
487
|
sessionId: string;
|
|
490
488
|
}): Promise<{
|
|
491
489
|
[x: string]: string | undefined;
|
|
@@ -493,7 +491,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
493
491
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
494
492
|
[x: string]: unknown;
|
|
495
493
|
}, assemblyName: string | undefined, opts: {
|
|
496
|
-
signal?: AbortSignal
|
|
494
|
+
signal?: AbortSignal;
|
|
497
495
|
sessionId: string;
|
|
498
496
|
}): Promise<{
|
|
499
497
|
[x: string]: string | undefined;
|
|
@@ -501,135 +499,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
501
499
|
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
502
500
|
} & {
|
|
503
501
|
afterAttach(): void;
|
|
504
|
-
removeAssembly(asm:
|
|
505
|
-
configuration: any;
|
|
506
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
507
|
-
error: unknown;
|
|
508
|
-
loaded: boolean;
|
|
509
|
-
loadingP: Promise<void> | undefined;
|
|
510
|
-
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
511
|
-
refNameAliases: {
|
|
512
|
-
[x: string]: string | undefined;
|
|
513
|
-
} | undefined;
|
|
514
|
-
lowerCaseRefNameAliases: {
|
|
515
|
-
[x: string]: string | undefined;
|
|
516
|
-
} | undefined;
|
|
517
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
518
|
-
} & {
|
|
519
|
-
getConf(arg: string): any;
|
|
520
|
-
} & {
|
|
521
|
-
readonly initialized: boolean;
|
|
522
|
-
readonly name: string;
|
|
523
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
524
|
-
readonly aliases: string[];
|
|
525
|
-
readonly displayName: string | undefined;
|
|
526
|
-
hasName(name: string): boolean;
|
|
527
|
-
readonly allAliases: string[];
|
|
528
|
-
readonly allRefNames: string[] | undefined; /**
|
|
529
|
-
* #action
|
|
530
|
-
*/
|
|
531
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
532
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
533
|
-
readonly rpcManager: RpcManager;
|
|
534
|
-
readonly refNameColors: string[];
|
|
535
|
-
} & {
|
|
536
|
-
readonly refNames: string[] | undefined;
|
|
537
|
-
} & {
|
|
538
|
-
getCanonicalRefName(refName: string): string | undefined;
|
|
539
|
-
getRefNameColor(refName: string): string | undefined;
|
|
540
|
-
isValidRefName(refName: string): boolean;
|
|
541
|
-
} & {
|
|
542
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
543
|
-
setError(e: unknown): void;
|
|
544
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
545
|
-
setRefNameAliases(aliases: {
|
|
546
|
-
[x: string]: string | undefined;
|
|
547
|
-
}, lcAliases: {
|
|
548
|
-
[x: string]: string | undefined;
|
|
549
|
-
}): void;
|
|
550
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
551
|
-
setLoadingP(p?: Promise<void> | undefined): void;
|
|
552
|
-
load(): Promise<void>;
|
|
553
|
-
loadPre(): Promise<void>;
|
|
554
|
-
} & {
|
|
555
|
-
getAdapterMapEntry(adapterConf: {
|
|
556
|
-
[x: string]: unknown;
|
|
557
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
558
|
-
getRefNameMapForAdapter(adapterConf: {
|
|
559
|
-
[x: string]: unknown;
|
|
560
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
561
|
-
[x: string]: string | undefined;
|
|
562
|
-
}>;
|
|
563
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
564
|
-
[x: string]: unknown;
|
|
565
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
566
|
-
[x: string]: string | undefined;
|
|
567
|
-
}>;
|
|
568
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
569
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<IAnyType>>;
|
|
570
|
-
}, {
|
|
571
|
-
error: unknown;
|
|
572
|
-
loaded: boolean;
|
|
573
|
-
loadingP: Promise<void> | undefined;
|
|
574
|
-
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
575
|
-
refNameAliases: {
|
|
576
|
-
[x: string]: string | undefined;
|
|
577
|
-
} | undefined;
|
|
578
|
-
lowerCaseRefNameAliases: {
|
|
579
|
-
[x: string]: string | undefined;
|
|
580
|
-
} | undefined;
|
|
581
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
582
|
-
} & {
|
|
583
|
-
getConf(arg: string): any;
|
|
584
|
-
} & {
|
|
585
|
-
readonly initialized: boolean;
|
|
586
|
-
readonly name: string;
|
|
587
|
-
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
588
|
-
readonly aliases: string[];
|
|
589
|
-
readonly displayName: string | undefined;
|
|
590
|
-
hasName(name: string): boolean;
|
|
591
|
-
readonly allAliases: string[];
|
|
592
|
-
readonly allRefNames: string[] | undefined; /**
|
|
593
|
-
* #action
|
|
594
|
-
*/
|
|
595
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
596
|
-
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
597
|
-
readonly rpcManager: RpcManager;
|
|
598
|
-
readonly refNameColors: string[];
|
|
599
|
-
} & {
|
|
600
|
-
readonly refNames: string[] | undefined;
|
|
601
|
-
} & {
|
|
602
|
-
getCanonicalRefName(refName: string): string | undefined;
|
|
603
|
-
getRefNameColor(refName: string): string | undefined;
|
|
604
|
-
isValidRefName(refName: string): boolean;
|
|
605
|
-
} & {
|
|
606
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
607
|
-
setError(e: unknown): void;
|
|
608
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
609
|
-
setRefNameAliases(aliases: {
|
|
610
|
-
[x: string]: string | undefined;
|
|
611
|
-
}, lcAliases: {
|
|
612
|
-
[x: string]: string | undefined;
|
|
613
|
-
}): void;
|
|
614
|
-
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
615
|
-
setLoadingP(p?: Promise<void> | undefined): void;
|
|
616
|
-
load(): Promise<void>;
|
|
617
|
-
loadPre(): Promise<void>;
|
|
618
|
-
} & {
|
|
619
|
-
getAdapterMapEntry(adapterConf: {
|
|
620
|
-
[x: string]: unknown;
|
|
621
|
-
}, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
622
|
-
getRefNameMapForAdapter(adapterConf: {
|
|
623
|
-
[x: string]: unknown;
|
|
624
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
625
|
-
[x: string]: string | undefined;
|
|
626
|
-
}>;
|
|
627
|
-
getReverseRefNameMapForAdapter(adapterConf: {
|
|
628
|
-
[x: string]: unknown;
|
|
629
|
-
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
630
|
-
[x: string]: string | undefined;
|
|
631
|
-
}>;
|
|
632
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
502
|
+
removeAssembly(asm: import("@jbrowse/core/assemblyManager/assembly").Assembly): void;
|
|
633
503
|
addAssembly(configuration: any): void;
|
|
634
504
|
replaceAssembly(idx: number, configuration: any): void;
|
|
635
505
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.BaseRootModelFactory = BaseRootModelFactory;
|
|
7
|
+
exports.isRootModel = isRootModel;
|
|
7
8
|
const assemblyManager_1 = __importDefault(require("@jbrowse/core/assemblyManager"));
|
|
8
9
|
const RpcManager_1 = __importDefault(require("@jbrowse/core/rpc/RpcManager"));
|
|
9
10
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
@@ -83,7 +84,6 @@ function BaseRootModelFactory({ pluginManager, jbrowseModelType, sessionModelTyp
|
|
|
83
84
|
},
|
|
84
85
|
}));
|
|
85
86
|
}
|
|
86
|
-
exports.BaseRootModelFactory = BaseRootModelFactory;
|
|
87
87
|
/** Type guard for checking if something is a JB root model */
|
|
88
88
|
function isRootModel(thing) {
|
|
89
89
|
return ((0, mobx_state_tree_1.isStateTreeNode)(thing) &&
|
|
@@ -91,4 +91,3 @@ function isRootModel(thing) {
|
|
|
91
91
|
'jbrowse' in thing &&
|
|
92
92
|
'assemblyManager' in thing);
|
|
93
93
|
}
|
|
94
|
-
exports.isRootModel = isRootModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormatAboutConfigSchemaFactory =
|
|
3
|
+
exports.FormatAboutConfigSchemaFactory = FormatAboutConfigSchemaFactory;
|
|
4
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
5
|
/**
|
|
6
6
|
* #config FormatAbout
|
|
@@ -26,4 +26,3 @@ function FormatAboutConfigSchemaFactory() {
|
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
exports.FormatAboutConfigSchemaFactory = FormatAboutConfigSchemaFactory;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormatDetailsConfigSchemaFactory =
|
|
3
|
+
exports.FormatDetailsConfigSchemaFactory = FormatDetailsConfigSchemaFactory;
|
|
4
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
5
|
/**
|
|
6
6
|
* #config FormatDetails
|
|
@@ -45,4 +45,3 @@ function FormatDetailsConfigSchemaFactory() {
|
|
|
45
45
|
},
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
exports.FormatDetailsConfigSchemaFactory = FormatDetailsConfigSchemaFactory;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HierarchicalConfigSchemaFactory =
|
|
3
|
+
exports.HierarchicalConfigSchemaFactory = HierarchicalConfigSchemaFactory;
|
|
4
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
5
|
/**
|
|
6
6
|
* #config HierarchicalConfigSchema
|
|
@@ -49,4 +49,3 @@ function HierarchicalConfigSchemaFactory() {
|
|
|
49
49
|
}),
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
exports.HierarchicalConfigSchemaFactory = HierarchicalConfigSchemaFactory;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InternetAccountsRootModelMixin =
|
|
3
|
+
exports.InternetAccountsRootModelMixin = InternetAccountsRootModelMixin;
|
|
4
4
|
const mobx_1 = require("mobx");
|
|
5
5
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
6
6
|
/**
|
|
@@ -96,4 +96,3 @@ function InternetAccountsRootModelMixin(pluginManager) {
|
|
|
96
96
|
},
|
|
97
97
|
}));
|
|
98
98
|
}
|
|
99
|
-
exports.InternetAccountsRootModelMixin = InternetAccountsRootModelMixin;
|
|
@@ -60,14 +60,20 @@ export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelTy
|
|
|
60
60
|
readonly assemblies: ({
|
|
61
61
|
[x: string]: any;
|
|
62
62
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
63
|
-
setSubschema(slotName: string, data: unknown):
|
|
63
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
64
|
+
[x: string]: any;
|
|
65
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
66
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
67
|
+
[x: string]: any;
|
|
68
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
69
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
|
|
64
70
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
65
71
|
aliases: {
|
|
66
72
|
type: string;
|
|
67
73
|
defaultValue: never[];
|
|
68
74
|
description: string;
|
|
69
75
|
};
|
|
70
|
-
sequence: AnyConfigurationSchemaType;
|
|
76
|
+
sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
71
77
|
refNameColors: {
|
|
72
78
|
type: string;
|
|
73
79
|
defaultValue: never[];
|
|
@@ -77,12 +83,8 @@ export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelTy
|
|
|
77
83
|
adapter: import("mobx-state-tree").IAnyModelType;
|
|
78
84
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
79
85
|
cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
80
|
-
adapter: import("mobx-state-tree").IAnyModelType;
|
|
81
|
-
|
|
82
|
-
*/
|
|
83
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>; /**
|
|
84
|
-
* #getter
|
|
85
|
-
*/
|
|
86
|
+
adapter: import("mobx-state-tree").IAnyModelType;
|
|
87
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
86
88
|
displayName: {
|
|
87
89
|
type: string;
|
|
88
90
|
defaultValue: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BaseSessionModel = BaseSessionModel;
|
|
4
|
+
exports.isBaseSession = isBaseSession;
|
|
5
|
+
exports.isSession = isSession;
|
|
4
6
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
5
7
|
const mst_1 = require("@jbrowse/core/util/types/mst");
|
|
6
8
|
/**
|
|
@@ -113,14 +115,11 @@ function BaseSessionModel(_pluginManager) {
|
|
|
113
115
|
},
|
|
114
116
|
}));
|
|
115
117
|
}
|
|
116
|
-
exports.BaseSessionModel = BaseSessionModel;
|
|
117
118
|
/** Type guard for BaseSession */
|
|
118
119
|
function isBaseSession(thing) {
|
|
119
120
|
return 'id' in thing && 'name' in thing && 'root' in thing;
|
|
120
121
|
}
|
|
121
|
-
exports.isBaseSession = isBaseSession;
|
|
122
122
|
/** Type guard for whether a thing is JBrowse session */
|
|
123
123
|
function isSession(thing) {
|
|
124
124
|
return (0, mobx_state_tree_1.isStateTreeNode)(thing) && isBaseSession(thing);
|
|
125
125
|
}
|
|
126
|
-
exports.isSession = isSession;
|
|
@@ -18,36 +18,18 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
|
|
|
18
18
|
description: string;
|
|
19
19
|
};
|
|
20
20
|
assemblyNames: {
|
|
21
|
-
type: string;
|
|
22
|
-
* #property
|
|
23
|
-
*/
|
|
21
|
+
type: string;
|
|
24
22
|
defaultValue: never[];
|
|
25
23
|
description: string;
|
|
26
24
|
};
|
|
27
25
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
|
|
28
26
|
}, {
|
|
29
|
-
connect(_arg:
|
|
30
|
-
[x: string]: any;
|
|
31
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
32
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
33
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
27
|
+
connect(_arg: AnyConfigurationModel): void;
|
|
34
28
|
} & {
|
|
35
29
|
afterAttach(): void;
|
|
36
|
-
addTrackConf(trackConf:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
40
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
41
|
-
addTrackConfs(trackConfs: ({
|
|
42
|
-
[x: string]: any;
|
|
43
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
44
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
45
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): any[];
|
|
46
|
-
setTrackConfs(trackConfs: ({
|
|
47
|
-
[x: string]: any;
|
|
48
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
49
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
50
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
30
|
+
addTrackConf(trackConf: AnyConfigurationModel): any;
|
|
31
|
+
addTrackConfs(trackConfs: AnyConfigurationModel[]): any[];
|
|
32
|
+
setTrackConfs(trackConfs: AnyConfigurationModel[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
51
33
|
clear(): void;
|
|
52
34
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
53
35
|
}, {
|
|
@@ -57,7 +39,13 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
|
|
|
57
39
|
readonly connections: ({
|
|
58
40
|
[x: string]: any;
|
|
59
41
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
60
|
-
setSubschema(slotName: string, data: unknown):
|
|
42
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
43
|
+
[x: string]: any;
|
|
44
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
45
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
48
|
+
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
61
49
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
62
50
|
name: {
|
|
63
51
|
type: string;
|
|
@@ -80,7 +68,13 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
|
|
|
80
68
|
configuration: {
|
|
81
69
|
[x: string]: any;
|
|
82
70
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
83
|
-
setSubschema(slotName: string, data: unknown):
|
|
71
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
72
|
+
[x: string]: any;
|
|
73
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
74
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
77
|
+
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
84
78
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
85
79
|
name: {
|
|
86
80
|
type: string;
|
|
@@ -88,36 +82,18 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
|
|
|
88
82
|
description: string;
|
|
89
83
|
};
|
|
90
84
|
assemblyNames: {
|
|
91
|
-
type: string;
|
|
92
|
-
* #property
|
|
93
|
-
*/
|
|
85
|
+
type: string;
|
|
94
86
|
defaultValue: never[];
|
|
95
87
|
description: string;
|
|
96
88
|
};
|
|
97
89
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
|
|
98
90
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
99
|
-
connect(_arg:
|
|
100
|
-
[x: string]: any;
|
|
101
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
102
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
103
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
91
|
+
connect(_arg: AnyConfigurationModel): void;
|
|
104
92
|
} & {
|
|
105
93
|
afterAttach(): void;
|
|
106
|
-
addTrackConf(trackConf:
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
110
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
111
|
-
addTrackConfs(trackConfs: ({
|
|
112
|
-
[x: string]: any;
|
|
113
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
114
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
115
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): any[];
|
|
116
|
-
setTrackConfs(trackConfs: ({
|
|
117
|
-
[x: string]: any;
|
|
118
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
119
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
120
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
94
|
+
addTrackConf(trackConf: AnyConfigurationModel): any;
|
|
95
|
+
addTrackConfs(trackConfs: AnyConfigurationModel[]): any[];
|
|
96
|
+
setTrackConfs(trackConfs: AnyConfigurationModel[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
121
97
|
clear(): void;
|
|
122
98
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
123
99
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -129,36 +105,18 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
|
|
|
129
105
|
description: string;
|
|
130
106
|
};
|
|
131
107
|
assemblyNames: {
|
|
132
|
-
type: string;
|
|
133
|
-
* #property
|
|
134
|
-
*/
|
|
108
|
+
type: string;
|
|
135
109
|
defaultValue: never[];
|
|
136
110
|
description: string;
|
|
137
111
|
};
|
|
138
112
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
|
|
139
113
|
}, {
|
|
140
|
-
connect(_arg:
|
|
141
|
-
[x: string]: any;
|
|
142
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
143
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
144
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
114
|
+
connect(_arg: AnyConfigurationModel): void;
|
|
145
115
|
} & {
|
|
146
116
|
afterAttach(): void;
|
|
147
|
-
addTrackConf(trackConf:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
151
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
152
|
-
addTrackConfs(trackConfs: ({
|
|
153
|
-
[x: string]: any;
|
|
154
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
155
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
156
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): any[];
|
|
157
|
-
setTrackConfs(trackConfs: ({
|
|
158
|
-
[x: string]: any;
|
|
159
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
160
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
161
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
117
|
+
addTrackConf(trackConf: AnyConfigurationModel): any;
|
|
118
|
+
addTrackConfs(trackConfs: AnyConfigurationModel[]): any[];
|
|
119
|
+
setTrackConfs(trackConfs: AnyConfigurationModel[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
162
120
|
clear(): void;
|
|
163
121
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
164
122
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ConnectionManagementSessionMixin = ConnectionManagementSessionMixin;
|
|
4
|
+
exports.isSessionWithConnections = isSessionWithConnections;
|
|
4
5
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
6
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
6
7
|
const BaseSession_1 = require("./BaseSession");
|
|
@@ -105,9 +106,7 @@ function ConnectionManagementSessionMixin(pluginManager) {
|
|
|
105
106
|
},
|
|
106
107
|
}));
|
|
107
108
|
}
|
|
108
|
-
exports.ConnectionManagementSessionMixin = ConnectionManagementSessionMixin;
|
|
109
109
|
/** Type guard for SessionWithConnections */
|
|
110
110
|
function isSessionWithConnections(session) {
|
|
111
111
|
return (0, BaseSession_1.isBaseSession)(session) && 'connectionInstances' in session;
|
|
112
112
|
}
|
|
113
|
-
exports.isSessionWithConnections = isSessionWithConnections;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/** MST mixin for managing a queue of dialogs at the level of the session */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.DialogQueueSessionMixin = DialogQueueSessionMixin;
|
|
5
|
+
exports.isSessionWithDialogs = isSessionWithDialogs;
|
|
5
6
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
6
7
|
const BaseSession_1 = require("./BaseSession");
|
|
7
8
|
/**
|
|
@@ -47,9 +48,7 @@ function DialogQueueSessionMixin(_pluginManager) {
|
|
|
47
48
|
},
|
|
48
49
|
}));
|
|
49
50
|
}
|
|
50
|
-
exports.DialogQueueSessionMixin = DialogQueueSessionMixin;
|
|
51
51
|
/** Type guard for SessionWithDialogs */
|
|
52
52
|
function isSessionWithDialogs(session) {
|
|
53
53
|
return (0, BaseSession_1.isBaseSession)(session) && 'queueOfDialogs' in session;
|
|
54
54
|
}
|
|
55
|
-
exports.isSessionWithDialogs = isSessionWithDialogs;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DrawerWidgetSessionMixin = DrawerWidgetSessionMixin;
|
|
4
|
+
exports.isSessionWithDrawerWidgets = isSessionWithDrawerWidgets;
|
|
4
5
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
5
6
|
const util_1 = require("@jbrowse/core/util");
|
|
6
7
|
const mobx_1 = require("mobx");
|
|
@@ -157,11 +158,9 @@ function DrawerWidgetSessionMixin(pluginManager) {
|
|
|
157
158
|
},
|
|
158
159
|
}));
|
|
159
160
|
}
|
|
160
|
-
exports.DrawerWidgetSessionMixin = DrawerWidgetSessionMixin;
|
|
161
161
|
/** Type guard for SessionWithDrawerWidgets */
|
|
162
162
|
function isSessionWithDrawerWidgets(session) {
|
|
163
163
|
return ((0, BaseSession_1.isBaseSession)(session) &&
|
|
164
164
|
'widgets' in session &&
|
|
165
165
|
'drawerPosition' in session);
|
|
166
166
|
}
|
|
167
|
-
exports.isSessionWithDrawerWidgets = isSessionWithDrawerWidgets;
|