@jbrowse/plugin-trix 5.0.0-beta.1 → 5.0.0-beta.3

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.
@@ -6,9 +6,9 @@ export declare function normalizeSnapshot(snap: Record<string, unknown>): Record
6
6
  *
7
7
  * #example
8
8
  * `jbrowse text-index` writes this entry into `aggregateTextSearchAdapters` for
9
- * you. The `uri` shorthand points at the `.ix`; the sibling `.ixx` and
10
- * `_meta.json` are derived from it, so all three only need spelling out when
11
- * they are named against convention.
9
+ * you. The `uri` shorthand points at the `.ix` and the sibling `.ixx` is derived
10
+ * from it, so the pair only needs spelling out when they are named against
11
+ * convention.
12
12
  * ```js
13
13
  * {
14
14
  * type: 'TrixTextSearchAdapter',
@@ -44,26 +44,6 @@ declare const TrixTextSearchAdapter: import("@jbrowse/core/configuration/configu
44
44
  readonly locationType: "UriLocation";
45
45
  };
46
46
  };
47
- /**
48
- * #slot
49
- * location of the `_meta.json` written beside the index, recording which
50
- * tracks and assemblies it covers and the attributes it was built from.
51
- */
52
- readonly metaFilePath: {
53
- readonly type: "fileLocation";
54
- readonly defaultValue: {
55
- readonly uri: "meta.json";
56
- readonly locationType: "UriLocation";
57
- };
58
- };
59
- /**
60
- * #slot
61
- */
62
- readonly tracks: {
63
- readonly type: "stringArray";
64
- readonly defaultValue: readonly [];
65
- readonly description: "List of tracks covered by text search adapter";
66
- };
67
47
  /**
68
48
  * #slot
69
49
  */
@@ -3,8 +3,8 @@ export function normalizeSnapshot(snap) {
3
3
  return typeof snap.uri === 'string'
4
4
  ? {
5
5
  ...snap,
6
- // `uri` points at the `.ix` file; `.ixx` and `_meta.json` sit beside it
7
- // (the `jbrowse text-index` naming convention), so derive all three
6
+ // `uri` points at the `.ix` file and the `.ixx` sits beside it (the
7
+ // `jbrowse text-index` naming convention), so derive the pair
8
8
  ixFilePath: {
9
9
  uri: snap.uri,
10
10
  baseUri: snap.baseUri,
@@ -13,10 +13,6 @@ export function normalizeSnapshot(snap) {
13
13
  uri: `${snap.uri}x`,
14
14
  baseUri: snap.baseUri,
15
15
  },
16
- metaFilePath: {
17
- uri: `${snap.uri.replace(/\.ix$/, '')}_meta.json`,
18
- baseUri: snap.baseUri,
19
- },
20
16
  }
21
17
  : snap;
22
18
  }
@@ -27,9 +23,9 @@ export function normalizeSnapshot(snap) {
27
23
  *
28
24
  * #example
29
25
  * `jbrowse text-index` writes this entry into `aggregateTextSearchAdapters` for
30
- * you. The `uri` shorthand points at the `.ix`; the sibling `.ixx` and
31
- * `_meta.json` are derived from it, so all three only need spelling out when
32
- * they are named against convention.
26
+ * you. The `uri` shorthand points at the `.ix` and the sibling `.ixx` is derived
27
+ * from it, so the pair only needs spelling out when they are named against
28
+ * convention.
33
29
  * ```js
34
30
  * {
35
31
  * type: 'TrixTextSearchAdapter',
@@ -65,26 +61,6 @@ const TrixTextSearchAdapter = ConfigurationSchema('TrixTextSearchAdapter', {
65
61
  locationType: 'UriLocation',
66
62
  },
67
63
  },
68
- /**
69
- * #slot
70
- * location of the `_meta.json` written beside the index, recording which
71
- * tracks and assemblies it covers and the attributes it was built from.
72
- */
73
- metaFilePath: {
74
- type: 'fileLocation',
75
- defaultValue: {
76
- uri: 'meta.json',
77
- locationType: 'UriLocation',
78
- },
79
- },
80
- /**
81
- * #slot
82
- */
83
- tracks: {
84
- type: 'stringArray',
85
- defaultValue: [],
86
- description: 'List of tracks covered by text search adapter',
87
- },
88
64
  /**
89
65
  * #slot
90
66
  */
@@ -105,8 +81,8 @@ const TrixTextSearchAdapter = ConfigurationSchema('TrixTextSearchAdapter', {
105
81
  *
106
82
  *
107
83
  * preprocessor to allow minimal config: `uri` points at the `.ix` file and
108
- * the sibling `.ixx` and `_meta.json` are derived from it (the
109
- * `jbrowse text-index` naming convention):
84
+ * the sibling `.ixx` is derived from it (the `jbrowse text-index` naming
85
+ * convention):
110
86
  * ```json
111
87
  * {
112
88
  * "type": "TrixTextSearchAdapter",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-trix",
3
- "version": "5.0.0-beta.1",
3
+ "version": "5.0.0-beta.3",
4
4
  "type": "module",
5
5
  "description": "JBrowse 2 trix text search adapter",
6
6
  "keywords": [
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@gmod/trix": "^3.0.22",
28
- "@jbrowse/core": "^5.0.0-beta.1"
28
+ "@jbrowse/core": "^5.0.0-beta.3"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"