@jbrowse/product-core 2.13.0 → 2.14.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/dist/RootModel/BaseRootModel.d.ts +110 -84
- package/dist/RootModel/InternetAccounts.d.ts +1 -1
- package/dist/RootModel/InternetAccounts.js +1 -2
- package/dist/Session/BaseSession.d.ts +6 -2
- package/dist/Session/Connections.d.ts +71 -11
- package/dist/Session/Connections.js +3 -1
- package/dist/Session/DialogQueue.d.ts +1 -1
- package/dist/Session/MultipleViews.d.ts +354 -266
- package/dist/Session/ReferenceManagement.d.ts +1 -1
- package/dist/Session/ReferenceManagement.js +6 -2
- package/dist/Session/SessionTracks.d.ts +344 -258
- package/dist/Session/Tracks.d.ts +343 -255
- package/dist/Session/Tracks.js +3 -1
- package/dist/ui/AboutDialogContents.js +9 -3
- package/dist/ui/FileInfoPanel.d.ts +1 -1
- package/dist/ui/FileInfoPanel.js +1 -1
- package/dist/ui/RefNameInfoDialog.js +5 -3
- package/esm/RootModel/BaseRootModel.d.ts +110 -84
- package/esm/RootModel/InternetAccounts.d.ts +1 -1
- package/esm/RootModel/InternetAccounts.js +1 -2
- package/esm/Session/BaseSession.d.ts +6 -2
- package/esm/Session/Connections.d.ts +71 -11
- package/esm/Session/Connections.js +3 -1
- package/esm/Session/DialogQueue.d.ts +1 -1
- package/esm/Session/MultipleViews.d.ts +354 -266
- package/esm/Session/ReferenceManagement.d.ts +1 -1
- package/esm/Session/ReferenceManagement.js +6 -2
- package/esm/Session/SessionTracks.d.ts +344 -258
- package/esm/Session/Tracks.d.ts +343 -255
- package/esm/Session/Tracks.js +3 -1
- package/esm/ui/AboutDialogContents.js +9 -3
- package/esm/ui/FileInfoPanel.d.ts +1 -1
- package/esm/ui/FileInfoPanel.js +1 -1
- package/esm/ui/RefNameInfoDialog.js +5 -3
- package/package.json +4 -4
package/dist/Session/Tracks.js
CHANGED
|
@@ -37,7 +37,9 @@ function TracksManagerSessionMixin(pluginManager) {
|
|
|
37
37
|
const dereferenceTypeCount = {};
|
|
38
38
|
const referring = self.getReferring(trackConf);
|
|
39
39
|
self.removeReferring(referring, trackConf, callbacksToDereferenceTrack, dereferenceTypeCount);
|
|
40
|
-
callbacksToDereferenceTrack.forEach(cb =>
|
|
40
|
+
callbacksToDereferenceTrack.forEach(cb => {
|
|
41
|
+
cb();
|
|
42
|
+
});
|
|
41
43
|
if (self.adminMode) {
|
|
42
44
|
return self.jbrowse.deleteTrackConf(trackConf);
|
|
43
45
|
}
|
|
@@ -76,17 +76,23 @@ const AboutDialogContents = (0, mobx_react_1.observer)(function ({ config, }) {
|
|
|
76
76
|
return (react_1.default.createElement("div", { className: classes.content },
|
|
77
77
|
react_1.default.createElement(BaseFeatureDetail_1.BaseCard, { title: "Configuration" },
|
|
78
78
|
!hideUris ? (react_1.default.createElement("span", { className: classes.button },
|
|
79
|
-
react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () =>
|
|
79
|
+
react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: () => {
|
|
80
|
+
setShowRefNames(true);
|
|
81
|
+
} }, "Show ref names"),
|
|
80
82
|
react_1.default.createElement(material_1.Button, { variant: "contained", onClick: () => {
|
|
81
83
|
const snap = removeAttr((0, clone_1.default)(conf), 'baseUri');
|
|
82
84
|
(0, copy_to_clipboard_1.default)(JSON.stringify(snap, null, 2));
|
|
83
85
|
setCopied(true);
|
|
84
|
-
setTimeout(() =>
|
|
86
|
+
setTimeout(() => {
|
|
87
|
+
setCopied(false);
|
|
88
|
+
}, 1000);
|
|
85
89
|
} }, copied ? 'Copied to clipboard!' : 'Copy config'))) : null,
|
|
86
90
|
react_1.default.createElement(BaseFeatureDetail_1.Attributes, { attributes: confPostExt, omit: ['displays', 'baseUri', 'refNames', 'formatAbout'], hideUris: hideUris })),
|
|
87
91
|
ExtraPanel ? (react_1.default.createElement(BaseFeatureDetail_1.BaseCard, { title: ExtraPanel.name },
|
|
88
92
|
react_1.default.createElement(ExtraPanel.Component, { config: config }))) : null,
|
|
89
93
|
react_1.default.createElement(FileInfoPanel_1.default, { config: config }),
|
|
90
|
-
showRefNames ? (react_1.default.createElement(RefNameInfoDialog_1.default, { config: config, onClose: () =>
|
|
94
|
+
showRefNames ? (react_1.default.createElement(RefNameInfoDialog_1.default, { config: config, onClose: () => {
|
|
95
|
+
setShowRefNames(false);
|
|
96
|
+
} })) : null));
|
|
91
97
|
});
|
|
92
98
|
exports.default = AboutDialogContents;
|
package/dist/ui/FileInfoPanel.js
CHANGED
|
@@ -58,5 +58,5 @@ function FileInfoPanel({ config, }) {
|
|
|
58
58
|
.replaceAll('>', '>')}</pre>`,
|
|
59
59
|
}
|
|
60
60
|
: info || {};
|
|
61
|
-
return
|
|
61
|
+
return (react_1.default.createElement(BaseFeatureDetail_1.BaseCard, { title: "File info" }, error ? (react_1.default.createElement(ui_1.ErrorMessage, { error: error })) : info === undefined ? (react_1.default.createElement(ui_1.LoadingEllipses, { message: "Loading file data" })) : (react_1.default.createElement(BaseFeatureDetail_1.Attributes, { attributes: details }))));
|
|
62
62
|
}
|
|
@@ -85,9 +85,9 @@ const RefNameInfoDialog = (0, mobx_react_1.observer)(function ({ config, onClose
|
|
|
85
85
|
return [
|
|
86
86
|
`--- ${assemblyName} ---`,
|
|
87
87
|
...refNames.slice(0, MAX_REF_NAMES),
|
|
88
|
-
|
|
88
|
+
refNames.length > MAX_REF_NAMES
|
|
89
89
|
? `\nToo many refNames to show in browser for ${assemblyName}, use "Copy ref names" button to copy to clipboard`
|
|
90
|
-
: ''
|
|
90
|
+
: '',
|
|
91
91
|
];
|
|
92
92
|
})
|
|
93
93
|
.filter(f => !!f)
|
|
@@ -103,7 +103,9 @@ const RefNameInfoDialog = (0, mobx_react_1.observer)(function ({ config, onClose
|
|
|
103
103
|
.filter(f => !!f)
|
|
104
104
|
.join('\n'));
|
|
105
105
|
setCopied(true);
|
|
106
|
-
setTimeout(() =>
|
|
106
|
+
setTimeout(() => {
|
|
107
|
+
setCopied(false);
|
|
108
|
+
}, 1000);
|
|
107
109
|
} }, copied ? 'Copied to clipboard!' : 'Copy ref names'),
|
|
108
110
|
react_1.default.createElement("pre", { className: classes.refNames }, result))))));
|
|
109
111
|
});
|
|
@@ -38,16 +38,16 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
38
38
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<IAnyType>>;
|
|
39
39
|
}, {
|
|
40
40
|
error: unknown;
|
|
41
|
-
loaded: boolean;
|
|
42
41
|
loadingP: Promise<void> | undefined;
|
|
43
42
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
44
43
|
refNameAliases: {
|
|
45
|
-
[x: string]: string
|
|
46
|
-
} | undefined;
|
|
47
|
-
lowerCaseRefNameAliases: {
|
|
48
|
-
[x: string]: string | undefined;
|
|
44
|
+
[x: string]: string;
|
|
49
45
|
} | undefined;
|
|
50
46
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
47
|
+
} & {
|
|
48
|
+
readonly lowerCaseRefNameAliases: {
|
|
49
|
+
[k: string]: string;
|
|
50
|
+
} | undefined;
|
|
51
51
|
} & {
|
|
52
52
|
getConf(arg: string): any;
|
|
53
53
|
} & {
|
|
@@ -70,15 +70,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
70
70
|
getRefNameColor(refName: string): string | undefined;
|
|
71
71
|
isValidRefName(refName: string): boolean;
|
|
72
72
|
} & {
|
|
73
|
-
setLoaded({
|
|
73
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
74
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
75
|
+
refNameAliases: {
|
|
76
|
+
[x: string]: string;
|
|
77
|
+
};
|
|
78
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
79
|
+
}): void;
|
|
74
80
|
setError(e: unknown): void;
|
|
75
|
-
setRegions(regions: import("@jbrowse/core/util"
|
|
76
|
-
* #action
|
|
77
|
-
*/).Region[]): void;
|
|
81
|
+
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
78
82
|
setRefNameAliases(aliases: {
|
|
79
|
-
[x: string]: string
|
|
80
|
-
}, lcAliases: {
|
|
81
|
-
[x: string]: string | undefined;
|
|
83
|
+
[x: string]: string;
|
|
82
84
|
}): void;
|
|
83
85
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
84
86
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -91,29 +93,29 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
91
93
|
getRefNameMapForAdapter(adapterConf: {
|
|
92
94
|
[x: string]: unknown;
|
|
93
95
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
94
|
-
[x: string]: string
|
|
96
|
+
[x: string]: string;
|
|
95
97
|
}>;
|
|
96
98
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
97
99
|
[x: string]: unknown;
|
|
98
100
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
99
|
-
[x: string]: string
|
|
101
|
+
[x: string]: string;
|
|
100
102
|
}>;
|
|
101
103
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
102
104
|
}, {
|
|
103
|
-
readonly assemblyNameMap: Record<string,
|
|
105
|
+
readonly assemblyNameMap: Record<string, {
|
|
104
106
|
configuration: any;
|
|
105
107
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
106
108
|
error: unknown;
|
|
107
|
-
loaded: boolean;
|
|
108
109
|
loadingP: Promise<void> | undefined;
|
|
109
110
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
110
111
|
refNameAliases: {
|
|
111
|
-
[x: string]: string
|
|
112
|
-
} | undefined;
|
|
113
|
-
lowerCaseRefNameAliases: {
|
|
114
|
-
[x: string]: string | undefined;
|
|
112
|
+
[x: string]: string;
|
|
115
113
|
} | undefined;
|
|
116
114
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
115
|
+
} & {
|
|
116
|
+
readonly lowerCaseRefNameAliases: {
|
|
117
|
+
[k: string]: string;
|
|
118
|
+
} | undefined;
|
|
117
119
|
} & {
|
|
118
120
|
getConf(arg: string): any;
|
|
119
121
|
} & {
|
|
@@ -136,13 +138,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
136
138
|
getRefNameColor(refName: string): string | undefined;
|
|
137
139
|
isValidRefName(refName: string): boolean;
|
|
138
140
|
} & {
|
|
139
|
-
setLoaded({
|
|
141
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
142
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
143
|
+
refNameAliases: {
|
|
144
|
+
[x: string]: string;
|
|
145
|
+
};
|
|
146
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
147
|
+
}): void;
|
|
140
148
|
setError(e: unknown): void;
|
|
141
149
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
142
150
|
setRefNameAliases(aliases: {
|
|
143
|
-
[x: string]: string
|
|
144
|
-
}, lcAliases: {
|
|
145
|
-
[x: string]: string | undefined;
|
|
151
|
+
[x: string]: string;
|
|
146
152
|
}): void;
|
|
147
153
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
148
154
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -155,27 +161,27 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
155
161
|
getRefNameMapForAdapter(adapterConf: {
|
|
156
162
|
[x: string]: unknown;
|
|
157
163
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
158
|
-
[x: string]: string
|
|
164
|
+
[x: string]: string;
|
|
159
165
|
}>;
|
|
160
166
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
161
167
|
[x: string]: unknown;
|
|
162
168
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
163
|
-
[x: string]: string
|
|
169
|
+
[x: string]: string;
|
|
164
170
|
}>;
|
|
165
171
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
166
172
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<IAnyType>>;
|
|
167
173
|
}, {
|
|
168
174
|
error: unknown;
|
|
169
|
-
loaded: boolean;
|
|
170
175
|
loadingP: Promise<void> | undefined;
|
|
171
176
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
172
177
|
refNameAliases: {
|
|
173
|
-
[x: string]: string
|
|
174
|
-
} | undefined;
|
|
175
|
-
lowerCaseRefNameAliases: {
|
|
176
|
-
[x: string]: string | undefined;
|
|
178
|
+
[x: string]: string;
|
|
177
179
|
} | undefined;
|
|
178
180
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
181
|
+
} & {
|
|
182
|
+
readonly lowerCaseRefNameAliases: {
|
|
183
|
+
[k: string]: string;
|
|
184
|
+
} | undefined;
|
|
179
185
|
} & {
|
|
180
186
|
getConf(arg: string): any;
|
|
181
187
|
} & {
|
|
@@ -198,13 +204,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
198
204
|
getRefNameColor(refName: string): string | undefined;
|
|
199
205
|
isValidRefName(refName: string): boolean;
|
|
200
206
|
} & {
|
|
201
|
-
setLoaded({
|
|
207
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
208
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
209
|
+
refNameAliases: {
|
|
210
|
+
[x: string]: string;
|
|
211
|
+
};
|
|
212
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
213
|
+
}): void;
|
|
202
214
|
setError(e: unknown): void;
|
|
203
215
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
204
216
|
setRefNameAliases(aliases: {
|
|
205
|
-
[x: string]: string
|
|
206
|
-
}, lcAliases: {
|
|
207
|
-
[x: string]: string | undefined;
|
|
217
|
+
[x: string]: string;
|
|
208
218
|
}): void;
|
|
209
219
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
210
220
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -217,29 +227,29 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
217
227
|
getRefNameMapForAdapter(adapterConf: {
|
|
218
228
|
[x: string]: unknown;
|
|
219
229
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
220
|
-
[x: string]: string
|
|
230
|
+
[x: string]: string;
|
|
221
231
|
}>;
|
|
222
232
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
223
233
|
[x: string]: unknown;
|
|
224
234
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
225
|
-
[x: string]: string
|
|
235
|
+
[x: string]: string;
|
|
226
236
|
}>;
|
|
227
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized
|
|
237
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
228
238
|
} & {
|
|
229
239
|
get(asmName: string): ({
|
|
230
240
|
configuration: any;
|
|
231
241
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
232
242
|
error: unknown;
|
|
233
|
-
loaded: boolean;
|
|
234
243
|
loadingP: Promise<void> | undefined;
|
|
235
244
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
236
245
|
refNameAliases: {
|
|
237
|
-
[x: string]: string
|
|
238
|
-
} | undefined;
|
|
239
|
-
lowerCaseRefNameAliases: {
|
|
240
|
-
[x: string]: string | undefined;
|
|
246
|
+
[x: string]: string;
|
|
241
247
|
} | undefined;
|
|
242
248
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
249
|
+
} & {
|
|
250
|
+
readonly lowerCaseRefNameAliases: {
|
|
251
|
+
[k: string]: string;
|
|
252
|
+
} | undefined;
|
|
243
253
|
} & {
|
|
244
254
|
getConf(arg: string): any;
|
|
245
255
|
} & {
|
|
@@ -262,13 +272,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
262
272
|
getRefNameColor(refName: string): string | undefined;
|
|
263
273
|
isValidRefName(refName: string): boolean;
|
|
264
274
|
} & {
|
|
265
|
-
setLoaded({
|
|
275
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
276
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
277
|
+
refNameAliases: {
|
|
278
|
+
[x: string]: string;
|
|
279
|
+
};
|
|
280
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
281
|
+
}): void;
|
|
266
282
|
setError(e: unknown): void;
|
|
267
283
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
268
284
|
setRefNameAliases(aliases: {
|
|
269
|
-
[x: string]: string
|
|
270
|
-
}, lcAliases: {
|
|
271
|
-
[x: string]: string | undefined;
|
|
285
|
+
[x: string]: string;
|
|
272
286
|
}): void;
|
|
273
287
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
274
288
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -281,27 +295,27 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
281
295
|
getRefNameMapForAdapter(adapterConf: {
|
|
282
296
|
[x: string]: unknown;
|
|
283
297
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
284
|
-
[x: string]: string
|
|
298
|
+
[x: string]: string;
|
|
285
299
|
}>;
|
|
286
300
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
287
301
|
[x: string]: unknown;
|
|
288
302
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
289
|
-
[x: string]: string
|
|
303
|
+
[x: string]: string;
|
|
290
304
|
}>;
|
|
291
305
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
292
306
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<IAnyType>>;
|
|
293
307
|
}, {
|
|
294
308
|
error: unknown;
|
|
295
|
-
loaded: boolean;
|
|
296
309
|
loadingP: Promise<void> | undefined;
|
|
297
310
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
298
311
|
refNameAliases: {
|
|
299
|
-
[x: string]: string
|
|
300
|
-
} | undefined;
|
|
301
|
-
lowerCaseRefNameAliases: {
|
|
302
|
-
[x: string]: string | undefined;
|
|
312
|
+
[x: string]: string;
|
|
303
313
|
} | undefined;
|
|
304
314
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
315
|
+
} & {
|
|
316
|
+
readonly lowerCaseRefNameAliases: {
|
|
317
|
+
[k: string]: string;
|
|
318
|
+
} | undefined;
|
|
305
319
|
} & {
|
|
306
320
|
getConf(arg: string): any;
|
|
307
321
|
} & {
|
|
@@ -324,13 +338,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
324
338
|
getRefNameColor(refName: string): string | undefined;
|
|
325
339
|
isValidRefName(refName: string): boolean;
|
|
326
340
|
} & {
|
|
327
|
-
setLoaded({
|
|
341
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
342
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
343
|
+
refNameAliases: {
|
|
344
|
+
[x: string]: string;
|
|
345
|
+
};
|
|
346
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
347
|
+
}): void;
|
|
328
348
|
setError(e: unknown): void;
|
|
329
349
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
330
350
|
setRefNameAliases(aliases: {
|
|
331
|
-
[x: string]: string
|
|
332
|
-
}, lcAliases: {
|
|
333
|
-
[x: string]: string | undefined;
|
|
351
|
+
[x: string]: string;
|
|
334
352
|
}): void;
|
|
335
353
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
336
354
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -343,12 +361,12 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
343
361
|
getRefNameMapForAdapter(adapterConf: {
|
|
344
362
|
[x: string]: unknown;
|
|
345
363
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
346
|
-
[x: string]: string
|
|
364
|
+
[x: string]: string;
|
|
347
365
|
}>;
|
|
348
366
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
349
367
|
[x: string]: unknown;
|
|
350
368
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
351
|
-
[x: string]: string
|
|
369
|
+
[x: string]: string;
|
|
352
370
|
}>;
|
|
353
371
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
354
372
|
readonly assemblyNamesList: any[];
|
|
@@ -359,16 +377,16 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
359
377
|
configuration: any;
|
|
360
378
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
361
379
|
error: unknown;
|
|
362
|
-
loaded: boolean;
|
|
363
380
|
loadingP: Promise<void> | undefined;
|
|
364
381
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
365
382
|
refNameAliases: {
|
|
366
|
-
[x: string]: string
|
|
367
|
-
} | undefined;
|
|
368
|
-
lowerCaseRefNameAliases: {
|
|
369
|
-
[x: string]: string | undefined;
|
|
383
|
+
[x: string]: string;
|
|
370
384
|
} | undefined;
|
|
371
385
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
386
|
+
} & {
|
|
387
|
+
readonly lowerCaseRefNameAliases: {
|
|
388
|
+
[k: string]: string;
|
|
389
|
+
} | undefined;
|
|
372
390
|
} & {
|
|
373
391
|
getConf(arg: string): any;
|
|
374
392
|
} & {
|
|
@@ -391,13 +409,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
391
409
|
getRefNameColor(refName: string): string | undefined;
|
|
392
410
|
isValidRefName(refName: string): boolean;
|
|
393
411
|
} & {
|
|
394
|
-
setLoaded({
|
|
412
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
413
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
414
|
+
refNameAliases: {
|
|
415
|
+
[x: string]: string;
|
|
416
|
+
};
|
|
417
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
418
|
+
}): void;
|
|
395
419
|
setError(e: unknown): void;
|
|
396
420
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
397
421
|
setRefNameAliases(aliases: {
|
|
398
|
-
[x: string]: string
|
|
399
|
-
}, lcAliases: {
|
|
400
|
-
[x: string]: string | undefined;
|
|
422
|
+
[x: string]: string;
|
|
401
423
|
}): void;
|
|
402
424
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
403
425
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -410,27 +432,27 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
410
432
|
getRefNameMapForAdapter(adapterConf: {
|
|
411
433
|
[x: string]: unknown;
|
|
412
434
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
413
|
-
[x: string]: string
|
|
435
|
+
[x: string]: string;
|
|
414
436
|
}>;
|
|
415
437
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
416
438
|
[x: string]: unknown;
|
|
417
439
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
418
|
-
[x: string]: string
|
|
440
|
+
[x: string]: string;
|
|
419
441
|
}>;
|
|
420
442
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
421
443
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<IAnyType>>;
|
|
422
444
|
}, {
|
|
423
445
|
error: unknown;
|
|
424
|
-
loaded: boolean;
|
|
425
446
|
loadingP: Promise<void> | undefined;
|
|
426
447
|
volatileRegions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
427
448
|
refNameAliases: {
|
|
428
|
-
[x: string]: string
|
|
429
|
-
} | undefined;
|
|
430
|
-
lowerCaseRefNameAliases: {
|
|
431
|
-
[x: string]: string | undefined;
|
|
449
|
+
[x: string]: string;
|
|
432
450
|
} | undefined;
|
|
433
451
|
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
452
|
+
} & {
|
|
453
|
+
readonly lowerCaseRefNameAliases: {
|
|
454
|
+
[k: string]: string;
|
|
455
|
+
} | undefined;
|
|
434
456
|
} & {
|
|
435
457
|
getConf(arg: string): any;
|
|
436
458
|
} & {
|
|
@@ -453,13 +475,17 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
453
475
|
getRefNameColor(refName: string): string | undefined;
|
|
454
476
|
isValidRefName(refName: string): boolean;
|
|
455
477
|
} & {
|
|
456
|
-
setLoaded({
|
|
478
|
+
setLoaded({ regions, refNameAliases, cytobands, }: {
|
|
479
|
+
regions: import("@jbrowse/core/util").Region[];
|
|
480
|
+
refNameAliases: {
|
|
481
|
+
[x: string]: string;
|
|
482
|
+
};
|
|
483
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
484
|
+
}): void;
|
|
457
485
|
setError(e: unknown): void;
|
|
458
486
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
459
487
|
setRefNameAliases(aliases: {
|
|
460
|
-
[x: string]: string
|
|
461
|
-
}, lcAliases: {
|
|
462
|
-
[x: string]: string | undefined;
|
|
488
|
+
[x: string]: string;
|
|
463
489
|
}): void;
|
|
464
490
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
465
491
|
setLoadingP(p?: Promise<void>): void;
|
|
@@ -472,12 +498,12 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
472
498
|
getRefNameMapForAdapter(adapterConf: {
|
|
473
499
|
[x: string]: unknown;
|
|
474
500
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
475
|
-
[x: string]: string
|
|
501
|
+
[x: string]: string;
|
|
476
502
|
}>;
|
|
477
503
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
478
504
|
[x: string]: unknown;
|
|
479
505
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
480
|
-
[x: string]: string
|
|
506
|
+
[x: string]: string;
|
|
481
507
|
}>;
|
|
482
508
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined>;
|
|
483
509
|
getRefNameMapForAdapter(adapterConf: {
|
|
@@ -486,7 +512,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
486
512
|
signal?: AbortSignal;
|
|
487
513
|
sessionId: string;
|
|
488
514
|
}): Promise<{
|
|
489
|
-
[x: string]: string
|
|
515
|
+
[x: string]: string;
|
|
490
516
|
} | undefined>;
|
|
491
517
|
getReverseRefNameMapForAdapter(adapterConf: {
|
|
492
518
|
[x: string]: unknown;
|
|
@@ -494,7 +520,7 @@ export declare function BaseRootModelFactory({ pluginManager, jbrowseModelType,
|
|
|
494
520
|
signal?: AbortSignal;
|
|
495
521
|
sessionId: string;
|
|
496
522
|
}): Promise<{
|
|
497
|
-
[x: string]: string
|
|
523
|
+
[x: string]: string;
|
|
498
524
|
} | undefined>;
|
|
499
525
|
isValidRefName(refName: string, assemblyName: string): boolean;
|
|
500
526
|
} & {
|
|
@@ -19,7 +19,7 @@ export declare function InternetAccountsRootModelMixin(pluginManager: PluginMana
|
|
|
19
19
|
/**
|
|
20
20
|
* #action
|
|
21
21
|
*/
|
|
22
|
-
createEphemeralInternetAccount(internetAccountId: string, initialSnapshot:
|
|
22
|
+
createEphemeralInternetAccount(internetAccountId: string, initialSnapshot: Record<string, unknown>, url: string): any;
|
|
23
23
|
/**
|
|
24
24
|
* #action
|
|
25
25
|
*/
|
|
@@ -31,7 +31,7 @@ export function InternetAccountsRootModelMixin(pluginManager) {
|
|
|
31
31
|
/**
|
|
32
32
|
* #action
|
|
33
33
|
*/
|
|
34
|
-
createEphemeralInternetAccount(internetAccountId, initialSnapshot
|
|
34
|
+
createEphemeralInternetAccount(internetAccountId, initialSnapshot, url) {
|
|
35
35
|
let hostUri;
|
|
36
36
|
try {
|
|
37
37
|
hostUri = new URL(url).origin;
|
|
@@ -39,7 +39,6 @@ export function InternetAccountsRootModelMixin(pluginManager) {
|
|
|
39
39
|
catch (e) {
|
|
40
40
|
// ignore
|
|
41
41
|
}
|
|
42
|
-
// id of a custom new internaccount is `${type}-${name}`
|
|
43
42
|
const internetAccountSplit = internetAccountId.split('-');
|
|
44
43
|
const configuration = {
|
|
45
44
|
type: internetAccountSplit[0],
|
|
@@ -82,8 +82,12 @@ export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelTy
|
|
|
82
82
|
refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
83
83
|
adapter: import("mobx-state-tree").IAnyModelType;
|
|
84
84
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
85
|
-
cytobands: import("@jbrowse/core/configuration/configurationSchema"
|
|
86
|
-
|
|
85
|
+
cytobands: import("@jbrowse/core/configuration/configurationSchema" /**
|
|
86
|
+
* #getter
|
|
87
|
+
*/).ConfigurationSchemaType<{
|
|
88
|
+
adapter: import("mobx-state-tree" /**
|
|
89
|
+
* #getter
|
|
90
|
+
*/).IAnyModelType;
|
|
87
91
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
88
92
|
displayName: {
|
|
89
93
|
type: string;
|