@jbrowse/product-core 2.6.3 → 2.7.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 +136 -115
- package/dist/RootModel/HierarchicalConfig.d.ts +3 -3
- package/dist/RootModel/HierarchicalConfig.js +3 -3
- package/dist/Session/BaseSession.d.ts +13 -6
- package/dist/Session/BaseSession.js +3 -6
- package/dist/Session/Connections.d.ts +1 -2
- package/dist/Session/DialogQueue.d.ts +1 -1
- package/dist/Session/DialogQueue.js +1 -1
- package/dist/Session/MultipleViews.d.ts +396 -353
- package/dist/Session/ReferenceManagement.d.ts +1 -1
- package/dist/Session/ReferenceManagement.js +1 -1
- package/dist/Session/SessionTracks.d.ts +389 -351
- package/dist/Session/Themes.d.ts +2 -4
- package/dist/Session/Themes.js +1 -1
- package/dist/Session/Tracks.d.ts +387 -337
- package/dist/rpcWorker.js +0 -1
- package/esm/RootModel/BaseRootModel.d.ts +136 -115
- package/esm/RootModel/HierarchicalConfig.d.ts +3 -3
- package/esm/RootModel/HierarchicalConfig.js +3 -3
- package/esm/Session/BaseSession.d.ts +13 -6
- package/esm/Session/BaseSession.js +3 -3
- package/esm/Session/Connections.d.ts +1 -2
- package/esm/Session/DialogQueue.d.ts +1 -1
- package/esm/Session/DialogQueue.js +1 -1
- package/esm/Session/MultipleViews.d.ts +396 -353
- package/esm/Session/ReferenceManagement.d.ts +1 -1
- package/esm/Session/ReferenceManagement.js +1 -1
- package/esm/Session/SessionTracks.d.ts +389 -351
- package/esm/Session/Themes.d.ts +2 -4
- package/esm/Session/Themes.js +1 -1
- package/esm/Session/Tracks.d.ts +387 -337
- package/esm/rpcWorker.js +0 -1
- package/package.json +7 -7
|
@@ -48,6 +48,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
48
48
|
[x: string]: string | undefined;
|
|
49
49
|
} | undefined;
|
|
50
50
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
51
|
+
} & {
|
|
52
|
+
getConf(arg: string): any;
|
|
51
53
|
} & {
|
|
52
54
|
readonly initialized: boolean;
|
|
53
55
|
readonly name: string;
|
|
@@ -70,7 +72,9 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
70
72
|
} & {
|
|
71
73
|
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
72
74
|
setError(e: unknown): void;
|
|
73
|
-
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
75
|
+
setRegions(regions: import("@jbrowse/core/util").Region[]): void; /**
|
|
76
|
+
* #action
|
|
77
|
+
*/
|
|
74
78
|
setRefNameAliases(aliases: {
|
|
75
79
|
[x: string]: string | undefined;
|
|
76
80
|
}, lcAliases: {
|
|
@@ -85,123 +89,124 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
85
89
|
getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
86
90
|
[x: string]: string | undefined;
|
|
87
91
|
}>;
|
|
88
|
-
/** Type guard for checking if something is a JB root model */
|
|
89
92
|
getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
90
93
|
[x: string]: string | undefined;
|
|
91
94
|
}>;
|
|
92
95
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
93
96
|
}, {
|
|
94
|
-
readonly assemblyNameMap: {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
97
|
+
readonly assemblyNameMap: Record<string, ({
|
|
98
|
+
configuration: any;
|
|
99
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
100
|
+
error: unknown;
|
|
101
|
+
loaded: boolean;
|
|
102
|
+
loadingP: Promise<void> | undefined;
|
|
103
|
+
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
104
|
+
refNameAliases: {
|
|
105
|
+
[x: string]: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
lowerCaseRefNameAliases: {
|
|
108
|
+
[x: string]: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
111
|
+
} & {
|
|
112
|
+
getConf(arg: string): any;
|
|
113
|
+
} & {
|
|
114
|
+
readonly initialized: boolean;
|
|
115
|
+
readonly name: string;
|
|
116
|
+
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
117
|
+
readonly aliases: string[];
|
|
118
|
+
readonly displayName: string | undefined;
|
|
119
|
+
hasName(name: string): boolean;
|
|
120
|
+
readonly allAliases: string[];
|
|
121
|
+
readonly allRefNames: string[] | undefined;
|
|
122
|
+
readonly lowerCaseRefNames: string[] | undefined;
|
|
123
|
+
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
124
|
+
readonly rpcManager: RpcManager;
|
|
125
|
+
readonly refNameColors: string[];
|
|
126
|
+
} & {
|
|
127
|
+
readonly refNames: string[] | undefined;
|
|
128
|
+
} & {
|
|
129
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
130
|
+
getRefNameColor(refName: string): string | undefined;
|
|
131
|
+
isValidRefName(refName: string): boolean;
|
|
132
|
+
} & {
|
|
133
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
134
|
+
setError(e: unknown): void;
|
|
135
|
+
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
136
|
+
setRefNameAliases(aliases: {
|
|
137
|
+
[x: string]: string | undefined;
|
|
138
|
+
}, lcAliases: {
|
|
139
|
+
[x: string]: string | undefined;
|
|
140
|
+
}): void;
|
|
141
|
+
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
142
|
+
setLoadingP(p?: Promise<void> | undefined): void;
|
|
143
|
+
load(): Promise<void>;
|
|
144
|
+
loadPre(): Promise<void>;
|
|
145
|
+
} & {
|
|
146
|
+
getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
147
|
+
getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
148
|
+
[x: string]: string | undefined;
|
|
149
|
+
}>;
|
|
150
|
+
getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
151
|
+
[x: string]: string | undefined;
|
|
152
|
+
}>;
|
|
153
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
154
|
+
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<IAnyType>>;
|
|
155
|
+
}, {
|
|
156
|
+
error: unknown;
|
|
157
|
+
loaded: boolean;
|
|
158
|
+
loadingP: Promise<void> | undefined;
|
|
159
|
+
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
160
|
+
refNameAliases: {
|
|
161
|
+
[x: string]: string | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
lowerCaseRefNameAliases: {
|
|
164
|
+
[x: string]: string | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
167
|
+
} & {
|
|
168
|
+
getConf(arg: string): any;
|
|
169
|
+
} & {
|
|
170
|
+
readonly initialized: boolean;
|
|
171
|
+
readonly name: string;
|
|
172
|
+
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
173
|
+
readonly aliases: string[];
|
|
174
|
+
readonly displayName: string | undefined;
|
|
175
|
+
hasName(name: string): boolean;
|
|
176
|
+
readonly allAliases: string[];
|
|
177
|
+
readonly allRefNames: string[] | undefined;
|
|
178
|
+
readonly lowerCaseRefNames: string[] | undefined;
|
|
179
|
+
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
180
|
+
readonly rpcManager: RpcManager;
|
|
181
|
+
readonly refNameColors: string[];
|
|
182
|
+
} & {
|
|
183
|
+
readonly refNames: string[] | undefined;
|
|
184
|
+
} & {
|
|
185
|
+
getCanonicalRefName(refName: string): string | undefined;
|
|
186
|
+
getRefNameColor(refName: string): string | undefined;
|
|
187
|
+
isValidRefName(refName: string): boolean;
|
|
188
|
+
} & {
|
|
189
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
190
|
+
setError(e: unknown): void;
|
|
191
|
+
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
192
|
+
setRefNameAliases(aliases: {
|
|
193
|
+
[x: string]: string | undefined;
|
|
194
|
+
}, lcAliases: {
|
|
195
|
+
[x: string]: string | undefined;
|
|
196
|
+
}): void;
|
|
197
|
+
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
198
|
+
setLoadingP(p?: Promise<void> | undefined): void;
|
|
199
|
+
load(): Promise<void>;
|
|
200
|
+
loadPre(): Promise<void>;
|
|
201
|
+
} & {
|
|
202
|
+
getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
|
|
203
|
+
getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
204
|
+
[x: string]: string | undefined;
|
|
205
|
+
}>;
|
|
206
|
+
getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
207
|
+
[x: string]: string | undefined;
|
|
208
|
+
}>;
|
|
209
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
205
210
|
} & {
|
|
206
211
|
get(asmName: string): ({
|
|
207
212
|
configuration: any;
|
|
@@ -217,6 +222,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
217
222
|
[x: string]: string | undefined;
|
|
218
223
|
} | undefined;
|
|
219
224
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
225
|
+
} & {
|
|
226
|
+
getConf(arg: string): any;
|
|
220
227
|
} & {
|
|
221
228
|
readonly initialized: boolean;
|
|
222
229
|
readonly name: string;
|
|
@@ -271,6 +278,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
271
278
|
[x: string]: string | undefined;
|
|
272
279
|
} | undefined;
|
|
273
280
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
281
|
+
} & {
|
|
282
|
+
getConf(arg: string): any;
|
|
274
283
|
} & {
|
|
275
284
|
readonly initialized: boolean;
|
|
276
285
|
readonly name: string;
|
|
@@ -334,6 +343,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
334
343
|
[x: string]: string | undefined;
|
|
335
344
|
} | undefined;
|
|
336
345
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
346
|
+
} & {
|
|
347
|
+
getConf(arg: string): any;
|
|
337
348
|
} & {
|
|
338
349
|
readonly initialized: boolean;
|
|
339
350
|
readonly name: string;
|
|
@@ -388,6 +399,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
388
399
|
[x: string]: string | undefined;
|
|
389
400
|
} | undefined;
|
|
390
401
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
402
|
+
} & {
|
|
403
|
+
getConf(arg: string): any;
|
|
391
404
|
} & {
|
|
392
405
|
readonly initialized: boolean;
|
|
393
406
|
readonly name: string;
|
|
@@ -464,6 +477,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
464
477
|
* #property
|
|
465
478
|
*/
|
|
466
479
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
480
|
+
} & {
|
|
481
|
+
getConf(arg: string): any;
|
|
467
482
|
} & {
|
|
468
483
|
readonly initialized: boolean;
|
|
469
484
|
readonly name: string;
|
|
@@ -476,7 +491,9 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
476
491
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
477
492
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
478
493
|
readonly rpcManager: RpcManager;
|
|
479
|
-
readonly refNameColors: string[];
|
|
494
|
+
readonly refNameColors: string[]; /**
|
|
495
|
+
* #action
|
|
496
|
+
*/
|
|
480
497
|
} & {
|
|
481
498
|
readonly refNames: string[] | undefined;
|
|
482
499
|
} & {
|
|
@@ -524,6 +541,8 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
524
541
|
* #property
|
|
525
542
|
*/
|
|
526
543
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
544
|
+
} & {
|
|
545
|
+
getConf(arg: string): any;
|
|
527
546
|
} & {
|
|
528
547
|
readonly initialized: boolean;
|
|
529
548
|
readonly name: string;
|
|
@@ -536,7 +555,9 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
536
555
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
537
556
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
538
557
|
readonly rpcManager: RpcManager;
|
|
539
|
-
readonly refNameColors: string[];
|
|
558
|
+
readonly refNameColors: string[]; /**
|
|
559
|
+
* #action
|
|
560
|
+
*/
|
|
540
561
|
} & {
|
|
541
562
|
readonly refNames: string[] | undefined;
|
|
542
563
|
} & {
|
|
@@ -21,21 +21,21 @@ export declare function HierarchicalConfigSchemaFactory(): import("@jbrowse/core
|
|
|
21
21
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
22
22
|
defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
23
23
|
/**
|
|
24
|
-
* #slot configuration.hierarchical.
|
|
24
|
+
* #slot configuration.hierarchical.defaultCollapsed.categoryNames
|
|
25
25
|
*/
|
|
26
26
|
categoryNames: {
|
|
27
27
|
type: string;
|
|
28
28
|
defaultValue: never[];
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
* #slot configuration.hierarchical.
|
|
31
|
+
* #slot configuration.hierarchical.defaultCollapsed.topLevelCategories
|
|
32
32
|
*/
|
|
33
33
|
topLevelCategories: {
|
|
34
34
|
type: string;
|
|
35
35
|
defaultValue: boolean;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
|
-
* #slot configuration.hierarchical.
|
|
38
|
+
* #slot configuration.hierarchical.defaultCollapsed.subCategories
|
|
39
39
|
*/
|
|
40
40
|
subCategories: {
|
|
41
41
|
type: string;
|
|
@@ -26,21 +26,21 @@ function HierarchicalConfigSchemaFactory() {
|
|
|
26
26
|
}),
|
|
27
27
|
defaultCollapsed: (0, configuration_1.ConfigurationSchema)('defaultCollapsed', {
|
|
28
28
|
/**
|
|
29
|
-
* #slot configuration.hierarchical.
|
|
29
|
+
* #slot configuration.hierarchical.defaultCollapsed.categoryNames
|
|
30
30
|
*/
|
|
31
31
|
categoryNames: {
|
|
32
32
|
type: 'stringArray',
|
|
33
33
|
defaultValue: [],
|
|
34
34
|
},
|
|
35
35
|
/**
|
|
36
|
-
* #slot configuration.hierarchical.
|
|
36
|
+
* #slot configuration.hierarchical.defaultCollapsed.topLevelCategories
|
|
37
37
|
*/
|
|
38
38
|
topLevelCategories: {
|
|
39
39
|
type: 'boolean',
|
|
40
40
|
defaultValue: false,
|
|
41
41
|
},
|
|
42
42
|
/**
|
|
43
|
-
* #slot configuration.hierarchical.
|
|
43
|
+
* #slot configuration.hierarchical.defaultCollapsed.subCategories
|
|
44
44
|
*/
|
|
45
45
|
subCategories: {
|
|
46
46
|
type: 'boolean',
|
|
@@ -7,7 +7,7 @@ import type { BaseRootModelType } from '../RootModel/BaseRootModel';
|
|
|
7
7
|
* base session shared by **all** JBrowse products. Be careful what you include
|
|
8
8
|
* here, everything will use it.
|
|
9
9
|
*/
|
|
10
|
-
export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelType, JB_CONFIG_SCHEMA extends AnyConfigurationSchemaType>(
|
|
10
|
+
export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelType, JB_CONFIG_SCHEMA extends AnyConfigurationSchemaType>(_pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
11
11
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
12
12
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
13
13
|
margin: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
@@ -52,6 +52,11 @@ export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelTy
|
|
|
52
52
|
setSubschema(slotName: string, data: unknown): any;
|
|
53
53
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
54
54
|
aliases: {
|
|
55
|
+
/**
|
|
56
|
+
* #stateModel BaseSessionModel
|
|
57
|
+
* base session shared by **all** JBrowse products. Be careful what you include
|
|
58
|
+
* here, everything will use it.
|
|
59
|
+
*/
|
|
55
60
|
type: string;
|
|
56
61
|
defaultValue: never[];
|
|
57
62
|
description: string;
|
|
@@ -66,14 +71,16 @@ export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelTy
|
|
|
66
71
|
adapter: import("mobx-state-tree").IAnyModelType;
|
|
67
72
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
68
73
|
cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
69
|
-
adapter: import("mobx-state-tree").IAnyModelType;
|
|
70
|
-
|
|
74
|
+
adapter: import("mobx-state-tree").IAnyModelType; /**
|
|
75
|
+
* #getter
|
|
76
|
+
*/
|
|
77
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>; /**
|
|
78
|
+
* #getter
|
|
79
|
+
*/
|
|
71
80
|
displayName: {
|
|
72
81
|
type: string;
|
|
73
82
|
defaultValue: string;
|
|
74
|
-
description: string;
|
|
75
|
-
* #getter
|
|
76
|
-
*/
|
|
83
|
+
description: string;
|
|
77
84
|
};
|
|
78
85
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>)[];
|
|
79
86
|
} & {
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.isSession = exports.isBaseSession = exports.BaseSessionModel = void 0;
|
|
7
|
-
const
|
|
4
|
+
const nanoid_1 = require("@jbrowse/core/util/nanoid");
|
|
8
5
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
9
6
|
/**
|
|
10
7
|
* #stateModel BaseSessionModel
|
|
11
8
|
* base session shared by **all** JBrowse products. Be careful what you include
|
|
12
9
|
* here, everything will use it.
|
|
13
10
|
*/
|
|
14
|
-
function BaseSessionModel(
|
|
11
|
+
function BaseSessionModel(_pluginManager) {
|
|
15
12
|
return mobx_state_tree_1.types
|
|
16
13
|
.model({
|
|
17
14
|
/**
|
|
18
15
|
* #property
|
|
19
16
|
*/
|
|
20
|
-
id: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.identifier, (0,
|
|
17
|
+
id: mobx_state_tree_1.types.optional(mobx_state_tree_1.types.identifier, (0, nanoid_1.nanoid)()),
|
|
21
18
|
/**
|
|
22
19
|
* #property
|
|
23
20
|
*/
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
import { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
3
3
|
import { IAnyStateTreeNode, Instance } from 'mobx-state-tree';
|
|
4
|
-
import { BaseConnectionConfigModel } from '@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig';
|
|
5
4
|
/**
|
|
6
5
|
* #stateModel ConnectionManagementSessionMixin
|
|
7
6
|
*/
|
|
@@ -159,7 +158,7 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
|
|
|
159
158
|
/**
|
|
160
159
|
* #action
|
|
161
160
|
*/
|
|
162
|
-
addConnectionConf(connectionConf:
|
|
161
|
+
addConnectionConf(connectionConf: AnyConfigurationModel): any;
|
|
163
162
|
/**
|
|
164
163
|
* #action
|
|
165
164
|
*/
|
|
@@ -5,7 +5,7 @@ import { IAnyStateTreeNode, Instance } from 'mobx-state-tree';
|
|
|
5
5
|
/**
|
|
6
6
|
* #stateModel DialogQueueSessionMixin
|
|
7
7
|
*/
|
|
8
|
-
export declare function DialogQueueSessionMixin(
|
|
8
|
+
export declare function DialogQueueSessionMixin(_pluginManager: PluginManager): import("mobx-state-tree").IModelType<{}, {
|
|
9
9
|
queueOfDialogs: [DialogComponentType, unknown][];
|
|
10
10
|
} & {
|
|
11
11
|
/**
|
|
@@ -7,7 +7,7 @@ const BaseSession_1 = require("./BaseSession");
|
|
|
7
7
|
/**
|
|
8
8
|
* #stateModel DialogQueueSessionMixin
|
|
9
9
|
*/
|
|
10
|
-
function DialogQueueSessionMixin(
|
|
10
|
+
function DialogQueueSessionMixin(_pluginManager) {
|
|
11
11
|
return mobx_state_tree_1.types
|
|
12
12
|
.model('DialogQueueSessionMixin', {})
|
|
13
13
|
.volatile(() => ({
|