File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -54,27 +54,21 @@ const typeDeclaration = `// Type definitions for @matdata/yasgui-graph-plugin
5454// Project: https://github.com/Matdata-eu/yasgui-graph-plugin
5555
5656declare module '@matdata/yasgui-graph-plugin' {
57- import type { default as Yasr } from '@zazuko/yasgui/build/ts/yasr ';
57+ import type { Plugin } from '@zazuko/yasgui/build/ts/plugins ';
5858
5959 /**
6060 * YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as interactive graphs
6161 */
62- export default class GraphPlugin {
63- /**
64- * Creates a new GraphPlugin instance
65- * @param yasr - The YASR instance
66- */
67- constructor(yasr: typeof Yasr);
68-
62+ export default class GraphPlugin extends Plugin {
6963 /**
7064 * Plugin priority (higher = shown first in tabs)
7165 */
72- static get priority() : number;
66+ static priority: number;
7367
7468 /**
7569 * Plugin label for tab display
7670 */
77- static get label() : string;
71+ static label: string;
7872
7973 /**
8074 * Check if plugin can handle the current results
You can’t perform that action at this time.
0 commit comments