@omniviewdev/runtime 0.19.0 → 0.21.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 +2 -0
- package/dist/api.js +258 -176
- 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 +15 -0
- package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +1 -1
- package/dist/bindings/github.com/omniviewdev/omniview/internal/devsession/index.d.ts +1 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/devsession/models.d.ts +15 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/processinfo/index.d.ts +3 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/processinfo/models.d.ts +41 -0
- package/dist/bindings/github.com/omniviewdev/omniview/internal/processinfo/service.d.ts +6 -0
- package/dist/hooks/connection/useConnection.d.ts +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.js +653 -641
- package/dist/resource/v2/client.d.ts +2 -2
- package/dist/resource/v2/host.d.ts +5 -0
- package/dist/{service-CiUZ0mis.js → service-D25QhNF2.js} +176 -176
- package/dist/service-MaHvflXn.cjs +1 -0
- package/package.json +1 -1
- package/dist/service-CD-hmd9l.cjs +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as devsession$0 from "../devsession/models.js";
|
|
2
|
+
export declare class Process {
|
|
3
|
+
"key": string;
|
|
4
|
+
"role": string;
|
|
5
|
+
"pluginID": string;
|
|
6
|
+
"ownership": string;
|
|
7
|
+
"identity": devsession$0.ProcessObservation | null;
|
|
8
|
+
"windows": Window[];
|
|
9
|
+
"windowAssociation": string;
|
|
10
|
+
"evidence": string;
|
|
11
|
+
"error": string;
|
|
12
|
+
/** Creates a new Process instance. */
|
|
13
|
+
constructor($$source?: Partial<Process>);
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new Process instance from a string or object.
|
|
16
|
+
*/
|
|
17
|
+
static createFrom($$source?: any): Process;
|
|
18
|
+
}
|
|
19
|
+
export declare class Snapshot {
|
|
20
|
+
"observedAt": string;
|
|
21
|
+
"processes": Process[];
|
|
22
|
+
/** Creates a new Snapshot instance. */
|
|
23
|
+
constructor($$source?: Partial<Snapshot>);
|
|
24
|
+
/**
|
|
25
|
+
* Creates a new Snapshot instance from a string or object.
|
|
26
|
+
*/
|
|
27
|
+
static createFrom($$source?: any): Snapshot;
|
|
28
|
+
}
|
|
29
|
+
export declare class Window {
|
|
30
|
+
"name": string;
|
|
31
|
+
"id": number;
|
|
32
|
+
"nativeID": number;
|
|
33
|
+
"ownership": string;
|
|
34
|
+
"error": string;
|
|
35
|
+
/** Creates a new Window instance. */
|
|
36
|
+
constructor($$source?: Partial<Window>);
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new Window instance from a string or object.
|
|
39
|
+
*/
|
|
40
|
+
static createFrom($$source?: any): Window;
|
|
41
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CancellablePromise as $CancellablePromise } from '@wailsio/runtime';
|
|
2
|
+
import * as $models from "./models.js";
|
|
3
|
+
/**
|
|
4
|
+
* GetSnapshot returns observations, not a guarantee of continued process liveness.
|
|
5
|
+
*/
|
|
6
|
+
export declare function GetSnapshot(): $CancellablePromise<$models.Snapshot>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Connection } from '../../bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models';
|
|
2
|
-
import { ConnectionProfileResult } from '../../resource/v2/host';
|
|
2
|
+
import { ConnectionProfileCredentials, ConnectionProfileResult } from '../../resource/v2/host';
|
|
3
3
|
/** Connection lifecycle and explicit desired profiles remain separate from native discovery. */
|
|
4
4
|
export declare const useConnection: ({ pluginID: explicitPluginID, connectionID, enabled, }: {
|
|
5
5
|
pluginID?: string;
|
|
@@ -9,7 +9,7 @@ export declare const useConnection: ({ pluginID: explicitPluginID, connectionID,
|
|
|
9
9
|
connection: import('@tanstack/react-query').UseQueryResult<Connection, Error>;
|
|
10
10
|
startConnection: import('@tanstack/react-query').UseMutateAsyncFunction<import('../../models').ConnectionStatus, unknown, void, unknown>;
|
|
11
11
|
stopConnection: import('@tanstack/react-query').UseMutateAsyncFunction<Connection, unknown, void, unknown>;
|
|
12
|
-
saveConnectionProfile:
|
|
12
|
+
saveConnectionProfile: (connection: Connection, credentials?: ConnectionProfileCredentials) => Promise<ConnectionProfileResult>;
|
|
13
13
|
importConnectionProfile: import('@tanstack/react-query').UseMutateAsyncFunction<ConnectionProfileResult, unknown, void, unknown>;
|
|
14
14
|
resetConnectionProfile: import('@tanstack/react-query').UseMutateAsyncFunction<ConnectionProfileResult, unknown, void, unknown>;
|
|
15
15
|
removeConnection: import('@tanstack/react-query').UseMutateAsyncFunction<void, unknown, void, unknown>;
|