@odigos/ui-kit 0.0.263 → 0.0.265

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 (668) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/docs/api-context.md +1 -1
  3. package/lib/chunks/index-BMLDblot.js +155 -0
  4. package/lib/chunks/odigos-context-Dq_yIuDF.js +9 -0
  5. package/lib/chunks/source-instrument-form-context-D1tB6ZAx.js +5 -0
  6. package/lib/chunks/ui-components-CoDVeDqt.js +1581 -0
  7. package/lib/components/{_v2/cards → _cards}/data-card/index.d.ts +3 -3
  8. package/lib/components/{_v2/cards → _cards}/section-card/index.d.ts +2 -2
  9. package/lib/components/{_v2/cards → _cards}/status-card/index.d.ts +1 -1
  10. package/lib/components/{_v2/autocomplete → autocomplete}/index.d.ts +1 -1
  11. package/lib/components/{_v2/badge → badge}/index.d.ts +1 -1
  12. package/lib/components/{_v2/button → button}/index.d.ts +1 -1
  13. package/lib/components/{_v2/button-tab → button-tab}/index.d.ts +1 -1
  14. package/lib/components/{_v2/checkbox → checkbox}/index.d.ts +1 -1
  15. package/lib/components/code/index.d.ts +3 -4
  16. package/lib/components/code/toggle-code-component/index.d.ts +2 -3
  17. package/lib/components/{_v2/condition → condition}/index.d.ts +1 -1
  18. package/lib/components/{_v2/conditions → conditions}/index.d.ts +1 -1
  19. package/lib/components/divider/index.d.ts +4 -5
  20. package/lib/components/{_v2/drawer → drawer}/header/index.d.ts +1 -1
  21. package/lib/components/{_v2/drop-data → drop-data}/index.d.ts +1 -1
  22. package/lib/components/error-boundary/index.d.ts +2 -3
  23. package/lib/components/icon-button/index.d.ts +15 -11
  24. package/lib/components/icon-group/index.d.ts +6 -7
  25. package/lib/components/index.d.ts +39 -8
  26. package/lib/components/{_v2/input → input}/index.d.ts +1 -1
  27. package/lib/components/{_v2/input-table → input-table}/types.d.ts +1 -1
  28. package/lib/components/{_v2/island → island}/index.d.ts +2 -2
  29. package/lib/components/{_v2/loader → loader}/index.d.ts +1 -1
  30. package/lib/components/{_v2/navbar → navbar}/index.d.ts +1 -1
  31. package/lib/components/{_v2/no-data → no-data}/index.d.ts +1 -1
  32. package/lib/components/{_v2/note → note}/index.d.ts +1 -1
  33. package/lib/components/{_v2/radio → radio}/index.d.ts +1 -1
  34. package/lib/components/radio-card/index.d.ts +16 -0
  35. package/lib/components/scroll-y/index.d.ts +2 -3
  36. package/lib/components/{_v2/segment → segment}/index.d.ts +1 -1
  37. package/lib/components/skeleton-loader/index.d.ts +2 -3
  38. package/lib/components/{_v2/table → table}/table-columns/index.d.ts +1 -1
  39. package/lib/components/{_v2/table → table}/table-columns/sort/index.d.ts +1 -1
  40. package/lib/components/{_v2/tag → tag}/index.d.ts +1 -1
  41. package/lib/components/{_v2/toggle → toggle}/index.d.ts +1 -1
  42. package/lib/components/tooltip/index.d.ts +9 -5
  43. package/lib/components.js +1 -1
  44. package/lib/constants/actions/index.d.ts +1 -1
  45. package/lib/constants/instrumentation-rules/index.d.ts +1 -1
  46. package/lib/constants/regex.d.ts +1 -1
  47. package/lib/constants/sampling/index.d.ts +1 -1
  48. package/lib/constants/signals/index.d.ts +1 -1
  49. package/lib/constants/sources/index.d.ts +2 -2
  50. package/lib/constants/strings/index.d.ts +74 -0
  51. package/lib/constants.js +1 -1
  52. package/lib/containers/{_v2/_drawers → _drawers}/add-action-drawer/index.d.ts +1 -1
  53. package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/form-column/index.d.ts +1 -1
  54. package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/helpers.d.ts +2 -2
  55. package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/index.d.ts +2 -2
  56. package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/lists-column/index.d.ts +3 -3
  57. package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/lists-filters/index.d.ts +2 -2
  58. package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/types.d.ts +2 -2
  59. package/lib/containers/{_v2/_drawers → _drawers}/add-rule-drawer/index.d.ts +1 -1
  60. package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/index.d.ts +2 -2
  61. package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/index.d.ts +1 -1
  62. package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/strings.d.ts +10 -7
  63. package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/types.d.ts +1 -1
  64. package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/utils.d.ts +1 -1
  65. package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/workloads-column/index.d.ts +1 -1
  66. package/lib/containers/_drawers/create-cloud-connector-drawer/index.d.ts +15 -0
  67. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/custom-resource-table.d.ts +9 -0
  68. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/helpers.d.ts +5 -0
  69. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/index.d.ts +2 -0
  70. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/permission-list.d.ts +12 -0
  71. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/permissions.d.ts +25 -0
  72. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/policy-preview.d.ts +5 -0
  73. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/select-provider/provider-list.d.ts +8 -0
  74. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/create-role-section.d.ts +6 -0
  75. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/enter-arn-section.d.ts +5 -0
  76. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/index.d.ts +5 -0
  77. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts +30 -0
  78. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/setup-credentials/section.d.ts +9 -0
  79. package/lib/containers/_drawers/create-cloud-connector-drawer/steps/validate-connection/index.d.ts +8 -0
  80. package/lib/containers/{_v2/_drawers → _drawers}/edit-action-drawer/helpers.d.ts +2 -2
  81. package/lib/containers/{_v2/_drawers → _drawers}/edit-config-drawer/index.d.ts +2 -2
  82. package/lib/containers/{_v2/_drawers → _drawers}/edit-destination-drawer/helpers.d.ts +2 -2
  83. package/lib/containers/{_v2/_drawers → _drawers}/edit-rule-drawer/helpers.d.ts +2 -2
  84. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/common/pods-header.d.ts +1 -1
  85. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/debug/index.d.ts +1 -1
  86. package/lib/containers/_drawers/edit-source-drawer/helpers.d.ts +16 -0
  87. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/index.d.ts +1 -1
  88. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/jump-to-target-context.d.ts +1 -1
  89. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/distro-override.d.ts +1 -1
  90. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/index.d.ts +1 -1
  91. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/runtime-override.d.ts +1 -1
  92. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/health-card.d.ts +1 -1
  93. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/index.d.ts +1 -1
  94. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/main-card.d.ts +1 -1
  95. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/index.d.ts +1 -1
  96. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +1 -1
  97. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +1 -1
  98. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/index.d.ts +1 -1
  99. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +1 -1
  100. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +1 -1
  101. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +2 -2
  102. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +1 -1
  103. package/lib/containers/_drawers/edit-source-drawer/overview/runtime-card.d.ts +12 -0
  104. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/statuses-card.d.ts +1 -1
  105. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/peers/index.d.ts +1 -1
  106. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/containers-card/index.d.ts +1 -1
  107. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/containers-card/process-card.d.ts +1 -1
  108. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/index.d.ts +1 -1
  109. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/pod-card.d.ts +1 -1
  110. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/flamebearer.d.ts +18 -0
  111. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/index.d.ts +1 -1
  112. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/index.d.ts +2 -2
  113. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/symbol-instrumentation.d.ts +1 -1
  114. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/use-symbol-instrumentation.d.ts +1 -1
  115. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/sampling/index.d.ts +1 -1
  116. package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/sampling/rule-row.d.ts +2 -1
  117. package/lib/containers/{_v2/_drawers → _drawers}/index.d.ts +1 -0
  118. package/lib/containers/{_v2/_drawers → _drawers}/sampling-rule-drawer/index.d.ts +2 -2
  119. package/lib/containers/{_v2/_drawers → _drawers}/sampling-rule-drawer/view-footer.d.ts +1 -1
  120. package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/index.d.ts +2 -2
  121. package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/index.d.ts +1 -1
  122. package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/token-value.d.ts +1 -1
  123. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/add-cluster-info/index.d.ts +1 -1
  124. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/delete-attributes/index.d.ts +1 -1
  125. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/extract-attribute/index.d.ts +1 -1
  126. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/index.d.ts +1 -1
  127. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/k8s-attributes/index.d.ts +1 -1
  128. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/pii-masking/index.d.ts +1 -1
  129. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/rename-attributes/index.d.ts +1 -1
  130. package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/url-templatization/index.d.ts +1 -1
  131. package/lib/containers/{_v2/_forms → _forms}/add-action-form/dynamic-fields/index.d.ts +1 -1
  132. package/lib/containers/{_v2/_forms → _forms}/add-destination-form/dynamic-fields/index.d.ts +2 -2
  133. package/lib/containers/{_v2/_forms → _forms}/add-destination-form/index.d.ts +1 -1
  134. package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/code-attributes/index.d.ts +1 -1
  135. package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/custom-instrumentation/index.d.ts +1 -1
  136. package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/headers-collection/index.d.ts +1 -1
  137. package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/index.d.ts +1 -1
  138. package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/payload-collection/index.d.ts +1 -1
  139. package/lib/containers/{_v2/_modals → _modals}/onboarding-done/index.d.ts +0 -1
  140. package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/preset-row.d.ts +1 -1
  141. package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/types.d.ts +1 -1
  142. package/lib/containers/{_v2/central-connections → central-connections}/helpers.d.ts +15 -5
  143. package/lib/containers/central-connections/index.d.ts +16 -0
  144. package/lib/containers/index.d.ts +9 -0
  145. package/lib/containers/{_v2/onboarding → onboarding}/summary/index.d.ts +2 -2
  146. package/lib/containers/{_v2/overview → overview}/columns/column/empty-add.d.ts +1 -1
  147. package/lib/containers/{_v2/overview → overview}/columns/column/head.d.ts +1 -1
  148. package/lib/containers/{_v2/overview → overview}/columns/column/index.d.ts +1 -1
  149. package/lib/containers/{_v2/overview → overview}/columns/column/list-item.d.ts +1 -1
  150. package/lib/containers/{_v2/overview → overview}/columns/column/source-visual-state.d.ts +1 -1
  151. package/lib/containers/{_v2/overview → overview}/search/builder.d.ts +2 -2
  152. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-badge.d.ts +3 -3
  153. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-gauge-cards.d.ts +2 -2
  154. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-status-card.d.ts +2 -2
  155. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-text-cards.d.ts +2 -2
  156. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/index.d.ts +1 -1
  157. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/yaml-drawer/index.d.ts +2 -2
  158. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/index.d.ts +2 -1
  159. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/pods-info/index.d.ts +1 -1
  160. package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/pods-info/pod-drawer/index.d.ts +2 -2
  161. package/lib/containers/{_v2/sampling-rules → sampling-rules}/auto-rule-card/index.d.ts +1 -1
  162. package/lib/containers/{_v2/sampling-rules → sampling-rules}/converters.d.ts +1 -1
  163. package/lib/containers/{_v2/sampling-rules → sampling-rules}/helpers.d.ts +3 -3
  164. package/lib/containers/{_v2/sampling-rules → sampling-rules}/rules-table/index.d.ts +1 -1
  165. package/lib/containers/{_v2/sampling-rules → sampling-rules}/toolbar/index.d.ts +1 -1
  166. package/lib/containers/{_v2/sampling-rules → sampling-rules}/types.d.ts +1 -1
  167. package/lib/containers/service-map/helpers/aggregate-service-map.d.ts +1 -1
  168. package/lib/containers/service-map/helpers/build-edges.d.ts +1 -1
  169. package/lib/containers/service-map/helpers/build-map-nodes.d.ts +1 -1
  170. package/lib/containers/service-map/helpers/types.d.ts +2 -2
  171. package/lib/containers/service-map/service-map-context.d.ts +1 -1
  172. package/lib/containers/{_v2/settings → settings}/index.d.ts +2 -1
  173. package/lib/containers.js +1440 -16
  174. package/lib/contexts/action-form-context.d.ts +2 -2
  175. package/lib/contexts/cloud-connector-form-context.d.ts +35 -0
  176. package/lib/contexts/data-stream-form-context.d.ts +2 -2
  177. package/lib/contexts/destination-form-context.d.ts +3 -3
  178. package/lib/contexts/index.d.ts +1 -0
  179. package/lib/contexts/odigos-api/capabilities.d.ts +5 -1
  180. package/lib/contexts/odigos-api/client.d.ts +1 -1
  181. package/lib/contexts/odigos-api/hooks/use-actions-api.d.ts +1 -1
  182. package/lib/contexts/odigos-api/hooks/use-collectors-api.d.ts +1 -1
  183. package/lib/contexts/odigos-api/hooks/use-config-api.d.ts +1 -1
  184. package/lib/contexts/odigos-api/hooks/use-data-streams-api.d.ts +1 -1
  185. package/lib/contexts/odigos-api/hooks/use-describe-api.d.ts +1 -1
  186. package/lib/contexts/odigos-api/hooks/use-destinations-api.d.ts +1 -1
  187. package/lib/contexts/odigos-api/hooks/use-instrumentation-rules-api.d.ts +1 -1
  188. package/lib/contexts/odigos-api/hooks/use-namespace-api.d.ts +1 -1
  189. package/lib/contexts/odigos-api/hooks/use-profiling-api.d.ts +1 -1
  190. package/lib/contexts/odigos-api/hooks/use-sampling-api.d.ts +1 -1
  191. package/lib/contexts/odigos-api/hooks/use-service-map-api.d.ts +1 -1
  192. package/lib/contexts/odigos-api/hooks/use-snapshots-api.d.ts +1 -1
  193. package/lib/contexts/odigos-api/hooks/use-sources-api.d.ts +3 -2
  194. package/lib/contexts/odigos-api/hooks/use-tokens-api.d.ts +1 -1
  195. package/lib/contexts/odigos-api/index.d.ts +2 -4
  196. package/lib/contexts/odigos-api/internal/notify.d.ts +2 -2
  197. package/lib/contexts/odigos-api/internal/source-payloads.d.ts +2 -2
  198. package/lib/contexts/odigos-api/platform-helpers.d.ts +2 -2
  199. package/lib/contexts/odigos-api/runner.d.ts +3 -3
  200. package/lib/contexts/odigos-api/types.d.ts +8 -13
  201. package/lib/contexts/odigos-api/use-api-query.d.ts +11 -10
  202. package/lib/contexts/odigos-context.d.ts +7 -3
  203. package/lib/contexts/rule-form-context.d.ts +3 -3
  204. package/lib/contexts/sampling-rules-form-context.d.ts +2 -2
  205. package/lib/contexts/source-edit-form-context.d.ts +2 -2
  206. package/lib/contexts/source-instrument-form-context.d.ts +2 -2
  207. package/lib/contexts.js +1 -1
  208. package/lib/functions/build-badge-for-desired-status/index.d.ts +2 -2
  209. package/lib/functions/clean-object-empty-strings-values/index.d.ts +1 -1
  210. package/lib/functions/compare-condition/index.d.ts +1 -1
  211. package/lib/functions/filter-actions/index.d.ts +2 -2
  212. package/lib/functions/filter-destinations/index.d.ts +2 -2
  213. package/lib/functions/filter-destinations-by-stream/index.d.ts +1 -1
  214. package/lib/functions/filter-sources/index.d.ts +2 -2
  215. package/lib/functions/filter-sources-by-stream/index.d.ts +1 -1
  216. package/lib/functions/flatten-object-keys/index.d.ts +1 -1
  217. package/lib/functions/get-action-icon/index.d.ts +1 -1
  218. package/lib/functions/get-conditions-booleans/index.d.ts +1 -1
  219. package/lib/functions/get-containers-counts/index.d.ts +1 -1
  220. package/lib/functions/get-containers-icons/index.d.ts +1 -1
  221. package/lib/functions/get-destination-icon/index.d.ts +1 -1
  222. package/lib/functions/get-entity-icon/index.d.ts +1 -1
  223. package/lib/functions/get-entity-id/index.d.ts +1 -1
  224. package/lib/functions/get-entity-label/index.d.ts +1 -1
  225. package/lib/functions/get-health-badge-label/index.d.ts +1 -1
  226. package/lib/functions/get-id-from-sse-target/index.d.ts +1 -1
  227. package/lib/functions/get-instrumentation-rule-icon/index.d.ts +1 -1
  228. package/lib/functions/get-main-container-language/index.d.ts +1 -1
  229. package/lib/functions/get-metric-for-entity/index.d.ts +1 -1
  230. package/lib/functions/get-monitor-icon/index.d.ts +1 -1
  231. package/lib/functions/get-nearest-typography-size/index.d.ts +1 -1
  232. package/lib/functions/get-platform-icon/index.d.ts +1 -1
  233. package/lib/functions/get-platform-label/index.d.ts +1 -1
  234. package/lib/functions/get-programming-language-icon/index.d.ts +1 -1
  235. package/lib/functions/get-source-kind-label/index.d.ts +8 -0
  236. package/lib/functions/get-sse-target-from-id/index.d.ts +1 -1
  237. package/lib/functions/get-status-color/index.d.ts +1 -1
  238. package/lib/functions/get-status-from-pod-status/index.d.ts +1 -1
  239. package/lib/functions/get-status-icon/index.d.ts +1 -1
  240. package/lib/functions/get-status-type-from-odigos-health/index.d.ts +1 -1
  241. package/lib/functions/get-virtual-service-icon/index.d.ts +1 -1
  242. package/lib/functions/get-workload-id/index.d.ts +1 -1
  243. package/lib/functions/get-yaml-fields-for-destination/index.d.ts +1 -1
  244. package/lib/functions/has-unhealthy-instances/index.d.ts +1 -1
  245. package/lib/functions/index.d.ts +1 -0
  246. package/lib/functions/instrumentation-rule-source-scopes/index.d.ts +1 -1
  247. package/lib/functions/map-conditions/index.d.ts +1 -1
  248. package/lib/functions/map-desired-status-to-condition-status/index.d.ts +1 -1
  249. package/lib/functions/map-destination-fields-for-display/index.d.ts +1 -1
  250. package/lib/functions/map-signals/index.d.ts +1 -1
  251. package/lib/functions/prepare-destination-form-data/index.d.ts +1 -1
  252. package/lib/functions/remove-empty-values-from-object/index.d.ts +1 -1
  253. package/lib/functions/safe-json-parse/index.d.ts +1 -1
  254. package/lib/functions/safe-json-stringify/index.d.ts +1 -1
  255. package/lib/functions/stringify-non-string-values/index.d.ts +1 -1
  256. package/lib/functions.js +1 -1
  257. package/lib/hooks/index.d.ts +0 -2
  258. package/lib/hooks/useActionFormData.d.ts +2 -2
  259. package/lib/hooks/useCopy.d.ts +1 -1
  260. package/lib/hooks/useDataStreamFormData.d.ts +1 -1
  261. package/lib/hooks/useDestinationFormData.d.ts +1 -1
  262. package/lib/hooks/useGenericForm.d.ts +1 -1
  263. package/lib/hooks/useInstrumentationRuleFormData.d.ts +2 -2
  264. package/lib/hooks/usePopup.d.ts +1 -1
  265. package/lib/hooks/useSourceFormData.d.ts +1 -1
  266. package/lib/hooks.js +1 -1
  267. package/lib/icons/actions/add-cluster-info-icon/index.d.ts +1 -1
  268. package/lib/icons/actions/delete-attribute-icon/index.d.ts +1 -1
  269. package/lib/icons/actions/pii-masking-icon/index.d.ts +1 -1
  270. package/lib/icons/actions/rename-attribute-icon/index.d.ts +1 -1
  271. package/lib/icons/actions/sampler-icon/index.d.ts +1 -1
  272. package/lib/icons/arrows/arrow-down-icon/index.d.ts +1 -1
  273. package/lib/icons/arrows/arrow-down-square-icon/index.d.ts +1 -1
  274. package/lib/icons/arrows/arrow-left-icon/index.d.ts +1 -1
  275. package/lib/icons/arrows/arrow-left-square-icon/index.d.ts +1 -1
  276. package/lib/icons/arrows/arrow-right-icon/index.d.ts +1 -1
  277. package/lib/icons/arrows/arrow-right-square-icon/index.d.ts +1 -1
  278. package/lib/icons/arrows/arrow-up-icon/index.d.ts +1 -1
  279. package/lib/icons/arrows/arrow-up-square-icon/index.d.ts +1 -1
  280. package/lib/icons/arrows/chevron-down-circle-icon/index.d.ts +1 -1
  281. package/lib/icons/arrows/chevron-down-icon/index.d.ts +1 -1
  282. package/lib/icons/arrows/chevron-down-square-icon/index.d.ts +1 -1
  283. package/lib/icons/arrows/chevron-left-circle-icon/index.d.ts +1 -1
  284. package/lib/icons/arrows/chevron-left-icon/index.d.ts +1 -1
  285. package/lib/icons/arrows/chevron-left-square-icon/index.d.ts +1 -1
  286. package/lib/icons/arrows/chevron-right-circle-icon/index.d.ts +1 -1
  287. package/lib/icons/arrows/chevron-right-icon/index.d.ts +1 -1
  288. package/lib/icons/arrows/chevron-right-square-icon/index.d.ts +1 -1
  289. package/lib/icons/arrows/chevron-up-circle-icon/index.d.ts +1 -1
  290. package/lib/icons/arrows/chevron-up-icon/index.d.ts +1 -1
  291. package/lib/icons/arrows/chevron-up-square-icon/index.d.ts +1 -1
  292. package/lib/icons/auth/okta-icon/index.d.ts +1 -1
  293. package/lib/icons/brand/odigos-logo/index.d.ts +1 -1
  294. package/lib/icons/brand/odigos-logo-text/index.d.ts +1 -1
  295. package/lib/icons/brand/odigos-logo-text-central/index.d.ts +1 -1
  296. package/lib/icons/brand/odigos-logo-text-colored-central/index.d.ts +1 -1
  297. package/lib/icons/brand/odigos-logo-text-colored-community/index.d.ts +1 -1
  298. package/lib/icons/brand/odigos-logo-text-colored-enterprise/index.d.ts +1 -1
  299. package/lib/icons/brand/odigos-logo-text-community/index.d.ts +1 -1
  300. package/lib/icons/brand/odigos-logo-text-enterprise/index.d.ts +1 -1
  301. package/lib/icons/common/arrow-icon/index.d.ts +1 -1
  302. package/lib/icons/common/avatar-icon/index.d.ts +1 -1
  303. package/lib/icons/common/book-icon/index.d.ts +1 -1
  304. package/lib/icons/common/code-brackets-icon/index.d.ts +1 -1
  305. package/lib/icons/common/code-icon/index.d.ts +1 -1
  306. package/lib/icons/common/command-icon/index.d.ts +1 -1
  307. package/lib/icons/common/copy-icon/index.d.ts +1 -1
  308. package/lib/icons/common/delete-icon/index.d.ts +1 -1
  309. package/lib/icons/common/diagnose-icon/index.d.ts +1 -1
  310. package/lib/icons/common/dot-icon/index.d.ts +1 -1
  311. package/lib/icons/common/dots-horizontal-icon/index.d.ts +1 -1
  312. package/lib/icons/common/dots-vertical-icon/index.d.ts +1 -1
  313. package/lib/icons/common/download-icon/index.d.ts +1 -1
  314. package/lib/icons/common/edit-icon/index.d.ts +1 -1
  315. package/lib/icons/common/edited-icon/index.d.ts +1 -1
  316. package/lib/icons/common/exclamation-circle-icon/index.d.ts +1 -1
  317. package/lib/icons/common/exclamation-triangle-icon/index.d.ts +1 -1
  318. package/lib/icons/common/expand-icon/index.d.ts +1 -1
  319. package/lib/icons/common/extend-arrow-icon/index.d.ts +1 -1
  320. package/lib/icons/common/filter-icon/index.d.ts +1 -1
  321. package/lib/icons/common/folder-icon/index.d.ts +1 -1
  322. package/lib/icons/common/gear-icon/index.d.ts +1 -1
  323. package/lib/icons/common/home-icon/index.d.ts +1 -1
  324. package/lib/icons/common/i-square-icon/index.d.ts +1 -1
  325. package/lib/icons/common/image-error-icon/index.d.ts +1 -1
  326. package/lib/icons/common/inbound-icon/index.d.ts +1 -1
  327. package/lib/icons/common/key-icon/index.d.ts +1 -1
  328. package/lib/icons/common/list-icon/index.d.ts +1 -1
  329. package/lib/icons/common/lock-icon/index.d.ts +1 -1
  330. package/lib/icons/common/minus-circled-icon/index.d.ts +1 -1
  331. package/lib/icons/common/minus-icon/index.d.ts +1 -1
  332. package/lib/icons/common/no-data-icon/index.d.ts +1 -1
  333. package/lib/icons/common/notebook-icon/index.d.ts +1 -1
  334. package/lib/icons/common/notification-icon/index.d.ts +1 -1
  335. package/lib/icons/common/outbound-icon/index.d.ts +1 -1
  336. package/lib/icons/common/plus-circled-icon/index.d.ts +1 -1
  337. package/lib/icons/common/plus-icon/index.d.ts +1 -1
  338. package/lib/icons/common/question-circle-icon/index.d.ts +1 -1
  339. package/lib/icons/common/refresh-icon/index.d.ts +1 -1
  340. package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +1 -1
  341. package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +1 -1
  342. package/lib/icons/common/role-icon/index.d.ts +1 -1
  343. package/lib/icons/common/rotate-arrows-icon/index.d.ts +1 -1
  344. package/lib/icons/common/search-icon/index.d.ts +1 -1
  345. package/lib/icons/common/server-disconnected-icon/index.d.ts +1 -1
  346. package/lib/icons/common/settings-icon/index.d.ts +1 -1
  347. package/lib/icons/common/sort-arrows-icon/index.d.ts +1 -1
  348. package/lib/icons/common/star-icon/index.d.ts +1 -1
  349. package/lib/icons/common/terminal-icon/index.d.ts +1 -1
  350. package/lib/icons/common/trash-icon/index.d.ts +1 -1
  351. package/lib/icons/common/user-circle-icon/index.d.ts +1 -1
  352. package/lib/icons/common/user-group-icon/index.d.ts +1 -1
  353. package/lib/icons/common/user-icon/index.d.ts +1 -1
  354. package/lib/icons/common/user-settings-icon/index.d.ts +1 -1
  355. package/lib/icons/common/v-icon/index.d.ts +1 -1
  356. package/lib/icons/common/v-square-icon/index.d.ts +1 -1
  357. package/lib/icons/common/x-icon/index.d.ts +1 -1
  358. package/lib/icons/common/x-square-icon/index.d.ts +1 -1
  359. package/lib/icons/compute-platform/cloud-connector-icon/index.d.ts +2 -0
  360. package/lib/icons/compute-platform/cloud-connector-policy-icon/index.d.ts +2 -0
  361. package/lib/icons/compute-platform/index.d.ts +2 -0
  362. package/lib/icons/compute-platform/k8s-logo/index.d.ts +1 -1
  363. package/lib/icons/compute-platform/vm-logo/index.d.ts +1 -1
  364. package/lib/icons/destinations/alauda-logo/index.d.ts +1 -1
  365. package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +1 -1
  366. package/lib/icons/destinations/app-dynamics-logo/index.d.ts +1 -1
  367. package/lib/icons/destinations/aws-api-gateway-logo/index.d.ts +1 -1
  368. package/lib/icons/destinations/aws-bedrock-logo/index.d.ts +1 -1
  369. package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +1 -1
  370. package/lib/icons/destinations/aws-dynamodb-logo/index.d.ts +1 -1
  371. package/lib/icons/destinations/aws-ec2-logo/index.d.ts +1 -1
  372. package/lib/icons/destinations/aws-eventbridge-logo/index.d.ts +1 -1
  373. package/lib/icons/destinations/aws-kinesis-logo/index.d.ts +1 -1
  374. package/lib/icons/destinations/aws-lambda-logo/index.d.ts +1 -1
  375. package/lib/icons/destinations/aws-s3-logo/index.d.ts +1 -1
  376. package/lib/icons/destinations/aws-secrets-manager-logo/index.d.ts +1 -1
  377. package/lib/icons/destinations/aws-sns-logo/index.d.ts +1 -1
  378. package/lib/icons/destinations/aws-sqs-logo/index.d.ts +1 -1
  379. package/lib/icons/destinations/aws-step-functions-logo/index.d.ts +1 -1
  380. package/lib/icons/destinations/aws-sts-logo/index.d.ts +1 -1
  381. package/lib/icons/destinations/aws-xray-logo/index.d.ts +1 -1
  382. package/lib/icons/destinations/axiom-logo/index.d.ts +1 -1
  383. package/lib/icons/destinations/azure-blob-logo/index.d.ts +1 -1
  384. package/lib/icons/destinations/azure-monitor-logo/index.d.ts +1 -1
  385. package/lib/icons/destinations/better-stack-logo/index.d.ts +1 -1
  386. package/lib/icons/destinations/bonree-logo/index.d.ts +1 -1
  387. package/lib/icons/destinations/causely-logo/index.d.ts +1 -1
  388. package/lib/icons/destinations/checkly-logo/index.d.ts +1 -1
  389. package/lib/icons/destinations/chronosphere-logo/index.d.ts +1 -1
  390. package/lib/icons/destinations/clickhouse-logo/index.d.ts +1 -1
  391. package/lib/icons/destinations/coralogix-logo/index.d.ts +1 -1
  392. package/lib/icons/destinations/dash0-logo/index.d.ts +1 -1
  393. package/lib/icons/destinations/datadog-logo/index.d.ts +1 -1
  394. package/lib/icons/destinations/dynatrace-logo/index.d.ts +1 -1
  395. package/lib/icons/destinations/elastic-apm-logo/index.d.ts +1 -1
  396. package/lib/icons/destinations/elastic-search-logo/index.d.ts +1 -1
  397. package/lib/icons/destinations/gigapipe-logo/index.d.ts +1 -1
  398. package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +1 -1
  399. package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +1 -1
  400. package/lib/icons/destinations/grafana-logo/index.d.ts +1 -1
  401. package/lib/icons/destinations/greptime-logo/index.d.ts +1 -1
  402. package/lib/icons/destinations/groundcover-logo/index.d.ts +1 -1
  403. package/lib/icons/destinations/honeycomb-logo/index.d.ts +1 -1
  404. package/lib/icons/destinations/hyperdx-logo/index.d.ts +1 -1
  405. package/lib/icons/destinations/instana-logo/index.d.ts +1 -1
  406. package/lib/icons/destinations/jaeger-logo/index.d.ts +1 -1
  407. package/lib/icons/destinations/kafka-logo/index.d.ts +1 -1
  408. package/lib/icons/destinations/kloudmate-logo/index.d.ts +1 -1
  409. package/lib/icons/destinations/last9-logo/index.d.ts +1 -1
  410. package/lib/icons/destinations/lightstep-logo/index.d.ts +1 -1
  411. package/lib/icons/destinations/logzio-logo/index.d.ts +1 -1
  412. package/lib/icons/destinations/loki-logo/index.d.ts +1 -1
  413. package/lib/icons/destinations/lumigo-logo/index.d.ts +1 -1
  414. package/lib/icons/destinations/middleware-logo/index.d.ts +1 -1
  415. package/lib/icons/destinations/new-relic-logo/index.d.ts +1 -1
  416. package/lib/icons/destinations/observe-logo/index.d.ts +1 -1
  417. package/lib/icons/destinations/odigos-destination-logo/index.d.ts +1 -1
  418. package/lib/icons/destinations/one-uptime-logo/index.d.ts +1 -1
  419. package/lib/icons/destinations/open-observe-logo/index.d.ts +1 -1
  420. package/lib/icons/destinations/open-telemetry-logo/index.d.ts +1 -1
  421. package/lib/icons/destinations/ops-verse-logo/index.d.ts +1 -1
  422. package/lib/icons/destinations/oracle-logo/index.d.ts +1 -1
  423. package/lib/icons/destinations/prometheus-logo/index.d.ts +1 -1
  424. package/lib/icons/destinations/pyroscope-logo/index.d.ts +1 -1
  425. package/lib/icons/destinations/qryn-logo/index.d.ts +1 -1
  426. package/lib/icons/destinations/quickwit-logo/index.d.ts +1 -1
  427. package/lib/icons/destinations/sentry-logo/index.d.ts +1 -1
  428. package/lib/icons/destinations/seq-logo/index.d.ts +1 -1
  429. package/lib/icons/destinations/signoz-logo/index.d.ts +1 -1
  430. package/lib/icons/destinations/splunk-logo/index.d.ts +1 -1
  431. package/lib/icons/destinations/sumo-logic-logo/index.d.ts +1 -1
  432. package/lib/icons/destinations/telemetry-hub-logo/index.d.ts +1 -1
  433. package/lib/icons/destinations/tempo-logo/index.d.ts +1 -1
  434. package/lib/icons/destinations/tingyun-logo/index.d.ts +1 -1
  435. package/lib/icons/destinations/traceloop-logo/index.d.ts +1 -1
  436. package/lib/icons/destinations/uptrace-logo/index.d.ts +1 -1
  437. package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +1 -1
  438. package/lib/icons/instrumentation-rules/code-attributes-icon/index.d.ts +1 -1
  439. package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +1 -1
  440. package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +1 -1
  441. package/lib/icons/instrumentation-rules/payload-collection-icon/index.d.ts +1 -1
  442. package/lib/icons/monitors/logs-icon/index.d.ts +1 -1
  443. package/lib/icons/monitors/metrics-icon/index.d.ts +1 -1
  444. package/lib/icons/monitors/traces-icon/index.d.ts +1 -1
  445. package/lib/icons/on-off/eye-closed-icon/index.d.ts +1 -1
  446. package/lib/icons/on-off/eye-open-icon/index.d.ts +1 -1
  447. package/lib/icons/on-off/light-off-icon/index.d.ts +1 -1
  448. package/lib/icons/on-off/light-on-icon/index.d.ts +1 -1
  449. package/lib/icons/on-off/moon-icon/index.d.ts +1 -1
  450. package/lib/icons/on-off/sound-off-icon/index.d.ts +1 -1
  451. package/lib/icons/on-off/sound-on-icon/index.d.ts +1 -1
  452. package/lib/icons/on-off/sun-icon/index.d.ts +1 -1
  453. package/lib/icons/overview/action-icon/index.d.ts +1 -1
  454. package/lib/icons/overview/connections-icon/index.d.ts +1 -1
  455. package/lib/icons/overview/data-stream-icon/index.d.ts +1 -1
  456. package/lib/icons/overview/destination-icon/index.d.ts +1 -1
  457. package/lib/icons/overview/gateway-icon/index.d.ts +1 -1
  458. package/lib/icons/overview/instrumentation-rule-icon/index.d.ts +1 -1
  459. package/lib/icons/overview/log-icon/index.d.ts +1 -1
  460. package/lib/icons/overview/namespaces-icon/index.d.ts +1 -1
  461. package/lib/icons/overview/overview-icon/index.d.ts +1 -1
  462. package/lib/icons/overview/pipeline-collector-icon/index.d.ts +1 -1
  463. package/lib/icons/overview/pod-icon/index.d.ts +1 -1
  464. package/lib/icons/overview/replica-icon/index.d.ts +1 -1
  465. package/lib/icons/overview/sampling-icon/index.d.ts +1 -1
  466. package/lib/icons/overview/service-map-icon/index.d.ts +1 -1
  467. package/lib/icons/overview/source-icon/index.d.ts +1 -1
  468. package/lib/icons/overview/trace-view-icon/index.d.ts +1 -1
  469. package/lib/icons/overview/yaml-icon/index.d.ts +1 -1
  470. package/lib/icons/programming-languages/aws-logo/index.d.ts +1 -1
  471. package/lib/icons/programming-languages/c-plus-plus-logo/index.d.ts +1 -1
  472. package/lib/icons/programming-languages/c-sharp-logo/index.d.ts +1 -1
  473. package/lib/icons/programming-languages/dotnet-logo/index.d.ts +1 -1
  474. package/lib/icons/programming-languages/elixir-logo/index.d.ts +1 -1
  475. package/lib/icons/programming-languages/go-logo/index.d.ts +1 -1
  476. package/lib/icons/programming-languages/java-logo/index.d.ts +1 -1
  477. package/lib/icons/programming-languages/mysql-logo/index.d.ts +1 -1
  478. package/lib/icons/programming-languages/nginx-logo/index.d.ts +1 -1
  479. package/lib/icons/programming-languages/nodejs-logo/index.d.ts +1 -1
  480. package/lib/icons/programming-languages/php-logo/index.d.ts +1 -1
  481. package/lib/icons/programming-languages/postgres-logo/index.d.ts +1 -1
  482. package/lib/icons/programming-languages/python-logo/index.d.ts +1 -1
  483. package/lib/icons/programming-languages/redis-logo/index.d.ts +1 -1
  484. package/lib/icons/programming-languages/ruby-logo/index.d.ts +1 -1
  485. package/lib/icons/programming-languages/rust-logo/index.d.ts +1 -1
  486. package/lib/icons/programming-languages/swift-logo/index.d.ts +1 -1
  487. package/lib/icons/social/slack-logo/index.d.ts +1 -1
  488. package/lib/icons.js +1 -1
  489. package/lib/snippets/{_v2/actions → actions}/index.d.ts +2 -2
  490. package/lib/snippets/{_v2/cancel-modal → cancel-modal}/index.d.ts +1 -1
  491. package/lib/snippets/connector-created-modal/index.d.ts +7 -0
  492. package/lib/snippets/{_v2/delete-modal → delete-modal}/index.d.ts +1 -1
  493. package/lib/snippets/{_v2/dynamic-field → dynamic-field}/index.d.ts +6 -2
  494. package/lib/snippets/index.d.ts +14 -1
  495. package/lib/snippets/{_v2/instrumentation-rule-form-sections → instrumentation-rule-form-sections}/instrumentation-preview.d.ts +1 -1
  496. package/lib/snippets/{_v2/rich-title → rich-title}/index.d.ts +3 -3
  497. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/duration-errors.d.ts +2 -2
  498. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/operation.d.ts +1 -1
  499. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/percentage.d.ts +1 -1
  500. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/preset-with-custom-input.d.ts +1 -1
  501. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/rule-info.d.ts +1 -1
  502. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/rule-type.d.ts +1 -1
  503. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/sampling-preview.d.ts +2 -2
  504. package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/source-scope.d.ts +2 -2
  505. package/lib/snippets/{_v2/signals-checkbox-list → signals-checkbox-list}/index.d.ts +1 -1
  506. package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column-list-item/index.d.ts +1 -1
  507. package/lib/snippets/{_v2/wide-drawer → wide-drawer}/index.d.ts +6 -3
  508. package/lib/snippets/{_v2/yaml-section-card → yaml-section-card}/index.d.ts +1 -1
  509. package/lib/snippets.js +1 -1
  510. package/lib/store/index.d.ts +0 -1
  511. package/lib/store/useDataStreamStore.d.ts +1 -1
  512. package/lib/store/useDrawerStore.d.ts +16 -3
  513. package/lib/store/useFilterStore.d.ts +1 -1
  514. package/lib/store/useNotificationStore.d.ts +1 -1
  515. package/lib/store/useProgressStore.d.ts +1 -1
  516. package/lib/store/useSelectedStore.d.ts +1 -1
  517. package/lib/store/useSetupStore.d.ts +1 -1
  518. package/lib/store.js +1 -1
  519. package/lib/theme.js +1 -1
  520. package/lib/types/actions/index.d.ts +2 -5
  521. package/lib/types/cloud-connectors/index.d.ts +88 -0
  522. package/lib/types/common/index.d.ts +12 -1
  523. package/lib/types/destinations/index.d.ts +1 -1
  524. package/lib/types/index.d.ts +1 -0
  525. package/lib/types/sampling.d.ts +1 -1
  526. package/lib/types/snapshot/index.d.ts +1 -0
  527. package/lib/types/sources/index.d.ts +1 -0
  528. package/lib/types/workload/index.d.ts +38 -0
  529. package/lib/types.js +1 -1
  530. package/lib/visuals/visual-green-rings/index.d.ts +1 -1
  531. package/lib/visuals/visual-purple-rings/index.d.ts +1 -1
  532. package/lib/visuals.js +1 -1
  533. package/package.json +19 -39
  534. package/lib/chunks/connections-scope-JSsSeaII.js +0 -1
  535. package/lib/chunks/consts-D6GCMJ6c.js +0 -1
  536. package/lib/chunks/index-CpvWOJm_.js +0 -155
  537. package/lib/chunks/odigos-context-DGZO6Njm.js +0 -18
  538. package/lib/chunks/source-instrument-form-context-FYKFdAII.js +0 -1
  539. package/lib/chunks/ui-components-D1ehQI2Z.js +0 -1704
  540. package/lib/chunks/use-odigos-api-Ptz3Kdno.js +0 -5
  541. package/lib/chunks/vendor-BFqT13Me.js +0 -1
  542. package/lib/components/_v2/icon-button/index.d.ts +0 -16
  543. package/lib/components/_v2/icon-group/index.d.ts +0 -11
  544. package/lib/components/_v2/index.d.ts +0 -40
  545. package/lib/components/fade-loader/helpers/animation.d.ts +0 -1
  546. package/lib/components/fade-loader/helpers/unitConverter.d.ts +0 -22
  547. package/lib/components/fade-loader/index.d.ts +0 -10
  548. package/lib/components/icon-wrapped/index.d.ts +0 -11
  549. package/lib/components/image-controlled/index.d.ts +0 -8
  550. package/lib/components/loading-text/index.d.ts +0 -9
  551. package/lib/components/notification-note/index.d.ts +0 -22
  552. package/lib/components/popup/index.d.ts +0 -18
  553. package/lib/components/scroll-x/index.d.ts +0 -10
  554. package/lib/components/text/index.d.ts +0 -26
  555. package/lib/components/v2.js +0 -1
  556. package/lib/containers/_v2/_drawers/edit-source-drawer/helpers.d.ts +0 -12
  557. package/lib/containers/_v2/central-connections/index.d.ts +0 -11
  558. package/lib/containers/_v2/index.d.ts +0 -9
  559. package/lib/containers/v2.js +0 -990
  560. package/lib/contexts/odigos-api.js +0 -1
  561. package/lib/hooks/useClickNode.d.ts +0 -6
  562. package/lib/hooks/useClickNotification.d.ts +0 -7
  563. package/lib/snippets/_v2/index.d.ts +0 -13
  564. package/lib/snippets/v2.js +0 -1
  565. package/lib/store/useModalStore.d.ts +0 -6
  566. /package/lib/components/{_v2/cards → _cards}/index.d.ts +0 -0
  567. /package/lib/components/{_v2/cards → _cards}/text-card/index.d.ts +0 -0
  568. /package/lib/components/{_v2/charts → charts}/gauge-chart/index.d.ts +0 -0
  569. /package/lib/components/{_v2/charts → charts}/index.d.ts +0 -0
  570. /package/lib/components/{_v2/cli-command → cli-command}/index.d.ts +0 -0
  571. /package/lib/components/{_v2/drawer → drawer}/footer/index.d.ts +0 -0
  572. /package/lib/components/{_v2/drawer → drawer}/index.d.ts +0 -0
  573. /package/lib/components/{_v2/drop-down → drop-down}/index.d.ts +0 -0
  574. /package/lib/components/{_v2/field-message → field-message}/index.d.ts +0 -0
  575. /package/lib/components/{_v2/field-title → field-title}/index.d.ts +0 -0
  576. /package/lib/components/{_v2/header → header}/index.d.ts +0 -0
  577. /package/lib/components/{_v2/hover-actions → hover-actions}/index.d.ts +0 -0
  578. /package/lib/components/{_v2/input-list → input-list}/index.d.ts +0 -0
  579. /package/lib/components/{_v2/input-table → input-table}/card-table.d.ts +0 -0
  580. /package/lib/components/{_v2/input-table → input-table}/dynamic-field/index.d.ts +0 -0
  581. /package/lib/components/{_v2/input-table → input-table}/index.d.ts +0 -0
  582. /package/lib/components/{_v2/loader → loader}/spinner/index.d.ts +0 -0
  583. /package/lib/components/{_v2/loader → loader}/spinner-old/helpers/animation.d.ts +0 -0
  584. /package/lib/components/{_v2/loader → loader}/spinner-old/helpers/unitConverter.d.ts +0 -0
  585. /package/lib/components/{_v2/loader → loader}/spinner-old/index.d.ts +0 -0
  586. /package/lib/components/{_v2/modal → modal}/index.d.ts +0 -0
  587. /package/lib/components/{_v2/search → search}/index.d.ts +0 -0
  588. /package/lib/components/{_v2/stepper → stepper}/index.d.ts +0 -0
  589. /package/lib/components/{_v2/table → table}/index.d.ts +0 -0
  590. /package/lib/components/{_v2/table → table}/styled.d.ts +0 -0
  591. /package/lib/components/{_v2/table → table}/table-columns/filter/index.d.ts +0 -0
  592. /package/lib/components/{_v2/table → table}/table-rows/index.d.ts +0 -0
  593. /package/lib/components/{_v2/table → table}/types.d.ts +0 -0
  594. /package/lib/components/{_v2/textarea → textarea}/index.d.ts +0 -0
  595. /package/lib/components/{_v2/time-input → time-input}/index.d.ts +0 -0
  596. /package/lib/components/{_v2/typography → typography}/index.d.ts +0 -0
  597. /package/lib/components/{_v2/typography-truncatable → typography-truncatable}/index.d.ts +0 -0
  598. /package/lib/components/{_v2/warning-modal → warning-modal}/index.d.ts +0 -0
  599. /package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/list/index.d.ts +0 -0
  600. /package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/list/list-item/index.d.ts +0 -0
  601. /package/lib/containers/{_v2/_drawers → _drawers}/edit-action-drawer/index.d.ts +0 -0
  602. /package/lib/containers/{_v2/_drawers → _drawers}/edit-destination-drawer/index.d.ts +0 -0
  603. /package/lib/containers/{_v2/_drawers → _drawers}/edit-rule-drawer/index.d.ts +0 -0
  604. /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/common/index.d.ts +0 -0
  605. /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/popup-form.d.ts +0 -0
  606. /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/pod-debug-commands.d.ts +0 -0
  607. /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/flame-graph-canvas.d.ts +0 -0
  608. /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/modify-rules-modal.d.ts +0 -0
  609. /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/tabs.d.ts +0 -0
  610. /package/lib/containers/{_v2/_drawers → _drawers}/regex-tester-drawer/highlighter.d.ts +0 -0
  611. /package/lib/containers/{_v2/_drawers → _drawers}/regex-tester-drawer/index.d.ts +0 -0
  612. /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/describe/index.d.ts +0 -0
  613. /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/diagnose/index.d.ts +0 -0
  614. /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/token-expires-at.d.ts +0 -0
  615. /package/lib/containers/{_v2/_forms → _forms}/add-action-form/index.d.ts +0 -0
  616. /package/lib/containers/{_v2/_forms → _forms}/add-rule-form/index.d.ts +0 -0
  617. /package/lib/containers/{_v2/_forms → _forms}/data-stream-form/index.d.ts +0 -0
  618. /package/lib/containers/{_v2/_forms → _forms}/data-stream-form/merge-warning.d.ts +0 -0
  619. /package/lib/containers/{_v2/_forms → _forms}/edit-source-form/index.d.ts +0 -0
  620. /package/lib/containers/{_v2/_forms → _forms}/index.d.ts +0 -0
  621. /package/lib/containers/{_v2/_forms → _forms}/sampling-rule-form/index.d.ts +0 -0
  622. /package/lib/containers/{_v2/_modals → _modals}/add-data-stream-modal/index.d.ts +0 -0
  623. /package/lib/containers/{_v2/_modals → _modals}/edit-data-stream-modal/index.d.ts +0 -0
  624. /package/lib/containers/{_v2/_modals → _modals}/index.d.ts +0 -0
  625. /package/lib/containers/{_v2/_modals → _modals}/onboarding-done/background.d.ts +0 -0
  626. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/chrome.d.ts +0 -0
  627. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/footer.d.ts +0 -0
  628. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/header.d.ts +0 -0
  629. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/index.d.ts +0 -0
  630. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/info-card.d.ts +0 -0
  631. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/lists.d.ts +0 -0
  632. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/primary-banner.d.ts +0 -0
  633. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/section.d.ts +0 -0
  634. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/sub-title.d.ts +0 -0
  635. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/index.d.ts +0 -0
  636. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-advanced.d.ts +0 -0
  637. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-drop-list.d.ts +0 -0
  638. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-keep-list.d.ts +0 -0
  639. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-noisy.d.ts +0 -0
  640. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-strategy.d.ts +0 -0
  641. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-success.d.ts +0 -0
  642. /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-welcome.d.ts +0 -0
  643. /package/lib/containers/{_v2/onboarding → onboarding}/background/index.d.ts +0 -0
  644. /package/lib/containers/{_v2/onboarding → onboarding}/get-started/index.d.ts +0 -0
  645. /package/lib/containers/{_v2/onboarding → onboarding}/index.d.ts +0 -0
  646. /package/lib/containers/{_v2/overview → overview}/columns/column/namespace-divider.d.ts +0 -0
  647. /package/lib/containers/{_v2/overview → overview}/columns/index.d.ts +0 -0
  648. /package/lib/containers/{_v2/overview → overview}/data-stream-select/index.d.ts +0 -0
  649. /package/lib/containers/{_v2/overview → overview}/drawers/index.d.ts +0 -0
  650. /package/lib/containers/{_v2/overview → overview}/filters/index.d.ts +0 -0
  651. /package/lib/containers/{_v2/overview → overview}/index.d.ts +0 -0
  652. /package/lib/containers/{_v2/overview → overview}/multi-source-control/index.d.ts +0 -0
  653. /package/lib/containers/{_v2/overview → overview}/search/index.d.ts +0 -0
  654. /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/enum.d.ts +0 -0
  655. /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-title.d.ts +0 -0
  656. /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/index.d.ts +0 -0
  657. /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/toolbar/index.d.ts +0 -0
  658. /package/lib/containers/{_v2/sampling-rules → sampling-rules}/index.d.ts +0 -0
  659. /package/lib/containers/{_v2/settings → settings}/side-menu/index.d.ts +0 -0
  660. /package/lib/containers/{_v2/settings → settings}/toolbar/index.d.ts +0 -0
  661. /package/lib/snippets/{_v2/colored-span → colored-span}/index.d.ts +0 -0
  662. /package/lib/snippets/{_v2/instrumentation-rule-form-sections → instrumentation-rule-form-sections}/index.d.ts +0 -0
  663. /package/lib/snippets/{_v2/odigos-logo-text-by-tier → odigos-logo-text-by-tier}/index.d.ts +0 -0
  664. /package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/index.d.ts +0 -0
  665. /package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/styled.d.ts +0 -0
  666. /package/lib/snippets/{_v2/upgrade-modal → upgrade-modal}/index.d.ts +0 -0
  667. /package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column/index.d.ts +0 -0
  668. /package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column-list-collapse/index.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  import { type FC, type ReactNode } from 'react';
