@jbrowse/core 1.6.5 → 1.6.8
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/BaseFeatureWidget/BaseFeatureDetail.js +1 -3
- package/BaseFeatureWidget/index.d.ts +1 -1
- package/PluginLoader.d.ts +1 -1
- package/PluginManager.d.ts +4 -2
- package/ReExports/modules.d.ts +4 -2
- package/TextSearch/TextSearchManager.d.ts +2 -2
- package/assemblyManager/assemblyConfigSchema.d.ts +1 -1
- package/assemblyManager/assemblyManager.d.ts +22 -22
- package/configuration/index.d.ts +1 -1
- package/configuration/util.js +1 -5
- package/data_adapters/BaseAdapter.d.ts +2 -1
- package/data_adapters/BaseAdapter.js +90 -110
- package/data_adapters/CytobandAdapter.d.ts +1 -1
- package/package.json +2 -2
- package/pluggableElementTypes/RpcMethodType.js +1 -1
- package/pluggableElementTypes/models/InternetAccountModel.d.ts +103 -7
- package/pluggableElementTypes/models/InternetAccountModel.js +296 -10
- package/pluggableElementTypes/models/baseConnectionConfig.d.ts +1 -1
- package/pluggableElementTypes/models/baseInternetAccountConfig.d.ts +1 -1
- package/pluggableElementTypes/models/baseInternetAccountConfig.js +16 -1
- package/pluggableElementTypes/models/baseTrackConfig.d.ts +1 -1
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.d.ts +1 -0
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.js +46 -22
- package/pluggableElementTypes/renderers/FeatureRendererType.js +14 -19
- package/rpc/BaseRpcDriver.d.ts +7 -8
- package/rpc/BaseRpcDriver.js +151 -87
- package/rpc/BaseRpcDriver.test.js +55 -36
- package/rpc/MainThreadRpcDriver.d.ts +1 -1
- package/rpc/MainThreadRpcDriver.js +25 -16
- package/rpc/RpcManager.d.ts +1 -1
- package/rpc/RpcManager.js +29 -11
- package/rpc/WebWorkerRpcDriver.d.ts +1 -1
- package/rpc/WebWorkerRpcDriver.js +43 -11
- package/rpc/configSchema.d.ts +1 -1
- package/rpc/configSchema.js +14 -6
- package/ui/ErrorMessage.js +23 -8
- package/ui/FileSelector/FileSelector.js +1 -1
- package/ui/ReturnToImportFormDialog.d.ts +9 -0
- package/ui/ReturnToImportFormDialog.js +63 -0
- package/ui/Tooltip.d.ts +1 -1
- package/ui/Tooltip.js +2 -2
- package/ui/index.d.ts +2 -0
- package/ui/index.js +18 -0
- package/ui/theme.d.ts +8 -0
- package/ui/theme.js +9 -0
- package/ui/theme.test.js +2 -2
- package/util/Base1DViewModel.d.ts +2 -0
- package/util/Base1DViewModel.js +9 -0
- package/util/index.d.ts +7 -4
- package/util/index.js +67 -31
- package/util/index.test.js +35 -14
- package/util/io/index.d.ts +2 -1
- package/util/io/index.js +97 -86
- package/util/offscreenCanvasPonyfill.js +2 -2
- package/util/simpleFeature.d.ts +4 -0
- package/util/tracks.js +4 -1
- package/util/types/index.d.ts +2 -2
- package/util/types/index.js +3 -3
|
@@ -29,8 +29,6 @@ var _core = require("@material-ui/core");
|
|
|
29
29
|
|
|
30
30
|
var _ExpandMore = _interopRequireDefault(require("@material-ui/icons/ExpandMore"));
|
|
31
31
|
|
|
32
|
-
var _styles = require("@material-ui/core/styles");
|
|
33
|
-
|
|
34
32
|
var _xDataGrid = require("@mui/x-data-grid");
|
|
35
33
|
|
|
36
34
|
var _mobxReact = require("mobx-react");
|
|
@@ -64,7 +62,7 @@ var MAX_FIELD_NAME_WIDTH = 170; // these are always omitted as too detailed
|
|
|
64
62
|
var globalOmit = ['length', 'position', 'subfeatures', 'uniqueId', 'exonFrames', 'parentId', 'thickStart', 'thickEnd']; // coreDetails are omitted in some circumstances
|
|
65
63
|
|
|
66
64
|
var coreDetails = ['name', 'start', 'end', 'strand', 'refName', 'description', 'type'];
|
|
67
|
-
var useStyles = (0,
|
|
65
|
+
var useStyles = (0, _core.makeStyles)(function (theme) {
|
|
68
66
|
return {
|
|
69
67
|
expansionPanelDetails: {
|
|
70
68
|
display: 'block',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PluginManager from '../PluginManager';
|
|
2
|
-
declare const configSchema: import("../configuration
|
|
2
|
+
declare const configSchema: import("../configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export default function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
4
4
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
5
|
type: import("mobx-state-tree").ISimpleType<"BaseFeatureWidget">;
|
package/PluginLoader.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluginConstructor } from './Plugin';
|
|
2
|
-
export declare const PluginSourceConfigurationSchema: import("./configuration
|
|
2
|
+
export declare const PluginSourceConfigurationSchema: import("./configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export interface UMDPluginDefinition {
|
|
4
4
|
umdUrl: string;
|
|
5
5
|
name: string;
|
package/PluginManager.d.ts
CHANGED
|
@@ -205,6 +205,7 @@ export default class PluginManager {
|
|
|
205
205
|
'@jbrowse/core/util/layouts': typeof import("./util/layouts");
|
|
206
206
|
'@jbrowse/core/util/tracks': typeof import("./util/tracks");
|
|
207
207
|
'@jbrowse/core/util/Base1DViewModel': import("mobx-state-tree").IModelType<{
|
|
208
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
208
209
|
displayedRegions: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
209
210
|
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
210
211
|
start: import("mobx-state-tree").ISimpleType<number>;
|
|
@@ -220,7 +221,7 @@ export default class PluginManager {
|
|
|
220
221
|
interRegionPaddingWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
221
222
|
minimumBlockWidth: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
222
223
|
}, {
|
|
223
|
-
features: import("./util
|
|
224
|
+
features: import("./util").Feature[] | undefined;
|
|
224
225
|
volatileWidth: number;
|
|
225
226
|
} & {
|
|
226
227
|
setDisplayedRegions(regions: import("./util").Region[]): void;
|
|
@@ -228,6 +229,7 @@ export default class PluginManager {
|
|
|
228
229
|
setVolatileWidth(width: number): void;
|
|
229
230
|
} & {
|
|
230
231
|
readonly width: number;
|
|
232
|
+
readonly assemblyNames: string[];
|
|
231
233
|
readonly displayedRegionsTotalPx: number;
|
|
232
234
|
readonly maxOffset: number;
|
|
233
235
|
readonly minOffset: number;
|
|
@@ -262,7 +264,7 @@ export default class PluginManager {
|
|
|
262
264
|
regionNumber?: number | undefined;
|
|
263
265
|
}): number | undefined;
|
|
264
266
|
} & {
|
|
265
|
-
setFeatures(features: import("./util
|
|
267
|
+
setFeatures(features: import("./util").Feature[]): void;
|
|
266
268
|
zoomToDisplayedRegions(leftPx: import("./util/Base1DViewModel").BpOffset | undefined, rightPx: import("./util/Base1DViewModel").BpOffset | undefined): void;
|
|
267
269
|
showAllRegions(): void;
|
|
268
270
|
moveTo(start: import("./util/Base1DViewModel").BpOffset, end: import("./util/Base1DViewModel").BpOffset): void;
|
package/ReExports/modules.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ declare const libs: {
|
|
|
133
133
|
'@jbrowse/core/util/layouts': typeof coreLayouts;
|
|
134
134
|
'@jbrowse/core/util/tracks': typeof trackUtils;
|
|
135
135
|
'@jbrowse/core/util/Base1DViewModel': mst.IModelType<{
|
|
136
|
+
id: mst.IOptionalIType<mst.ISimpleType<string>, [undefined]>;
|
|
136
137
|
displayedRegions: mst.IArrayType<mst.IModelType<{
|
|
137
138
|
refName: mst.ISimpleType<string>;
|
|
138
139
|
start: mst.ISimpleType<number>;
|
|
@@ -148,7 +149,7 @@ declare const libs: {
|
|
|
148
149
|
interRegionPaddingWidth: mst.IOptionalIType<mst.ISimpleType<number>, [undefined]>;
|
|
149
150
|
minimumBlockWidth: mst.IOptionalIType<mst.ISimpleType<number>, [undefined]>;
|
|
150
151
|
}, {
|
|
151
|
-
features:
|
|
152
|
+
features: coreUtil.Feature[] | undefined;
|
|
152
153
|
volatileWidth: number;
|
|
153
154
|
} & {
|
|
154
155
|
setDisplayedRegions(regions: coreUtil.Region[]): void;
|
|
@@ -156,6 +157,7 @@ declare const libs: {
|
|
|
156
157
|
setVolatileWidth(width: number): void;
|
|
157
158
|
} & {
|
|
158
159
|
readonly width: number;
|
|
160
|
+
readonly assemblyNames: string[];
|
|
159
161
|
readonly displayedRegionsTotalPx: number;
|
|
160
162
|
readonly maxOffset: number;
|
|
161
163
|
readonly minOffset: number;
|
|
@@ -190,7 +192,7 @@ declare const libs: {
|
|
|
190
192
|
regionNumber?: number | undefined;
|
|
191
193
|
}): number | undefined;
|
|
192
194
|
} & {
|
|
193
|
-
setFeatures(features:
|
|
195
|
+
setFeatures(features: coreUtil.Feature[]): void;
|
|
194
196
|
zoomToDisplayedRegions(leftPx: import("../util/Base1DViewModel").BpOffset | undefined, rightPx: import("../util/Base1DViewModel").BpOffset | undefined): void;
|
|
195
197
|
showAllRegions(): void;
|
|
196
198
|
moveTo(start: import("../util/Base1DViewModel").BpOffset, end: import("../util/Base1DViewModel").BpOffset): void;
|
|
@@ -29,10 +29,10 @@ export default class TextSearchManager {
|
|
|
29
29
|
*/
|
|
30
30
|
relevantAdapters(searchScope: SearchScope): (import("mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
|
|
31
31
|
setSubschema(slotName: string, data: unknown): any;
|
|
32
|
-
} & import("mobx-state-tree").IStateTreeNode<import("../configuration
|
|
32
|
+
} & import("mobx-state-tree").IStateTreeNode<import("../configuration").AnyConfigurationSchemaType>)[];
|
|
33
33
|
getAdaptersWithAssembly(asmName: string, adapterConfs: AnyConfigurationModel[]): (import("mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
|
|
34
34
|
setSubschema(slotName: string, data: unknown): any;
|
|
35
|
-
} & import("mobx-state-tree").IStateTreeNode<import("../configuration
|
|
35
|
+
} & import("mobx-state-tree").IStateTreeNode<import("../configuration").AnyConfigurationSchemaType>)[];
|
|
36
36
|
/**
|
|
37
37
|
* Returns list of relevant results given a search query and options
|
|
38
38
|
* @param args - search options/arguments include: search query
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import PluginManager from '../PluginManager';
|
|
2
|
-
declare const _default: (pluginManager: PluginManager) => import("../configuration
|
|
2
|
+
declare const _default: (pluginManager: PluginManager) => import("../configuration").AnyConfigurationSchemaType;
|
|
3
3
|
export default _default;
|
|
@@ -9,7 +9,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
9
9
|
refNameAliases: {
|
|
10
10
|
[key: string]: string;
|
|
11
11
|
} | undefined;
|
|
12
|
-
cytobands: import("../util
|
|
12
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
readonly initialized: boolean;
|
|
15
15
|
readonly name: string;
|
|
@@ -31,14 +31,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
31
31
|
refNameAliases: {
|
|
32
32
|
[x: string]: string;
|
|
33
33
|
};
|
|
34
|
-
cytobands: import("../util
|
|
34
|
+
cytobands: import("../util").Feature[];
|
|
35
35
|
}): void;
|
|
36
36
|
setError(e: Error): void;
|
|
37
37
|
setRegions(regions: import("../util").Region[]): void;
|
|
38
38
|
setRefNameAliases(refNameAliases: {
|
|
39
39
|
[x: string]: string;
|
|
40
40
|
}): void;
|
|
41
|
-
setCytobands(cytobands: import("../util
|
|
41
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
42
42
|
afterAttach(): void;
|
|
43
43
|
} & {
|
|
44
44
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
|
@@ -65,7 +65,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
65
65
|
refNameAliases: {
|
|
66
66
|
[key: string]: string;
|
|
67
67
|
} | undefined;
|
|
68
|
-
cytobands: import("../util
|
|
68
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
69
69
|
} & {
|
|
70
70
|
readonly initialized: boolean;
|
|
71
71
|
readonly name: string;
|
|
@@ -87,14 +87,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
87
87
|
refNameAliases: {
|
|
88
88
|
[x: string]: string;
|
|
89
89
|
};
|
|
90
|
-
cytobands: import("../util
|
|
90
|
+
cytobands: import("../util").Feature[];
|
|
91
91
|
}): void;
|
|
92
92
|
setError(e: Error): void;
|
|
93
93
|
setRegions(regions: import("../util").Region[]): void;
|
|
94
94
|
setRefNameAliases(refNameAliases: {
|
|
95
95
|
[x: string]: string;
|
|
96
96
|
}): void;
|
|
97
|
-
setCytobands(cytobands: import("../util
|
|
97
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
98
98
|
afterAttach(): void;
|
|
99
99
|
} & {
|
|
100
100
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
|
@@ -119,7 +119,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
119
119
|
refNameAliases: {
|
|
120
120
|
[key: string]: string;
|
|
121
121
|
} | undefined;
|
|
122
|
-
cytobands: import("../util
|
|
122
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
123
123
|
} & {
|
|
124
124
|
readonly initialized: boolean;
|
|
125
125
|
readonly name: string;
|
|
@@ -141,14 +141,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
141
141
|
refNameAliases: {
|
|
142
142
|
[x: string]: string;
|
|
143
143
|
};
|
|
144
|
-
cytobands: import("../util
|
|
144
|
+
cytobands: import("../util").Feature[];
|
|
145
145
|
}): void;
|
|
146
146
|
setError(e: Error): void;
|
|
147
147
|
setRegions(regions: import("../util").Region[]): void;
|
|
148
148
|
setRefNameAliases(refNameAliases: {
|
|
149
149
|
[x: string]: string;
|
|
150
150
|
}): void;
|
|
151
|
-
setCytobands(cytobands: import("../util
|
|
151
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
152
152
|
afterAttach(): void;
|
|
153
153
|
} & {
|
|
154
154
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
|
@@ -169,7 +169,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
169
169
|
readonly assemblyNamesList: string[];
|
|
170
170
|
readonly assemblyList: (import("mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
|
|
171
171
|
setSubschema(slotName: string, data: unknown): any;
|
|
172
|
-
} & import("mobx-state-tree").IStateTreeNode<import("../configuration
|
|
172
|
+
} & import("mobx-state-tree").IStateTreeNode<import("../configuration").AnyConfigurationSchemaType> & {
|
|
173
173
|
name: string;
|
|
174
174
|
})[];
|
|
175
175
|
readonly rpcManager: any;
|
|
@@ -184,7 +184,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
184
184
|
refNameAliases: {
|
|
185
185
|
[key: string]: string;
|
|
186
186
|
} | undefined;
|
|
187
|
-
cytobands: import("../util
|
|
187
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
188
188
|
} & {
|
|
189
189
|
readonly initialized: boolean;
|
|
190
190
|
readonly name: string;
|
|
@@ -206,14 +206,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
206
206
|
refNameAliases: {
|
|
207
207
|
[x: string]: string;
|
|
208
208
|
};
|
|
209
|
-
cytobands: import("../util
|
|
209
|
+
cytobands: import("../util").Feature[];
|
|
210
210
|
}): void;
|
|
211
211
|
setError(e: Error): void;
|
|
212
212
|
setRegions(regions: import("../util").Region[]): void;
|
|
213
213
|
setRefNameAliases(refNameAliases: {
|
|
214
214
|
[x: string]: string;
|
|
215
215
|
}): void;
|
|
216
|
-
setCytobands(cytobands: import("../util
|
|
216
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
217
217
|
afterAttach(): void;
|
|
218
218
|
} & {
|
|
219
219
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
|
@@ -238,7 +238,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
238
238
|
refNameAliases: {
|
|
239
239
|
[key: string]: string;
|
|
240
240
|
} | undefined;
|
|
241
|
-
cytobands: import("../util
|
|
241
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
242
242
|
} & {
|
|
243
243
|
readonly initialized: boolean;
|
|
244
244
|
readonly name: string;
|
|
@@ -260,14 +260,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
260
260
|
refNameAliases: {
|
|
261
261
|
[x: string]: string;
|
|
262
262
|
};
|
|
263
|
-
cytobands: import("../util
|
|
263
|
+
cytobands: import("../util").Feature[];
|
|
264
264
|
}): void;
|
|
265
265
|
setError(e: Error): void;
|
|
266
266
|
setRegions(regions: import("../util").Region[]): void;
|
|
267
267
|
setRefNameAliases(refNameAliases: {
|
|
268
268
|
[x: string]: string;
|
|
269
269
|
}): void;
|
|
270
|
-
setCytobands(cytobands: import("../util
|
|
270
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
271
271
|
afterAttach(): void;
|
|
272
272
|
} & {
|
|
273
273
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
|
@@ -307,7 +307,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
307
307
|
refNameAliases: {
|
|
308
308
|
[key: string]: string;
|
|
309
309
|
} | undefined;
|
|
310
|
-
cytobands: import("../util
|
|
310
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
311
311
|
} & {
|
|
312
312
|
readonly initialized: boolean;
|
|
313
313
|
readonly name: string;
|
|
@@ -329,14 +329,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
329
329
|
refNameAliases: {
|
|
330
330
|
[x: string]: string;
|
|
331
331
|
};
|
|
332
|
-
cytobands: import("../util
|
|
332
|
+
cytobands: import("../util").Feature[];
|
|
333
333
|
}): void;
|
|
334
334
|
setError(e: Error): void;
|
|
335
335
|
setRegions(regions: import("../util").Region[]): void;
|
|
336
336
|
setRefNameAliases(refNameAliases: {
|
|
337
337
|
[x: string]: string;
|
|
338
338
|
}): void;
|
|
339
|
-
setCytobands(cytobands: import("../util
|
|
339
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
340
340
|
afterAttach(): void;
|
|
341
341
|
} & {
|
|
342
342
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
|
@@ -361,7 +361,7 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
361
361
|
refNameAliases: {
|
|
362
362
|
[key: string]: string;
|
|
363
363
|
} | undefined;
|
|
364
|
-
cytobands: import("../util
|
|
364
|
+
cytobands: import("../util").Feature[] | undefined;
|
|
365
365
|
} & {
|
|
366
366
|
readonly initialized: boolean;
|
|
367
367
|
readonly name: string;
|
|
@@ -383,14 +383,14 @@ export default function assemblyManagerFactory(assemblyConfigType: IAnyType, plu
|
|
|
383
383
|
refNameAliases: {
|
|
384
384
|
[x: string]: string;
|
|
385
385
|
};
|
|
386
|
-
cytobands: import("../util
|
|
386
|
+
cytobands: import("../util").Feature[];
|
|
387
387
|
}): void;
|
|
388
388
|
setError(e: Error): void;
|
|
389
389
|
setRegions(regions: import("../util").Region[]): void;
|
|
390
390
|
setRefNameAliases(refNameAliases: {
|
|
391
391
|
[x: string]: string;
|
|
392
392
|
}): void;
|
|
393
|
-
setCytobands(cytobands: import("../util
|
|
393
|
+
setCytobands(cytobands: import("../util").Feature[]): void;
|
|
394
394
|
afterAttach(): void;
|
|
395
395
|
} & {
|
|
396
396
|
getAdapterMapEntry(adapterConf: unknown, options: import("./assembly").BaseOptions): Promise<{
|
package/configuration/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { ConfigurationSchema, ConfigurationReference, } from './configurationSchema';
|
|
2
|
-
export type { AnyConfigurationModel } from './configurationSchema';
|
|
2
|
+
export type { AnyConfigurationModel, AnyConfigurationSchemaType, } from './configurationSchema';
|
|
3
3
|
export * from './util';
|
package/configuration/util.js
CHANGED
|
@@ -89,11 +89,7 @@ function readConfObject(confObject) {
|
|
|
89
89
|
subConf = confObject.get(slotName);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
return undefined;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return readConfObject(subConf, newPath, args);
|
|
92
|
+
return subConf ? readConfObject(subConf, newPath, args) : undefined;
|
|
97
93
|
}
|
|
98
94
|
|
|
99
95
|
return readConfObject(confObject, slotName, args);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Feature } from '../util/simpleFeature';
|
|
3
|
-
import { AnyConfigurationModel } from '../configuration
|
|
3
|
+
import { AnyConfigurationModel } from '../configuration';
|
|
4
4
|
import { getSubAdapterType } from './dataAdapterCache';
|
|
5
5
|
import { AugmentedRegion as Region, NoAssemblyRegion } from '../util/types';
|
|
6
6
|
import BaseResult from '../TextSearch/BaseResults';
|
|
@@ -59,6 +59,7 @@ export declare abstract class BaseFeatureDataAdapter extends BaseAdapter {
|
|
|
59
59
|
* @param opts - Feature adapter options
|
|
60
60
|
*/
|
|
61
61
|
abstract getRefNames(opts?: BaseOptions): Promise<string[]>;
|
|
62
|
+
getConf(arg: string | string[]): any;
|
|
62
63
|
/**
|
|
63
64
|
* Get features from the data source that overlap a region
|
|
64
65
|
* @param region - Region
|