react-msaview 8.4.0 → 8.4.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/model.d.ts CHANGED
@@ -166,14 +166,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
166
166
  authInfo: any;
167
167
  }> | undefined;
168
168
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
169
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
169
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
170
170
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
171
171
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
172
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
172
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
173
173
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
174
174
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
175
175
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
176
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
176
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
177
177
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
178
178
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
179
179
  }> | {
@@ -184,41 +184,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
184
184
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
185
185
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
186
186
  }> | undefined;
187
- }, ({
188
- blobId: string;
189
- locationType: "BlobLocation";
190
- name: string;
191
- } & Partial<{
192
- locationType: "BlobLocation";
193
- name: string;
194
- blobId: string;
195
- }>) | ({
196
- handleId: string;
197
- locationType: "FileHandleLocation";
198
- name: string;
199
- } & Partial<{
200
- locationType: "FileHandleLocation";
201
- name: string;
202
- handleId: string;
203
- }>) | ({
204
- localPath: string;
205
- locationType: "LocalPathLocation";
206
- } & Partial<{
207
- locationType: "LocalPathLocation";
208
- localPath: string;
209
- }>) | ({
210
- locationType: "UriLocation";
211
- uri: string;
212
- } & Partial<{
213
- locationType: "UriLocation";
214
- uri: string;
215
- baseUri: string | undefined;
216
- internetAccountId: string | undefined;
217
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
218
- internetAccountType: string;
219
- authInfo: any;
220
- }> | undefined;
221
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
187
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
188
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
189
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
190
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
191
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
192
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
193
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
194
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
195
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
196
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
197
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
198
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
199
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
200
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
201
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
202
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
203
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
204
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
205
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
206
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
207
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
222
208
  locationType: "LocalPathLocation";
223
209
  localPath: string;
224
210
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -265,14 +251,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
265
251
  authInfo: any;
266
252
  }> | undefined;
267
253
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
268
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
254
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
269
255
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
270
256
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
271
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
257
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
272
258
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
273
259
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
274
260
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
275
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
261
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
276
262
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
277
263
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
278
264
  }> | {
@@ -283,41 +269,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
283
269
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
284
270
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
285
271
  }> | undefined;
286
- }, ({
287
- blobId: string;
288
- locationType: "BlobLocation";
289
- name: string;
290
- } & Partial<{
291
- locationType: "BlobLocation";
292
- name: string;
293
- blobId: string;
294
- }>) | ({
295
- handleId: string;
296
- locationType: "FileHandleLocation";
297
- name: string;
298
- } & Partial<{
299
- locationType: "FileHandleLocation";
300
- name: string;
301
- handleId: string;
302
- }>) | ({
303
- localPath: string;
304
- locationType: "LocalPathLocation";
305
- } & Partial<{
306
- locationType: "LocalPathLocation";
307
- localPath: string;
308
- }>) | ({
309
- locationType: "UriLocation";
310
- uri: string;
311
- } & Partial<{
312
- locationType: "UriLocation";
313
- uri: string;
314
- baseUri: string | undefined;
315
- internetAccountId: string | undefined;
316
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
317
- internetAccountType: string;
318
- authInfo: any;
319
- }> | undefined;
320
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
272
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
273
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
274
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
275
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
276
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
277
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
278
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
279
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
280
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
281
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
282
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
283
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
284
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
285
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
286
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
287
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
288
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
289
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
290
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
291
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
292
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
321
293
  locationType: "LocalPathLocation";
322
294
  localPath: string;
323
295
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -363,14 +335,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
363
335
  authInfo: any;
364
336
  }> | undefined;
365
337
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
366
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
338
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
367
339
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
368
340
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
369
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
341
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
370
342
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
371
343
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
372
344
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
373
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
345
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
374
346
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
375
347
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
376
348
  }> | {
@@ -381,41 +353,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
381
353
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
382
354
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
383
355
  }> | undefined;
384
- }, ({
385
- blobId: string;
386
- locationType: "BlobLocation";
387
- name: string;
388
- } & Partial<{
389
- locationType: "BlobLocation";
390
- name: string;
391
- blobId: string;
392
- }>) | ({
393
- handleId: string;
394
- locationType: "FileHandleLocation";
395
- name: string;
396
- } & Partial<{
397
- locationType: "FileHandleLocation";
398
- name: string;
399
- handleId: string;
400
- }>) | ({
401
- localPath: string;
402
- locationType: "LocalPathLocation";
403
- } & Partial<{
404
- locationType: "LocalPathLocation";
405
- localPath: string;
406
- }>) | ({
407
- locationType: "UriLocation";
408
- uri: string;
409
- } & Partial<{
410
- locationType: "UriLocation";
411
- uri: string;
412
- baseUri: string | undefined;
413
- internetAccountId: string | undefined;
414
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
415
- internetAccountType: string;
416
- authInfo: any;
417
- }> | undefined;
418
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
356
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
357
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
358
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
359
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
360
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
361
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
362
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
363
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
364
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
365
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
366
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
367
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
368
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
369
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
370
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
371
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
372
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
373
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
374
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
375
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
376
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
419
377
  locationType: "LocalPathLocation";
420
378
  localPath: string;
421
379
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -461,14 +419,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
461
419
  authInfo: any;
462
420
  }> | undefined;
463
421
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
464
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
422
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
465
423
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
466
424
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
467
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
425
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
468
426
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
469
427
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
470
428
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
471
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
429
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
472
430
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
473
431
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
474
432
  }> | {
@@ -479,41 +437,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
479
437
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
480
438
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
481
439
  }> | undefined;
