@jbrowse/plugin-sequence 1.6.5 → 1.6.8

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,2 +1,2 @@
1
- declare const _default: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
1
+ declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
2
  export default _default;
@@ -14,5 +14,6 @@ export default class extends BaseAdapter implements RegionsAdapter {
14
14
  end: number;
15
15
  }[]>;
16
16
  getFeatures(): void;
17
+ getHeader(): {};
17
18
  freeResources(): void;
18
19
  }
@@ -1,2 +1,2 @@
1
- declare const _default: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
1
+ declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
1
+ declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
- declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
2
+ declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
3
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import PluginManager from '@jbrowse/core/PluginManager';
2
2
  declare const _default: (pluginManager: PluginManager) => {
3
- configSchema: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
3
+ configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
4
4
  getAdapterClass: () => Promise<typeof import("./GCContentAdapter").default>;
5
5
  };
6
6
  export default _default;
@@ -15,11 +15,6 @@ export default class extends BaseSequenceAdapter {
15
15
  start: number;
16
16
  end: number;
17
17
  }[]>;
18
- /**
19
- * Fetch features for a certain region
20
- * @param param -
21
- * @returns Observable of Feature objects in the region
22
- */
23
18
  getFeatures(region: NoAssemblyRegion, opts?: BaseOptions): import("rxjs").Observable<Feature>;
24
19
  /**
25
20
  * called to provide a hint that data tied to a certain region
@@ -1,2 +1,2 @@
1
- declare const _default: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
1
+ declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
2
  export default _default;
@@ -1 +1 @@
1
- export declare const configSchema: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
1
+ export declare const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
@@ -25,7 +25,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
25
25
  renderInProgress: AbortController | undefined;
26
26
  filled: boolean;
27
27
  reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined;
28
- features: Map<string, import("@jbrowse/core/util/simpleFeature").Feature> | undefined;
28
+ features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
29
29
  layout: any;
30
30
  status: string;
31
31
  error: unknown;
@@ -43,7 +43,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
43
43
  setMessage(messageText: string): void;
44
44
  setRendered(props: {
45
45
  reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
46
- features: Map<string, import("@jbrowse/core/util/simpleFeature").Feature>;
46
+ features: Map<string, import("@jbrowse/core/util").Feature>;
47
47
  layout: any;
48
48
  maxHeightReached: boolean;
49
49
  renderProps: any;
@@ -117,7 +117,7 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
117
117
  currBpPerPx: number;
118
118
  message: string;
119
119
  featureIdUnderMouse: string | undefined;
120
- contextMenuFeature: import("@jbrowse/core/util/simpleFeature").Feature | undefined;
120
+ contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
121
121
  scrollTop: number;
122
122
  estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
123
123
  estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
@@ -130,8 +130,8 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
130
130
  readonly selectedFeatureId: string | undefined;
131
131
  readonly DisplayMessageComponent: import("react").FC<any> | undefined;
132
132
  } & {
133
- readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util/simpleFeature").Feature>;
134
- readonly featureUnderMouse: import("@jbrowse/core/util/simpleFeature").Feature | undefined;
133
+ readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
134
+ readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
135
135
  getFeatureOverlapping(blockKey: string, x: number, y: number): any;
136
136
  getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
137
137
  searchFeatureByID(id: string): [number, number, number, number] | undefined;
@@ -158,11 +158,11 @@ export declare function modelFactory(configSchema: AnyConfigurationSchemaType):
158
158
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
159
159
  setCurrBpPerPx(n: number): void;
160
160
  deleteBlock(key: string): void;
161
- selectFeature(feature: import("@jbrowse/core/util/simpleFeature").Feature): void;
161
+ selectFeature(feature: import("@jbrowse/core/util").Feature): void;
162
162
  clearFeatureSelection(): void;
163
163
  setFeatureIdUnderMouse(feature: string | undefined): void;
164
164
  reload(): void;
165
- setContextMenuFeature(feature?: import("@jbrowse/core/util/simpleFeature").Feature | undefined): void;
165
+ setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
166
166
  } & {
167
167
  readonly regionTooLarge: boolean;
168
168
  readonly regionTooLargeReason: string;
@@ -1,2 +1,2 @@
1
- declare const _default: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
1
+ declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
2
2
  export default _default;
@@ -2317,6 +2317,11 @@ var _default = /*#__PURE__*/function (_BaseAdapter) {
2317
2317
  value: function getFeatures() {
2318
2318
  throw new Error('sequence not available');
2319
2319
  }
2320
+ }, {
2321
+ key: "getHeader",
2322
+ value: function getHeader() {
2323
+ return {};
2324
+ }
2320
2325
  }, {
2321
2326
  key: "freeResources",
2322
2327
  value: function
@@ -2425,12 +2430,6 @@ var _default$1 = /*#__PURE__*/function (_BaseSequenceAdapter) {
2425
2430
 
2426
2431
  return getRegions;
2427
2432
  }()
2428
- /**
2429
- * Fetch features for a certain region
2430
- * @param param -
2431
- * @returns Observable of Feature objects in the region
2432
- */
2433
-
2434
2433
  }, {
2435
2434
  key: "getFeatures",
2436
2435
  value: function getFeatures(region, opts) {