@jbrowse/app-core 5.0.0-beta.7 → 5.0.0-beta.9
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/esm/AppSession/AppSessionMixin.d.ts +2 -8
- package/esm/Assemblies/AssembliesMixin.d.ts +170 -92
- package/esm/JBrowseConfig/RootConfiguration.d.ts +78 -126
- package/esm/JBrowseConfig/RootConfiguration.js +5 -11
- package/esm/JBrowseConfig/defaultShareUrl.d.ts +1 -0
- package/esm/JBrowseConfig/defaultShareUrl.js +5 -0
- package/esm/JBrowseConfig/index.d.ts +79 -79
- package/esm/JBrowseConfig/index.js +1 -1
- package/esm/JBrowseModel/index.d.ts +79 -82
- package/esm/JBrowseModel/index.js +19 -10
- package/esm/JbApi/jbApi.d.ts +1069 -33
- package/esm/JbApi/jbApi.js +508 -138
- package/esm/SessionSpec/index.d.ts +1 -1
- package/esm/SessionSpec/index.js +1 -1
- package/esm/SessionSpec/loadSessionSpec.d.ts +58 -2
- package/esm/SessionSpec/loadSessionSpec.js +173 -93
- package/esm/SessionSpec/types.d.ts +6 -0
- package/esm/WorkspaceLayout/model.d.ts +8 -8
- package/esm/WorkspaceLayout/model.js +8 -8
- package/esm/ui/App/App.js +1 -2
- package/esm/ui/App/ViewStack.js +7 -1
- package/esm/ui/App/index.d.ts +1 -1
- package/esm/ui/App/index.js +1 -1
- package/package.json +4 -4
- package/esm/ui/App/AppReadyMarker.d.ts +0 -43
- package/esm/ui/App/AppReadyMarker.js +0 -78
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
import type { ConfigurationSchemaDefinition } from '@jbrowse/core/configuration';
|
|
3
|
-
export declare const DEFAULT_SHARE_URL = "https://share.jbrowse.org/api/v1/";
|
|
4
3
|
/**
|
|
5
4
|
* #config JBrowseConfiguration
|
|
6
5
|
* #category root
|
|
@@ -18,183 +17,136 @@ export default function RootConfiguration({ pluginManager, extraConfigSlots, }:
|
|
|
18
17
|
pluginManager: PluginManager;
|
|
19
18
|
extraConfigSlots?: ConfigurationSchemaDefinition;
|
|
20
19
|
}): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
21
|
-
/**
|
|
22
|
-
* #slot configuration.rpc
|
|
23
|
-
* configuration for the RPC system that runs data adapters in web workers,
|
|
24
|
-
* see RpcOptions
|
|
25
|
-
*/
|
|
26
20
|
readonly rpc: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
27
21
|
readonly defaultDriver: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
readonly advanced: true;
|
|
22
|
+
type: "string";
|
|
23
|
+
} & {
|
|
24
|
+
defaultValue: string;
|
|
32
25
|
};
|
|
33
26
|
readonly workerCount: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
readonly advanced: true;
|
|
27
|
+
type: "number";
|
|
28
|
+
} & {
|
|
29
|
+
defaultValue: number;
|
|
38
30
|
};
|
|
39
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
40
|
-
/**
|
|
41
|
-
* #slot configuration.formatDetails
|
|
42
|
-
* jexl callbacks that add, rewrite or hide fields in the feature-details
|
|
43
|
-
* panel of every track at once. Four slots, listed at
|
|
44
|
-
* [FormatDetails](/docs/config/formatdetails); a track can set the same
|
|
45
|
-
* ones on its own `formatDetails` and override individual keys.
|
|
46
|
-
*/
|
|
31
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
47
32
|
readonly formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
48
33
|
readonly feature: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
readonly contextVariable: ["feature"];
|
|
34
|
+
type: "frozen";
|
|
35
|
+
} & {
|
|
36
|
+
defaultValue: unknown;
|
|
53
37
|
};
|
|
54
38
|
readonly subfeatures: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
readonly contextVariable: ["feature"];
|
|
39
|
+
type: "frozen";
|
|
40
|
+
} & {
|
|
41
|
+
defaultValue: unknown;
|
|
59
42
|
};
|
|
60
43
|
readonly depth: {
|
|
61
|
-
|
|
62
|
-
readonly description: "levels of subfeature the formatDetails.subfeatures callback runs on, default 2";
|
|
44
|
+
type: "maybeNumber";
|
|
63
45
|
};
|
|
64
46
|
readonly maxDepth: {
|
|
65
|
-
|
|
66
|
-
readonly description: "hide subfeatures nested deeper than this, default no limit";
|
|
47
|
+
type: "maybeNumber";
|
|
67
48
|
};
|
|
68
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
69
|
-
/**
|
|
70
|
-
* #slot configuration.formatAbout
|
|
71
|
-
* jexl callbacks that add, rewrite or hide fields in the About dialog of
|
|
72
|
-
* every track at once. Two slots, listed at
|
|
73
|
-
* [FormatAbout](/docs/config/formatabout); a track can set the same ones on
|
|
74
|
-
* its own `formatAbout` and override individual keys.
|
|
75
|
-
*/
|
|
49
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
76
50
|
readonly formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
77
51
|
readonly config: {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
readonly contextVariable: ["config"];
|
|
52
|
+
type: "frozen";
|
|
53
|
+
} & {
|
|
54
|
+
defaultValue: unknown;
|
|
82
55
|
};
|
|
83
56
|
readonly hideUris: {
|
|
84
|
-
|
|
85
|
-
|
|
57
|
+
type: "boolean";
|
|
58
|
+
} & {
|
|
59
|
+
defaultValue: boolean;
|
|
86
60
|
};
|
|
87
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
88
|
-
/**
|
|
89
|
-
* #slot configuration.shareURL
|
|
90
|
-
* URL of the session-sharing backend used by the Share button, a
|
|
91
|
-
* JBrowse-hosted service by default
|
|
92
|
-
*/
|
|
61
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
93
62
|
readonly shareURL: {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
63
|
+
type: "string";
|
|
64
|
+
} & {
|
|
65
|
+
defaultValue: string;
|
|
97
66
|
};
|
|
98
|
-
/**
|
|
99
|
-
* #slot configuration.disableAnalytics
|
|
100
|
-
* disables collection of anonymous usage analytics
|
|
101
|
-
*/
|
|
102
67
|
readonly disableAnalytics: {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
68
|
+
type: "boolean";
|
|
69
|
+
} & {
|
|
70
|
+
defaultValue: boolean;
|
|
106
71
|
};
|
|
107
|
-
/**
|
|
108
|
-
* #slot configuration.hierarchical
|
|
109
|
-
* configuration for the hierarchical track selector, controlling sorting
|
|
110
|
-
* and default categories, see HierarchicalConfigSchema
|
|
111
|
-
*/
|
|
112
72
|
readonly hierarchical: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
113
73
|
readonly sort: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
114
74
|
readonly trackNames: {
|
|
115
|
-
|
|
116
|
-
|
|
75
|
+
type: "boolean";
|
|
76
|
+
} & {
|
|
77
|
+
defaultValue: boolean;
|
|
117
78
|
};
|
|
118
79
|
readonly categories: {
|
|
119
|
-
|
|
120
|
-
|
|
80
|
+
type: "boolean";
|
|
81
|
+
} & {
|
|
82
|
+
defaultValue: boolean;
|
|
121
83
|
};
|
|
122
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
84
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
123
85
|
readonly defaultFolderCategories: {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
86
|
+
type: "stringArray";
|
|
87
|
+
} & {
|
|
88
|
+
defaultValue: unknown;
|
|
127
89
|
};
|
|
128
90
|
readonly defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
129
91
|
readonly categoryNames: {
|
|
130
|
-
|
|
131
|
-
|
|
92
|
+
type: "stringArray";
|
|
93
|
+
} & {
|
|
94
|
+
defaultValue: unknown;
|
|
132
95
|
};
|
|
133
96
|
readonly topLevelCategories: {
|
|
134
|
-
|
|
135
|
-
|
|
97
|
+
type: "boolean";
|
|
98
|
+
} & {
|
|
99
|
+
defaultValue: boolean;
|
|
136
100
|
};
|
|
137
101
|
readonly subCategories: {
|
|
138
|
-
|
|
139
|
-
|
|
102
|
+
type: "boolean";
|
|
103
|
+
} & {
|
|
104
|
+
defaultValue: boolean;
|
|
140
105
|
};
|
|
141
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
142
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
143
|
-
/**
|
|
144
|
-
* #slot configuration.preferences
|
|
145
|
-
* user preferences such as scroll-to-zoom and animation behavior, see
|
|
146
|
-
* PreferencesConfigSchema
|
|
147
|
-
*/
|
|
106
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
107
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
148
108
|
readonly preferences: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
149
109
|
readonly animationMode: {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
110
|
+
type: "stringEnum";
|
|
111
|
+
} & {
|
|
112
|
+
model: import("@jbrowse/mobx-state-tree").ISimpleType<"disabled" | "enabled" | "system">;
|
|
113
|
+
} & {
|
|
114
|
+
defaultValue: string;
|
|
153
115
|
};
|
|
154
116
|
readonly scrollZoom: {
|
|
155
|
-
|
|
156
|
-
|
|
117
|
+
type: "boolean";
|
|
118
|
+
} & {
|
|
119
|
+
defaultValue: boolean;
|
|
157
120
|
};
|
|
158
121
|
readonly numberGrouping: {
|
|
159
|
-
|
|
160
|
-
|
|
122
|
+
type: "boolean";
|
|
123
|
+
} & {
|
|
124
|
+
defaultValue: boolean;
|
|
161
125
|
};
|
|
162
126
|
readonly useWorkspaces: {
|
|
163
|
-
|
|
164
|
-
|
|
127
|
+
type: "boolean";
|
|
128
|
+
} & {
|
|
129
|
+
defaultValue: boolean;
|
|
165
130
|
};
|
|
166
131
|
readonly developerMode: {
|
|
167
|
-
|
|
168
|
-
|
|
132
|
+
type: "boolean";
|
|
133
|
+
} & {
|
|
134
|
+
defaultValue: boolean;
|
|
169
135
|
};
|
|
170
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
171
|
-
/**
|
|
172
|
-
* #slot configuration.theme
|
|
173
|
-
*/
|
|
136
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
174
137
|
readonly theme: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
138
|
+
type: "frozen";
|
|
139
|
+
} & {
|
|
140
|
+
defaultValue: unknown;
|
|
178
141
|
};
|
|
179
|
-
/**
|
|
180
|
-
* #slot configuration.extraThemes
|
|
181
|
-
*/
|
|
182
142
|
readonly extraThemes: {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
readonly advanced: true;
|
|
143
|
+
type: "frozen";
|
|
144
|
+
} & {
|
|
145
|
+
defaultValue: unknown;
|
|
187
146
|
};
|
|
188
|
-
/**
|
|
189
|
-
* #slot configuration.logoPath
|
|
190
|
-
*/
|
|
191
147
|
readonly logoPath: {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
readonly uri: "";
|
|
196
|
-
readonly locationType: "UriLocation";
|
|
197
|
-
};
|
|
198
|
-
readonly advanced: true;
|
|
148
|
+
type: "fileLocation";
|
|
149
|
+
} & {
|
|
150
|
+
defaultValue: unknown;
|
|
199
151
|
};
|
|
200
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
152
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
2
2
|
import RpcManager from '@jbrowse/core/rpc/RpcManager';
|
|
3
3
|
import { FormatAboutConfigSchemaFactory, FormatDetailsConfigSchemaFactory, HierarchicalConfigSchemaFactory, PreferencesConfigSchemaFactory, } from '@jbrowse/product-core';
|
|
4
|
-
|
|
5
|
-
// the write path (this slot's default, read via getConf) and the SessionLoader
|
|
6
|
-
// read path (which reads the raw config snapshot before config is initialized),
|
|
7
|
-
// so the two can't drift onto different endpoints.
|
|
8
|
-
export const DEFAULT_SHARE_URL = 'https://share.jbrowse.org/api/v1/';
|
|
4
|
+
import { DEFAULT_SHARE_URL } from './defaultShareUrl.js';
|
|
9
5
|
/**
|
|
10
6
|
* #config JBrowseConfiguration
|
|
11
7
|
* #category root
|
|
@@ -31,17 +27,15 @@ export default function RootConfiguration({ pluginManager, extraConfigSlots = {}
|
|
|
31
27
|
/**
|
|
32
28
|
* #slot configuration.formatDetails
|
|
33
29
|
* jexl callbacks that add, rewrite or hide fields in the feature-details
|
|
34
|
-
* panel of every track at once.
|
|
35
|
-
*
|
|
36
|
-
* ones on its own `formatDetails` and override individual keys.
|
|
30
|
+
* panel of every track at once. A track can set the same ones on its own
|
|
31
|
+
* `formatDetails` and override individual keys.
|
|
37
32
|
*/
|
|
38
33
|
formatDetails: FormatDetailsConfigSchemaFactory(),
|
|
39
34
|
/**
|
|
40
35
|
* #slot configuration.formatAbout
|
|
41
36
|
* jexl callbacks that add, rewrite or hide fields in the About dialog of
|
|
42
|
-
* every track at once.
|
|
43
|
-
*
|
|
44
|
-
* its own `formatAbout` and override individual keys.
|
|
37
|
+
* every track at once. A track can set the same ones on its own
|
|
38
|
+
* `formatAbout` and override individual keys.
|
|
45
39
|
*/
|
|
46
40
|
formatAbout: FormatAboutConfigSchemaFactory(),
|
|
47
41
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_SHARE_URL = "https://share.jbrowse.org/api/v1/";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// The JBrowse-hosted session-sharing backend. Single source of truth for both
|
|
2
|
+
// the write path (the root config's `shareURL` default, read via getConf) and
|
|
3
|
+
// the SessionLoader read path (which reads the raw config snapshot before config
|
|
4
|
+
// is initialized), so the two can't drift onto different endpoints.
|
|
5
|
+
export const DEFAULT_SHARE_URL = 'https://share.jbrowse.org/api/v1/';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
import type { AnyConfigurationSchemaType, ConfigurationSchemaDefinition } from '@jbrowse/core/configuration';
|
|
3
3
|
import type { PluginDefinition } from '@jbrowse/core/pluginDefinitions';
|
|
4
|
-
export { DEFAULT_SHARE_URL } from './
|
|
4
|
+
export { DEFAULT_SHARE_URL } from './defaultShareUrl.ts';
|
|
5
5
|
/**
|
|
6
6
|
* #config JBrowseRootConfig
|
|
7
7
|
* #category root
|
|
@@ -22,137 +22,137 @@ export declare function JBrowseConfigF({ pluginManager, assemblyConfigSchema, ex
|
|
|
22
22
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
23
23
|
readonly rpc: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
24
24
|
readonly defaultDriver: {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly advanced: true;
|
|
25
|
+
type: "string";
|
|
26
|
+
} & {
|
|
27
|
+
defaultValue: string;
|
|
29
28
|
};
|
|
30
29
|
readonly workerCount: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
readonly advanced: true;
|
|
30
|
+
type: "number";
|
|
31
|
+
} & {
|
|
32
|
+
defaultValue: number;
|
|
35
33
|
};
|
|
36
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
34
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
37
35
|
readonly formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
38
36
|
readonly feature: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
readonly contextVariable: ["feature"];
|
|
37
|
+
type: "frozen";
|
|
38
|
+
} & {
|
|
39
|
+
defaultValue: unknown;
|
|
43
40
|
};
|
|
44
41
|
readonly subfeatures: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly contextVariable: ["feature"];
|
|
42
|
+
type: "frozen";
|
|
43
|
+
} & {
|
|
44
|
+
defaultValue: unknown;
|
|
49
45
|
};
|
|
50
46
|
readonly depth: {
|
|
51
|
-
|
|
52
|
-
readonly description: "levels of subfeature the formatDetails.subfeatures callback runs on, default 2";
|
|
47
|
+
type: "maybeNumber";
|
|
53
48
|
};
|
|
54
49
|
readonly maxDepth: {
|
|
55
|
-
|
|
56
|
-
readonly description: "hide subfeatures nested deeper than this, default no limit";
|
|
50
|
+
type: "maybeNumber";
|
|
57
51
|
};
|
|
58
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
52
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
59
53
|
readonly formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
60
54
|
readonly config: {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
readonly contextVariable: ["config"];
|
|
55
|
+
type: "frozen";
|
|
56
|
+
} & {
|
|
57
|
+
defaultValue: unknown;
|
|
65
58
|
};
|
|
66
59
|
readonly hideUris: {
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
type: "boolean";
|
|
61
|
+
} & {
|
|
62
|
+
defaultValue: boolean;
|
|
69
63
|
};
|
|
70
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
64
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
71
65
|
readonly shareURL: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
type: "string";
|
|
67
|
+
} & {
|
|
68
|
+
defaultValue: string;
|
|
75
69
|
};
|
|
76
70
|
readonly disableAnalytics: {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
71
|
+
type: "boolean";
|
|
72
|
+
} & {
|
|
73
|
+
defaultValue: boolean;
|
|
80
74
|
};
|
|
81
75
|
readonly hierarchical: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
82
76
|
readonly sort: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
83
77
|
readonly trackNames: {
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
type: "boolean";
|
|
79
|
+
} & {
|
|
80
|
+
defaultValue: boolean;
|
|
86
81
|
};
|
|
87
82
|
readonly categories: {
|
|
88
|
-
|
|
89
|
-
|
|
83
|
+
type: "boolean";
|
|
84
|
+
} & {
|
|
85
|
+
defaultValue: boolean;
|
|
90
86
|
};
|
|
91
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
87
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
92
88
|
readonly defaultFolderCategories: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
type: "stringArray";
|
|
90
|
+
} & {
|
|
91
|
+
defaultValue: unknown;
|
|
96
92
|
};
|
|
97
93
|
readonly defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
98
94
|
readonly categoryNames: {
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
type: "stringArray";
|
|
96
|
+
} & {
|
|
97
|
+
defaultValue: unknown;
|
|
101
98
|
};
|
|
102
99
|
readonly topLevelCategories: {
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
type: "boolean";
|
|
101
|
+
} & {
|
|
102
|
+
defaultValue: boolean;
|
|
105
103
|
};
|
|
106
104
|
readonly subCategories: {
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
type: "boolean";
|
|
106
|
+
} & {
|
|
107
|
+
defaultValue: boolean;
|
|
109
108
|
};
|
|
110
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
111
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
109
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
110
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
112
111
|
readonly preferences: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
113
112
|
readonly animationMode: {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
type: "stringEnum";
|
|
114
|
+
} & {
|
|
115
|
+
model: import("@jbrowse/mobx-state-tree").ISimpleType<"disabled" | "enabled" | "system">;
|
|
116
|
+
} & {
|
|
117
|
+
defaultValue: string;
|
|
117
118
|
};
|
|
118
119
|
readonly scrollZoom: {
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
type: "boolean";
|
|
121
|
+
} & {
|
|
122
|
+
defaultValue: boolean;
|
|
121
123
|
};
|
|
122
124
|
readonly numberGrouping: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
+
type: "boolean";
|
|
126
|
+
} & {
|
|
127
|
+
defaultValue: boolean;
|
|
125
128
|
};
|
|
126
129
|
readonly useWorkspaces: {
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
type: "boolean";
|
|
131
|
+
} & {
|
|
132
|
+
defaultValue: boolean;
|
|
129
133
|
};
|
|
130
134
|
readonly developerMode: {
|
|
131
|
-
|
|
132
|
-
|
|
135
|
+
type: "boolean";
|
|
136
|
+
} & {
|
|
137
|
+
defaultValue: boolean;
|
|
133
138
|
};
|
|
134
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
139
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
135
140
|
readonly theme: {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
type: "frozen";
|
|
142
|
+
} & {
|
|
143
|
+
defaultValue: unknown;
|
|
139
144
|
};
|
|
140
145
|
readonly extraThemes: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
readonly advanced: true;
|
|
146
|
+
type: "frozen";
|
|
147
|
+
} & {
|
|
148
|
+
defaultValue: unknown;
|
|
145
149
|
};
|
|
146
150
|
readonly logoPath: {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
readonly uri: "";
|
|
151
|
-
readonly locationType: "UriLocation";
|
|
152
|
-
};
|
|
153
|
-
readonly advanced: true;
|
|
151
|
+
type: "fileLocation";
|
|
152
|
+
} & {
|
|
153
|
+
defaultValue: unknown;
|
|
154
154
|
};
|
|
155
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined
|
|
155
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
|
|
156
156
|
/**
|
|
157
157
|
* #slot
|
|
158
158
|
* defines plugins of the format
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { types } from '@jbrowse/mobx-state-tree';
|
|
2
2
|
import RootConfiguration from './RootConfiguration.js';
|
|
3
|
-
export { DEFAULT_SHARE_URL } from './
|
|
3
|
+
export { DEFAULT_SHARE_URL } from './defaultShareUrl.js';
|
|
4
4
|
/**
|
|
5
5
|
* #config JBrowseRootConfig
|
|
6
6
|
* #category root
|