@matdata/yasgui-graph-plugin 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -10
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2,27 +2,21 @@
2
2
  // Project: https://github.com/Matdata-eu/yasgui-graph-plugin
3
3
 
4
4
  declare module '@matdata/yasgui-graph-plugin' {
5
- import type { default as Yasr } from '@zazuko/yasgui/build/ts/yasr';
5
+ import type { Plugin } from '@zazuko/yasgui/build/ts/plugins';
6
6
 
7
7
  /**
8
8
  * YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as interactive graphs
9
9
  */
10
- export default class GraphPlugin {
11
- /**
12
- * Creates a new GraphPlugin instance
13
- * @param yasr - The YASR instance
14
- */
15
- constructor(yasr: typeof Yasr);
16
-
10
+ export default class GraphPlugin extends Plugin {
17
11
  /**
18
12
  * Plugin priority (higher = shown first in tabs)
19
13
  */
20
- static get priority(): number;
14
+ static priority: number;
21
15
 
22
16
  /**
23
17
  * Plugin label for tab display
24
18
  */
25
- static get label(): string;
19
+ static label: string;
26
20
 
27
21
  /**
28
22
  * Check if plugin can handle the current results
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@matdata/yasgui-graph-plugin",
3
3
  "private": false,
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "description": "YASGUI plugin for visualizing SPARQL CONSTRUCT and DESCRIBE query results as interactive graphs",
6
6
  "main": "dist/yasgui-graph-plugin.cjs.js",
7
7
  "module": "dist/yasgui-graph-plugin.esm.js",