@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.
@@ -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
- readonly type: "string";
29
- readonly description: "the RPC driver to run data fetching on: MainThreadRpcDriver or WebWorkerRpcDriver. Leave empty to use the default for this application";
30
- readonly defaultValue: "";
31
- readonly advanced: true;
22
+ type: "string";
23
+ } & {
24
+ defaultValue: string;
32
25
  };
33
26
  readonly workerCount: {
34
- readonly type: "number";
35
- readonly description: "The number of workers to use. If 0 (the default) JBrowse will decide how many workers to use.";
36
- readonly defaultValue: 0;
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
- readonly type: "frozen";
50
- readonly description: "adds extra fields to the feature details";
51
- readonly defaultValue: {};
52
- readonly contextVariable: ["feature"];
34
+ type: "frozen";
35
+ } & {
36
+ defaultValue: unknown;
53
37
  };
54
38
  readonly subfeatures: {
55
- readonly type: "frozen";
56
- readonly description: "adds extra fields to the subfeatures of a feature";
57
- readonly defaultValue: {};
58
- readonly contextVariable: ["feature"];
39
+ type: "frozen";
40
+ } & {
41
+ defaultValue: unknown;
59
42
  };
60
43
  readonly depth: {
61
- readonly type: "maybeNumber";
62
- readonly description: "levels of subfeature the formatDetails.subfeatures callback runs on, default 2";
44
+ type: "maybeNumber";
63
45
  };
64
46
  readonly maxDepth: {
65
- readonly type: "maybeNumber";
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
- readonly type: "frozen";
79
- readonly description: "formats configuration object in about dialog";
80
- readonly defaultValue: {};
81
- readonly contextVariable: ["config"];
52
+ type: "frozen";
53
+ } & {
54
+ defaultValue: unknown;
82
55
  };
83
56
  readonly hideUris: {
84
- readonly type: "boolean";
85
- readonly defaultValue: false;
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
- readonly type: "string";
95
- readonly defaultValue: "https://share.jbrowse.org/api/v1/";
96
- readonly advanced: true;
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
- readonly type: "boolean";
104
- readonly defaultValue: false;
105
- readonly advanced: true;
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
- readonly type: "boolean";
116
- readonly defaultValue: false;
75
+ type: "boolean";
76
+ } & {
77
+ defaultValue: boolean;
117
78
  };
118
79
  readonly categories: {
119
- readonly type: "boolean";
120
- readonly defaultValue: false;
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
- readonly type: "stringArray";
125
- readonly description: "list of category names to display as folders by default";
126
- readonly defaultValue: readonly [];
86
+ type: "stringArray";
87
+ } & {
88
+ defaultValue: unknown;
127
89
  };
128
90
  readonly defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
129
91
  readonly categoryNames: {
130
- readonly type: "stringArray";
131
- readonly defaultValue: readonly [];
92
+ type: "stringArray";
93
+ } & {
94
+ defaultValue: unknown;
132
95
  };
133
96
  readonly topLevelCategories: {
134
- readonly type: "boolean";
135
- readonly defaultValue: false;
97
+ type: "boolean";
98
+ } & {
99
+ defaultValue: boolean;
136
100
  };
137
101
  readonly subCategories: {
138
- readonly type: "boolean";
139
- readonly defaultValue: false;
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
- readonly model: import("@jbrowse/mobx-state-tree").ISimpleType<"disabled" | "enabled" | "system">;
151
- readonly type: "stringEnum";
152
- readonly defaultValue: "enabled";
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
- readonly type: "boolean";
156
- readonly defaultValue: false;
117
+ type: "boolean";
118
+ } & {
119
+ defaultValue: boolean;
157
120
  };
158
121
  readonly numberGrouping: {
159
- readonly type: "boolean";
160
- readonly defaultValue: true;
122
+ type: "boolean";
123
+ } & {
124
+ defaultValue: boolean;
161
125
  };
162
126
  readonly useWorkspaces: {
163
- readonly type: "boolean";
164
- readonly defaultValue: false;
127
+ type: "boolean";
128
+ } & {
129
+ defaultValue: boolean;
165
130
  };
166
131
  readonly developerMode: {
167
- readonly type: "boolean";
168
- readonly defaultValue: false;
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
- readonly type: "frozen";
176
- readonly description: "Material UI theme overrides applied to the JBrowse UI";
177
- readonly defaultValue: {};
138
+ type: "frozen";
139
+ } & {
140
+ defaultValue: unknown;
178
141
  };
179
- /**
180
- * #slot configuration.extraThemes
181
- */
182
142
  readonly extraThemes: {
183
- readonly type: "frozen";
184
- readonly description: "additional named themes the user can switch between";
185
- readonly defaultValue: {};
186
- readonly advanced: true;
143
+ type: "frozen";
144
+ } & {
145
+ defaultValue: unknown;
187
146
  };
