@omniviewdev/runtime 0.9.2 → 0.11.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.
Files changed (121) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +8 -6
  3. package/dist/api.js +249 -117
  4. package/dist/bindings/events/index.d.ts +48 -0
  5. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/index.d.ts +1 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/models.d.ts +19 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +1 -1
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +1 -1
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +1 -1
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +0 -20
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +3 -6
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +1 -1
  13. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -2
  14. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +3 -15
  15. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +5 -18
  16. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
  17. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +190 -9
  18. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +34 -74
  19. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +3 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +190 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +83 -0
  22. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/index.d.ts +3 -0
  23. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
  24. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
  25. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
  26. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
  27. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
  28. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
  29. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
  30. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
  31. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
  32. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
  33. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
  34. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
  35. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
  36. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
  37. package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
  38. package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
  39. package/dist/compat/types.d.ts +1 -1
  40. package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
  41. package/dist/context/drawer/types.d.ts +11 -21
  42. package/dist/context/index.d.ts +1 -0
  43. package/dist/context/operations/OperationsContext.d.ts +5 -5
  44. package/dist/context/windows/WindowActionsContext.d.ts +31 -0
  45. package/dist/context/windows/activePageNavigator.d.ts +13 -0
  46. package/dist/context/windows/index.d.ts +2 -0
  47. package/dist/exec.d.ts +5 -0
  48. package/dist/graph-JDqyJC_i.js +10 -0
  49. package/dist/graph-wHun0Bkz.cjs +1 -0
  50. package/dist/hooks/connection/index.d.ts +2 -1
  51. package/dist/hooks/connection/useConnection.d.ts +9 -30
  52. package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
  53. package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
  54. package/dist/hooks/connection/useConnections.d.ts +3 -2
  55. package/dist/hooks/connection/useScopeValues.d.ts +9 -0
  56. package/dist/hooks/logs/useLogSession.d.ts +4 -1
  57. package/dist/hooks/metric/useMetricStream.d.ts +6 -2
  58. package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
  59. package/dist/hooks/networker/types.d.ts +5 -2
  60. package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
  61. package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
  62. package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
  63. package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
  64. package/dist/hooks/resource/useEventBatcher.d.ts +11 -47
  65. package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
  66. package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
  67. package/dist/hooks/resource/useResource.d.ts +7 -58
  68. package/dist/hooks/resource/useResourceActions.d.ts +9 -58
  69. package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
  70. package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
  71. package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
  72. package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
  73. package/dist/hooks/resource/useResourceType.d.ts +6 -19
  74. package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
  75. package/dist/hooks/resource/useResources.d.ts +32 -60
  76. package/dist/hooks/resource/useStreamAction.d.ts +4 -8
  77. package/dist/hooks/resource/useWatchState.d.ts +15 -22
  78. package/dist/index.cjs +4 -4
  79. package/dist/index.d.ts +6 -1
  80. package/dist/index.js +3007 -2881
  81. package/dist/logs.d.ts +14 -0
  82. package/dist/metric.d.ts +35 -0
  83. package/dist/models-Cg1YRHQm.js +583 -0
  84. package/dist/models-DSGyy8lg.cjs +1 -0
  85. package/dist/models-UwESEW2B.js +1232 -0
  86. package/dist/models-dzj-SsFZ.cjs +1 -0
  87. package/dist/models.cjs +1 -1
  88. package/dist/models.d.ts +14 -8
  89. package/dist/models.js +118 -208
  90. package/dist/networker.d.ts +31 -0
  91. package/dist/resource/v2/ancillary.d.ts +161 -0
  92. package/dist/resource/v2/client.d.ts +57 -0
  93. package/dist/resource/v2/domain.d.ts +204 -0
  94. package/dist/resource/v2/graph-client.d.ts +7 -0
  95. package/dist/resource/v2/graph.d.ts +35 -0
  96. package/dist/resource/v2/host.d.ts +129 -0
  97. package/dist/resource/v2/requestJSON.d.ts +2 -0
  98. package/dist/resource/v2/value.d.ts +9 -0
  99. package/dist/resourceQueryKeys.d.ts +8 -4
  100. package/dist/router/Link.d.ts +3 -0
  101. package/dist/runtime.cjs +1 -1
  102. package/dist/runtime.js +1 -1
  103. package/dist/search.d.ts +9 -11
  104. package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
  105. package/dist/servicewrapper-Bda7yi8z.js +684 -0
  106. package/dist/types/watch.d.ts +48 -21
  107. package/dist/utils/activeSyncAggregator.d.ts +2 -2
  108. package/package.json +3 -3
  109. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
  110. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
  111. package/dist/compat/resource.d.ts +0 -4
  112. package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
  113. package/dist/legacyEnum-CKqyRmbX.js +0 -15
  114. package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
  115. package/dist/models-CT4kHj47.js +0 -2444
  116. package/dist/models-DQl7tqts.cjs +0 -1
  117. package/dist/models-DU8pTcoZ.js +0 -142
  118. package/dist/models-KV9f8Ceh.cjs +0 -1
  119. package/dist/servicewrapper-C6SURWw1.js +0 -850
  120. package/dist/servicewrapper-COMjQHnY.cjs +0 -1
  121. package/dist/utils/resourceKey.d.ts +0 -12
@@ -1,4 +0,0 @@
1
- import { WatchState as Generated } from '../bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models';
2
- export * from '../bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models';
3
- export declare const WatchState: typeof Generated;
4
- export type WatchState = Generated;
@@ -1,21 +0,0 @@
1
- type UseConnectionOptions = {
2
- /**
3
- * The name of the plugin we're interacting with
4
- */
5
- pluginID?: string;
6
- /**
7
- * The ID of the connection
8
- */
9
- connectionID: string;
10
- enabled?: boolean;
11
- };
12
- /**
13
- * Get and retreive connections from a plugin's connection manager..
14
- */
15
- export declare const useConnectionNamespaces: ({ pluginID: explicitPluginID, connectionID, enabled }: UseConnectionOptions) => {
16
- /**
17
- * Get the connection
18
- */
19
- namespaces: import('@tanstack/react-query').UseQueryResult<string[], Error>;
20
- };
21
- export {};
@@ -1,15 +0,0 @@
1
- function o(t, a) {
2
- const s = {
3
- ...t
4
- };
5
- for (const [e, n] of Object.entries(t)) {
6
- if (e === "$zero" || !e.startsWith(a))
7
- continue;
8
- const c = e.slice(a.length).replace(/([a-z0-9])([A-Z])/g, "$1_$2").toUpperCase();
9
- c && (s[c] = n);
10
- }
11
- return s;
12
- }
13
- export {
14
- o as w
15
- };
@@ -1 +0,0 @@
1
- "use strict";function n(t,s){const a={...t};for(const[e,i]of Object.entries(t)){if(e==="$zero"||!e.startsWith(s))continue;const c=e.slice(s.length).replace(/([a-z0-9])([A-Z])/g,"$1_$2").toUpperCase();c&&(a[c]=i)}return a}exports.withLegacyNames=n;