@omniviewdev/runtime 0.0.0-nightly.20260323 → 0.0.0-nightly.20260328

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.
@@ -0,0 +1,2 @@
1
+ export { DependencyNode, DependencyTree, GraphEdge, GraphNode } from './models.js';
2
+ export type { RelationshipType } from './models.js';
@@ -0,0 +1,53 @@
1
+ import * as resource$0 from "../../../../../../plugin-sdk/pkg/v1/resource/models.js";
2
+ export declare class DependencyNode {
3
+ "edge": GraphEdge;
4
+ "children": DependencyNode[];
5
+ /** Creates a new DependencyNode instance. */
6
+ constructor($$source?: Partial<DependencyNode>);
7
+ /**
8
+ * Creates a new DependencyNode instance from a string or object.
9
+ */
10
+ static createFrom($$source?: any): DependencyNode;
11
+ }
12
+ export declare class DependencyTree {
13
+ "root": GraphNode;
14
+ "children": DependencyNode[];
15
+ /** Creates a new DependencyTree instance. */
16
+ constructor($$source?: Partial<DependencyTree>);
17
+ /**
18
+ * Creates a new DependencyTree instance from a string or object.
19
+ */
20
+ static createFrom($$source?: any): DependencyTree;
21
+ }
22
+ export declare class GraphEdge {
23
+ "source": GraphNode;
24
+ "target": GraphNode;
25
+ "type": RelationshipType;
26
+ "label": string;
27
+ /** Creates a new GraphEdge instance. */
28
+ constructor($$source?: Partial<GraphEdge>);
29
+ /**
30
+ * Creates a new GraphEdge instance from a string or object.
31
+ */
32
+ static createFrom($$source?: any): GraphEdge;
33
+ }
34
+ /**
35
+ * GraphNode identifies a specific resource instance in the graph.
36
+ */
37
+ export declare class GraphNode {
38
+ "pluginId": string;
39
+ "connectionId": string;
40
+ "resourceKey": string;
41
+ "id": string;
42
+ "namespace"?: string;
43
+ /** Creates a new GraphNode instance. */
44
+ constructor($$source?: Partial<GraphNode>);
45
+ /**
46
+ * Creates a new GraphNode instance from a string or object.
47
+ */
48
+ static createFrom($$source?: any): GraphNode;
49
+ }
50
+ /**
51
+ * RelationshipType re-exports from SDK for convenience.
52
+ */
53
+ export type RelationshipType = resource$0.RelationshipType;
@@ -0,0 +1,14 @@
1
+ import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
2
+ import * as graph$0 from "./graph/models.js";
3
+ /**
4
+ * GetDependencyTree follows all outgoing edges recursively.
5
+ */
6
+ export declare function GetDependencyTree(pluginID: string, connectionID: string, resourceKey: string, $namespace: string, id: string, maxDepth: number): $CancellablePromise<graph$0.DependencyTree | null>;
7
+ /**
8
+ * GetRelated returns edges connected to the given node.
9
+ */
10
+ export declare function GetRelated(pluginID: string, connectionID: string, resourceKey: string, $namespace: string, id: string, direction: string, relType: string | null): $CancellablePromise<graph$0.GraphEdge[]>;
11
+ /**
12
+ * GetRelationshipChain follows edges of a specific type up to maxDepth hops.
13
+ */
14
+ export declare function GetRelationshipChain(pluginID: string, connectionID: string, resourceKey: string, $namespace: string, id: string, relType: string, maxDepth: number): $CancellablePromise<graph$0.GraphEdge[][]>;
@@ -1,3 +1,4 @@
1
+ import * as GraphService from "./graphservice.js";
1
2
  import * as ServiceWrapper from "./servicewrapper.js";
2
- export { ServiceWrapper };
3
+ export { GraphService, ServiceWrapper };
3
4
  export { ConnectionState, ConnectionStatusPayload } from './models.js';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Omniview",
3
3
  "license": "AGPL-3.0-only",
4
4
  "name": "@omniviewdev/runtime",
5
- "version": "0.0.0-nightly.20260323",
5
+ "version": "0.0.0-nightly.20260328",
6
6
  "description": "Runtime shared library for Omniview",
7
7
  "sideEffects": false,
8
8
  "type": "module",