@omniviewdev/runtime 0.10.0 → 0.12.0
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/api.cjs +1 -1
- package/dist/api.d.ts +7 -6
- package/dist/api.js +205 -133
- package/dist/bindings/events/index.d.ts +20 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/models.d.ts +19 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +0 -20
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +3 -6
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -2
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +3 -15
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +5 -18
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +190 -9
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +34 -74
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
- package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
- package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
- package/dist/compat/types.d.ts +1 -1
- package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
- package/dist/context/drawer/types.d.ts +11 -21
- package/dist/context/operations/OperationsContext.d.ts +5 -5
- package/dist/exec.d.ts +5 -0
- package/dist/graph-JDqyJC_i.js +10 -0
- package/dist/graph-wHun0Bkz.cjs +1 -0
- package/dist/hooks/connection/index.d.ts +2 -1
- package/dist/hooks/connection/useConnection.d.ts +9 -30
- package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
- package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
- package/dist/hooks/connection/useConnections.d.ts +3 -2
- package/dist/hooks/connection/useScopeValues.d.ts +9 -0
- package/dist/hooks/logs/useLogSession.d.ts +4 -1
- package/dist/hooks/metric/useMetricStream.d.ts +6 -2
- package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
- package/dist/hooks/networker/types.d.ts +5 -2
- package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
- package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
- package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
- package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
- package/dist/hooks/resource/useEventBatcher.d.ts +12 -47
- package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
- package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
- package/dist/hooks/resource/useResource.d.ts +7 -58
- package/dist/hooks/resource/useResourceActions.d.ts +9 -58
- package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
- package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
- package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
- package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
- package/dist/hooks/resource/useResourceType.d.ts +6 -19
- package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
- package/dist/hooks/resource/useResources.d.ts +34 -60
- package/dist/hooks/resource/useStreamAction.d.ts +4 -8
- package/dist/hooks/resource/useWatchState.d.ts +15 -22
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2970 -2878
- package/dist/logs.d.ts +14 -0
- package/dist/metric.d.ts +35 -0
- package/dist/models-Cg1YRHQm.js +583 -0
- package/dist/models-DSGyy8lg.cjs +1 -0
- package/dist/models-UwESEW2B.js +1232 -0
- package/dist/models-dzj-SsFZ.cjs +1 -0
- package/dist/models.cjs +1 -1
- package/dist/models.d.ts +13 -8
- package/dist/models.js +118 -209
- package/dist/networker.d.ts +31 -0
- package/dist/resource/v2/ancillary.d.ts +161 -0
- package/dist/resource/v2/client.d.ts +57 -0
- package/dist/resource/v2/domain.d.ts +204 -0
- package/dist/resource/v2/graph-client.d.ts +7 -0
- package/dist/resource/v2/graph.d.ts +35 -0
- package/dist/resource/v2/host.d.ts +129 -0
- package/dist/resource/v2/requestJSON.d.ts +2 -0
- package/dist/resource/v2/value.d.ts +9 -0
- package/dist/resourceQueryKeys.d.ts +8 -4
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +1 -1
- package/dist/search.d.ts +9 -11
- package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
- package/dist/servicewrapper-Bda7yi8z.js +684 -0
- package/dist/types/watch.d.ts +48 -21
- package/dist/utils/activeSyncAggregator.d.ts +2 -2
- package/package.json +1 -1
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
- package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
- package/dist/compat/resource.d.ts +0 -4
- package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
- package/dist/legacyEnum-CKqyRmbX.js +0 -15
- package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
- package/dist/models-BxypsesT.cjs +0 -1
- package/dist/models-C6jzDokQ.js +0 -347
- package/dist/models-CT4kHj47.js +0 -2444
- package/dist/models-DQl7tqts.cjs +0 -1
- package/dist/servicewrapper-C6SURWw1.js +0 -850
- package/dist/servicewrapper-COMjQHnY.cjs +0 -1
- package/dist/utils/resourceKey.d.ts +0 -12
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as metric$0 from "../../../../../plugin-sdk/pkg/v1/metric/models.js";
|
|
2
|
-
import * as time$0 from "../../../../../../../time/models.js";
|
|
3
2
|
/**
|
|
4
3
|
* MetricProviderSummary is a lightweight summary of a metric provider,
|
|
5
4
|
* exposed to the frontend.
|
|
@@ -18,22 +17,3 @@ export declare class MetricProviderSummary {
|
|
|
18
17
|
*/
|
|
19
18
|
static createFrom($$source?: any): MetricProviderSummary;
|
|
20
19
|
}
|
|
21
|
-
/**
|
|
22
|
-
* SubscribeRequest contains parameters for subscribing to a metric stream.
|
|
23
|
-
*/
|
|
24
|
-
export declare class SubscribeRequest {
|
|
25
|
-
"resource_key": string;
|
|
26
|
-
"resource_id": string;
|
|
27
|
-
"resource_namespace": string;
|
|
28
|
-
"resource_data": {
|
|
29
|
-
[_ in string]?: any;
|
|
30
|
-
};
|
|
31
|
-
"metric_ids": string[];
|
|
32
|
-
"interval": time$0.Duration;
|
|
33
|
-
/** Creates a new SubscribeRequest instance. */
|
|
34
|
-
constructor($$source?: Partial<SubscribeRequest>);
|
|
35
|
-
/**
|
|
36
|
-
* Creates a new SubscribeRequest instance from a string or object.
|
|
37
|
-
*/
|
|
38
|
-
static createFrom($$source?: any): SubscribeRequest;
|
|
39
|
-
}
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
2
|
import * as metric$0 from "../../../../../plugin-sdk/pkg/v1/metric/models.js";
|
|
3
|
-
import * as time$0 from "../../../../../../../time/models.js";
|
|
4
3
|
import * as $models from "./models.js";
|
|
5
4
|
export declare function GetProviders(): $CancellablePromise<$models.MetricProviderSummary[]>;
|
|
6
5
|
export declare function GetProvidersForResource(resourceKey: string): $CancellablePromise<$models.MetricProviderSummary[]>;
|
|
7
6
|
export declare function HasPlugin(pluginID: string): $CancellablePromise<boolean>;
|
|
8
7
|
export declare function ListPlugins(): $CancellablePromise<string[]>;
|
|
9
|
-
export declare function Query(pluginID: string, connectionID: string,
|
|
10
|
-
export declare function QueryAll(connectionID: string,
|
|
11
|
-
[_ in string]?: any;
|
|
12
|
-
}, metricIDs: string[], shape: metric$0.MetricShape, startTime: string, endTime: string, step: time$0.Duration): $CancellablePromise<{
|
|
8
|
+
export declare function Query(pluginID: string, connectionID: string, encoded: string): $CancellablePromise<metric$0.QueryResponse | null>;
|
|
9
|
+
export declare function QueryAll(connectionID: string, encoded: string): $CancellablePromise<{
|
|
13
10
|
[_ in string]?: metric$0.QueryResponse | null;
|
|
14
11
|
}>;
|
|
15
|
-
export declare function Subscribe(pluginID: string, connectionID: string,
|
|
12
|
+
export declare function Subscribe(pluginID: string, connectionID: string, encoded: string): $CancellablePromise<string>;
|
|
16
13
|
export declare function Unsubscribe(subscriptionID: string): $CancellablePromise<void>;
|
|
@@ -8,4 +8,4 @@ export declare function HasPlugin(pluginID: string): $CancellablePromise<boolean
|
|
|
8
8
|
export declare function ListAllPortForwardSessions(): $CancellablePromise<(networker$0.PortForwardSession | null)[]>;
|
|
9
9
|
export declare function ListPlugins(): $CancellablePromise<string[]>;
|
|
10
10
|
export declare function ListPortForwardSessions(pluginID: string, connectionID: string): $CancellablePromise<(networker$0.PortForwardSession | null)[]>;
|
|
11
|
-
export declare function StartResourcePortForwardingSession(pluginID: string, connectionID: string,
|
|
11
|
+
export declare function StartResourcePortForwardingSession(pluginID: string, connectionID: string, encoded: string): $CancellablePromise<networker$0.PortForwardSession | null>;
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DependencyNode, DependencyTree, GraphEdge,
|
|
2
|
-
export type { RelationshipType } from './models.js';
|
|
1
|
+
export { DependencyNode, DependencyTree, GraphEdge, Subgraph, SubgraphNode } from './models.js';
|
|
2
|
+
export type { GraphNode, RelationshipType } from './models.js';
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as resourcev2$0 from "../../../../../../plugin-sdk/pkg/resource/v2/models.js";
|
|
2
2
|
export declare class DependencyNode {
|
|
3
3
|
"edge": GraphEdge;
|
|
4
4
|
"children": DependencyNode[];
|
|
@@ -34,23 +34,11 @@ export declare class GraphEdge {
|
|
|
34
34
|
/**
|
|
35
35
|
* GraphNode identifies a specific resource instance in the graph.
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
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
|
-
}
|
|
37
|
+
export type GraphNode = any;
|
|
50
38
|
/**
|
|
51
39
|
* RelationshipType re-exports from SDK for convenience.
|
|
52
40
|
*/
|
|
53
|
-
export type RelationshipType =
|
|
41
|
+
export type RelationshipType = resourcev2$0.RelationshipType;
|
|
54
42
|
/**
|
|
55
43
|
* Subgraph is the neighbourhood of one resource: the nodes reached by
|
|
56
44
|
* following edges up and down from it, and every edge followed between them.
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts
CHANGED
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
2
|
import * as graph$0 from "./graph/models.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function
|
|
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[][]>;
|
|
15
|
-
/**
|
|
16
|
-
* GetSubgraph returns the resources around one resource: up to upDepth hops
|
|
17
|
-
* against edge direction (owners, selectors) and downDepth hops along it
|
|
18
|
-
* (dependencies), with every edge between them.
|
|
19
|
-
*/
|
|
20
|
-
export declare function GetSubgraph(pluginID: string, connectionID: string, resourceKey: string, $namespace: string, id: string, upDepth: number, downDepth: number): $CancellablePromise<graph$0.Subgraph | null>;
|
|
3
|
+
import * as resourcev2$0 from "../../../../../plugin-sdk/pkg/resource/v2/models.js";
|
|
4
|
+
export declare function GetDependencyTree(pluginID: string, reference: resourcev2$0.ResourceReference, route: resourcev2$0.AccessRoute, maxDepth: number): $CancellablePromise<graph$0.DependencyTree | null>;
|
|
5
|
+
export declare function GetRelated(pluginID: string, reference: resourcev2$0.ResourceReference, route: resourcev2$0.AccessRoute, direction: string, relType: string | null): $CancellablePromise<graph$0.GraphEdge[]>;
|
|
6
|
+
export declare function GetRelationshipChain(pluginID: string, reference: resourcev2$0.ResourceReference, route: resourcev2$0.AccessRoute, relType: string, maxDepth: number): $CancellablePromise<graph$0.GraphEdge[][]>;
|
|
7
|
+
export declare function GetSubgraph(pluginID: string, reference: resourcev2$0.ResourceReference, route: resourcev2$0.AccessRoute, upDepth: number, downDepth: number): $CancellablePromise<graph$0.Subgraph | null>;
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as GraphService from "./graphservice.js";
|
|
2
2
|
import * as ServiceWrapper from "./servicewrapper.js";
|
|
3
3
|
export { GraphService, ServiceWrapper };
|
|
4
|
-
export { ActionEventDTO, ActionSnapshot, ConnectionState, ConnectionStatusPayload } from './models.js';
|
|
4
|
+
export { ActionEventDTO, ActionSnapshot, AuthorityEvidence, ConnectionProfile, ConnectionProfileResult, ConnectionState, ConnectionStatusPayload, HostEnumerateRequest, HostGetRequest, HostRecord, HostSourcePage, HostSubscription, HostWatchStateEvent, ResolveReferenceRequest, ResolveTargetRequest, ResolvedReference, ResolvedTarget, SourcePageMetadata } from './models.js';
|
package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as apperror$0 from "../../apperror/models.js";
|
|
2
|
+
import * as resourcev2$0 from "../../../../../plugin-sdk/pkg/resource/v2/models.js";
|
|
2
3
|
import * as types$0 from "../../../../../plugin-sdk/pkg/types/models.js";
|
|
3
|
-
import * as resource$0 from "../../../../../plugin-sdk/pkg/v1/resource/models.js";
|
|
4
4
|
export declare class ActionEventDTO {
|
|
5
5
|
"type": string;
|
|
6
|
-
"data"?:
|
|
7
|
-
[_ in string]?: any;
|
|
8
|
-
};
|
|
6
|
+
"data"?: resourcev2$0.Value | null;
|
|
9
7
|
"error"?: apperror$0.AppError | null;
|
|
10
8
|
/** Creates a new ActionEventDTO instance. */
|
|
11
9
|
constructor($$source?: Partial<ActionEventDTO>);
|
|
@@ -25,6 +23,43 @@ export declare class ActionSnapshot {
|
|
|
25
23
|
*/
|
|
26
24
|
static createFrom($$source?: any): ActionSnapshot;
|
|
27
25
|
}
|
|
26
|
+
export declare class AuthorityEvidence {
|
|
27
|
+
"continuity": string;
|
|
28
|
+
"limitations": string[];
|
|
29
|
+
/** Creates a new AuthorityEvidence instance. */
|
|
30
|
+
constructor($$source?: Partial<AuthorityEvidence>);
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new AuthorityEvidence instance from a string or object.
|
|
33
|
+
*/
|
|
34
|
+
static createFrom($$source?: any): AuthorityEvidence;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* ConnectionProfile separates source facts, explicit desired state, and passive
|
|
38
|
+
* legacy review candidates. Active means effective source inventory membership,
|
|
39
|
+
* not connected/readiness. Disabled native configurations never mutate source files.
|
|
40
|
+
*/
|
|
41
|
+
export declare class ConnectionProfile {
|
|
42
|
+
"id": string;
|
|
43
|
+
"source": string;
|
|
44
|
+
"connection"?: types$0.Connection | null;
|
|
45
|
+
"active": boolean;
|
|
46
|
+
/** Creates a new ConnectionProfile instance. */
|
|
47
|
+
constructor($$source?: Partial<ConnectionProfile>);
|
|
48
|
+
/**
|
|
49
|
+
* Creates a new ConnectionProfile instance from a string or object.
|
|
50
|
+
*/
|
|
51
|
+
static createFrom($$source?: any): ConnectionProfile;
|
|
52
|
+
}
|
|
53
|
+
export declare class ConnectionProfileResult {
|
|
54
|
+
"applied": boolean;
|
|
55
|
+
"profile": ConnectionProfile;
|
|
56
|
+
/** Creates a new ConnectionProfileResult instance. */
|
|
57
|
+
constructor($$source?: Partial<ConnectionProfileResult>);
|
|
58
|
+
/**
|
|
59
|
+
* Creates a new ConnectionProfileResult instance from a string or object.
|
|
60
|
+
*/
|
|
61
|
+
static createFrom($$source?: any): ConnectionProfileResult;
|
|
62
|
+
}
|
|
28
63
|
/**
|
|
29
64
|
* ConnectionState is the full state snapshot for a single connection,
|
|
30
65
|
* combining metadata, lifecycle, and watch state. Returned by GetAllConnectionStates
|
|
@@ -36,20 +71,21 @@ export declare class ConnectionState {
|
|
|
36
71
|
*/
|
|
37
72
|
"connection": types$0.Connection;
|
|
38
73
|
/**
|
|
39
|
-
*
|
|
74
|
+
* Registered native-client state, not network health. UNKNOWN is not stopped.
|
|
40
75
|
*/
|
|
41
|
-
"
|
|
76
|
+
"readiness": types$0.ConnectionStatusCode;
|
|
77
|
+
"readinessError"?: apperror$0.AppError | null;
|
|
42
78
|
/**
|
|
43
79
|
* Per-resource watch states (resource key → WatchState enum).
|
|
44
80
|
*/
|
|
45
81
|
"resources": {
|
|
46
|
-
[_ in string]?:
|
|
82
|
+
[_ in string]?: resourcev2$0.WatchState;
|
|
47
83
|
};
|
|
48
84
|
/**
|
|
49
|
-
*
|
|
85
|
+
* Observed cache membership, not source totals.
|
|
50
86
|
*/
|
|
51
87
|
"resourceCounts": {
|
|
52
|
-
[_ in string]?:
|
|
88
|
+
[_ in string]?: resourcev2$0.Count;
|
|
53
89
|
};
|
|
54
90
|
/**
|
|
55
91
|
* Aggregate counts computed server-side.
|
|
@@ -84,3 +120,148 @@ export declare class ConnectionStatusPayload {
|
|
|
84
120
|
*/
|
|
85
121
|
static createFrom($$source?: any): ConnectionStatusPayload;
|
|
86
122
|
}
|
|
123
|
+
export declare class HostEnumerateRequest {
|
|
124
|
+
"targetId": string;
|
|
125
|
+
"request": resourcev2$0.EnumerateRequest;
|
|
126
|
+
/** Creates a new HostEnumerateRequest instance. */
|
|
127
|
+
constructor($$source?: Partial<HostEnumerateRequest>);
|
|
128
|
+
/**
|
|
129
|
+
* Creates a new HostEnumerateRequest instance from a string or object.
|
|
130
|
+
*/
|
|
131
|
+
static createFrom($$source?: any): HostEnumerateRequest;
|
|
132
|
+
}
|
|
133
|
+
export declare class HostGetRequest {
|
|
134
|
+
"targetId": string;
|
|
135
|
+
"request": resourcev2$0.GetRequest;
|
|
136
|
+
/** Creates a new HostGetRequest instance. */
|
|
137
|
+
constructor($$source?: Partial<HostGetRequest>);
|
|
138
|
+
/**
|
|
139
|
+
* Creates a new HostGetRequest instance from a string or object.
|
|
140
|
+
*/
|
|
141
|
+
static createFrom($$source?: any): HostGetRequest;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* These host envelopes add acquisition membership, never a second resource
|
|
145
|
+
* identity. Source cursors remain native cursors, not host query continuations.
|
|
146
|
+
*/
|
|
147
|
+
export declare class HostRecord {
|
|
148
|
+
"key": string;
|
|
149
|
+
"addressKey": string;
|
|
150
|
+
"targetId": string;
|
|
151
|
+
"record": resourcev2$0.Record;
|
|
152
|
+
"route": resourcev2$0.AccessRoute;
|
|
153
|
+
/** Creates a new HostRecord instance. */
|
|
154
|
+
constructor($$source?: Partial<HostRecord>);
|
|
155
|
+
/**
|
|
156
|
+
* Creates a new HostRecord instance from a string or object.
|
|
157
|
+
*/
|
|
158
|
+
static createFrom($$source?: any): HostRecord;
|
|
159
|
+
}
|
|
160
|
+
export declare class HostSourcePage {
|
|
161
|
+
"records": HostRecord[];
|
|
162
|
+
"sourcePage": SourcePageMetadata;
|
|
163
|
+
/** Creates a new HostSourcePage instance. */
|
|
164
|
+
constructor($$source?: Partial<HostSourcePage>);
|
|
165
|
+
/**
|
|
166
|
+
* Creates a new HostSourcePage instance from a string or object.
|
|
167
|
+
*/
|
|
168
|
+
static createFrom($$source?: any): HostSourcePage;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* HostSubscription is one actual live frontend subscription, not a target lease.
|
|
172
|
+
*/
|
|
173
|
+
export declare class HostSubscription {
|
|
174
|
+
"targetId": string;
|
|
175
|
+
"target": resourcev2$0.ReadTarget;
|
|
176
|
+
/** Creates a new HostSubscription instance. */
|
|
177
|
+
constructor($$source?: Partial<HostSubscription>);
|
|
178
|
+
/**
|
|
179
|
+
* Creates a new HostSubscription instance from a string or object.
|
|
180
|
+
*/
|
|
181
|
+
static createFrom($$source?: any): HostSubscription;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* HostWatchStateEvent adds host provenance only to the global state channel.
|
|
185
|
+
*/
|
|
186
|
+
export declare class HostWatchStateEvent {
|
|
187
|
+
"route": resourcev2$0.AccessRoute;
|
|
188
|
+
"type": string;
|
|
189
|
+
"state": resourcev2$0.WatchState;
|
|
190
|
+
"count": resourcev2$0.Count;
|
|
191
|
+
"error"?: resourcev2$0.ResourceOperationError | null;
|
|
192
|
+
"message"?: string;
|
|
193
|
+
"guarantee": string;
|
|
194
|
+
"pluginID": string;
|
|
195
|
+
/** Creates a new HostWatchStateEvent instance. */
|
|
196
|
+
constructor($$source?: Partial<HostWatchStateEvent>);
|
|
197
|
+
/**
|
|
198
|
+
* Creates a new HostWatchStateEvent instance from a string or object.
|
|
199
|
+
*/
|
|
200
|
+
static createFrom($$source?: any): HostWatchStateEvent;
|
|
201
|
+
}
|
|
202
|
+
export declare class ResolveReferenceRequest {
|
|
203
|
+
"route": resourcev2$0.AccessRoute;
|
|
204
|
+
"type": string;
|
|
205
|
+
"scope": resourcev2$0.ScopeEntry[];
|
|
206
|
+
"id": string;
|
|
207
|
+
"incarnation"?: string | null;
|
|
208
|
+
"representation"?: string;
|
|
209
|
+
/** Creates a new ResolveReferenceRequest instance. */
|
|
210
|
+
constructor($$source?: Partial<ResolveReferenceRequest>);
|
|
211
|
+
/**
|
|
212
|
+
* Creates a new ResolveReferenceRequest instance from a string or object.
|
|
213
|
+
*/
|
|
214
|
+
static createFrom($$source?: any): ResolveReferenceRequest;
|
|
215
|
+
}
|
|
216
|
+
export declare class ResolveTargetRequest {
|
|
217
|
+
"route": resourcev2$0.AccessRoute;
|
|
218
|
+
"type": string;
|
|
219
|
+
"representation"?: string;
|
|
220
|
+
"scope": resourcev2$0.QueryScope;
|
|
221
|
+
/** Creates a new ResolveTargetRequest instance. */
|
|
222
|
+
constructor($$source?: Partial<ResolveTargetRequest>);
|
|
223
|
+
/**
|
|
224
|
+
* Creates a new ResolveTargetRequest instance from a string or object.
|
|
225
|
+
*/
|
|
226
|
+
static createFrom($$source?: any): ResolveTargetRequest;
|
|
227
|
+
}
|
|
228
|
+
export declare class ResolvedReference {
|
|
229
|
+
"reference": resourcev2$0.ResourceReference;
|
|
230
|
+
"route": resourcev2$0.AccessRoute;
|
|
231
|
+
"key": string;
|
|
232
|
+
"addressKey": string;
|
|
233
|
+
"targetId": string;
|
|
234
|
+
"representation": string;
|
|
235
|
+
"authority": AuthorityEvidence;
|
|
236
|
+
/** Creates a new ResolvedReference instance. */
|
|
237
|
+
constructor($$source?: Partial<ResolvedReference>);
|
|
238
|
+
/**
|
|
239
|
+
* Creates a new ResolvedReference instance from a string or object.
|
|
240
|
+
*/
|
|
241
|
+
static createFrom($$source?: any): ResolvedReference;
|
|
242
|
+
}
|
|
243
|
+
export declare class ResolvedTarget {
|
|
244
|
+
"targetId": string;
|
|
245
|
+
"target": resourcev2$0.ReadTarget;
|
|
246
|
+
"authority": AuthorityEvidence;
|
|
247
|
+
"catalogRevision": string;
|
|
248
|
+
/** Creates a new ResolvedTarget instance. */
|
|
249
|
+
constructor($$source?: Partial<ResolvedTarget>);
|
|
250
|
+
/**
|
|
251
|
+
* Creates a new ResolvedTarget instance from a string or object.
|
|
252
|
+
*/
|
|
253
|
+
static createFrom($$source?: any): ResolvedTarget;
|
|
254
|
+
}
|
|
255
|
+
export declare class SourcePageMetadata {
|
|
256
|
+
"nextCursor"?: string | null;
|
|
257
|
+
"count": resourcev2$0.Count;
|
|
258
|
+
"coverage": resourcev2$0.Coverage;
|
|
259
|
+
"consistency": string;
|
|
260
|
+
"sourceRevision"?: string | null;
|
|
261
|
+
/** Creates a new SourcePageMetadata instance. */
|
|
262
|
+
constructor($$source?: Partial<SourcePageMetadata>);
|
|
263
|
+
/**
|
|
264
|
+
* Creates a new SourcePageMetadata instance from a string or object.
|
|
265
|
+
*/
|
|
266
|
+
static createFrom($$source?: any): SourcePageMetadata;
|
|
267
|
+
}
|
|
@@ -1,94 +1,54 @@
|
|
|
1
1
|
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
-
import * as
|
|
2
|
+
import * as resourcev2$0 from "../../../../../plugin-sdk/pkg/resource/v2/models.js";
|
|
3
3
|
import * as types$0 from "../../../../../plugin-sdk/pkg/types/models.js";
|
|
4
|
-
import * as resource$0 from "../../../../../plugin-sdk/pkg/v1/resource/models.js";
|
|
5
4
|
import * as $models from "./models.js";
|
|
6
|
-
export declare function
|
|
5
|
+
export declare function Action(pluginID: string, encoded: string): $CancellablePromise<resourcev2$0.Value>;
|
|
7
6
|
export declare function AttachStreamAction(handleID: string): $CancellablePromise<$models.ActionSnapshot>;
|
|
8
7
|
export declare function CancelStreamAction(handleID: string): $CancellablePromise<void>;
|
|
8
|
+
export declare function Catalog(pluginID: string, request: resourcev2$0.CatalogRequest): $CancellablePromise<resourcev2$0.Catalog>;
|
|
9
9
|
export declare function CheckConnection(pluginID: string, connectionID: string): $CancellablePromise<types$0.ConnectionStatus>;
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
15
|
-
/**
|
|
16
|
-
* CRUD.
|
|
17
|
-
*/
|
|
18
|
-
export declare function Get(pluginID: string, connectionID: string, key: string, input: resource$0.GetInput): $CancellablePromise<resource$0.GetResult | null>;
|
|
19
|
-
/**
|
|
20
|
-
* Actions.
|
|
21
|
-
*/
|
|
22
|
-
export declare function GetActions(pluginID: string, connectionID: string, key: string): $CancellablePromise<resource$0.ActionDescriptor[]>;
|
|
10
|
+
export declare function EnsureResourceWatch(pluginID: string, target: resourcev2$0.ReadTarget): $CancellablePromise<void>;
|
|
11
|
+
export declare function Enumerate(pluginID: string, request: $models.HostEnumerateRequest): $CancellablePromise<$models.HostSourcePage>;
|
|
12
|
+
export declare function Features(pluginID: string): $CancellablePromise<resourcev2$0.FeatureSet>;
|
|
13
|
+
export declare function Get(pluginID: string, request: $models.HostGetRequest): $CancellablePromise<$models.HostRecord>;
|
|
14
|
+
export declare function GetActions(pluginID: string, route: resourcev2$0.AccessRoute, resourceType: string): $CancellablePromise<resourcev2$0.ActionDescriptor[]>;
|
|
23
15
|
export declare function GetAllConnectionStates(): $CancellablePromise<{
|
|
24
16
|
[_ in string]?: $models.ConnectionState[];
|
|
25
17
|
}>;
|
|
26
18
|
export declare function GetConnection(pluginID: string, connectionID: string): $CancellablePromise<types$0.Connection>;
|
|
27
|
-
export declare function
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export declare function
|
|
32
|
-
export declare function
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*/
|
|
36
|
-
export declare function GetHealth(pluginID: string, connectionID: string, key: string, data: json$0.RawMessage): $CancellablePromise<resource$0.ResourceHealth | null>;
|
|
37
|
-
/**
|
|
38
|
-
* Relationships.
|
|
39
|
-
*/
|
|
40
|
-
export declare function GetRelationships(pluginID: string, key: string): $CancellablePromise<resource$0.RelationshipDescriptor[]>;
|
|
41
|
-
export declare function GetResourceCapabilities(pluginID: string, key: string): $CancellablePromise<resource$0.ResourceCapabilities | null>;
|
|
42
|
-
export declare function GetResourceDefinition(pluginID: string, typeID: string): $CancellablePromise<resource$0.ResourceDefinition>;
|
|
43
|
-
export declare function GetResourceEvents(pluginID: string, connectionID: string, key: string, id: string, $namespace: string, limit: number): $CancellablePromise<resource$0.ResourceEvent[]>;
|
|
44
|
-
export declare function GetResourceGroup(pluginID: string, groupID: string): $CancellablePromise<resource$0.ResourceGroup>;
|
|
45
|
-
/**
|
|
46
|
-
* Type metadata.
|
|
47
|
-
*/
|
|
48
|
-
export declare function GetResourceGroups(pluginID: string, connectionID: string): $CancellablePromise<{
|
|
49
|
-
[_ in string]?: resource$0.ResourceGroup;
|
|
50
|
-
}>;
|
|
51
|
-
export declare function GetResourceSchema(pluginID: string, connectionID: string, key: string): $CancellablePromise<json$0.RawMessage>;
|
|
52
|
-
export declare function GetResourceType(pluginID: string, typeID: string): $CancellablePromise<resource$0.ResourceMeta | null>;
|
|
53
|
-
export declare function GetResourceTypes(pluginID: string, connectionID: string): $CancellablePromise<{
|
|
54
|
-
[_ in string]?: resource$0.ResourceMeta;
|
|
55
|
-
}>;
|
|
56
|
-
export declare function GetWatchState(pluginID: string, connectionID: string): $CancellablePromise<resource$0.WatchConnectionSummary | null>;
|
|
57
|
-
/**
|
|
58
|
-
* HasPlugin.
|
|
59
|
-
*/
|
|
19
|
+
export declare function GetEditorSchemas(pluginID: string, route: resourcev2$0.AccessRoute): $CancellablePromise<resourcev2$0.EditorSchema[]>;
|
|
20
|
+
export declare function GetHealth(pluginID: string, encoded: string): $CancellablePromise<resourcev2$0.ResourceHealth | null>;
|
|
21
|
+
export declare function GetRelationships(pluginID: string, route: resourcev2$0.AccessRoute, resourceType: string): $CancellablePromise<resourcev2$0.RelationshipDescriptor[]>;
|
|
22
|
+
export declare function GetResourceDefinition(pluginID: string, route: resourcev2$0.AccessRoute, resourceType: string): $CancellablePromise<resourcev2$0.ResourceDefinition>;
|
|
23
|
+
export declare function GetResourceEvents(pluginID: string, request: resourcev2$0.GetRequest, limit: number): $CancellablePromise<resourcev2$0.ResourceEvent[]>;
|
|
24
|
+
export declare function GetResourceGroups(pluginID: string, route: resourcev2$0.AccessRoute): $CancellablePromise<resourcev2$0.ResourceGroup[]>;
|
|
25
|
+
export declare function GetSchemaDocument(pluginID: string, route: resourcev2$0.AccessRoute, reference: resourcev2$0.SchemaDocumentReference): $CancellablePromise<resourcev2$0.SchemaDocument>;
|
|
26
|
+
export declare function GetWatchState(pluginID: string, route: resourcev2$0.AccessRoute): $CancellablePromise<resourcev2$0.WatchConnectionSummary | null>;
|
|
60
27
|
export declare function HasPlugin(pluginID: string): $CancellablePromise<boolean>;
|
|
61
|
-
export declare function
|
|
62
|
-
export declare function IsResourceWatchRunning(pluginID: string,
|
|
63
|
-
export declare function List(pluginID: string, connectionID: string, key: string, input: resource$0.ListInput): $CancellablePromise<resource$0.ListResult | null>;
|
|
28
|
+
export declare function ImportConnectionProfile(pluginID: string, connectionID: string): $CancellablePromise<$models.ConnectionProfileResult>;
|
|
29
|
+
export declare function IsResourceWatchRunning(pluginID: string, route: resourcev2$0.AccessRoute, resourceType: string): $CancellablePromise<boolean>;
|
|
64
30
|
export declare function ListAllConnections(): $CancellablePromise<{
|
|
65
31
|
[_ in string]?: types$0.Connection[];
|
|
66
32
|
}>;
|
|
33
|
+
export declare function ListConnectionProfiles(pluginID: string): $CancellablePromise<$models.ConnectionProfile[]>;
|
|
67
34
|
export declare function ListConnections(pluginID: string): $CancellablePromise<types$0.Connection[]>;
|
|
68
|
-
/**
|
|
69
|
-
* ListPlugins.
|
|
70
|
-
*/
|
|
71
35
|
export declare function ListPlugins(): $CancellablePromise<string[]>;
|
|
72
36
|
export declare function LoadConnections(pluginID: string): $CancellablePromise<types$0.Connection[]>;
|
|
37
|
+
export declare function Mutate(pluginID: string, encoded: string): $CancellablePromise<resourcev2$0.Record>;
|
|
38
|
+
export declare function NativeQuery(pluginID: string, encoded: string): $CancellablePromise<$models.HostSourcePage>;
|
|
73
39
|
export declare function RemoveConnection(pluginID: string, connectionID: string): $CancellablePromise<void>;
|
|
74
|
-
export declare function
|
|
75
|
-
export declare function
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
40
|
+
export declare function ResetConnectionProfile(pluginID: string, connectionID: string): $CancellablePromise<$models.ConnectionProfileResult>;
|
|
41
|
+
export declare function ResolveReference(pluginID: string, request: $models.ResolveReferenceRequest): $CancellablePromise<$models.ResolvedReference>;
|
|
42
|
+
export declare function ResolveRelationships(pluginID: string, request: resourcev2$0.GetRequest): $CancellablePromise<resourcev2$0.ResolvedRelationship[]>;
|
|
43
|
+
export declare function ResolveTarget(pluginID: string, request: $models.ResolveTargetRequest): $CancellablePromise<$models.ResolvedTarget>;
|
|
44
|
+
export declare function RestartResourceWatch(pluginID: string, target: resourcev2$0.ReadTarget): $CancellablePromise<void>;
|
|
45
|
+
export declare function SaveConnectionProfile(pluginID: string, connection: types$0.Connection): $CancellablePromise<$models.ConnectionProfileResult>;
|
|
46
|
+
export declare function ScopeValues(pluginID: string, route: resourcev2$0.AccessRoute, dimension: string): $CancellablePromise<string[]>;
|
|
79
47
|
export declare function StartConnection(pluginID: string, connectionID: string): $CancellablePromise<types$0.ConnectionStatus>;
|
|
80
|
-
|
|
81
|
-
* Watch lifecycle.
|
|
82
|
-
*/
|
|
83
|
-
export declare function StartConnectionWatch(pluginID: string, connectionID: string): $CancellablePromise<void>;
|
|
48
|
+
export declare function StartConnectionWatch(pluginID: string, targets: resourcev2$0.ReadTarget[]): $CancellablePromise<void>;
|
|
84
49
|
export declare function StopConnection(pluginID: string, connectionID: string): $CancellablePromise<types$0.Connection>;
|
|
85
|
-
export declare function StopConnectionWatch(pluginID: string,
|
|
86
|
-
export declare function StopResourceWatch(pluginID: string,
|
|
87
|
-
export declare function StreamAction(pluginID: string,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
*/
|
|
91
|
-
export declare function SubscribeResource(pluginID: string, connectionID: string, resourceKey: string): $CancellablePromise<void>;
|
|
92
|
-
export declare function UnsubscribeResource(pluginID: string, connectionID: string, resourceKey: string): $CancellablePromise<void>;
|
|
93
|
-
export declare function Update(pluginID: string, connectionID: string, key: string, input: resource$0.UpdateInput): $CancellablePromise<resource$0.UpdateResult | null>;
|
|
94
|
-
export declare function UpdateConnection(pluginID: string, connection: types$0.Connection): $CancellablePromise<types$0.Connection>;
|
|
50
|
+
export declare function StopConnectionWatch(pluginID: string, route: resourcev2$0.AccessRoute): $CancellablePromise<void>;
|
|
51
|
+
export declare function StopResourceWatch(pluginID: string, route: resourcev2$0.AccessRoute, resourceType: string): $CancellablePromise<void>;
|
|
52
|
+
export declare function StreamAction(pluginID: string, encoded: string): $CancellablePromise<string>;
|
|
53
|
+
export declare function SubscribeResource(pluginID: string, subscription: $models.HostSubscription): $CancellablePromise<void>;
|
|
54
|
+
export declare function UnsubscribeResource(pluginID: string, subscription: $models.HostSubscription): $CancellablePromise<void>;
|