188
- /**
189
- * #slot configuration.logoPath
190
- */
191
147
  readonly logoPath: {
192
- readonly type: "fileLocation";
193
- readonly description: "path to a custom logo image displayed in the app header";
194
- readonly defaultValue: {
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
- // The JBrowse-hosted session-sharing backend. Single source of truth for both
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. Four slots, listed at
35
- * [FormatDetails](/docs/config/formatdetails); a track can set the same
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. Two slots, listed at
43
- * [FormatAbout](/docs/config/formatabout); a track can set the same ones on
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 './RootConfiguration.ts';
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
- readonly type: "string";
26
- readonly description: "the RPC driver to run data fetching on: MainThreadRpcDriver or WebWorkerRpcDriver. Leave empty to use the default for this application";
27
- readonly defaultValue: "";
28
- readonly advanced: true;
25
+ type: "string";
26
+ } & {
27
+ defaultValue: string;
29
28
  };
30
29
  readonly workerCount: {
31
- readonly type: "number";
32
- readonly description: "The number of workers to use. If 0 (the default) JBrowse will decide how many workers to use.";
33
- readonly defaultValue: 0;
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
- readonly type: "frozen";
40
- readonly description: "adds extra fields to the feature details";
41
- readonly defaultValue: {};
42
- readonly contextVariable: ["feature"];
37
+ type: "frozen";
38
+ } & {
39
+ defaultValue: unknown;
43
40
  };
44
41
  readonly subfeatures: {
45
- readonly type: "frozen";
46
- readonly description: "adds extra fields to the subfeatures of a feature";
47
- readonly defaultValue: {};
48
- readonly contextVariable: ["feature"];
42
+ type: "frozen";
43
+ } & {
44
+ defaultValue: unknown;
49
45
  };
50
46
  readonly depth: {
51
- readonly type: "maybeNumber";
52
- readonly description: "levels of subfeature the formatDetails.subfeatures callback runs on, default 2";
47
+ type: "maybeNumber";
53
48
  };
54
49
  readonly maxDepth: {
55
- readonly type: "maybeNumber";
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
- readonly type: "frozen";
62
- readonly description: "formats configuration object in about dialog";
63
- readonly defaultValue: {};
64
- readonly contextVariable: ["config"];
55
+ type: "frozen";
56
+ } & {
57
+ defaultValue: unknown;
65
58
  };
66
59
  readonly hideUris: {
67
- readonly type: "boolean";
68
- readonly defaultValue: false;
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
- readonly type: "string";
73
- readonly defaultValue: "https://share.jbrowse.org/api/v1/";
74
- readonly advanced: true;
66
+ type: "string";
67
+ } & {
68
+ defaultValue: string;
75
69
  };
76
70
  readonly disableAnalytics: {
77
- readonly type: "boolean";
78
- readonly defaultValue: false;
79
- readonly advanced: true;
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
- readonly type: "boolean";
85
- readonly defaultValue: false;
78
+ type: "boolean";
79
+ } & {
80
+ defaultValue: boolean;
86
81
  };
87
82
  readonly categories: {
88
- readonly type: "boolean";
89
- readonly defaultValue: false;
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
- readonly type: "stringArray";
94
- readonly description: "list of category names to display as folders by default";
95
- readonly defaultValue: readonly [];
89
+ type: "stringArray";
90
+ } & {
91
+ defaultValue: unknown;
96
92
  };
97
93
  readonly defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
98
94
  readonly categoryNames: {
99
- readonly type: "stringArray";
100
- readonly defaultValue: readonly [];
95
+ type: "stringArray";
96
+ } & {
97
+ defaultValue: unknown;
101
98
  };
102
99
  readonly topLevelCategories: {
103
- readonly type: "boolean";
104
- readonly defaultValue: false;
100
+ type: "boolean";
101
+ } & {
102
+ defaultValue: boolean;
105
103
  };
106
104
  readonly subCategories: {
107
- readonly type: "boolean";
108
- readonly defaultValue: false;
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
- readonly model: import("@jbrowse/mobx-state-tree").ISimpleType<"disabled" | "enabled" | "system">;
115
- readonly type: "stringEnum";
116
- readonly defaultValue: "enabled";
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
- readonly type: "boolean";
120
- readonly defaultValue: false;
120
+ type: "boolean";
121
+ } & {
122
+ defaultValue: boolean;
121
123
  };
122
124
  readonly numberGrouping: {
123
- readonly type: "boolean";
124
- readonly defaultValue: true;
125
+ type: "boolean";
126
+ } & {
127
+ defaultValue: boolean;
125
128
  };
126
129
  readonly useWorkspaces: {
127
- readonly type: "boolean";
128
- readonly defaultValue: false;
130
+ type: "boolean";
131
+ } & {
132
+ defaultValue: boolean;
129
133
  };
130
134
  readonly developerMode: {
131
- readonly type: "boolean";
132
- readonly defaultValue: false;
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
- readonly type: "frozen";
137
- readonly description: "Material UI theme overrides applied to the JBrowse UI";
138
- readonly defaultValue: {};
141
+ type: "frozen";
142
+ } & {
143
+ defaultValue: unknown;
139
144
  };
140
145
  readonly extraThemes: {
141
- readonly type: "frozen";
142
- readonly description: "additional named themes the user can switch between";
143
- readonly defaultValue: {};
144
- readonly advanced: true;
146
+ type: "frozen";
147
+ } & {
148
+ defaultValue: unknown;
145
149
  };
146
150
  readonly logoPath: {
147
- readonly type: "fileLocation";
148
- readonly description: "path to a custom logo image displayed in the app header";
149
- readonly defaultValue: {
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 './RootConfiguration.js';
3
+ export { DEFAULT_SHARE_URL } from './defaultShareUrl.js';
4
4
  /**
5
5
  * #config JBrowseRootConfig
6
6
  * #category root