Skip to content

Commit 17da973

Browse files
committed
demo plugin added the demo config
1 parent b9cbf04 commit 17da973

39 files changed

+2388
-19
lines changed

jbrowse/resources/external/minimalSession.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
}
3030
}
3131
},
32+
"plugins": [
33+
{
34+
"name": "MyProject",
35+
"url": "<CONTEXT_PATH>/jbrowse/plugins/demoPlugin/dist/jbrowse-plugin-my-project.umd.development.js"
36+
},],
3237
"tracks": [
3338
{
3439
"type": "VariantTrack",
@@ -67,5 +72,5 @@
6772
}
6873
}
6974
],
70-
"connections": []
75+
"connections": [],
7176
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference types="react" />
2+
export default function ReactComponent(): JSX.Element;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as ReactComponent } from './components/ReactComponent';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function _default(jbrowse: any): any;
2+
export default _default;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference types="react" />
2+
export default function ReactComponent2(): JSX.Element;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare function _default(jbrowse: any): {
2+
configSchema: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
3+
stateModel: any;
4+
ReactComponent: any;
5+
};
6+
export default _default;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export function helloWorldProcessedTranscript(feature: any): void;
2+
export const configSchema: import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
3+
export class AdapterClass extends BaseFeatureDataAdapter {
4+
constructor(args?: unknown);
5+
contructor(config: any): void;
6+
config: any;
7+
}
8+
import { BaseFeatureDataAdapter } from "@jbrowse/core/data_adapters/BaseAdapter";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function _default(pluginManager: any): import("@jbrowse/core/configuration/configurationSchema").AnyConfigurationSchemaType;
2+
export default _default;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
declare function _default(pluginManager: any): {
2+
configSchema: any;
3+
stateModel: any;
4+
};
5+
export default _default;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function _default(jbrowse: any): any;
2+
export default _default;

0 commit comments

Comments
 (0)