@jbrowse/app-core 5.0.0-beta.8 → 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.
@@ -524,10 +524,7 @@ export declare function AppSessionMixin(_pluginManager: PluginManager): import("
524
524
  }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
525
525
  readonly assemblyNamesList: string[];
526
526
  readonly configuredAssemblyNames: Set<string>;
527
- readonly assemblyList: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
528
- setSubschema(slotName: string, data: Record<string, unknown>): any;
529
- setSlot(slotName: string, value: unknown): void;
530
- } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
527
+ readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
531
528
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
532
529
  } & {
533
530
  settleAssemblyResolution(assemblyName: string): Promise<void>;
@@ -1299,10 +1296,7 @@ export declare function AppSessionMixin(_pluginManager: PluginManager): import("
1299
1296
  }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
1300
1297
  readonly assemblyNamesList: string[];
1301
1298
  readonly configuredAssemblyNames: Set<string>;
1302
- readonly assemblyList: (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
1303
- setSubschema(slotName: string, data: Record<string, unknown>): any;
1304
- setSlot(slotName: string, value: unknown): void;
1305
- } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>)[];
1299
+ readonly assemblyList: import("@jbrowse/core/configuration").AnyConfigurationModel[];
1306
1300
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
1307
1301
  } & {
1308
1302
  settleAssemblyResolution(assemblyName: string): Promise<void>;
@@ -14,81 +14,85 @@ export declare function AssembliesMixin(_pluginManager: PluginManager, assemblyC
14
14
  */
15
15
  sessionAssemblies: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
16
16
  readonly aliases: {
17
- readonly type: "stringArray";
18
- readonly defaultValue: readonly [];
19
- readonly description: "Other possible names for the assembly";
17
+ type: "stringArray";
18
+ } & {
19
+ defaultValue: unknown;
20
20
  };
21
21
  readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
22
22
  readonly refNameColors: {
23
- readonly type: "stringArray";
24
- readonly defaultValue: readonly [];
25
- readonly description: "Define custom colors for each reference sequence. Will cycle through this list if there are not enough colors for every sequence.";
23
+ type: "stringArray";
24
+ } & {
25
+ defaultValue: unknown;
26
26
  };
27
27
  readonly geneticCodes: {
28
- readonly type: "frozen";
29
- readonly defaultValue: {};
30
- readonly description: "Map of reference sequence name to NCBI genetic-code (translation table) id for sequences not using the standard code, e.g. { \"chrM\": 2 }";
28
+ type: "frozen";
29
+ } & {
30
+ defaultValue: unknown;
31
31
  };
32
32
  readonly geneticCodesLocation: {
33
- readonly type: "fileLocation";
34
- readonly defaultValue: {
35
- readonly uri: "";
36
- readonly locationType: "UriLocation";
37
- };
38
- readonly description: "Optional TSV file of refName<TAB>geneticCodeId, an alternative to inlining the geneticCodes map";
33
+ type: "fileLocation";
34
+ } & {
35
+ defaultValue: unknown;
39
36
  };
40
37
  readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
41
38
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
42
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
39
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
43
40
  readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
44
41
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
45
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
42
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
46
43
  readonly displayName: {
47
- readonly type: "string";
48
- readonly defaultValue: "";
49
- readonly description: "A human readable display name for the assembly e.g. \"Homo sapiens (hg38)\" while the assembly name may just be \"hg38\"";
44
+ type: "string";
45
+ } & {
46
+ defaultValue: string;
50
47
  };
51
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>, [undefined]>;
48
+ name: {
49
+ type: "string";
50
+ } & {
51
+ defaultValue: string;
52
+ };
53
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>, [undefined]>;
52
54
  /**
53
55
  * #property
54
56
  */
55
57
  temporaryAssemblies: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
56
58
  readonly aliases: {
57
- readonly type: "stringArray";
58
- readonly defaultValue: readonly [];
59
- readonly description: "Other possible names for the assembly";
59
+ type: "stringArray";
60
+ } & {
61
+ defaultValue: unknown;
60
62
  };
61
63
  readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
62
64
  readonly refNameColors: {
63
- readonly type: "stringArray";
64
- readonly defaultValue: readonly [];
65
- readonly description: "Define custom colors for each reference sequence. Will cycle through this list if there are not enough colors for every sequence.";
65
+ type: "stringArray";
66
+ } & {
67
+ defaultValue: unknown;
66
68
  };
67
69
  readonly geneticCodes: {
68
- readonly type: "frozen";
69
- readonly defaultValue: {};
70
- readonly description: "Map of reference sequence name to NCBI genetic-code (translation table) id for sequences not using the standard code, e.g. { \"chrM\": 2 }";
70
+ type: "frozen";
71
+ } & {
72
+ defaultValue: unknown;
71
73
  };
72
74
  readonly geneticCodesLocation: {
73
- readonly type: "fileLocation";
74
- readonly defaultValue: {
75
- readonly uri: "";
76
- readonly locationType: "UriLocation";
77
- };
78
- readonly description: "Optional TSV file of refName<TAB>geneticCodeId, an alternative to inlining the geneticCodes map";
75
+ type: "fileLocation";
76
+ } & {
77
+ defaultValue: unknown;
79
78
  };
80
79
  readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
81
80
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
82
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
81
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
83
82
  readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
84
83
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
85
- }, 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>>>;
86
85
  readonly displayName: {
87
- readonly type: "string";
88
- readonly defaultValue: "";
89
- readonly description: "A human readable display name for the assembly e.g. \"Homo sapiens (hg38)\" while the assembly name may just be \"hg38\"";
86
+ type: "string";
87
+ } & {
88
+ defaultValue: string;
89
+ };
90
+ name: {
91
+ type: "string";
92
+ } & {
93
+ defaultValue: string;
90
94
  };
91
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>, [undefined]>;
95
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>, [undefined]>;
92
96
  }, {
93
97
  /**
94
98
  * #method
@@ -108,46 +112,83 @@ export declare function AssembliesMixin(_pluginManager: PluginManager, assemblyC
108
112
  /**
109
113
  * #action
110
114
  */
111
- addSessionAssembly(conf: AnyConfiguration): (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
112
- setSubschema(slotName: string, data: Record<string, unknown>): any;
113
- setSlot(slotName: string, value: unknown): void;
114
- } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
115
+ addSessionAssembly(conf: AnyConfiguration): (import("@jbrowse/core/configuration").ConfigNodeProps<{
116
+ readonly aliases: {
117
+ type: "stringArray";
118
+ } & {
119
+ defaultValue: unknown;
120
+ };
121
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
122
+ readonly refNameColors: {
123
+ type: "stringArray";
124
+ } & {
125
+ defaultValue: unknown;
126
+ };
127
+ readonly geneticCodes: {
128
+ type: "frozen";
129
+ } & {
130
+ defaultValue: unknown;
131
+ };
132
+ readonly geneticCodesLocation: {
133
+ type: "fileLocation";
134
+ } & {
135
+ defaultValue: unknown;
136
+ };
137
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
138
+ readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
139
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
140
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
141
+ readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
142
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
143
+ readonly displayName: {
144
+ type: "string";
145
+ } & {
146
+ defaultValue: string;
147
+ };
148
+ name: {
149
+ type: "string";
150
+ } & {
151
+ defaultValue: string;
152
+ };
153
+ }> & import("@jbrowse/core/configuration").ConfigNodeActions & import("@jbrowse/core/configuration").ConfigNodeBrand<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
115
154
  readonly aliases: {
116
- readonly type: "stringArray";
117
- readonly defaultValue: readonly [];
118
- readonly description: "Other possible names for the assembly";
155
+ type: "stringArray";
156
+ } & {
157
+ defaultValue: unknown;
119
158
  };
120
159
  readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
121
160
  readonly refNameColors: {
122
- readonly type: "stringArray";
123
- readonly defaultValue: readonly [];
124
- readonly description: "Define custom colors for each reference sequence. Will cycle through this list if there are not enough colors for every sequence.";
161
+ type: "stringArray";
162
+ } & {
163
+ defaultValue: unknown;
125
164
  };
126
165
  readonly geneticCodes: {
127
- readonly type: "frozen";
128
- readonly defaultValue: {};
129
- readonly description: "Map of reference sequence name to NCBI genetic-code (translation table) id for sequences not using the standard code, e.g. { \"chrM\": 2 }";
166
+ type: "frozen";
167
+ } & {
168
+ defaultValue: unknown;
130
169
  };
131
170
  readonly geneticCodesLocation: {
132
- readonly type: "fileLocation";
133
- readonly defaultValue: {
134
- readonly uri: "";
135
- readonly locationType: "UriLocation";
136
- };
137
- readonly description: "Optional TSV file of refName<TAB>geneticCodeId, an alternative to inlining the geneticCodes map";
171
+ type: "fileLocation";
172
+ } & {
173
+ defaultValue: unknown;
138
174
  };
139
175
  readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
140
176
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
141
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
177
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
142
178
  readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
143
179
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
144
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
180
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
145
181
  readonly displayName: {
146
- readonly type: "string";
147
- readonly defaultValue: "";
148
- readonly description: "A human readable display name for the assembly e.g. \"Homo sapiens (hg38)\" while the assembly name may just be \"hg38\"";
182
+ type: "string";
183
+ } & {
184
+ defaultValue: string;
149
185
  };
150
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
186
+ name: {
187
+ type: "string";
188
+ } & {
189
+ defaultValue: string;
190
+ };
191
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>) | undefined;
151
192
  /**
152
193
  * #action
153
194
  */
@@ -164,46 +205,83 @@ export declare function AssembliesMixin(_pluginManager: PluginManager, assemblyC
164
205
  * #action
165
206
  * used for read vs ref type assemblies.
166
207
  */
167
- addTemporaryAssembly(conf: AnyConfiguration): (import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<Record<string, any>> & {
168
- setSubschema(slotName: string, data: Record<string, unknown>): any;
169
- setSlot(slotName: string, value: unknown): void;
170
- } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
208
+ addTemporaryAssembly(conf: AnyConfiguration): (import("@jbrowse/core/configuration").ConfigNodeProps<{
209
+ readonly aliases: {
210
+ type: "stringArray";
211
+ } & {
212
+ defaultValue: unknown;
213
+ };
214
+ readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
215
+ readonly refNameColors: {
216
+ type: "stringArray";
217
+ } & {
218
+ defaultValue: unknown;
219
+ };
220
+ readonly geneticCodes: {
221
+ type: "frozen";
222
+ } & {
223
+ defaultValue: unknown;
224
+ };
225
+ readonly geneticCodesLocation: {
226
+ type: "fileLocation";
227
+ } & {
228
+ defaultValue: unknown;
229
+ };
230
+ readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
231
+ readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
232
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
233
+ readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
234
+ readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
235
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
236
+ readonly displayName: {
237
+ type: "string";
238
+ } & {
239
+ defaultValue: string;
240
+ };
241
+ name: {
242
+ type: "string";
243
+ } & {
244
+ defaultValue: string;
245
+ };
246
+ }> & import("@jbrowse/core/configuration").ConfigNodeActions & import("@jbrowse/core/configuration").ConfigNodeBrand<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
171
247
  readonly aliases: {
172
- readonly type: "stringArray";
173
- readonly defaultValue: readonly [];
174
- readonly description: "Other possible names for the assembly";
248
+ type: "stringArray";
249
+ } & {
250
+ defaultValue: unknown;
175
251
  };
176
252
  readonly sequence: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
177
253
  readonly refNameColors: {
178
- readonly type: "stringArray";
179
- readonly defaultValue: readonly [];
180
- readonly description: "Define custom colors for each reference sequence. Will cycle through this list if there are not enough colors for every sequence.";
254
+ type: "stringArray";
255
+ } & {
256
+ defaultValue: unknown;
181
257
  };
182
258
  readonly geneticCodes: {
183
- readonly type: "frozen";
184
- readonly defaultValue: {};
185
- readonly description: "Map of reference sequence name to NCBI genetic-code (translation table) id for sequences not using the standard code, e.g. { \"chrM\": 2 }";
259
+ type: "frozen";
260
+ } & {
261
+ defaultValue: unknown;
186
262
  };
187
263
  readonly geneticCodesLocation: {
188
- readonly type: "fileLocation";
189
- readonly defaultValue: {
190
- readonly uri: "";
191
- readonly locationType: "UriLocation";
192
- };
193
- readonly description: "Optional TSV file of refName<TAB>geneticCodeId, an alternative to inlining the geneticCodes map";
264
+ type: "fileLocation";
265
+ } & {
266
+ defaultValue: unknown;
194
267
  };
195
268
  readonly refNameAliases: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
196
269
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
197
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
270
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
198
271
  readonly cytobands: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
199
272
  readonly adapter: import("@jbrowse/mobx-state-tree").IAnyType;
200
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
273
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined, undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>;
201
274
  readonly displayName: {
202
- readonly type: "string";
203
- readonly defaultValue: "";
204
- readonly description: "A human readable display name for the assembly e.g. \"Homo sapiens (hg38)\" while the assembly name may just be \"hg38\"";
275
+ type: "string";
276
+ } & {
277
+ defaultValue: string;
278
+ };
279
+ name: {
280
+ type: "string";
281
+ } & {
282
+ defaultValue: string;
205
283
  };
206
- }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name">>>) | undefined;
284
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "name", undefined, import("@jbrowse/core/configuration").ConfigurationSchemaRequirement<Partial<Record<string, string[]>>, string>>>>) | undefined;
207
285
  /**
208
286
  * #action
209
287
  */