@jbrowse/web-core 2.12.0 → 2.12.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/BaseWebSession/index.d.ts +13436 -2480
- package/dist/BaseWebSession/index.js +1 -2
- package/dist/SessionConnections.d.ts +31 -87
- package/dist/SessionConnections.js +1 -2
- package/esm/BaseWebSession/index.d.ts +13436 -2480
- package/esm/SessionConnections.d.ts +31 -87
- package/package.json +4 -4
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.BaseWebSession =
|
|
29
|
+
exports.BaseWebSession = BaseWebSession;
|
|
30
30
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
31
31
|
const react_1 = require("react");
|
|
32
32
|
const clone_1 = __importDefault(require("clone"));
|
|
@@ -376,4 +376,3 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
376
376
|
},
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
|
-
exports.BaseWebSession = BaseWebSession;
|
|
@@ -22,28 +22,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
|
|
|
22
22
|
};
|
|
23
23
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
|
|
24
24
|
}, {
|
|
25
|
-
connect(_arg:
|
|
26
|
-
[x: string]: any;
|
|
27
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
28
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
29
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
25
|
+
connect(_arg: AnyConfigurationModel): void;
|
|
30
26
|
} & {
|
|
31
27
|
afterAttach(): void;
|
|
32
|
-
addTrackConf(trackConf:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
36
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
37
|
-
addTrackConfs(trackConfs: ({
|
|
38
|
-
[x: string]: any;
|
|
39
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
40
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
41
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): any[];
|
|
42
|
-
setTrackConfs(trackConfs: ({
|
|
43
|
-
[x: string]: any;
|
|
44
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
45
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
46
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
28
|
+
addTrackConf(trackConf: AnyConfigurationModel): any;
|
|
29
|
+
addTrackConfs(trackConfs: AnyConfigurationModel[]): any[];
|
|
30
|
+
setTrackConfs(trackConfs: AnyConfigurationModel[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
47
31
|
clear(): void;
|
|
48
32
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
49
33
|
} & {
|
|
@@ -55,7 +39,13 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
|
|
|
55
39
|
readonly connections: ({
|
|
56
40
|
[x: string]: any;
|
|
57
41
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
58
|
-
setSubschema(slotName: string, data: unknown):
|
|
42
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
43
|
+
[x: string]: any;
|
|
44
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
45
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
46
|
+
[x: string]: any;
|
|
47
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
48
|
+
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
59
49
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
60
50
|
name: {
|
|
61
51
|
type: string;
|
|
@@ -69,17 +59,19 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
|
|
|
69
59
|
};
|
|
70
60
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>)[];
|
|
71
61
|
} & {
|
|
72
|
-
makeConnection(configuration: {
|
|
73
|
-
[x: string]: any;
|
|
74
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
75
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
76
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>, initialSnapshot?: {}): {
|
|
62
|
+
makeConnection(configuration: AnyConfigurationModel, initialSnapshot?: {}): {
|
|
77
63
|
name: string;
|
|
78
64
|
tracks: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
79
65
|
configuration: {
|
|
80
66
|
[x: string]: any;
|
|
81
67
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
82
|
-
setSubschema(slotName: string, data: unknown):
|
|
68
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
69
|
+
[x: string]: any;
|
|
70
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
71
|
+
setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({
|
|
72
|
+
[x: string]: any;
|
|
73
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & any & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
74
|
+
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>);
|
|
83
75
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
84
76
|
name: {
|
|
85
77
|
type: string;
|
|
@@ -93,28 +85,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
|
|
|
93
85
|
};
|
|
94
86
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
|
|
95
87
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
96
|
-
connect(_arg:
|
|
97
|
-
[x: string]: any;
|
|
98
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
99
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
100
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
88
|
+
connect(_arg: AnyConfigurationModel): void;
|
|
101
89
|
} & {
|
|
102
90
|
afterAttach(): void;
|
|
103
|
-
addTrackConf(trackConf:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
107
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
108
|
-
addTrackConfs(trackConfs: ({
|
|
109
|
-
[x: string]: any;
|
|
110
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
111
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
112
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): any[];
|
|
113
|
-
setTrackConfs(trackConfs: ({
|
|
114
|
-
[x: string]: any;
|
|
115
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
116
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
117
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
91
|
+
addTrackConf(trackConf: AnyConfigurationModel): any;
|
|
92
|
+
addTrackConfs(trackConfs: AnyConfigurationModel[]): any[];
|
|
93
|
+
setTrackConfs(trackConfs: AnyConfigurationModel[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
118
94
|
clear(): void;
|
|
119
95
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
120
96
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -132,50 +108,18 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
|
|
|
132
108
|
};
|
|
133
109
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
|
|
134
110
|
}, {
|
|
135
|
-
connect(_arg:
|
|
136
|
-
[x: string]: any;
|
|
137
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
138
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
139
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
111
|
+
connect(_arg: AnyConfigurationModel): void;
|
|
140
112
|
} & {
|
|
141
113
|
afterAttach(): void;
|
|
142
|
-
addTrackConf(trackConf:
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
146
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
147
|
-
addTrackConfs(trackConfs: ({
|
|
148
|
-
[x: string]: any;
|
|
149
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
150
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
151
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): any[];
|
|
152
|
-
setTrackConfs(trackConfs: ({
|
|
153
|
-
[x: string]: any;
|
|
154
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
155
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
156
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
114
|
+
addTrackConf(trackConf: AnyConfigurationModel): any;
|
|
115
|
+
addTrackConfs(trackConfs: AnyConfigurationModel[]): any[];
|
|
116
|
+
setTrackConfs(trackConfs: AnyConfigurationModel[]): import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>>;
|
|
157
117
|
clear(): void;
|
|
158
118
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
159
|
-
prepareToBreakConnection(configuration:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): (Record<string, number> | (() => void))[] | undefined;
|
|
164
|
-
breakConnection(configuration: {
|
|
165
|
-
[x: string]: any;
|
|
166
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
167
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
168
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
169
|
-
deleteConnection(configuration: {
|
|
170
|
-
[x: string]: any;
|
|
171
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
172
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
173
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
174
|
-
addConnectionConf(connectionConf: {
|
|
175
|
-
[x: string]: any;
|
|
176
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
177
|
-
setSubschema(slotName: string, data: unknown): any;
|
|
178
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
119
|
+
prepareToBreakConnection(configuration: AnyConfigurationModel): (Record<string, number> | (() => void))[] | undefined;
|
|
120
|
+
breakConnection(configuration: AnyConfigurationModel): void;
|
|
121
|
+
deleteConnection(configuration: AnyConfigurationModel): any;
|
|
122
|
+
addConnectionConf(connectionConf: AnyConfigurationModel): any;
|
|
179
123
|
clearConnections(): void;
|
|
180
124
|
} & {
|
|
181
125
|
addConnectionConf(connectionConf: BaseConnectionConfigModel): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebSessionConnectionsMixin =
|
|
3
|
+
exports.WebSessionConnectionsMixin = WebSessionConnectionsMixin;
|
|
4
4
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
5
5
|
const product_core_1 = require("@jbrowse/product-core");
|
|
6
6
|
/**
|
|
@@ -53,4 +53,3 @@ function WebSessionConnectionsMixin(pluginManager) {
|
|
|
53
53
|
};
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
exports.WebSessionConnectionsMixin = WebSessionConnectionsMixin;
|