@omniviewdev/runtime 0.3.0 → 0.4.1

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 (145) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +16 -14
  3. package/dist/api.js +111 -125
  4. package/dist/bindings/encoding/json/index.d.ts +1 -0
  5. package/dist/bindings/encoding/json/models.d.ts +6 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/appservice.d.ts +18 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/diagnosticsclient.d.ts +51 -0
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/diagnostics/index.d.ts +2 -0
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/index.d.ts +2 -0
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/data/servicewrapper.d.ts +5 -0
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/index.d.ts +3 -0
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/models.d.ts +132 -0
  13. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/devserver/servicewrapper.d.ts +12 -0
  14. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/index.d.ts +2 -0
  15. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +22 -0
  16. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/index.d.ts +3 -0
  17. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/index.d.ts +1 -0
  18. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/lifecycle/models.d.ts +29 -0
  19. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/index.d.ts +2 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +11 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +3 -0
  22. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +39 -0
  23. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +16 -0
  24. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/models.d.ts +99 -0
  25. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/index.d.ts +2 -0
  26. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +11 -0
  27. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/index.d.ts +3 -0
  28. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/models.d.ts +24 -0
  29. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/pluginlog/servicewrapper.d.ts +7 -0
  30. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/index.d.ts +1 -0
  31. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/registry/models.d.ts +94 -0
  32. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -0
  33. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +53 -0
  34. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +14 -0
  35. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +4 -0
  36. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +61 -0
  37. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +92 -0
  38. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/servicewrapper.d.ts +24 -0
  39. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/index.d.ts +2 -0
  40. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/settings/servicewrapper.d.ts +18 -0
  41. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/index.d.ts +1 -0
  42. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/types/models.d.ts +22 -0
  43. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/index.d.ts +3 -0
  44. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/models.d.ts +55 -0
  45. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/ui/servicewrapper.d.ts +7 -0
  46. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/client.d.ts +6 -0
  47. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/index.d.ts +3 -0
  48. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/utils/models.d.ts +10 -0
  49. package/dist/bindings/github.com/omniviewdev/omniview/index.d.ts +3 -0
  50. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/index.d.ts +2 -0
  51. package/dist/bindings/github.com/omniviewdev/omniview/internal/settings/servicewrapper.d.ts +48 -0
  52. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/index.d.ts +2 -0
  53. package/dist/bindings/github.com/omniviewdev/omniview/internal/telemetry/telemetrybinding.d.ts +7 -0
  54. package/dist/bindings/github.com/omniviewdev/omniview/models.d.ts +38 -0
  55. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/index.d.ts +1 -0
  56. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +101 -0
  57. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/index.d.ts +1 -0
  58. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +199 -0
  59. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/index.d.ts +1 -0
  60. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +79 -0
  61. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -0
  62. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +133 -0
  63. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -0
  64. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +207 -0
  65. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +2 -0
  66. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +96 -0
  67. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +2 -0
  68. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +1199 -0
  69. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/index.d.ts +2 -0
  70. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +169 -0
  71. package/dist/bindings/github.com/wailsapp/wails/v3/internal/eventcreate.d.ts +1 -0
  72. package/dist/bindings/time/index.d.ts +1 -0
  73. package/dist/bindings/time/models.d.ts +33 -0
  74. package/dist/calls-BmUnjINC.js +677 -0
  75. package/dist/calls-DZctVyoQ.cjs +1 -0
  76. package/dist/compat/legacyEnum.d.ts +10 -0
  77. package/dist/compat/resource.d.ts +4 -0
  78. package/dist/compat/types.d.ts +4 -0
  79. package/dist/context/plugins/PluginContext.d.ts +2 -2
  80. package/dist/events-BTiuwc-0.cjs +1 -0
  81. package/dist/events-DDTGFACO.js +371 -0
  82. package/dist/graphservice-CRRwkBcy.cjs +1 -0
  83. package/dist/graphservice-CXr8ZCEY.js +726 -0
  84. package/dist/hooks/connection/useConnection.d.ts +5 -5
  85. package/dist/hooks/connection/useConnectionStatus.d.ts +7 -0
  86. package/dist/hooks/connection/useConnections.d.ts +4 -4
  87. package/dist/hooks/exec/useExecSession.d.ts +2 -2
  88. package/dist/hooks/logs/useLogSession.d.ts +1 -2
  89. package/dist/hooks/metric/useMetricProviders.d.ts +3 -3
  90. package/dist/hooks/metric/useMetricStream.d.ts +2 -2
  91. package/dist/hooks/metric/useResourceMetrics.d.ts +4 -3
  92. package/dist/hooks/networker/types.d.ts +3 -3
  93. package/dist/hooks/networker/usePortForwardSessions.d.ts +4 -4
  94. package/dist/hooks/networker/useResourcePortForwarder.d.ts +3 -4
  95. package/dist/hooks/resource/index.d.ts +2 -0
  96. package/dist/hooks/resource/useDependencyTree.d.ts +41 -0
  97. package/dist/hooks/resource/useEditorSchemas.d.ts +2 -2
  98. package/dist/hooks/resource/useEventBatcher.d.ts +3 -0
  99. package/dist/hooks/resource/useRelatedResources.d.ts +82 -0
  100. package/dist/hooks/resource/useResource.d.ts +3 -4
  101. package/dist/hooks/resource/useResourceActions.d.ts +2 -3
  102. package/dist/hooks/resource/useResourceAreaComponent.d.ts +3 -3
  103. package/dist/hooks/resource/useResourceGroups.d.ts +6 -6
  104. package/dist/hooks/resource/useResourceMutations.d.ts +3 -4
  105. package/dist/hooks/resource/useResourceType.d.ts +1 -1
  106. package/dist/hooks/resource/useResourceTypes.d.ts +6 -6
  107. package/dist/hooks/resource/useResources.d.ts +3 -4
  108. package/dist/index-D2mKAO8s.js +1069 -0
  109. package/dist/index-D_aIcqH0.cjs +6 -0
  110. package/dist/index.cjs +2 -2
  111. package/dist/index.js +1281 -1599
  112. package/dist/legacyEnum-DORXlU_y.js +13 -0
  113. package/dist/legacyEnum-DkV5yRdA.cjs +1 -0
  114. package/dist/models-BoBl5Kgj.js +159 -0
  115. package/dist/models-BvR5jdms.js +2358 -0
  116. package/dist/models-CHycLCM0.cjs +1 -0
  117. package/dist/models-DOdc96z9.cjs +1 -0
  118. package/dist/models.cjs +1 -1
  119. package/dist/models.d.ts +28 -1
  120. package/dist/models.js +263 -2244
  121. package/dist/runtime.cjs +1 -1
  122. package/dist/runtime.d.ts +1 -1
  123. package/dist/runtime.js +198 -205
  124. package/dist/types/watch.d.ts +4 -5
  125. package/package.json +17 -13
  126. package/LICENSE +0 -661
  127. package/dist/Client-07zrOerN.js +0 -636
  128. package/dist/Client-CLvQWnuz.cjs +0 -1
  129. package/dist/wailsjs/go/data/Client.d.ts +0 -10
  130. package/dist/wailsjs/go/devserver/DevServerManager.d.ts +0 -24
  131. package/dist/wailsjs/go/diagnostics/DiagnosticsClient.d.ts +0 -18
  132. package/dist/wailsjs/go/exec/Client.d.ts +0 -26
  133. package/dist/wailsjs/go/logs/Client.d.ts +0 -16
  134. package/dist/wailsjs/go/main/App.d.ts +0 -8
  135. package/dist/wailsjs/go/metric/Client.d.ts +0 -12
  136. package/dist/wailsjs/go/models.d.ts +0 -1060
  137. package/dist/wailsjs/go/networker/Client.d.ts +0 -14
  138. package/dist/wailsjs/go/plugin/pluginManager.d.ts +0 -52
  139. package/dist/wailsjs/go/pluginlog/Manager.d.ts +0 -18
  140. package/dist/wailsjs/go/resource/Client.d.ts +0 -90
  141. package/dist/wailsjs/go/settings/Client.d.ts +0 -14
  142. package/dist/wailsjs/go/settings/provider.d.ts +0 -48
  143. package/dist/wailsjs/go/ui/Client.d.ts +0 -6
  144. package/dist/wailsjs/go/utils/Client.d.ts +0 -2
  145. package/dist/wailsjs/runtime/runtime.d.ts +0 -249
