@jbrowse/product-core 2.18.0 → 3.0.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.
@@ -1,5 +1,6 @@
1
1
  import type { BaseRootModelType } from '../RootModel/BaseRootModel';
2
2
  import type PluginManager from '@jbrowse/core/PluginManager';
3
+ import type { BaseAssemblyConfigSchema } from '@jbrowse/core/assemblyManager';
3
4
  import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
4
5
  import type { IAnyStateTreeNode, Instance } from 'mobx-state-tree';
5
6
  export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelType, JB_CONFIG_SCHEMA extends AnyConfigurationSchemaType>(_pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
@@ -18,40 +19,7 @@ export declare function BaseSessionModel<ROOT_MODEL_TYPE extends BaseRootModelTy
18
19
  readonly adminMode: boolean;
19
20
  readonly textSearchManager: import("@jbrowse/core/util").TextSearchManager;
20
21
  } & {
21
- readonly assemblies: ({
22
- [x: string]: any;
23
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
24
- setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
25
- [x: string]: any;
26
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
27
- setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
28
- [x: string]: any;
29
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
30
- } & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>);
31
- } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
32
- aliases: {
33
- type: string;
34
- defaultValue: never[];
35
- description: string;
36
- };
37
- sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
38
- refNameColors: {
39
- type: string;
40
- defaultValue: never[];
41
- description: string;
42
- };
43
- refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
44
- adapter: import("mobx-state-tree").IAnyModelType;
45
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
46
- cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
47
- adapter: import("mobx-state-tree").IAnyModelType;
48
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
49
- displayName: {
50
- type: string;
51
- defaultValue: string;
52
- description: string;
53
- };
54
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>)[];
22
+ readonly assemblies: Instance<BaseAssemblyConfigSchema>[];
55
23
  } & {
56
24
  setSelection(thing: unknown): void;
57
25
  clearSelection(): void;
@@ -1,5 +1,6 @@
1
1
  import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
3
+ import type { BaseConnectionConfigModel } from '@jbrowse/core/pluggableElementTypes/models/baseConnectionConfig';
3
4
  import type { IAnyStateTreeNode, Instance } from 'mobx-state-tree';
4
5
  export declare function ConnectionManagementSessionMixin(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
5
6
  connectionInstances: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
@@ -47,28 +48,7 @@ export declare function ConnectionManagementSessionMixin(pluginManager: PluginMa
47
48
  clear(): void;
48
49
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
49
50
  }, {
50
- readonly connections: ({
51
- [x: string]: any;
52
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
53
- setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
54
- [x: string]: any;
55
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
56
- setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
57
- [x: string]: any;
58
- } & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
59
- } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
60
- } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
61
- name: {
62
- type: string;
63
- defaultValue: string;
64
- description: string;
65
- };
66
- assemblyNames: {
67
- type: string;
68
- defaultValue: never[];
69
- description: string;
70
- };
71
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>)[];
51
+ readonly connections: BaseConnectionConfigModel[];
72
52
  } & {
73
53
  makeConnection(configuration: AnyConfigurationModel, initialSnapshot?: {}): ({
74
54
  name: string;