@jbrowse/core 2.2.0 → 2.2.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/BaseFeatureWidget/BaseFeatureDetail.d.ts +1 -0
- package/BaseFeatureWidget/BaseFeatureDetail.js +43 -28
- package/BaseFeatureWidget/SequenceBox.js +4 -8
- package/Plugin.d.ts +1 -1
- package/PluginLoader.d.ts +2 -2
- package/PluginManager.d.ts +3 -3
- package/assemblyManager/assembly.d.ts +3 -3
- package/assemblyManager/assembly.js +1 -1
- package/configuration/configurationSchema.d.ts +2 -2
- package/data_adapters/BaseAdapter.d.ts +2 -2
- package/data_adapters/dataAdapterCache.d.ts +1 -1
- package/package.json +2 -2
- package/pluggableElementTypes/AdapterType.d.ts +1 -1
- package/pluggableElementTypes/AddTrackWorkflowType.d.ts +2 -2
- package/pluggableElementTypes/RpcMethodType.d.ts +1 -1
- package/pluggableElementTypes/ViewType.d.ts +2 -2
- package/pluggableElementTypes/index.d.ts +2 -2
- package/pluggableElementTypes/models/BaseConnectionModelFactory.d.ts +23 -2
- package/pluggableElementTypes/models/BaseConnectionModelFactory.js +24 -2
- package/pluggableElementTypes/models/BaseDisplayModel.d.ts +2 -2
- package/pluggableElementTypes/models/BaseTrackModel.d.ts +49 -4
- package/pluggableElementTypes/models/BaseTrackModel.js +77 -26
- package/pluggableElementTypes/models/BaseViewModel.d.ts +22 -0
- package/pluggableElementTypes/models/BaseViewModel.js +41 -2
- package/pluggableElementTypes/models/InternetAccountModel.d.ts +53 -6
- package/pluggableElementTypes/models/InternetAccountModel.js +57 -6
- package/pluggableElementTypes/models/baseInternetAccountConfig.d.ts +2 -2
- package/pluggableElementTypes/models/baseTrackConfig.d.ts +2 -2
- package/pluggableElementTypes/models/baseTrackConfig.js +9 -0
- package/pluggableElementTypes/renderers/BoxRendererType.d.ts +1 -1
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.d.ts +1 -1
- package/pluggableElementTypes/renderers/RendererType.d.ts +1 -1
- package/pluggableElementTypes/renderers/ServerSideRendererType.d.ts +1 -1
- package/pluggableElementTypes/renderers/util/serializableFilterChain.d.ts +2 -2
- package/rpc/RpcManager.d.ts +2 -2
- package/rpc/remoteAbortSignals.d.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/ui/App.d.ts +2 -2
- package/ui/App.js +6 -8
- package/ui/AssemblySelector.d.ts +1 -1
- package/ui/AssemblySelector.js +12 -10
- package/ui/EditableTypography.d.ts +4 -4
- package/ui/EditableTypography.js +7 -11
- package/ui/Logo.d.ts +1 -1
- package/ui/Menu.d.ts +2 -2
- package/ui/Snackbar.d.ts +1 -1
- package/ui/ViewContainer.d.ts +2 -1
- package/ui/ViewContainer.js +34 -22
- package/util/Base1DViewModel.d.ts +72 -2
- package/util/Base1DViewModel.js +94 -3
- package/util/blockTypes.d.ts +1 -1
- package/util/index.d.ts +2 -1
- package/util/index.js +9 -3
- package/util/io/RemoteFileWithRangeCache.js +2 -2
- package/util/io/index.js +3 -3
- package/util/jexl.d.ts +1 -1
- package/util/layouts/BaseLayout.d.ts +1 -1
- package/util/offscreenCanvasPonyfill.d.ts +2 -2
- package/util/offscreenCanvasUtils.d.ts +1 -1
- package/util/tracks.d.ts +2 -2
- package/util/types/index.d.ts +15 -8
- package/util/types/index.js +8 -1
- package/util/types/util.d.ts +5 -5
|
@@ -14,7 +14,7 @@ export interface RenderArgsDeserialized extends ServerSideRenderArgsDeserialized
|
|
|
14
14
|
blockKey: string;
|
|
15
15
|
}
|
|
16
16
|
export type { RenderResults };
|
|
17
|
-
export
|
|
17
|
+
export type ResultsSerialized = ServerSideResultsSerialized;
|
|
18
18
|
export interface ResultsDeserialized extends ServerSideResultsDeserialized {
|
|
19
19
|
blockKey: string;
|
|
20
20
|
}
|
|
@@ -3,7 +3,7 @@ import PluggableElementBase from '../PluggableElementBase';
|
|
|
3
3
|
import { AnyConfigurationSchemaType } from '../../configuration/configurationSchema';
|
|
4
4
|
import { AnyReactComponentType } from '../../util';
|
|
5
5
|
import PluginManager from '../../PluginManager';
|
|
6
|
-
export
|
|
6
|
+
export type RenderProps = Record<string, unknown>;
|
|
7
7
|
export interface RenderResults {
|
|
8
8
|
reactElement?: ReactElement;
|
|
9
9
|
html?: string;
|
|
@@ -35,7 +35,7 @@ export interface ResultsSerializedSvgExport extends ResultsSerialized {
|
|
|
35
35
|
height: number;
|
|
36
36
|
reactElement: unknown;
|
|
37
37
|
}
|
|
38
|
-
export
|
|
38
|
+
export type ResultsDeserialized = RenderResults;
|
|
39
39
|
export default class ServerSideRenderer extends RendererType {
|
|
40
40
|
/**
|
|
41
41
|
* directly modifies the render arguments to prepare them to be serialized and
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type FilterExpression = (...args: Record<string, any>[] | any[]) => boolean;
|
|
2
2
|
interface Filter {
|
|
3
3
|
string: string;
|
|
4
4
|
expr: FilterExpression;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type SerializedFilterChain = string[];
|
|
7
7
|
export default class SerializableFilterChain {
|
|
8
8
|
filterChain: Filter[];
|
|
9
9
|
constructor({ filters }: {
|
package/rpc/RpcManager.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import PluginManager from '../PluginManager';
|
|
|
2
2
|
import { AnyConfigurationModel } from '../configuration';
|
|
3
3
|
import WebWorkerRpcDriver from './WebWorkerRpcDriver';
|
|
4
4
|
import MainThreadRpcDriver from './MainThreadRpcDriver';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
type DriverClass = WebWorkerRpcDriver | MainThreadRpcDriver;
|
|
6
|
+
type BackendConfigurations = {
|
|
7
7
|
WebWorkerRpcDriver?: Omit<ConstructorParameters<typeof WebWorkerRpcDriver>[0], 'config'>;
|
|
8
8
|
MainThreadRpcDriver?: Omit<ConstructorParameters<typeof MainThreadRpcDriver>[0], 'config'>;
|
|
9
9
|
};
|