2
- import { type GenericFormResult } from '@/hooks/useGenericForm';
3
- import { type Action, type ActionFormData, type ActionOption } from '@/types';
2
+ import { type GenericFormResult } from '../hooks/useGenericForm';
3
+ import { type Action, type ActionFormData, type ActionOption } from '../types';
4
4
  interface ActionFormContextValue {
5
5
  selectedOption: ActionOption | null;
6
6
  onSelectOption: (option: ActionOption | null) => void;
@@ -0,0 +1,35 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ import type { CloudConnectorProvider } from '../types';
3
+ import { type GenericFormResult } from '../hooks/useGenericForm';
4
+ export interface CloudConnectorCapability {
5
+ discovery: boolean;
6
+ instrumentation: boolean;
7
+ }
8
+ export type CloudConnectorCapabilities = Record<string, CloudConnectorCapability>;
9
+ export interface CloudConnectorFormData {
10
+ provider: string;
11
+ permission: string;
12
+ customCapabilities: CloudConnectorCapabilities;
13
+ authMethod: string;
14
+ setupMethod: string;
15
+ awsAccountId: string;
16
+ credentials: Record<string, string>;
17
+ accessToken: string;
18
+ secretId: string;
19
+ name: string;
20
+ }
21
+ interface CloudConnectorFormContextValue {
22
+ providers: CloudConnectorProvider[];
23
+ genericForm: GenericFormResult<CloudConnectorFormData>;
24
+ validateFormData: () => {
25
+ errorMessage?: string;
26
+ preparedFormData: CloudConnectorFormData;
27
+ };
28
+ }
29
+ export interface CloudConnectorFormContextProviderProps {
30
+ children: ReactNode;
31
+ providers?: CloudConnectorProvider[];
32
+ }
33
+ export declare const CloudConnectorFormContextProvider: FC<CloudConnectorFormContextProviderProps>;
34
+ export declare const useCloudConnectorFormContext: () => CloudConnectorFormContextValue;
35
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { type FC, type ReactNode } from 'react';
2
- import type { DataStream } from '@/types';
3
- import { type GenericFormResult } from '@/hooks/useGenericForm';
2
+ import type { DataStream } from '../types';
3
+ import { type GenericFormResult } from '../hooks/useGenericForm';
4
4
  /** Captures a submit attempt that's waiting on user confirmation (merge prompt). */
5
5
  interface PendingMerge {
6
6
  preparedFormData: DataStream;
@@ -1,7 +1,7 @@
1
1
  import React, { type FC, Dispatch, SetStateAction } from 'react';
2
- import { type GenericFormResult } from '@/hooks';
3
- import { DestinationCategoryTypes } from '@/constants';
4
- import { type Destination, type DestinationCategories, type DestinationDynamicField, type DestinationFormData, type DestinationOption, type TestConnectionResponse } from '@/types';
2
+ import { type GenericFormResult } from '../hooks';
3
+ import { DestinationCategoryTypes } from '../constants';
4
+ import { type Destination, type DestinationCategories, type DestinationDynamicField, type DestinationFormData, type DestinationOption, type TestConnectionResponse } from '../types';
5
5
  interface ActiveForm {
6
6
  listType: DestinationCategoryTypes;
7
7
  option: DestinationOption;
@@ -1,4 +1,5 @@
1
1
  export * from './action-form-context';
2
+ export * from './cloud-connector-form-context';
2
3
  export * from './data-stream-form-context';
3
4
  export * from './destination-form-context';
4
5
  export * from './odigos-api';
@@ -4,7 +4,9 @@
4
4
  * the ticket called out.
5
5
  *
6
6
  * Capabilities are computed from:
7
- * 1. `ctx.platformType` — VM platforms gate out cluster-only features.
7
+ * 1. `ctx.platformType` — VM platforms gate out cluster-only features;
8
+ * connectors share the agents-api dialect with VM for sources and must
9
+ * not inherit Kubernetes-only affordances.
8
10
  * 2. `ctx.tier` — community vs enterprise.
9
11
  * 3. Operation presence — if the host adapter doesn't supply
10
12
  * `CREATE_ACTION`, the capability is `false`.
@@ -37,5 +39,7 @@ export interface Capabilities {
37
39
  canManageSamplingRules: boolean;
38
40
  isEnterprise: boolean;
39
41
  isVm: boolean;
42
+ isConnector: boolean;
43
+ isK8s: boolean;
40
44
  }
41
45
  export declare const deriveCapabilities: (operations: OdigosApiOperations, ctx: OperationContext) => Capabilities;
@@ -19,4 +19,4 @@ import { ApolloClient } from '@apollo/client';
19
19
  * 4. HttpLink terminates.
20
20
  * 5. Optional WS link is split-routed for subscription operations.
21
21
  */
22
- export declare const makeApolloClient: (config: ApolloConfig) => ApolloClient<unknown>;
22
+ export declare const makeApolloClient: (config: ApolloConfig) => ApolloClient;
@@ -8,7 +8,7 @@
8
8
  * `runMutation` and then `await fetchAll()` to refresh the cached list.
9
9
  */
10
10
  import type { OperationContext, OdigosApiOperations } from '../types';
11
- import { type Action, type ActionFormData, type ActionOption } from '@/types';
11
+ import { type Action, type ActionFormData, type ActionOption } from '../../../types';
12
12
  export interface UseActionsResult {
13
13
  items: Action[];
14
14
  loading: boolean;
@@ -1,4 +1,4 @@
1
- import type { ExtendedPodInfo, GatewayInfo, NodeCollectoInfo, PodInfo } from '@/types';
1
+ import type { ExtendedPodInfo, GatewayInfo, NodeCollectoInfo, PodInfo } from '../../../types';
2
2
  import type { OperationContext, OdigosApiOperations, GetCollectorPodInfoVars } from '../types';
3
3
  import { type UseApiQueryOptions, type UseApiQueryResult } from '../use-api-query';
4
4
  export interface CollectorsApi {
@@ -1,6 +1,6 @@
1
1
  import { type UseApiQueryOptions, type UseApiQueryResult } from '../use-api-query';
2
2
  import type { OperationContext, OdigosApiOperations, GetConfigYamlsData, GetEffectiveConfigVars } from '../types';
3
- import { type ConfigYaml, type EffectiveConfig, type EffectiveConfigInput, type LocalUiConfigInput } from '@/types';
3
+ import { type ConfigYaml, type EffectiveConfig, type EffectiveConfigInput, type LocalUiConfigInput } from '../../../types';
4
4
  export interface ConfigApi {
5
5
  /**
6
6
  * Subscribe to the effective config. Owns a `useApiQuery('GET_EFFECTIVE_CONFIG')`.
@@ -9,7 +9,7 @@
9
9
  * the canonical "selected stream" carrier (UI state) but the underlying list
10
10
  * comes from the same Apollo cache as every other entity.
11
11
  */
12
- import { type DataStream } from '@/types';
12
+ import { type DataStream } from '../../../types';
13
13
  import type { OperationContext, OdigosApiOperations } from '../types';
14
14
  export interface UseDataStreamsResult {
15
15
  items: DataStream[];
@@ -1,4 +1,4 @@
1
- import type { WorkloadId } from '@/types';
1
+ import type { WorkloadId } from '../../../types';
2
2
  import type { DescribeOdigosData, DescribeSourceData, DiagnoseResult, OperationContext, OdigosApiOperations, DiagnoseVars } from '../types';
3
3
  export interface DescribeApi {
4
4
  fetchDescribeOdigos?: () => Promise<{
@@ -9,7 +9,7 @@
9
9
  * in one go.
10
10
  */
11
11
  import type { OperationContext, OdigosApiOperations } from '../types';
12
- import { type Destination, type DestinationFormData, type TestConnectionResponse, type GetDestinationCategoriesResult, type GetPotentialDestinationsResult } from '@/types';
12
+ import { type Destination, type DestinationFormData, type TestConnectionResponse, type GetDestinationCategoriesResult, type GetPotentialDestinationsResult } from '../../../types';
13
13
  export interface UseDestinationsResult {
14
14
  items: Destination[];
15
15
  loading: boolean;
@@ -21,7 +21,7 @@
21
21
  * here rather than per-adapter.
22
22
  */
23
23
  import type { OperationContext, OdigosApiOperations } from '../types';
24
- import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleOption, type InstrumentationRuleType } from '@/types';
24
+ import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleOption, type InstrumentationRuleType } from '../../../types';
25
25
  export interface UseInstrumentationRulesResult {
26
26
  items: InstrumentationRule[];
27
27
  loading: boolean;
@@ -7,7 +7,7 @@
7
7
  * `<AddSourceDrawer>` and `<DiagnoseTab>` (and any other consumer)
8
8
  * see the same data once any of them has triggered the fetch.
9
9
  */
10
- import { type Namespace } from '@/types';
10
+ import { type Namespace } from '../../../types';
11
11
  import type { OperationContext, OdigosApiOperations } from '../types';
12
12
  import type { NamespaceInstrumentInput } from '../internal/source-payloads';
13
13
  interface NamespacesEnvelope {
@@ -1,6 +1,6 @@
1
1
  import type { OperationContext, OdigosApiOperations } from '../types';
2
2
  import { type UseApiQueryOptions, type UseApiQueryResult } from '../use-api-query';
3
- import type { EnableProfilingResult, ProfilingSlots, SourceProfilingResult, WorkloadId } from '@/types';
3
+ import type { EnableProfilingResult, ProfilingSlots, SourceProfilingResult, WorkloadId } from '../../../types';
4
4
  export interface ProfilingApi {
5
5
  /** Subscribe to the profiling slots metadata. Typically polled while the Profiling tab is open. */
6
6
  useSlots: (options?: UseApiQueryOptions<ProfilingSlots>) => UseApiQueryResult<ProfilingSlots>;
@@ -1,4 +1,4 @@
1
- import { type CostReductionRuleInput, type HighlyRelevantOperationRuleInput, type NoisyOperationRuleInput, type SamplingRules, type SamplingRulesK8sHealthConfig } from '@/types';
1
+ import { type CostReductionRuleInput, type HighlyRelevantOperationRuleInput, type NoisyOperationRuleInput, type SamplingRules, type SamplingRulesK8sHealthConfig } from '../../../types';
2
2
  import type { GetSamplingRulesData, OperationContext, OdigosApiOperations, SamplingK8sHealthConfigVars, SamplingRuleCreateVars } from '../types';
3
3
  export interface UseSamplingRulesResult {
4
4
  /** Sampling rule groups. Empty array until the request resolves. */
@@ -1,4 +1,4 @@
1
- import type { AggregatedServiceMap, ServiceMapSources } from '@/types';
1
+ import type { AggregatedServiceMap, ServiceMapSources } from '../../../types';
2
2
  import type { OperationContext, OdigosApiOperations, GetServiceMapData } from '../types';
3
3
  import { type UseApiQueryOptions, type UseApiQueryResult } from '../use-api-query';
4
4
  interface ServiceMapEnvelope {
@@ -17,7 +17,7 @@
17
17
  * per-proxy `namespacesApi` path. Imperative `getAllClusterSnapshots` /
18
18
  * `getClusterSnapshot` remain for fire-and-forget reads.
19
19
  */
20
- import type { AllClusterSnapshots, ClusterSnapshot } from '@/types';
20
+ import type { AllClusterSnapshots, ClusterSnapshot } from '../../../types';
21
21
  import type { OperationContext, OdigosApiOperations } from '../types';
22
22
  export interface UseSnapshotsResult {
23
23
  /** All-cluster snapshot for the active context (undefined while loading, skipped, or blocked by the op's guard). */
@@ -26,8 +26,8 @@
26
26
  */
27
27
  import { type UseApiQueryOptions, type UseApiQueryResult } from '../use-api-query';
28
28
  import type { GetSourceLibrariesData, GetPeerSourcesVars, OperationContext, OdigosApiOperations } from '../types';
29
- import { type PeerSources, type SourceFormData, type Workload, type WorkloadId } from '@/types';
30
- import { type NamespaceSelectionFormData, type SourceSelectionFormData } from '@/store';
29
+ import { type PeerSources, type SourceFormData, type Workload, type WorkloadId } from '../../../types';
30
+ import { type NamespaceSelectionFormData, type SourceSelectionFormData } from '../../../store';
31
31
  export interface PersistSourceInput {
32
32
  [clusterId: string]: {
33
33
  namespace: string;
@@ -35,6 +35,7 @@ export interface PersistSourceInput {
35
35
  kind?: string;
36
36
  selected: boolean;
37
37
  currentStreamName: string;
38
+ region?: string | null | undefined;
38
39
  }[];
39
40
  }
40
41
  export interface UseSourcesResult {
@@ -1,4 +1,4 @@
1
- import { type TokenPayload } from '@/types';
1
+ import { type TokenPayload } from '../../../types';
2
2
  import type { OperationContext, OdigosApiOperations } from '../types';
3
3
  export interface UseTokensResult {
4
4
  items: TokenPayload[];
@@ -1,10 +1,8 @@
1
1
  /**
2
2
  * Public entry point for the OdigosApiContext.
3
3
  *
4
- * This module is exported as `@odigos/ui-kit/contexts/odigos-api` (see the
5
- * kit's `package.json` exports). Host adapters import the provider, types,
6
- * and per-domain return types from here. Container code imports
7
- * `useOdigosApi`.
4
+ * This module is re-exported via `@odigos/ui-kit/contexts` (see the kit's `package.json` exports).
5
+ * Host adapters import the provider, types, and per-domain return types from there. Container code imports `useOdigosApi`.
8
6
  *
9
7
  * The mock provider (used by storybook only) lives under
10
8
  * `.storybook/odigos-api-mock-provider.tsx` so it never compiles into the
@@ -7,8 +7,8 @@
7
7
  * pre-wired. This replaces the `notifyError = (title, message, target?) => …`
8
8
  * boilerplate that every hook used to repeat.
9
9
  */
10
- import type { NotifyPayload } from '@/store';
11
- import { StatusType, type EntityTypes, type WorkloadId } from '@/types';
10
+ import type { NotifyPayload } from '../../../store';
11
+ import { StatusType, type EntityTypes, type WorkloadId } from '../../../types';
12
12
  type AddNotification = (notif: NotifyPayload) => void;
13
13
  export interface DomainNotifier {
14
14
  /** Generic dispatcher — used for non-success/error/pending paths. */
@@ -16,8 +16,8 @@
16
16
  * post-mutation state with sub-second latency. The helper is now a
17
17
  * pure (payload, count) builder.
18
18
  */
19
- import type { NamespaceSelectionFormData, SourceSelectionFormData } from '@/store';
20
- import type { K8sResourceKind } from '@/types';
19
+ import type { NamespaceSelectionFormData, SourceSelectionFormData } from '../../../store';
20
+ import type { K8sResourceKind } from '../../../types';
21
21
  export interface SourceInstrumentInputItem {
22
22
  namespace: string;
23
23
  name: string;
@@ -7,9 +7,9 @@
7
7
  * separately from `runner.ts` because they don't touch Apollo — they're
8
8
  * pure ergonomic helpers over `OperationContext`.
9
9
  */
10
- import type { DocumentNode } from 'graphql';
11
- import { PlatformType } from '@/types';
10
+ import { PlatformType } from '../../types';
12
11
  import type { OperationContext } from './types';
12
+ import type { DocumentNode } from '@apollo/client';
13
13
  /**
14
14
  * Pick a value based on the active platform.
15
15
  *
@@ -19,9 +19,9 @@ export interface RunResult<T> {
19
19
  * the Storybook mock provider's empty operations map — don't crash with
20
20
  * `Cannot read properties of undefined`.
21
21
  */
22
- export declare const runQuery: <T, V>(defaultClient: ApolloClient<unknown>, op: Operation<T, V> | undefined, vars: V | undefined, ctx: OperationContext, fetchPolicy?: FetchPolicy) => Promise<RunResult<T>>;
22
+ export declare const runQuery: <T, V>(defaultClient: ApolloClient, op: Operation<T, V> | undefined, vars: V | undefined, ctx: OperationContext, fetchPolicy?: FetchPolicy) => Promise<RunResult<T>>;
23
23
  /** Execute a single mutation. Same `op === undefined` tolerance as `runQuery`. */
24
- export declare const runMutation: <T, V>(defaultClient: ApolloClient<unknown>, op: Operation<T, V> | undefined, vars: V | undefined, ctx: OperationContext) => Promise<RunResult<T>>;
24
+ export declare const runMutation: <T, V>(defaultClient: ApolloClient, op: Operation<T, V> | undefined, vars: V | undefined, ctx: OperationContext) => Promise<RunResult<T>>;
25
25
  /**
26
26
  * Execute a multi-cluster fan-out. When `op.documentMulti` /
27
27
  * `transformVariablesMulti` are set (central-ui), groups proxies by
@@ -29,4 +29,4 @@ export declare const runMutation: <T, V>(defaultClient: ApolloClient<unknown>, o
29
29
  * results. When they're absent (odigos webapp), falls back to N parallel
30
30
  * single calls.
31
31
  */
32
- export declare const runMulti: <T, V>(defaultClient: ApolloClient<unknown>, op: Operation<T, V> | undefined, proxyIDs: string[], vars: V | undefined, ctx: OperationContext) => Promise<MultiFetchResponse<T>>;
32
+ export declare const runMulti: <T, V>(defaultClient: ApolloClient, op: Operation<T, V> | undefined, proxyIDs: string[], vars: V | undefined, ctx: OperationContext) => Promise<MultiFetchResponse<T>>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Public types for the OdigosApiContext.
3
3
  *
4
- * The context provides a unified, host-agnostic API surface for all `_v2`
4
+ * The context provides a unified, host-agnostic API surface for all
5
5
  * containers in the kit. Each host app (odigos webapp, odigos-enterprise
6
6
  * central-ui) supplies an `OdigosApiOperations` map (one entry per logical
7
7
  * operation) plus an `ApolloConfig` describing how Apollo should be
@@ -15,10 +15,10 @@
15
15
  * transformResult: (raw) => parseJsonString(raw.remoteFetch).data }`
16
16
  */
17
17
  import type { ReactNode } from 'react';
18
- import type { DocumentNode } from 'graphql';
19
- import type { InstrumentationRuleInputWire } from '@/functions/instrumentation-rule-source-scopes';
20
- import type { Action, ActionFormData, AllClusterSnapshots, ClusterSnapshot, ConfigYaml, CostReductionRule, CostReductionRuleInput, DataStream, DescribeOdigos, DescribeSource, Destination, DestinationFormData, DiagnoseFormData, EffectiveConfig, EffectiveConfigInput, EnableProfilingResult, ExtendedPodInfo, FetchedConfig, GatewayInfo, GetActionTypesResult, GetInstrumentationRuleTypesResult, GetDestinationCategoriesResult, GetPotentialDestinationsResult, HighlyRelevantOperationRule, HighlyRelevantOperationRuleInput, InstrumentationRule, K8sResourceKind, LocalUiConfigInput, Metrics, Namespace, NoisyOperationRule, NoisyOperationRuleInput, NodeCollectoInfo, PlatformType, PodInfo, ProfilingSlots, SamplingRules, SamplingRulesK8sHealthConfig, ServiceMapSources, SourceFormData, SourceProfilingResult, TestConnectionResponse, Tier, TokenPayload, Workload, WorkloadId, PeerSources } from '@/types';
21
- import type { ApolloClient, ApolloLink, FetchPolicy, MutationFetchPolicy, NormalizedCacheObject, TypePolicies, WatchQueryFetchPolicy } from '@apollo/client';
18
+ import type { DocumentNode } from '@apollo/client';
19
+ import type { InstrumentationRuleInputWire } from '../../functions/instrumentation-rule-source-scopes';
20
+ import type { ApolloClient, ApolloLink, FetchPolicy, MutationFetchPolicy, TypePolicies, WatchQueryFetchPolicy } from '@apollo/client';
21
+ import type { Action, ActionFormData, AllClusterSnapshots, ClusterSnapshot, ConfigYaml, CostReductionRule, CostReductionRuleInput, DataStream, DescribeOdigos, DescribeSource, Destination, DestinationFormData, DiagnoseFormData, EffectiveConfig, EffectiveConfigInput, EnableProfilingResult, ExtendedPodInfo, FetchedConfig, GatewayInfo, GetActionTypesResult, GetInstrumentationRuleTypesResult, GetDestinationCategoriesResult, GetPotentialDestinationsResult, HighlyRelevantOperationRule, HighlyRelevantOperationRuleInput, InstrumentationRule, K8sResourceKind, LocalUiConfigInput, Metrics, Namespace, NoisyOperationRule, NoisyOperationRuleInput, NodeCollectoInfo, PlatformType, PodInfo, ProfilingSlots, SamplingRules, SamplingRulesK8sHealthConfig, ServiceMapSources, SourceFormData, SourceProfilingResult, TestConnectionResponse, Tier, TokenPayload, Workload, WorkloadId, PeerSources } from '../../types';
22
22
  /**
23
23
  * The execution context for a given operation, propagated through every
24
24
  * `Operation.document(ctx)` / `transformVariables(vars, ctx)` /
@@ -179,7 +179,7 @@ export interface Operation<TData = unknown, TVars = unknown> {
179
179
  * results are consumed via that subscription must remain expressible
180
180
  * as a single `document` + `transformVariables` + `transformResult`.
181
181
  */
182
- run?(client: ApolloClient<unknown>, vars: TVars | undefined, ctx: OperationContext): Promise<{
182
+ run?(client: ApolloClient, vars: TVars | undefined, ctx: OperationContext): Promise<{
183
183
  data?: TData;
184
184
  error?: string;
185
185
  }>;
@@ -199,7 +199,7 @@ export interface Operation<TData = unknown, TVars = unknown> {
199
199
  * colocated with the operation it applies to (and avoid pushing
200
200
  * platform-aware splitter logic into the link layer).
201
201
  */
202
- client?: ApolloClient<unknown>;
202
+ client?: ApolloClient;
203
203
  /**
204
204
  * Optional precondition guard. When provided and it returns `false`
205
205
  * for the current context, the operation is treated as not runnable:
@@ -266,6 +266,7 @@ export interface PersistSourcesVars {
266
266
  namespace: string;
267
267
  name: string;
268
268
  kind: K8sResourceKind | '';
269
+ region?: string;
269
270
  selected: boolean;
270
271
  currentStreamName: string;
271
272
  }[];
@@ -809,11 +810,6 @@ export interface ApolloConfig {
809
810
  makeClient: () => unknown;
810
811
  children?: ReactNode;
811
812
  }) => ReactNode;
812
- /**
813
- * Optional override for `InMemoryCache.addTypename`. Defaults to true.
814
- * webapp historically uses `addTypename: false`; central-ui uses default.
815
- */
816
- addTypename?: boolean;
817
813
  /** Optional `InMemoryCache` type policies. */
818
814
  cacheTypePolicies?: TypePolicies;
819
815
  /** Optional override for default fetch policies. */
@@ -835,7 +831,6 @@ export interface OdigosApiProviderProps {
835
831
  context: OperationContext;
836
832
  children?: ReactNode;
837
833
  }
838
- export type ApolloCacheShape = NormalizedCacheObject;
839
834
  /**
840
835
  * The minimal value the inner provider exposes — used by per-domain hooks
841
836
  * via `useOdigosApiInternal()`.
@@ -30,7 +30,8 @@
30
30
  * imperative for "do this thing now and react to the result".
31
31
  */
32
32
  import type { OdigosApiOperations, Operation } from './types';
33
- import { type ApolloError, type MutationHookOptions, type WatchQueryFetchPolicy } from '@apollo/client';
33
+ import { useMutation } from '@apollo/client/react';
34
+ import { type ErrorLike, type WatchQueryFetchPolicy } from '@apollo/client';
34
35
  type Slot<K extends keyof OdigosApiOperations> = NonNullable<OdigosApiOperations[K]>;
35
36
  type SlotData<K extends keyof OdigosApiOperations> = Slot<K> extends Operation<infer T, unknown> ? T : never;
36
37
  type SlotVars<K extends keyof OdigosApiOperations> = Slot<K> extends Operation<unknown, infer V> ? V : never;
@@ -56,13 +57,13 @@ export interface UseApiQueryOptions<TData> {
56
57
  notifyOnNetworkStatusChange?: boolean;
57
58
  /** Callback fired with the transformed data when a request succeeds. */
58
59
  onCompleted?: (data: TData) => void;
59
- /** Callback fired with an `ApolloError` when a request fails. */
60
- onError?: (error: ApolloError) => void;
60
+ /** Callback fired with an `ErrorLike` when a request fails. */
61
+ onError?: (error: ErrorLike) => void;
61
62
  }
62
63
  export interface UseApiQueryResult<TData> {
63
64
  data: TData | undefined;
64
65
  loading: boolean;
65
- error: ApolloError | undefined;
66
+ error: ErrorLike | undefined;
66
67
  /**
67
68
  * Re-execute the query with the same variables, returning the
68
69
  * transformed data. Wraps Apollo's `refetch` so callers don't see
@@ -89,11 +90,11 @@ export interface UseApiLazyQueryResult<TData, TVars> {
89
90
  */
90
91
  execute: (vars?: TVars) => Promise<{
91
92
  data?: TData;
92
- error?: ApolloError;
93
+ error?: ErrorLike;
93
94
  }>;
94
95
  data: TData | undefined;
95
96
  loading: boolean;
96
- error: ApolloError | undefined;
97
+ error: ErrorLike | undefined;
97
98
  called: boolean;
98
99
  unsupported: boolean;
99
100
  }
@@ -104,19 +105,19 @@ export interface UseApiMutationOptions<TData> {
104
105
  * each named query. Useful for "create destination" → refetch
105
106
  * destinations list.
106
107
  */
107
- refetchQueries?: MutationHookOptions['refetchQueries'];
108
+ refetchQueries?: useMutation.Options['refetchQueries'];
108
109
  /**
109
110
  * Wait for refetched queries to settle before resolving the mutation
110
111
  * promise. Mirrors Apollo's flag of the same name.
111
112
  */
112
113
  awaitRefetchQueries?: boolean;
113
114
  onCompleted?: (data: TData) => void;
114
- onError?: (error: ApolloError) => void;
115
+ onError?: (error: ErrorLike) => void;
115
116
  }
116
117
  export interface UseApiMutationResult<TData> {
117
118
  data: TData | undefined;
118
119
  loading: boolean;
119
- error: ApolloError | undefined;
120
+ error: ErrorLike | undefined;
120
121
  called: boolean;
121
122
  unsupported: boolean;
122
123
  reset: () => void;
@@ -124,7 +125,7 @@ export interface UseApiMutationResult<TData> {
124
125
  /** Imperative `execute(vars)` plus Apollo-shaped state. */
125
126
  export type UseApiMutationTuple<TData, TVars> = [(vars: TVars) => Promise<{
126
127
  data?: TData;
127
- error?: ApolloError;
128
+ error?: ErrorLike;
128
129
  }>, UseApiMutationResult<TData>];
129
130
  export declare const useApiMutation: <K extends keyof OdigosApiOperations>(key: K, options?: UseApiMutationOptions<SlotData<K>>) => UseApiMutationTuple<SlotData<K>, SlotVars<K>>;
130
131
  export {};
@@ -1,15 +1,19 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
- import { PlatformType, Tier } from '@/types';
2
+ import { type MinSupportedVersion, PlatformType, Tier } from '../types';
3
3
  interface ContextProps extends PropsWithChildren {
4
4
  platformType: PlatformType;
5
5
  tier: Tier;
6
6
  version: string;
7
7
  }
8
8
  export declare const OdigosProvider: ({ children, platformType, tier, version }: ContextProps) => React.JSX.Element;
9
- export declare const checkVersionSupport: (currentVersion: string, minSupportedVersion?: number) => boolean;
10
- export declare const useOdigos: (minSupportedVersion?: number) => {
9
+ export declare const resolveMinSupportedVersion: (minSupportedVersion?: MinSupportedVersion, platformType?: PlatformType) => number;
10
+ export declare const checkVersionSupport: (currentVersion: string, minSupportedVersion?: MinSupportedVersion, platformType?: PlatformType) => boolean;
11
+ export declare const useOdigos: (minSupportedVersion?: MinSupportedVersion) => {
11
12
  isVersionSupported: boolean;
13
+ minSupportedVersion: number;
12
14
  isVm: boolean;
15
+ isConnector: boolean;
16
+ isK8s: boolean;
13
17
  isEnterprise: boolean;
14
18
  version: string;
15
19
  platformType: PlatformType;
@@ -1,7 +1,7 @@
1
1
  import { type FC, type ReactNode } from 'react';
2
- import type { AutocompleteOption } from '@/components/_v2';
3
- import { type GenericFormResult } from '@/hooks/useGenericForm';
4
- import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleOption, type SourcesScopes } from '@/types';
2
+ import type { AutocompleteOption } from '../components';
3
+ import { type GenericFormResult } from '../hooks/useGenericForm';
4
+ import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleOption, type SourcesScopes } from '../types';
5
5
  type FormState = Omit<InstrumentationRuleFormData, 'sourceScopes'> & {
6
6
  sourceScopes: SourcesScopes;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import { type FC, type ReactNode } from 'react';
2
- import type { ColoredSpanPart } from '@/snippets/_v2/colored-span';
3
- import type { SamplingRuleCategory, SamplingRuleFormState, DuplicateValidationResult, ViewRuleData, SamplingRulesSelectOption, PercentagePreset, PercentageMode } from '@/types';
2
+ import type { ColoredSpanPart } from '../snippets/colored-span';
3
+ import type { SamplingRuleCategory, SamplingRuleFormState, DuplicateValidationResult, ViewRuleData, SamplingRulesSelectOption, PercentagePreset, PercentageMode } from '../types';
4
4
  export declare enum SamplingRuleFormType {
5
5
  Create = "create",
6
6
  View = "view",
@@ -1,6 +1,6 @@
1
1
  import { type FC, type ReactNode } from 'react';
2
- import { type SourceFormData, type Workload } from '@/types';
3
- import { type GenericFormResult } from '@/hooks/useGenericForm';
2
+ import { type SourceFormData, type Workload } from '../types';
3
+ import { type GenericFormResult } from '../hooks/useGenericForm';
4
4
  interface SourceEditFormContextValue {
5
5
  loadSource: (source: Workload) => void;
6
6
  genericForm?: GenericFormResult<SourceFormData>;
@@ -1,6 +1,6 @@
1
1
  import React, { type FC, type Dispatch, type SetStateAction } from 'react';
2
- import type { FormData, HandleSelectAllFunc, HandleSourceChangeFunc } from '@/containers/_v2/_drawers/add-source-drawer/types';
3
- import { type AllClusterSnapshots, type PersistSourceInput } from '@/types';
2
+ import type { FormData, HandleSelectAllFunc, HandleSourceChangeFunc } from '../containers/_drawers/add-source-drawer/types';
3
+ import { type AllClusterSnapshots, type PersistSourceInput } from '../types';
4
4
  interface SourceInstrumentFormContextType {
5
5
  snapshots: AllClusterSnapshots | null;
6
6
  setSnapshots: Dispatch<SetStateAction<AllClusterSnapshots | null>>;
package/lib/contexts.js CHANGED
@@ -1 +1 @@
1
- export{A as ActionFormContextProvider,D as DataStreamFormContextProvider,a as DestinationFormContextProvider,R as RuleFormContextProvider,S as SamplingRuleFormType,b as SamplingRulesFormProvider,c as SourceEditFormContextProvider,d as SourceInstrumentFormContextProvider,u as useActionFormContext,e as useDataStreamFormContext,f as useDestinationFormContext,g as useRuleFormContext,h as useSamplingRulesFormContext,i as useSourceEditFormContext,j as useSourceInstrumentFormContext}from"./chunks/source-instrument-form-context-FYKFdAII.js";export{O as OdigosProvider,c as checkVersionSupport,u as useOdigos}from"./chunks/odigos-context-DGZO6Njm.js";import{jsx as o}from"react/jsx-runtime";import{useMemo as r,useContext as t,createContext as s}from"react";export{O as OdigosApiConnectionsScope}from"./chunks/connections-scope-JSsSeaII.js";export{O as OdigosApiProvider,p as prepareNamespacePayloads,a as prepareSourcePayloads,u as useApiLazyQuery,b as useApiMutation,c as useApiQuery,d as useOdigosApi}from"./chunks/use-odigos-api-Ptz3Kdno.js";export{pickByPlatform,useApiForConnections,versionedDocument,vmDialectMap}from"./contexts/odigos-api.js";import"./chunks/ui-components-D1ehQI2Z.js";import"styled-components";import"./icons.js";import"zustand";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"prism-react-renderer";import"./chunks/vendor-BFqT13Me.js";import"zustand/middleware";import"react-error-boundary";import"react-dom";import"virtua";import"@apollo/client";import"@apollo/client/link/error";import"@apollo/client/link/context";import"@apollo/client/utilities";const n=s({formType:void 0}),m=({children:e,formType:t})=>{const s=r(()=>({formType:t}),[t]);return o(n.Provider,{value:s,children:e})},l=()=>t(n);export{m as StorybookProvider,l as useStorybook};
1
+ import{u as a,r as x,a as y}from"./chunks/source-instrument-form-context-D1tB6ZAx.js";export{A as ActionFormContextProvider,C as CloudConnectorFormContextProvider,D as DataStreamFormContextProvider,b as DestinationFormContextProvider,O as OdigosApiConnectionsScope,c as OdigosApiProvider,R as RuleFormContextProvider,S as SamplingRuleFormType,d as SamplingRulesFormProvider,e as SourceEditFormContextProvider,f as SourceInstrumentFormContextProvider,p as prepareNamespacePayloads,g as prepareSourcePayloads,h as useActionFormContext,i as useApiLazyQuery,j as useApiMutation,k as useApiQuery,l as useCloudConnectorFormContext,m as useDataStreamFormContext,n as useDestinationFormContext,o as useOdigosApi,q as useRuleFormContext,s as useSamplingRulesFormContext,t as useSourceEditFormContext,v as useSourceInstrumentFormContext}from"./chunks/source-instrument-form-context-D1tB6ZAx.js";export{O as OdigosProvider,c as checkVersionSupport,r as resolveMinSupportedVersion,u as useOdigos}from"./chunks/odigos-context-Dq_yIuDF.js";import{jsx as F}from"react/jsx-runtime";import{useMemo as P,useContext as T,createContext as E}from"react";import{P as I,t as _}from"./chunks/ui-components-CoDVeDqt.js";import{useApolloClient as M}from"@apollo/client/react";import"@apollo/client/link/error";import"@apollo/client/link/context";import"@apollo/client/utilities";import"@apollo/client/errors";import"@apollo/client";import"styled-components";import"./icons.js";import"zustand";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";const V=()=>{const o=M(),{operations:r,context:e}=a();return{multiFetch:async(t,s,n)=>{const i=r[t];return i?y(o,i,s,n,e):{results:[],allSucceeded:!1,anySucceeded:!1,successCount:0,failureCount:s.length,error:`Operation ${String(t)} not configured`}},bulkPersistSources:async(t,s)=>{const n=[];for(const i of t){const t={...e,proxyID:i},{error:a}=await x(o,r.PERSIST_SOURCES,s,t);a&&n.push(`${i}: ${a}`)}return n.length?{error:n.join(", ")}:void 0},applyConfigurations:async(t,s)=>{if(!r.UPDATE_REMOTE_CONFIG)return{error:"UPDATE_REMOTE_CONFIG not configured"};const{error:n}=await x(o,r.UPDATE_REMOTE_CONFIG,{formData:s,connectionIds:t},e);return n?{error:n}:void 0}}},N=(o,r)=>o.platformType===I.K8s?r.K8s:o.platformType===I.Vm?r.Vm:void 0,U=o=>r=>{const e=o[r.platformType];if(!e)return;const t=Object.keys(e);if(0===t.length)return;const s=_(r.schemaVersion??r.version),n=[...t].sort((o,r)=>_(r)-_(o)).find(o=>s>=_(o));return n?e[n]:void 0},w=(o,r)=>{const e={};for(const t of Object.keys(o))e[t]=r(o[t]);return e},z=E({formType:void 0}),G=({children:o,formType:r})=>{const e=P(()=>({formType:r}),[r]);return F(z.Provider,{value:e,children:o})},$=()=>T(z);export{G as StorybookProvider,N as pickByPlatform,V as useApiForConnections,$ as useStorybook,U as versionedDocument,w as vmDialectMap};
@@ -1,5 +1,5 @@
1
- import type { BadgeProps } from '@/components/_v2/badge';
2
- import { DesiredConditionStatus, type SVG } from '@/types';
1
+ import type { BadgeProps } from '../../components/badge';
2
+ import { DesiredConditionStatus, type SVG } from '../../types';
3
3
  export type BadgeForDesiredStatus = BadgeProps & {
4
4
  key: string;
5
5
  };
@@ -1,2 +1,2 @@
1
- import type { AnyObj } from '@/types';
1
+ import type { AnyObj } from '../../types';
2
2
  export declare const cleanObjectEmptyStringsValues: (obj: AnyObj) => AnyObj;
@@ -1,4 +1,4 @@
1
- import { SignalType, YamlCompareArr } from '@/types';
1
+ import { SignalType, YamlCompareArr } from '../../types';
2
2
  export declare const compareCondition: (renderCondition: YamlCompareArr, signals: SignalType[], fields: {
3
3
  name?: string;
4
4
  key?: string;
@@ -1,3 +1,3 @@
1
- import type { Action } from '@/types';
2
- import type { FiltersState } from '@/store';
1
+ import type { Action } from '../../types';
2
+ import type { FiltersState } from '../../store';
3
3
  export declare const filterActions: (actions: Action[], filters: FiltersState) => Action[];
@@ -1,3 +1,3 @@
1
- import type { FiltersState } from '@/store';
2
- import type { Destination } from '@/types';
1
+ import type { FiltersState } from '../../store';
2
+ import type { Destination } from '../../types';
3
3
  export declare const filterDestinations: (destinations: Destination[], filters: FiltersState) => Destination[];
@@ -1,2 +1,2 @@
1
- import type { Destination } from '@/types';
1
+ import type { Destination } from '../../types';
2
2
  export declare const filterDestinationsByStream: (destinations: Destination[], streamName: string) => Destination[];
@@ -1,3 +1,3 @@
1
- import type { FiltersState } from '@/store';
2
- import { type Workload } from '@/types';
1
+ import type { FiltersState } from '../../store';
2
+ import { type Workload } from '../../types';
3
3
  export declare const filterSources: (sources: Workload[], filters: FiltersState) => Workload[];
@@ -1,2 +1,2 @@
1
- import type { Workload } from '@/types';
1
+ import type { Workload } from '../../types';
2
2
  export declare const filterSourcesByStream: (sources: Workload[], streamName: string) => Workload[];
@@ -29,5 +29,5 @@
29
29
  * 'name.explain': '...',
30
30
  * }
31
31
  */
32
- import type { AnyObj } from '@/types';
32
+ import type { AnyObj } from '../../types';
33
33
  export declare const flattenObjectKeys: (obj: AnyObj, prefix?: string, result?: AnyObj) => AnyObj;
@@ -1,2 +1,2 @@
1
- import { ActionType, type SVG } from '@/types';
1
+ import { ActionType, type SVG } from '../../types';
2
2
  export declare const getActionIcon: (type: ActionType) => SVG;