482
- }, ({
483
- blobId: string;
484
- locationType: "BlobLocation";
485
- name: string;
486
- } & Partial<{
487
- locationType: "BlobLocation";
488
- name: string;
489
- blobId: string;
490
- }>) | ({
491
- handleId: string;
492
- locationType: "FileHandleLocation";
493
- name: string;
494
- } & Partial<{
495
- locationType: "FileHandleLocation";
496
- name: string;
497
- handleId: string;
498
- }>) | ({
499
- localPath: string;
500
- locationType: "LocalPathLocation";
501
- } & Partial<{
502
- locationType: "LocalPathLocation";
503
- localPath: string;
504
- }>) | ({
505
- locationType: "UriLocation";
506
- uri: string;
507
- } & Partial<{
508
- locationType: "UriLocation";
509
- uri: string;
510
- baseUri: string | undefined;
511
- internetAccountId: string | undefined;
512
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
513
- internetAccountType: string;
514
- authInfo: any;
515
- }> | undefined;
516
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
440
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
441
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
442
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
443
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
444
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
445
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
446
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
447
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
448
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
449
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
450
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
451
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
452
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
453
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
454
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
455
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
456
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
457
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
458
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
459
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
460
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
517
461
  locationType: "LocalPathLocation";
518
462
  localPath: string;
519
463
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -2354,14 +2298,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2354
2298
  scrollX: number;
2355
2299
  colWidth: number;
2356
2300
  treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2357
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2301
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2358
2302
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2359
2303
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2360
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2304
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2361
2305
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2362
2306
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2363
2307
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2364
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2308
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2365
2309
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2366
2310
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2367
2311
  }> | {
@@ -2374,14 +2318,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2374
2318
  }> | undefined;
2375
2319
  } | undefined;
2376
2320
  msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2377
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2321
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2378
2322
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2379
2323
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2380
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2324
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2381
2325
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2382
2326
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2383
2327
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2384
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2328
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2385
2329
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2386
2330
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2387
2331
  }> | {
@@ -2394,14 +2338,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2394
2338
  }> | undefined;
2395
2339
  } | undefined;
2396
2340
  treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2397
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2341
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2398
2342
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2399
2343
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2400
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2344
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2401
2345
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2402
2346
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2403
2347
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2404
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2348
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2405
2349
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2406
2350
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2407
2351
  }> | {
@@ -2414,14 +2358,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2414
2358
  }> | undefined;
2415
2359
  } | undefined;
2416
2360
  gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2417
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2361
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2418
2362
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2419
2363
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2420
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2364
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2421
2365
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2422
2366
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2423
2367
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2424
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2368
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2425
2369
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2426
2370
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2427
2371
  }> | {
@@ -2492,14 +2436,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2492
2436
  scrollX: number;
2493
2437
  colWidth: number;
2494
2438
  treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2495
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2439
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2496
2440
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2497
2441
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2498
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2442
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2499
2443
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2500
2444
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2501
2445
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2502
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2446
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2503
2447
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2504
2448
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2505
2449
  }> | {
@@ -2512,14 +2456,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2512
2456
  }> | undefined;
2513
2457
  } | undefined;
2514
2458
  msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2515
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2459
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2516
2460
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2517
2461
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2518
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2462
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2519
2463
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2520
2464
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2521
2465
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2522
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2466
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2523
2467
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2524
2468
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2525
2469
  }> | {
@@ -2532,14 +2476,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2532
2476
  }> | undefined;
2533
2477
  } | undefined;
2534
2478
  treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2535
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2479
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2536
2480
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2537
2481
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2538
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2482
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2539
2483
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2540
2484
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2541
2485
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2542
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2486
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2543
2487
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2544
2488
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2545
2489
  }> | {
@@ -2552,14 +2496,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2552
2496
  }> | undefined;
2553
2497
  } | undefined;
2554
2498
  gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2555
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2499
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2556
2500
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2557
2501
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2558
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2502
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2559
2503
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2560
2504
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2561
2505
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2562
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2506
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2563
2507
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2564
2508
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2565
2509
  }> | {
package/dist/model.js CHANGED
@@ -1224,25 +1224,25 @@ function stateModelFactory({ maxInlineSnapshotBytes = defaultMaxInlineSnapshotBy
1224
1224
  * #action
1225
1225
  */
1226
1226
  setMSAFilehandle(msaFilehandle) {
1227
- self.msaFilehandle = msaFilehandle;
1227
+ self.msaFilehandle = cast(msaFilehandle);
1228
1228
  },
1229
1229
  /**
1230
1230
  * #action
1231
1231
  */
1232
1232
  setTreeFilehandle(treeFilehandle) {
1233
- self.treeFilehandle = treeFilehandle;
1233
+ self.treeFilehandle = cast(treeFilehandle);
1234
1234
  },
1235
1235
  /**
1236
1236
  * #action
1237
1237
  */
1238
1238
  setTreeMetadataFilehandle(treeMetadataFilehandle) {
1239
- self.treeMetadataFilehandle = treeMetadataFilehandle;
1239
+ self.treeMetadataFilehandle = cast(treeMetadataFilehandle);
1240
1240
  },
1241
1241
  /**
1242
1242
  * #action
1243
1243
  */
1244
1244
  setGFFFilehandle(gffFilehandle) {
1245
- self.gffFilehandle = gffFilehandle;
1245
+ self.gffFilehandle = cast(gffFilehandle);
1246
1246
  },
1247
1247
  /**
1248
1248
  * #action