@jbrowse/text-indexing 5.0.0-beta.2 → 5.0.0-beta.4

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/util.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { Track } from '@jbrowse/text-indexing-core';
2
2
  export type indexType = 'aggregate' | 'perTrack';
3
- export declare function createTextSearchConf(name: string, trackIds: string[], assemblyNames: string[], locationPath: string): {
3
+ export declare function createTextSearchConf(name: string, assemblyNames: string[], locationPath: string): {
4
4
  type: string;
5
5
  textSearchAdapterId: string;
6
6
  ixFilePath: {
@@ -11,11 +11,6 @@ export declare function createTextSearchConf(name: string, trackIds: string[], a
11
11
  localPath: string;
12
12
  locationType: 'LocalPathLocation';
13
13
  };
14
- metaFilePath: {
15
- localPath: string;
16
- locationType: 'LocalPathLocation';
17
- };
18
- tracks: string[];
19
14
  assemblyNames: string[];
20
15
  };
21
16
  export declare function findTrackConfigsToIndex(tracks: Track[], trackIds: string[]): Track[];
package/esm/util.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { isSupportedIndexingAdapter, trixFilePaths, } from '@jbrowse/text-indexing-core';
2
- export function createTextSearchConf(name, trackIds, assemblyNames, locationPath) {
2
+ export function createTextSearchConf(name, assemblyNames, locationPath) {
3
3
  const paths = trixFilePaths(locationPath, name);
4
4
  return {
5
5
  type: 'TrixTextSearchAdapter',
@@ -12,11 +12,6 @@ export function createTextSearchConf(name, trackIds, assemblyNames, locationPath
12
12
  localPath: paths.ixx,
13
13
  locationType: 'LocalPathLocation',
14
14
  },
15
- metaFilePath: {
16
- localPath: paths.meta,
17
- locationType: 'LocalPathLocation',
18
- },
19
- tracks: trackIds,
20
15
  assemblyNames,
21
16
  };
22
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/text-indexing",
3
- "version": "5.0.0-beta.2",
3
+ "version": "5.0.0-beta.4",
4
4
  "type": "module",
5
5
  "description": "JBrowse 2 text indexing for desktop",
6
6
  "keywords": [
@@ -20,13 +20,17 @@
20
20
  },
21
21
  "author": "JBrowse Team",
22
22
  "main": "esm/index.js",
23
+ "exports": {
24
+ ".": "./esm/index.js",
25
+ "./util": "./esm/util.js"
26
+ },
23
27
  "files": [
24
28
  "esm"
25
29
  ],
26
30
  "dependencies": {
27
31
  "ixixx": "^3.0.13",
28
- "@jbrowse/text-indexing-core": "^5.0.0-beta.2",
29
- "@jbrowse/core": "^5.0.0-beta.2"
32
+ "@jbrowse/text-indexing-core": "^5.0.0-beta.4",
33
+ "@jbrowse/core": "^5.0.0-beta.4"
30
34
  },
31
35
  "peerDependencies": {
32
36
  "react": ">=19.0.0",
@@ -43,8 +47,5 @@
43
47
  "clean": "rimraf esm *.tsbuildinfo",
44
48
  "prebuild": "pnpm clean"
45
49
  },
46
- "types": "esm/index.d.ts",
47
- "exports": {
48
- ".": "./esm/index.js"
49
- }
50
+ "types": "esm/index.d.ts"
50
51
  }