@@ -0,0 +1,133 @@
1
+ /**
2
+ * ActionTargetBuilder builds a dynamic list of targets for an action.
3
+ */
4
+ export declare class ActionTargetBuilder {
5
+ "label": string;
6
+ "label_selector": string;
7
+ "paths": string[];
8
+ "selectors": {
9
+ [_ in string]?: string;
10
+ };
11
+ /** Creates a new ActionTargetBuilder instance. */
12
+ constructor($$source?: Partial<ActionTargetBuilder>);
13
+ /**
14
+ * Creates a new ActionTargetBuilder instance from a string or object.
15
+ */
16
+ static createFrom($$source?: any): ActionTargetBuilder;
17
+ }
18
+ /**
19
+ * CreateSessionOptions contains everything needed to create a log session.
20
+ */
21
+ export declare class CreateSessionOptions {
22
+ "resource_key": string;
23
+ "resource_id": string;
24
+ "resource_data": {
25
+ [_ in string]?: any;
26
+ };
27
+ "options": LogSessionOptions;
28
+ /** Creates a new CreateSessionOptions instance. */
29
+ constructor($$source?: Partial<CreateSessionOptions>);
30
+ /**
31
+ * Creates a new CreateSessionOptions instance from a string or object.
32
+ */
33
+ static createFrom($$source?: any): CreateSessionOptions;
34
+ }
35
+ /**
36
+ * Handler describes a log handler for a specific resource type.
37
+ */
38
+ export declare class Handler {
39
+ "plugin": string;
40
+ "resource": string;
41
+ "target_builder": ActionTargetBuilder;
42
+ /** Creates a new Handler instance. */
43
+ constructor($$source?: Partial<Handler>);
44
+ /**
45
+ * Creates a new Handler instance from a string or object.
46
+ */
47
+ static createFrom($$source?: any): Handler;
48
+ }
49
+ /**
50
+ * LogSession represents an active log viewing session.
51
+ */
52
+ export declare class LogSession {
53
+ "id": string;
54
+ "plugin_id": string;
55
+ "connection_id": string;
56
+ "resource_key": string;
57
+ "resource_id": string;
58
+ "options": LogSessionOptions;
59
+ "status": LogSessionStatus;
60
+ "active_sources": LogSource[];
61
+ "created_at": string;
62
+ /** Creates a new LogSession instance. */
63
+ constructor($$source?: Partial<LogSession>);
64
+ /**
65
+ * Creates a new LogSession instance from a string or object.
66
+ */
67
+ static createFrom($$source?: any): LogSession;
68
+ }
69
+ /**
70
+ * LogSessionOptions contains options for creating or updating a log session.
71
+ */
72
+ export declare class LogSessionOptions {
73
+ "target": string;
74
+ "follow": boolean;
75
+ "include_previous": boolean;
76
+ "include_timestamps": boolean;
77
+ "tail_lines": number;
78
+ "since_seconds": number;
79
+ "since_time"?: string | null;
80
+ "limit_bytes": number;
81
+ "include_source_events": boolean;
82
+ "params": {
83
+ [_ in string]?: string;
84
+ };
85
+ /** Creates a new LogSessionOptions instance. */
86
+ constructor($$source?: Partial<LogSessionOptions>);
87
+ /**
88
+ * Creates a new LogSessionOptions instance from a string or object.
89
+ */
90
+ static createFrom($$source?: any): LogSessionOptions;
91
+ }
92
+ /**
93
+ * LogSessionStatus represents the status of a log session.
94
+ */
95
+ export declare enum LogSessionStatus {
96
+ /**
97
+ * The Go zero value for the underlying type of the enum.
98
+ */
99
+ $zero = 0,
100
+ LogSessionStatusActive = 0,
101
+ LogSessionStatusPaused = 1,
102
+ LogSessionStatusClosed = 2,
103
+ LogSessionStatusError = 3,
104
+ LogSessionStatusConnecting = 4,
105
+ LogSessionStatusInitializing = 5
106
+ }
107
+ /**
108
+ * LogSource is a generic log-producing entity.
109
+ */
110
+ export declare class LogSource {
111
+ "id": string;
112
+ "labels": {
113
+ [_ in string]?: string;
114
+ };
115
+ /** Creates a new LogSource instance. */
116
+ constructor($$source?: Partial<LogSource>);
117
+ /**
118
+ * Creates a new LogSource instance from a string or object.
119
+ */
120
+ static createFrom($$source?: any): LogSource;
121
+ }
122
+ /**
123
+ * LogStreamCommand represents a command from the client to control the stream.
124
+ */
125
+ export declare enum LogStreamCommand {
126
+ /**
127
+ * The Go zero value for the underlying type of the enum.
128
+ */
129
+ $zero = 0,
130
+ StreamCommandPause = 0,
131
+ StreamCommandResume = 1,
132
+ StreamCommandClose = 2
133
+ }
@@ -0,0 +1 @@
1
+ export { AggregateValue, ColorRange, CurrentValue, DataPoint, Handler, MetricDescriptor, MetricResult, MetricShape, MetricUnit, QueryRequest, QueryResponse, TimeSeries } from './models.js';
@@ -0,0 +1,207 @@
1
+ import * as time$0 from "../../../../../../time/models.js";
2
+ /**
3
+ * AggregateValue represents aggregated metric data over a window.
4
+ */
5
+ export declare class AggregateValue {
6
+ "metric_id": string;
7
+ "min": number;
8
+ "max": number;
9
+ "avg": number;
10
+ "sum": number;
11
+ "p50": number;
12
+ "p90": number;
13
+ "p99": number;
14
+ "count": number;
15
+ "window": time$0.Duration;
16
+ "labels": {
17
+ [_ in string]?: string;
18
+ };
19
+ /** Creates a new AggregateValue instance. */
20
+ constructor($$source?: Partial<AggregateValue>);
21
+ /**
22
+ * Creates a new AggregateValue instance from a string or object.
23
+ */
24
+ static createFrom($$source?: any): AggregateValue;
25
+ }
26
+ /**
27
+ * ColorRange defines a color to use for a range of metric values.
28
+ */
29
+ export declare class ColorRange {
30
+ "min": number;
31
+ "max": number;
32
+ "color": string;
33
+ /** Creates a new ColorRange instance. */
34
+ constructor($$source?: Partial<ColorRange>);
35
+ /**
36
+ * Creates a new ColorRange instance from a string or object.
37
+ */
38
+ static createFrom($$source?: any): ColorRange;
39
+ }
40
+ /**
41
+ * CurrentValue represents the current value of a metric.
42
+ */
43
+ export declare class CurrentValue {
44
+ "metric_id": string;
45
+ "value": number;
46
+ "timestamp": string;
47
+ "labels": {
48
+ [_ in string]?: string;
49
+ };
50
+ /** Creates a new CurrentValue instance. */
51
+ constructor($$source?: Partial<CurrentValue>);
52
+ /**
53
+ * Creates a new CurrentValue instance from a string or object.
54
+ */
55
+ static createFrom($$source?: any): CurrentValue;
56
+ }
57
+ /**
58
+ * DataPoint represents a single data point in a time series.
59
+ */
60
+ export declare class DataPoint {
61
+ "timestamp": string;
62
+ "value": number;
63
+ "labels": {
64
+ [_ in string]?: string;
65
+ };
66
+ /** Creates a new DataPoint instance. */
67
+ constructor($$source?: Partial<DataPoint>);
68
+ /**
69
+ * Creates a new DataPoint instance from a string or object.
70
+ */
71
+ static createFrom($$source?: any): DataPoint;
72
+ }
73
+ /**
74
+ * Handler maps a resource key to its available metrics.
75
+ */
76
+ export declare class Handler {
77
+ "resource": string;
78
+ "metrics": MetricDescriptor[];
79
+ /** Creates a new Handler instance. */
80
+ constructor($$source?: Partial<Handler>);
81
+ /**
82
+ * Creates a new Handler instance from a string or object.
83
+ */
84
+ static createFrom($$source?: any): Handler;
85
+ }
86
+ /**
87
+ * MetricDescriptor describes a single metric.
88
+ */
89
+ export declare class MetricDescriptor {
90
+ "id": string;
91
+ "name": string;
92
+ "unit": MetricUnit;
93
+ "icon": string;
94
+ "color_ranges": ColorRange[];
95
+ "format_string": string;
96
+ "supported_shapes": MetricShape[];
97
+ "chart_group": string;
98
+ /** Creates a new MetricDescriptor instance. */
99
+ constructor($$source?: Partial<MetricDescriptor>);
100
+ /**
101
+ * Creates a new MetricDescriptor instance from a string or object.
102
+ */
103
+ static createFrom($$source?: any): MetricDescriptor;
104
+ }
105
+ /**
106
+ * MetricResult wraps one of the possible metric result types.
107
+ */
108
+ export declare class MetricResult {
109
+ "time_series"?: TimeSeries | null;
110
+ "current_value"?: CurrentValue | null;
111
+ "aggregate_value"?: AggregateValue | null;
112
+ /** Creates a new MetricResult instance. */
113
+ constructor($$source?: Partial<MetricResult>);
114
+ /**
115
+ * Creates a new MetricResult instance from a string or object.
116
+ */
117
+ static createFrom($$source?: any): MetricResult;
118
+ }
119
+ /**
120
+ * MetricShape indicates the type of metric data.
121
+ */
122
+ export declare enum MetricShape {
123
+ /**
124
+ * The Go zero value for the underlying type of the enum.
125
+ */
126
+ $zero = 0,
127
+ ShapeCurrent = 0,
128
+ ShapeTimeseries = 1,
129
+ ShapeAggregate = 2
130
+ }
131
+ /**
132
+ * MetricUnit represents the unit of a metric value.
133
+ */
134
+ export declare enum MetricUnit {
135
+ /**
136
+ * The Go zero value for the underlying type of the enum.
137
+ */
138
+ $zero = 0,
139
+ UnitNone = 0,
140
+ UnitBytes = 1,
141
+ UnitKB = 2,
142
+ UnitMB = 3,
143
+ UnitGB = 4,
144
+ UnitPercentage = 5,
145
+ UnitMillis = 6,
146
+ UnitSeconds = 7,
147
+ UnitCount = 8,
148
+ UnitOpsPerSec = 9,
149
+ UnitBytesPerSec = 10,
150
+ UnitMillicores = 11,
151
+ UnitCores = 12
152
+ }
153
+ /**
154
+ * QueryRequest is the Go-side representation of a metric query.
155
+ */
156
+ export declare class QueryRequest {
157
+ "resource_key": string;
158
+ "resource_id": string;
159
+ "resource_namespace": string;
160
+ "resource_data": {
161
+ [_ in string]?: any;
162
+ };
163
+ "metric_ids": string[];
164
+ "shape": MetricShape;
165
+ "start_time": string;
166
+ "end_time": string;
167
+ "step": time$0.Duration;
168
+ "params": {
169
+ [_ in string]?: string;
170
+ };
171
+ /** Creates a new QueryRequest instance. */
172
+ constructor($$source?: Partial<QueryRequest>);
173
+ /**
174
+ * Creates a new QueryRequest instance from a string or object.
175
+ */
176
+ static createFrom($$source?: any): QueryRequest;
177
+ }
178
+ /**
179
+ * QueryResponse is the Go-side representation of a metric query response.
180
+ */
181
+ export declare class QueryResponse {
182
+ "success": boolean;
183
+ "results": MetricResult[];
184
+ "error": string;
185
+ /** Creates a new QueryResponse instance. */
186
+ constructor($$source?: Partial<QueryResponse>);
187
+ /**
188
+ * Creates a new QueryResponse instance from a string or object.
189
+ */
190
+ static createFrom($$source?: any): QueryResponse;
191
+ }
192
+ /**
193
+ * TimeSeries represents a series of data points for a metric.
194
+ */
195
+ export declare class TimeSeries {
196
+ "metric_id": string;
197
+ "data_points": DataPoint[];
198
+ "labels": {
199
+ [_ in string]?: string;
200
+ };
201
+ /** Creates a new TimeSeries instance. */
202
+ constructor($$source?: Partial<TimeSeries>);
203
+ /**
204
+ * Creates a new TimeSeries instance from a string or object.
205
+ */
206
+ static createFrom($$source?: any): TimeSeries;
207
+ }
@@ -0,0 +1,2 @@
1
+ export { FindPortForwardSessionRequest, PortForwardConnectionType, PortForwardProtocol, PortForwardSession, PortForwardSessionEncryption, PortForwardSessionOptions, SessionState } from './models.js';
2
+ export type { Connection } from './models.js';
@@ -0,0 +1,96 @@
1
+ /**
2
+ * Connection is implemented by PortForwardResourceConnection and
3
+ * PortForwardStaticConnection. The unexported method seals the interface.
4
+ */
5
+ export type Connection = any;
6
+ export declare class FindPortForwardSessionRequest {
7
+ "resource_id": string;
8
+ "connection_id": string;
9
+ /** Creates a new FindPortForwardSessionRequest instance. */
10
+ constructor($$source?: Partial<FindPortForwardSessionRequest>);
11
+ /**
12
+ * Creates a new FindPortForwardSessionRequest instance from a string or object.
13
+ */
14
+ static createFrom($$source?: any): FindPortForwardSessionRequest;
15
+ }
16
+ export declare enum PortForwardConnectionType {
17
+ /**
18
+ * The Go zero value for the underlying type of the enum.
19
+ */
20
+ $zero = "",
21
+ PortForwardConnectionTypeResource = "RESOURCE",
22
+ PortForwardConnectionTypeStatic = "STATIC"
23
+ }
24
+ export declare enum PortForwardProtocol {
25
+ /**
26
+ * The Go zero value for the underlying type of the enum.
27
+ */
28
+ $zero = "",
29
+ PortForwardProtocolTCP = "TCP",
30
+ PortForwardProtocolUDP = "UDP"
31
+ }
32
+ /**
33
+ * PortForwardSession represents a session between a forwarding target and the host.
34
+ */
35
+ export declare class PortForwardSession {
36
+ "created_at": string;
37
+ "updated_at": string;
38
+ "connection": Connection;
39
+ "labels": {
40
+ [_ in string]?: string;
41
+ };
42
+ "id": string;
43
+ "protocol": PortForwardProtocol;
44
+ "state": SessionState;
45
+ "connection_type": PortForwardConnectionType;
46
+ "encryption": PortForwardSessionEncryption;
47
+ "local_port": number;
48
+ "remote_port": number;
49
+ /** Creates a new PortForwardSession instance. */
50
+ constructor($$source?: Partial<PortForwardSession>);
51
+ /**
52
+ * Creates a new PortForwardSession instance from a string or object.
53
+ */
54
+ static createFrom($$source?: any): PortForwardSession;
55
+ }
56
+ export declare class PortForwardSessionEncryption {
57
+ "algorithm": string;
58
+ "key": string;
59
+ "enabled": boolean;
60
+ /** Creates a new PortForwardSessionEncryption instance. */
61
+ constructor($$source?: Partial<PortForwardSessionEncryption>);
62
+ /**
63
+ * Creates a new PortForwardSessionEncryption instance from a string or object.
64
+ */
65
+ static createFrom($$source?: any): PortForwardSessionEncryption;
66
+ }
67
+ export declare class PortForwardSessionOptions {
68
+ "connection": Connection;
69
+ "labels": {
70
+ [_ in string]?: string;
71
+ };
72
+ "params": {
73
+ [_ in string]?: string;
74
+ };
75
+ "protocol": PortForwardProtocol;
76
+ "connection_type": PortForwardConnectionType;
77
+ "encryption": PortForwardSessionEncryption;
78
+ "local_port": number;
79
+ "remote_port": number;
80
+ /** Creates a new PortForwardSessionOptions instance. */
81
+ constructor($$source?: Partial<PortForwardSessionOptions>);
82
+ /**
83
+ * Creates a new PortForwardSessionOptions instance from a string or object.
84
+ */
85
+ static createFrom($$source?: any): PortForwardSessionOptions;
86
+ }
87
+ export declare enum SessionState {
88
+ /**
89
+ * The Go zero value for the underlying type of the enum.
90
+ */
91
+ $zero = "",
92
+ SessionStateActive = "ACTIVE",
93
+ SessionStatePaused = "PAUSED",
94
+ SessionStateStopped = "STOPPED",
95
+ SessionStateFailed = "FAILED"
96
+ }
@@ -0,0 +1,2 @@
1
+ export { ActionDescriptor, ActionInput, ActionResult, ActionScope, ColumnDefinition, CreateInput, CreateResult, DeleteInput, DeleteResult, EdgeDirection, EditorSchema, EventSeverity, FilterExpression, FilterField, FilterFieldType, FilterLogic, FilterOperator, FilterPredicate, FindInput, FindResult, GetInput, GetResult, HealthCondition, HealthStatus, ListInput, ListResult, OrderField, PaginationParams, RelationshipDescriptor, RelationshipExtractor, RelationshipType, ResolvedRelationship, ResourceCapabilities, ResourceDefinition, ResourceEvent, ResourceGroup, ResourceHealth, ResourceLink, ResourceMeta, ResourceRef, ScaleHint, ScaleLevel, UpdateInput, UpdateResult, WatchConnectionSummary, WatchScope, WatchState, WatchStateEvent } from './models.js';
2
+ export type { Schema } from './models.js';