@jbrowse/plugin-legacy-jbrowse 2.11.0 → 2.11.2
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/GuessNCList/index.d.ts +1 -2
- package/dist/GuessNCList/index.js +3 -2
- package/dist/JBrowse1Connection/index.d.ts +1 -2
- package/dist/JBrowse1Connection/index.js +3 -2
- package/dist/JBrowse1Connection/model.d.ts +1 -1
- package/dist/JBrowse1Connection/model.js +2 -2
- package/dist/JBrowse1TextSearchAdapter/index.d.ts +1 -2
- package/dist/JBrowse1TextSearchAdapter/index.js +3 -2
- package/dist/NCListAdapter/NCListFeature.js +1 -0
- package/dist/NCListAdapter/index.d.ts +1 -2
- package/dist/NCListAdapter/index.js +3 -2
- package/esm/GuessNCList/index.d.ts +1 -2
- package/esm/GuessNCList/index.js +2 -2
- package/esm/JBrowse1Connection/index.d.ts +1 -2
- package/esm/JBrowse1Connection/index.js +2 -2
- package/esm/JBrowse1Connection/model.d.ts +1 -1
- package/esm/JBrowse1Connection/model.js +1 -1
- package/esm/JBrowse1TextSearchAdapter/index.d.ts +1 -2
- package/esm/JBrowse1TextSearchAdapter/index.js +2 -2
- package/esm/NCListAdapter/NCListFeature.js +1 -0
- package/esm/NCListAdapter/index.d.ts +1 -2
- package/esm/NCListAdapter/index.js +2 -2
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
4
|
-
|
|
4
|
+
function GuessNCListF(pluginManager) {
|
|
5
5
|
pluginManager.addToExtensionPoint('Core-guessAdapterForLocation', (adapterGuesser) => {
|
|
6
6
|
return (file, index, adapterHint) => {
|
|
7
7
|
const regexGuess = /trackData.jsonz?$/i;
|
|
@@ -16,4 +16,5 @@ exports.default = (pluginManager) => {
|
|
|
16
16
|
return adapterGuesser(file, index, adapterHint);
|
|
17
17
|
};
|
|
18
18
|
});
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
|
+
exports.default = GuessNCListF;
|
|
@@ -7,7 +7,7 @@ const ConnectionType_1 = __importDefault(require("@jbrowse/core/pluggableElement
|
|
|
7
7
|
// locals
|
|
8
8
|
const model_1 = __importDefault(require("./model"));
|
|
9
9
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
10
|
-
|
|
10
|
+
function JBrowse1ConnectionF(pluginManager) {
|
|
11
11
|
pluginManager.addConnectionType(() => new ConnectionType_1.default({
|
|
12
12
|
name: 'JBrowse1Connection',
|
|
13
13
|
configSchema: configSchema_1.default,
|
|
@@ -16,4 +16,5 @@ exports.default = (pluginManager) => {
|
|
|
16
16
|
description: 'A JBrowse 1 data directory',
|
|
17
17
|
url: '//jbrowse.org/',
|
|
18
18
|
}));
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
|
+
exports.default = JBrowse1ConnectionF;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export default function (pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
2
|
+
export default function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
3
3
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
4
4
|
tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
5
5
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
@@ -32,7 +32,7 @@ const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
|
|
|
32
32
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
33
33
|
// locals
|
|
34
34
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
35
|
-
function
|
|
35
|
+
function stateModelFactory(pluginManager) {
|
|
36
36
|
return mobx_state_tree_1.types
|
|
37
37
|
.compose('JBrowse1Connection', (0, models_1.BaseConnectionModelFactory)(pluginManager), mobx_state_tree_1.types.model({
|
|
38
38
|
configuration: (0, configuration_1.ConfigurationReference)(configSchema_1.default),
|
|
@@ -71,4 +71,4 @@ function default_1(pluginManager) {
|
|
|
71
71
|
},
|
|
72
72
|
}));
|
|
73
73
|
}
|
|
74
|
-
exports.default =
|
|
74
|
+
exports.default = stateModelFactory;
|
|
@@ -7,11 +7,12 @@ const TextSearchAdapterType_1 = __importDefault(require("@jbrowse/core/pluggable
|
|
|
7
7
|
// locals
|
|
8
8
|
const JBrowse1TextSearchAdapter_1 = __importDefault(require("./JBrowse1TextSearchAdapter"));
|
|
9
9
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
10
|
-
|
|
10
|
+
function JBrowse1TextSearchAdapterF(pluginManager) {
|
|
11
11
|
pluginManager.addTextSearchAdapterType(() => new TextSearchAdapterType_1.default({
|
|
12
12
|
name: 'JBrowse1TextSearchAdapter',
|
|
13
13
|
configSchema: configSchema_1.default,
|
|
14
14
|
AdapterClass: JBrowse1TextSearchAdapter_1.default,
|
|
15
15
|
description: 'A JBrowse 1 text search adapter',
|
|
16
16
|
}));
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
|
+
exports.default = JBrowse1TextSearchAdapterF;
|
|
@@ -28,11 +28,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
30
30
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
|
-
|
|
31
|
+
function NCListAdapterF(pluginManager) {
|
|
32
32
|
pluginManager.addAdapterType(() => new pluggableElementTypes_1.AdapterType({
|
|
33
33
|
name: 'NCListAdapter',
|
|
34
34
|
displayName: 'NCList adapter',
|
|
35
35
|
configSchema: configSchema_1.default,
|
|
36
36
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./NCListAdapter'))).then(r => r.default),
|
|
37
37
|
}));
|
|
38
|
-
}
|
|
38
|
+
}
|
|
39
|
+
exports.default = NCListAdapterF;
|
package/esm/GuessNCList/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getFileName } from '@jbrowse/core/util/tracks';
|
|
2
|
-
export default (pluginManager)
|
|
2
|
+
export default function GuessNCListF(pluginManager) {
|
|
3
3
|
pluginManager.addToExtensionPoint('Core-guessAdapterForLocation', (adapterGuesser) => {
|
|
4
4
|
return (file, index, adapterHint) => {
|
|
5
5
|
const regexGuess = /trackData.jsonz?$/i;
|
|
@@ -14,4 +14,4 @@ export default (pluginManager) => {
|
|
|
14
14
|
return adapterGuesser(file, index, adapterHint);
|
|
15
15
|
};
|
|
16
16
|
});
|
|
17
|
-
}
|
|
17
|
+
}
|
|
@@ -2,7 +2,7 @@ import ConnectionType from '@jbrowse/core/pluggableElementTypes/ConnectionType';
|
|
|
2
2
|
// locals
|
|
3
3
|
import modelFactory from './model';
|
|
4
4
|
import configSchema from './configSchema';
|
|
5
|
-
export default (pluginManager)
|
|
5
|
+
export default function JBrowse1ConnectionF(pluginManager) {
|
|
6
6
|
pluginManager.addConnectionType(() => new ConnectionType({
|
|
7
7
|
name: 'JBrowse1Connection',
|
|
8
8
|
configSchema,
|
|
@@ -11,4 +11,4 @@ export default (pluginManager) => {
|
|
|
11
11
|
description: 'A JBrowse 1 data directory',
|
|
12
12
|
url: '//jbrowse.org/',
|
|
13
13
|
}));
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export default function (pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
2
|
+
export default function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
|
|
3
3
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
4
4
|
tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
5
5
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
@@ -4,7 +4,7 @@ import { BaseConnectionModelFactory } from '@jbrowse/core/pluggableElementTypes/
|
|
|
4
4
|
import { types } from 'mobx-state-tree';
|
|
5
5
|
// locals
|
|
6
6
|
import configSchema from './configSchema';
|
|
7
|
-
export default function (pluginManager) {
|
|
7
|
+
export default function stateModelFactory(pluginManager) {
|
|
8
8
|
return types
|
|
9
9
|
.compose('JBrowse1Connection', BaseConnectionModelFactory(pluginManager), types.model({
|
|
10
10
|
configuration: ConfigurationReference(configSchema),
|
|
@@ -2,11 +2,11 @@ import TextSearchAdapterType from '@jbrowse/core/pluggableElementTypes/TextSearc
|
|
|
2
2
|
// locals
|
|
3
3
|
import AdapterClass from './JBrowse1TextSearchAdapter';
|
|
4
4
|
import configSchema from './configSchema';
|
|
5
|
-
export default (pluginManager)
|
|
5
|
+
export default function JBrowse1TextSearchAdapterF(pluginManager) {
|
|
6
6
|
pluginManager.addTextSearchAdapterType(() => new TextSearchAdapterType({
|
|
7
7
|
name: 'JBrowse1TextSearchAdapter',
|
|
8
8
|
configSchema,
|
|
9
9
|
AdapterClass,
|
|
10
10
|
description: 'A JBrowse 1 text search adapter',
|
|
11
11
|
}));
|
|
12
|
-
}
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AdapterType } from '@jbrowse/core/pluggableElementTypes';
|
|
2
2
|
import configSchema from './configSchema';
|
|
3
|
-
export default (pluginManager)
|
|
3
|
+
export default function NCListAdapterF(pluginManager) {
|
|
4
4
|
pluginManager.addAdapterType(() => new AdapterType({
|
|
5
5
|
name: 'NCListAdapter',
|
|
6
6
|
displayName: 'NCList adapter',
|
|
7
7
|
configSchema,
|
|
8
8
|
getAdapterClass: () => import('./NCListAdapter').then(r => r.default),
|
|
9
9
|
}));
|
|
10
|
-
}
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-legacy-jbrowse",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.2",
|
|
4
4
|
"description": "JBrowse 2 plugin for connecting to and reading JBrowse 1 data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"distModule": "esm/index.js",
|
|
56
56
|
"srcModule": "src/index.ts",
|
|
57
57
|
"module": "esm/index.js",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "511048cb6965f0bf624c96de244e7fd47fce17d6"
|
|
59
59
|
}
|