@odigos/ui-kit 0.0.263-dev.519 → 0.0.264
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/docs/api-context.md +1 -1
- package/lib/chunks/index-B-zICLj7.js +155 -0
- package/lib/chunks/odigos-context-_YAZF63s.js +9 -0
- package/lib/chunks/source-instrument-form-context-CZQIaTUV.js +5 -0
- package/lib/chunks/ui-components-CAPnizLR.js +1543 -0
- package/lib/components/{_v2/cards → _cards}/data-card/index.d.ts +3 -3
- package/lib/components/{_v2/cards → _cards}/section-card/index.d.ts +2 -2
- package/lib/components/{_v2/cards → _cards}/status-card/index.d.ts +1 -1
- package/lib/components/{_v2/autocomplete → autocomplete}/index.d.ts +1 -1
- package/lib/components/{_v2/badge → badge}/index.d.ts +1 -1
- package/lib/components/{_v2/button → button}/index.d.ts +1 -1
- package/lib/components/{_v2/button-tab → button-tab}/index.d.ts +1 -1
- package/lib/components/{_v2/checkbox → checkbox}/index.d.ts +1 -1
- package/lib/components/code/index.d.ts +3 -4
- package/lib/components/code/toggle-code-component/index.d.ts +2 -3
- package/lib/components/{_v2/condition → condition}/index.d.ts +1 -1
- package/lib/components/{_v2/conditions → conditions}/index.d.ts +1 -1
- package/lib/components/divider/index.d.ts +4 -5
- package/lib/components/{_v2/drawer → drawer}/header/index.d.ts +1 -1
- package/lib/components/{_v2/drop-data → drop-data}/index.d.ts +1 -1
- package/lib/components/error-boundary/index.d.ts +2 -3
- package/lib/components/icon-button/index.d.ts +15 -11
- package/lib/components/icon-group/index.d.ts +6 -7
- package/lib/components/index.d.ts +38 -8
- package/lib/components/{_v2/input → input}/index.d.ts +1 -1
- package/lib/components/{_v2/input-table → input-table}/types.d.ts +1 -1
- package/lib/components/{_v2/island → island}/index.d.ts +2 -2
- package/lib/components/{_v2/loader → loader}/index.d.ts +1 -1
- package/lib/components/{_v2/navbar → navbar}/index.d.ts +1 -1
- package/lib/components/{_v2/no-data → no-data}/index.d.ts +1 -1
- package/lib/components/{_v2/note → note}/index.d.ts +1 -1
- package/lib/components/{_v2/radio → radio}/index.d.ts +1 -1
- package/lib/components/scroll-y/index.d.ts +2 -3
- package/lib/components/{_v2/segment → segment}/index.d.ts +1 -1
- package/lib/components/skeleton-loader/index.d.ts +2 -3
- package/lib/components/{_v2/table → table}/table-columns/index.d.ts +1 -1
- package/lib/components/{_v2/table → table}/table-columns/sort/index.d.ts +1 -1
- package/lib/components/{_v2/tag → tag}/index.d.ts +1 -1
- package/lib/components/{_v2/toggle → toggle}/index.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +9 -5
- package/lib/components.js +1 -1
- package/lib/constants/actions/index.d.ts +1 -1
- package/lib/constants/instrumentation-rules/index.d.ts +1 -1
- package/lib/constants/regex.d.ts +1 -1
- package/lib/constants/sampling/index.d.ts +1 -1
- package/lib/constants/signals/index.d.ts +1 -1
- package/lib/constants/sources/index.d.ts +2 -2
- package/lib/constants/strings/index.d.ts +0 -64
- package/lib/constants.js +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-action-drawer/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/form-column/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/lists-column/index.d.ts +3 -3
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/lists-filters/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-destination-drawer/types.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-rule-drawer/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/strings.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/types.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/utils.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/workloads-column/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-action-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-config-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-destination-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-rule-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/common/pods-header.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/debug/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/helpers.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/jump-to-target-context.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/distro-override.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/runtime-override.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/health-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/main-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/statuses-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/peers/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/containers-card/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/containers-card/process-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/pod-card.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/symbol-instrumentation.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/use-symbol-instrumentation.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/sampling/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/sampling/rule-row.d.ts +2 -1
- package/lib/containers/{_v2/_drawers → _drawers}/index.d.ts +0 -1
- package/lib/containers/{_v2/_drawers → _drawers}/sampling-rule-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/sampling-rule-drawer/view-footer.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/index.d.ts +1 -1
- package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/token-value.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/add-cluster-info/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/delete-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/extract-attribute/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/k8s-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/pii-masking/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/rename-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/custom-fields/url-templatization/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-action-form/dynamic-fields/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-destination-form/dynamic-fields/index.d.ts +2 -2
- package/lib/containers/{_v2/_forms → _forms}/add-destination-form/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/code-attributes/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/custom-instrumentation/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/headers-collection/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/index.d.ts +1 -1
- package/lib/containers/{_v2/_forms → _forms}/add-rule-form/custom-fields/payload-collection/index.d.ts +1 -1
- package/lib/containers/{_v2/_modals → _modals}/onboarding-done/index.d.ts +0 -1
- package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/preset-row.d.ts +1 -1
- package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/types.d.ts +1 -1
- package/lib/containers/{_v2/central-connections → central-connections}/helpers.d.ts +5 -14
- package/lib/containers/central-connections/index.d.ts +11 -0
- package/lib/containers/index.d.ts +9 -0
- package/lib/containers/{_v2/onboarding → onboarding}/summary/index.d.ts +2 -2
- package/lib/containers/{_v2/overview → overview}/columns/column/empty-add.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/head.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/index.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/list-item.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/columns/column/source-visual-state.d.ts +1 -1
- package/lib/containers/{_v2/overview → overview}/search/builder.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-badge.d.ts +3 -3
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-gauge-cards.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-status-card.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-text-cards.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/index.d.ts +1 -1
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/yaml-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/index.d.ts +2 -1
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/pods-info/index.d.ts +1 -1
- package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/pods-info/pod-drawer/index.d.ts +2 -2
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/auto-rule-card/index.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/converters.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/helpers.d.ts +3 -3
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/rules-table/index.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/toolbar/index.d.ts +1 -1
- package/lib/containers/{_v2/sampling-rules → sampling-rules}/types.d.ts +1 -1
- package/lib/containers/service-map/helpers/aggregate-service-map.d.ts +1 -1
- package/lib/containers/service-map/helpers/build-edges.d.ts +1 -1
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +1 -1
- package/lib/containers/service-map/helpers/types.d.ts +2 -2
- package/lib/containers/service-map/service-map-context.d.ts +1 -1
- package/lib/containers/{_v2/settings → settings}/index.d.ts +2 -1
- package/lib/containers.js +1011 -16
- package/lib/contexts/action-form-context.d.ts +2 -2
- package/lib/contexts/data-stream-form-context.d.ts +2 -2
- package/lib/contexts/destination-form-context.d.ts +3 -3
- package/lib/contexts/index.d.ts +0 -1
- package/lib/contexts/odigos-api/client.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-actions-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-collectors-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-config-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-data-streams-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-describe-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-destinations-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-instrumentation-rules-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-namespace-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-profiling-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-sampling-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-service-map-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-snapshots-api.d.ts +1 -1
- package/lib/contexts/odigos-api/hooks/use-sources-api.d.ts +2 -2
- package/lib/contexts/odigos-api/hooks/use-tokens-api.d.ts +1 -1
- package/lib/contexts/odigos-api/index.d.ts +2 -4
- package/lib/contexts/odigos-api/internal/notify.d.ts +2 -2
- package/lib/contexts/odigos-api/internal/source-payloads.d.ts +2 -2
- package/lib/contexts/odigos-api/platform-helpers.d.ts +2 -2
- package/lib/contexts/odigos-api/runner.d.ts +3 -3
- package/lib/contexts/odigos-api/types.d.ts +7 -14
- package/lib/contexts/odigos-api/use-api-query.d.ts +11 -10
- package/lib/contexts/odigos-context.d.ts +5 -3
- package/lib/contexts/rule-form-context.d.ts +3 -3
- package/lib/contexts/sampling-rules-form-context.d.ts +2 -2
- package/lib/contexts/source-edit-form-context.d.ts +2 -2
- package/lib/contexts/source-instrument-form-context.d.ts +2 -2
- package/lib/contexts.js +1 -1
- package/lib/functions/build-badge-for-desired-status/index.d.ts +2 -2
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +1 -1
- package/lib/functions/compare-condition/index.d.ts +1 -1
- package/lib/functions/filter-actions/index.d.ts +2 -2
- package/lib/functions/filter-destinations/index.d.ts +2 -2
- package/lib/functions/filter-destinations-by-stream/index.d.ts +1 -1
- package/lib/functions/filter-sources/index.d.ts +2 -2
- package/lib/functions/filter-sources-by-stream/index.d.ts +1 -1
- package/lib/functions/flatten-object-keys/index.d.ts +1 -1
- package/lib/functions/get-action-icon/index.d.ts +1 -1
- package/lib/functions/get-conditions-booleans/index.d.ts +1 -1
- package/lib/functions/get-containers-counts/index.d.ts +1 -1
- package/lib/functions/get-containers-icons/index.d.ts +1 -1
- package/lib/functions/get-destination-icon/index.d.ts +1 -1
- package/lib/functions/get-entity-icon/index.d.ts +1 -1
- package/lib/functions/get-entity-id/index.d.ts +1 -1
- package/lib/functions/get-entity-label/index.d.ts +1 -1
- package/lib/functions/get-health-badge-label/index.d.ts +1 -1
- package/lib/functions/get-id-from-sse-target/index.d.ts +1 -1
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +1 -1
- package/lib/functions/get-main-container-language/index.d.ts +1 -1
- package/lib/functions/get-metric-for-entity/index.d.ts +1 -1
- package/lib/functions/get-monitor-icon/index.d.ts +1 -1
- package/lib/functions/get-nearest-typography-size/index.d.ts +1 -1
- package/lib/functions/get-platform-icon/index.d.ts +1 -1
- package/lib/functions/get-platform-label/index.d.ts +1 -1
- package/lib/functions/get-programming-language-icon/index.d.ts +1 -1
- package/lib/functions/get-sse-target-from-id/index.d.ts +1 -1
- package/lib/functions/get-status-color/index.d.ts +1 -1
- package/lib/functions/get-status-from-pod-status/index.d.ts +1 -1
- package/lib/functions/get-status-icon/index.d.ts +1 -1
- package/lib/functions/get-status-type-from-odigos-health/index.d.ts +1 -1
- package/lib/functions/get-virtual-service-icon/index.d.ts +1 -1
- package/lib/functions/get-workload-id/index.d.ts +1 -1
- package/lib/functions/get-yaml-fields-for-destination/index.d.ts +1 -1
- package/lib/functions/has-unhealthy-instances/index.d.ts +1 -1
- package/lib/functions/instrumentation-rule-source-scopes/index.d.ts +1 -1
- package/lib/functions/map-conditions/index.d.ts +1 -1
- package/lib/functions/map-desired-status-to-condition-status/index.d.ts +1 -1
- package/lib/functions/map-destination-fields-for-display/index.d.ts +1 -1
- package/lib/functions/map-signals/index.d.ts +1 -1
- package/lib/functions/prepare-destination-form-data/index.d.ts +1 -1
- package/lib/functions/remove-empty-values-from-object/index.d.ts +1 -1
- package/lib/functions/safe-json-parse/index.d.ts +1 -1
- package/lib/functions/safe-json-stringify/index.d.ts +1 -1
- package/lib/functions/stringify-non-string-values/index.d.ts +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +0 -2
- package/lib/hooks/useActionFormData.d.ts +2 -2
- package/lib/hooks/useCopy.d.ts +1 -1
- package/lib/hooks/useDataStreamFormData.d.ts +1 -1
- package/lib/hooks/useDestinationFormData.d.ts +1 -1
- package/lib/hooks/useGenericForm.d.ts +1 -1
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +2 -2
- package/lib/hooks/usePopup.d.ts +1 -1
- package/lib/hooks/useSourceFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/actions/add-cluster-info-icon/index.d.ts +1 -1
- package/lib/icons/actions/delete-attribute-icon/index.d.ts +1 -1
- package/lib/icons/actions/pii-masking-icon/index.d.ts +1 -1
- package/lib/icons/actions/rename-attribute-icon/index.d.ts +1 -1
- package/lib/icons/actions/sampler-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-down-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-down-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-left-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-left-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-right-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-right-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-up-icon/index.d.ts +1 -1
- package/lib/icons/arrows/arrow-up-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-down-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-down-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-down-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-left-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-left-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-left-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-right-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-right-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-right-square-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-up-circle-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-up-icon/index.d.ts +1 -1
- package/lib/icons/arrows/chevron-up-square-icon/index.d.ts +1 -1
- package/lib/icons/auth/okta-icon/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-central/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-colored-central/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-colored-community/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-colored-enterprise/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-community/index.d.ts +1 -1
- package/lib/icons/brand/odigos-logo-text-enterprise/index.d.ts +1 -1
- package/lib/icons/common/arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/avatar-icon/index.d.ts +1 -1
- package/lib/icons/common/book-icon/index.d.ts +1 -1
- package/lib/icons/common/code-brackets-icon/index.d.ts +1 -1
- package/lib/icons/common/code-icon/index.d.ts +1 -1
- package/lib/icons/common/command-icon/index.d.ts +1 -1
- package/lib/icons/common/copy-icon/index.d.ts +1 -1
- package/lib/icons/common/delete-icon/index.d.ts +1 -1
- package/lib/icons/common/diagnose-icon/index.d.ts +1 -1
- package/lib/icons/common/dot-icon/index.d.ts +1 -1
- package/lib/icons/common/dots-horizontal-icon/index.d.ts +1 -1
- package/lib/icons/common/dots-vertical-icon/index.d.ts +1 -1
- package/lib/icons/common/download-icon/index.d.ts +1 -1
- package/lib/icons/common/edit-icon/index.d.ts +1 -1
- package/lib/icons/common/edited-icon/index.d.ts +1 -1
- package/lib/icons/common/exclamation-circle-icon/index.d.ts +1 -1
- package/lib/icons/common/exclamation-triangle-icon/index.d.ts +1 -1
- package/lib/icons/common/expand-icon/index.d.ts +1 -1
- package/lib/icons/common/extend-arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/filter-icon/index.d.ts +1 -1
- package/lib/icons/common/folder-icon/index.d.ts +1 -1
- package/lib/icons/common/gear-icon/index.d.ts +1 -1
- package/lib/icons/common/home-icon/index.d.ts +1 -1
- package/lib/icons/common/i-square-icon/index.d.ts +1 -1
- package/lib/icons/common/image-error-icon/index.d.ts +1 -1
- package/lib/icons/common/inbound-icon/index.d.ts +1 -1
- package/lib/icons/common/key-icon/index.d.ts +1 -1
- package/lib/icons/common/list-icon/index.d.ts +1 -1
- package/lib/icons/common/lock-icon/index.d.ts +1 -1
- package/lib/icons/common/minus-circled-icon/index.d.ts +1 -1
- package/lib/icons/common/minus-icon/index.d.ts +1 -1
- package/lib/icons/common/no-data-icon/index.d.ts +1 -1
- package/lib/icons/common/notebook-icon/index.d.ts +1 -1
- package/lib/icons/common/notification-icon/index.d.ts +1 -1
- package/lib/icons/common/outbound-icon/index.d.ts +1 -1
- package/lib/icons/common/plus-circled-icon/index.d.ts +1 -1
- package/lib/icons/common/plus-icon/index.d.ts +1 -1
- package/lib/icons/common/question-circle-icon/index.d.ts +1 -1
- package/lib/icons/common/refresh-icon/index.d.ts +1 -1
- package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +1 -1
- package/lib/icons/common/role-icon/index.d.ts +1 -1
- package/lib/icons/common/rotate-arrows-icon/index.d.ts +1 -1
- package/lib/icons/common/search-icon/index.d.ts +1 -1
- package/lib/icons/common/server-disconnected-icon/index.d.ts +1 -1
- package/lib/icons/common/settings-icon/index.d.ts +1 -1
- package/lib/icons/common/sort-arrows-icon/index.d.ts +1 -1
- package/lib/icons/common/star-icon/index.d.ts +1 -1
- package/lib/icons/common/terminal-icon/index.d.ts +1 -1
- package/lib/icons/common/trash-icon/index.d.ts +1 -1
- package/lib/icons/common/user-circle-icon/index.d.ts +1 -1
- package/lib/icons/common/user-group-icon/index.d.ts +1 -1
- package/lib/icons/common/user-icon/index.d.ts +1 -1
- package/lib/icons/common/user-settings-icon/index.d.ts +1 -1
- package/lib/icons/common/v-icon/index.d.ts +1 -1
- package/lib/icons/common/v-square-icon/index.d.ts +1 -1
- package/lib/icons/common/x-icon/index.d.ts +1 -1
- package/lib/icons/common/x-square-icon/index.d.ts +1 -1
- package/lib/icons/compute-platform/index.d.ts +0 -2
- package/lib/icons/compute-platform/k8s-logo/index.d.ts +1 -1
- package/lib/icons/compute-platform/vm-logo/index.d.ts +1 -1
- package/lib/icons/destinations/alauda-logo/index.d.ts +1 -1
- package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +1 -1
- package/lib/icons/destinations/app-dynamics-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-api-gateway-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-bedrock-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-dynamodb-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-ec2-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-eventbridge-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-kinesis-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-lambda-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-s3-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-secrets-manager-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-sns-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-sqs-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-step-functions-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-sts-logo/index.d.ts +1 -1
- package/lib/icons/destinations/aws-xray-logo/index.d.ts +1 -1
- package/lib/icons/destinations/axiom-logo/index.d.ts +1 -1
- package/lib/icons/destinations/azure-blob-logo/index.d.ts +1 -1
- package/lib/icons/destinations/azure-monitor-logo/index.d.ts +1 -1
- package/lib/icons/destinations/better-stack-logo/index.d.ts +1 -1
- package/lib/icons/destinations/bonree-logo/index.d.ts +1 -1
- package/lib/icons/destinations/causely-logo/index.d.ts +1 -1
- package/lib/icons/destinations/checkly-logo/index.d.ts +1 -1
- package/lib/icons/destinations/chronosphere-logo/index.d.ts +1 -1
- package/lib/icons/destinations/clickhouse-logo/index.d.ts +1 -1
- package/lib/icons/destinations/coralogix-logo/index.d.ts +1 -1
- package/lib/icons/destinations/dash0-logo/index.d.ts +1 -1
- package/lib/icons/destinations/datadog-logo/index.d.ts +1 -1
- package/lib/icons/destinations/dynatrace-logo/index.d.ts +1 -1
- package/lib/icons/destinations/elastic-apm-logo/index.d.ts +1 -1
- package/lib/icons/destinations/elastic-search-logo/index.d.ts +1 -1
- package/lib/icons/destinations/gigapipe-logo/index.d.ts +1 -1
- package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +1 -1
- package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +1 -1
- package/lib/icons/destinations/grafana-logo/index.d.ts +1 -1
- package/lib/icons/destinations/greptime-logo/index.d.ts +1 -1
- package/lib/icons/destinations/groundcover-logo/index.d.ts +1 -1
- package/lib/icons/destinations/honeycomb-logo/index.d.ts +1 -1
- package/lib/icons/destinations/hyperdx-logo/index.d.ts +1 -1
- package/lib/icons/destinations/instana-logo/index.d.ts +1 -1
- package/lib/icons/destinations/jaeger-logo/index.d.ts +1 -1
- package/lib/icons/destinations/kafka-logo/index.d.ts +1 -1
- package/lib/icons/destinations/kloudmate-logo/index.d.ts +1 -1
- package/lib/icons/destinations/last9-logo/index.d.ts +1 -1
- package/lib/icons/destinations/lightstep-logo/index.d.ts +1 -1
- package/lib/icons/destinations/logzio-logo/index.d.ts +1 -1
- package/lib/icons/destinations/loki-logo/index.d.ts +1 -1
- package/lib/icons/destinations/lumigo-logo/index.d.ts +1 -1
- package/lib/icons/destinations/middleware-logo/index.d.ts +1 -1
- package/lib/icons/destinations/new-relic-logo/index.d.ts +1 -1
- package/lib/icons/destinations/observe-logo/index.d.ts +1 -1
- package/lib/icons/destinations/odigos-destination-logo/index.d.ts +1 -1
- package/lib/icons/destinations/one-uptime-logo/index.d.ts +1 -1
- package/lib/icons/destinations/open-observe-logo/index.d.ts +1 -1
- package/lib/icons/destinations/open-telemetry-logo/index.d.ts +1 -1
- package/lib/icons/destinations/ops-verse-logo/index.d.ts +1 -1
- package/lib/icons/destinations/oracle-logo/index.d.ts +1 -1
- package/lib/icons/destinations/prometheus-logo/index.d.ts +1 -1
- package/lib/icons/destinations/pyroscope-logo/index.d.ts +1 -1
- package/lib/icons/destinations/qryn-logo/index.d.ts +1 -1
- package/lib/icons/destinations/quickwit-logo/index.d.ts +1 -1
- package/lib/icons/destinations/sentry-logo/index.d.ts +1 -1
- package/lib/icons/destinations/seq-logo/index.d.ts +1 -1
- package/lib/icons/destinations/signoz-logo/index.d.ts +1 -1
- package/lib/icons/destinations/splunk-logo/index.d.ts +1 -1
- package/lib/icons/destinations/sumo-logic-logo/index.d.ts +1 -1
- package/lib/icons/destinations/telemetry-hub-logo/index.d.ts +1 -1
- package/lib/icons/destinations/tempo-logo/index.d.ts +1 -1
- package/lib/icons/destinations/tingyun-logo/index.d.ts +1 -1
- package/lib/icons/destinations/traceloop-logo/index.d.ts +1 -1
- package/lib/icons/destinations/uptrace-logo/index.d.ts +1 -1
- package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/code-attributes-icon/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +1 -1
- package/lib/icons/instrumentation-rules/payload-collection-icon/index.d.ts +1 -1
- package/lib/icons/monitors/logs-icon/index.d.ts +1 -1
- package/lib/icons/monitors/metrics-icon/index.d.ts +1 -1
- package/lib/icons/monitors/traces-icon/index.d.ts +1 -1
- package/lib/icons/on-off/eye-closed-icon/index.d.ts +1 -1
- package/lib/icons/on-off/eye-open-icon/index.d.ts +1 -1
- package/lib/icons/on-off/light-off-icon/index.d.ts +1 -1
- package/lib/icons/on-off/light-on-icon/index.d.ts +1 -1
- package/lib/icons/on-off/moon-icon/index.d.ts +1 -1
- package/lib/icons/on-off/sound-off-icon/index.d.ts +1 -1
- package/lib/icons/on-off/sound-on-icon/index.d.ts +1 -1
- package/lib/icons/on-off/sun-icon/index.d.ts +1 -1
- package/lib/icons/overview/action-icon/index.d.ts +1 -1
- package/lib/icons/overview/connections-icon/index.d.ts +1 -1
- package/lib/icons/overview/data-stream-icon/index.d.ts +1 -1
- package/lib/icons/overview/destination-icon/index.d.ts +1 -1
- package/lib/icons/overview/gateway-icon/index.d.ts +1 -1
- package/lib/icons/overview/instrumentation-rule-icon/index.d.ts +1 -1
- package/lib/icons/overview/log-icon/index.d.ts +1 -1
- package/lib/icons/overview/namespaces-icon/index.d.ts +1 -1
- package/lib/icons/overview/overview-icon/index.d.ts +1 -1
- package/lib/icons/overview/pipeline-collector-icon/index.d.ts +1 -1
- package/lib/icons/overview/pod-icon/index.d.ts +1 -1
- package/lib/icons/overview/replica-icon/index.d.ts +1 -1
- package/lib/icons/overview/sampling-icon/index.d.ts +1 -1
- package/lib/icons/overview/service-map-icon/index.d.ts +1 -1
- package/lib/icons/overview/source-icon/index.d.ts +1 -1
- package/lib/icons/overview/trace-view-icon/index.d.ts +1 -1
- package/lib/icons/overview/yaml-icon/index.d.ts +1 -1
- package/lib/icons/programming-languages/aws-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/c-plus-plus-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/c-sharp-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/dotnet-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/elixir-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/go-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/java-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/mysql-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/nginx-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/nodejs-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/php-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/postgres-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/python-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/redis-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/ruby-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/rust-logo/index.d.ts +1 -1
- package/lib/icons/programming-languages/swift-logo/index.d.ts +1 -1
- package/lib/icons/social/slack-logo/index.d.ts +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/{_v2/actions → actions}/index.d.ts +2 -2
- package/lib/snippets/{_v2/cancel-modal → cancel-modal}/index.d.ts +1 -1
- package/lib/snippets/{_v2/delete-modal → delete-modal}/index.d.ts +1 -1
- package/lib/snippets/{_v2/dynamic-field → dynamic-field}/index.d.ts +6 -2
- package/lib/snippets/index.d.ts +13 -1
- package/lib/snippets/{_v2/instrumentation-rule-form-sections → instrumentation-rule-form-sections}/instrumentation-preview.d.ts +1 -1
- package/lib/snippets/{_v2/rich-title → rich-title}/index.d.ts +3 -3
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/duration-errors.d.ts +2 -2
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/operation.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/percentage.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/preset-with-custom-input.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/rule-info.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/rule-type.d.ts +1 -1
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/sampling-preview.d.ts +2 -2
- package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/source-scope.d.ts +2 -2
- package/lib/snippets/{_v2/signals-checkbox-list → signals-checkbox-list}/index.d.ts +1 -1
- package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column-list-item/index.d.ts +1 -1
- package/lib/snippets/{_v2/wide-drawer → wide-drawer}/index.d.ts +6 -3
- package/lib/snippets/{_v2/yaml-section-card → yaml-section-card}/index.d.ts +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store/index.d.ts +0 -1
- package/lib/store/useDataStreamStore.d.ts +1 -1
- package/lib/store/useDrawerStore.d.ts +16 -3
- package/lib/store/useFilterStore.d.ts +1 -1
- package/lib/store/useNotificationStore.d.ts +1 -1
- package/lib/store/useProgressStore.d.ts +1 -1
- package/lib/store/useSelectedStore.d.ts +1 -1
- package/lib/store/useSetupStore.d.ts +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +5 -2
- package/lib/types/common/index.d.ts +11 -2
- package/lib/types/destinations/index.d.ts +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/sampling.d.ts +1 -1
- package/lib/types/snapshot/index.d.ts +0 -1
- package/lib/types/sources/index.d.ts +0 -1
- package/lib/types/workload/index.d.ts +0 -1
- package/lib/types.js +1 -1
- package/lib/visuals/visual-green-rings/index.d.ts +1 -1
- package/lib/visuals/visual-purple-rings/index.d.ts +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +19 -39
- package/lib/chunks/connections-scope-DEVWbigK.js +0 -1
- package/lib/chunks/consts-D6GCMJ6c.js +0 -1
- package/lib/chunks/index-BVtv0LGZ.js +0 -155
- package/lib/chunks/odigos-context-DGEWcwEQ.js +0 -18
- package/lib/chunks/source-instrument-form-context-DMCdySjE.js +0 -1
- package/lib/chunks/ui-components-BDtk3K99.js +0 -1742
- package/lib/chunks/use-odigos-api-ZAJiPzPh.js +0 -5
- package/lib/chunks/vendor-BFqT13Me.js +0 -1
- package/lib/components/_v2/icon-button/index.d.ts +0 -16
- package/lib/components/_v2/icon-group/index.d.ts +0 -11
- package/lib/components/_v2/index.d.ts +0 -41
- package/lib/components/_v2/radio-card/index.d.ts +0 -16
- package/lib/components/fade-loader/helpers/animation.d.ts +0 -1
- package/lib/components/fade-loader/helpers/unitConverter.d.ts +0 -22
- package/lib/components/fade-loader/index.d.ts +0 -10
- package/lib/components/icon-wrapped/index.d.ts +0 -11
- package/lib/components/image-controlled/index.d.ts +0 -8
- package/lib/components/loading-text/index.d.ts +0 -9
- package/lib/components/notification-note/index.d.ts +0 -22
- package/lib/components/popup/index.d.ts +0 -18
- package/lib/components/scroll-x/index.d.ts +0 -10
- package/lib/components/text/index.d.ts +0 -26
- package/lib/components/v2.js +0 -1
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/index.d.ts +0 -15
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/custom-resource-table.d.ts +0 -9
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/helpers.d.ts +0 -5
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/index.d.ts +0 -2
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/permission-list.d.ts +0 -12
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/permissions.d.ts +0 -25
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/policy-preview.d.ts +0 -5
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/select-provider/provider-list.d.ts +0 -8
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/create-role-section.d.ts +0 -6
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/enter-arn-section.d.ts +0 -5
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/index.d.ts +0 -5
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/methods.d.ts +0 -30
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/setup-credentials/section.d.ts +0 -9
- package/lib/containers/_v2/_drawers/create-cloud-connector-drawer/steps/validate-connection/index.d.ts +0 -8
- package/lib/containers/_v2/central-connections/index.d.ts +0 -16
- package/lib/containers/_v2/index.d.ts +0 -9
- package/lib/containers/v2.js +0 -1404
- package/lib/contexts/cloud-connector-form-context.d.ts +0 -35
- package/lib/contexts/odigos-api.js +0 -1
- package/lib/hooks/useClickNode.d.ts +0 -6
- package/lib/hooks/useClickNotification.d.ts +0 -7
- package/lib/icons/compute-platform/cloud-connector-icon/index.d.ts +0 -2
- package/lib/icons/compute-platform/cloud-connector-policy-icon/index.d.ts +0 -2
- package/lib/snippets/_v2/connector-created-modal/index.d.ts +0 -7
- package/lib/snippets/_v2/index.d.ts +0 -14
- package/lib/snippets/v2.js +0 -1
- package/lib/store/useModalStore.d.ts +0 -6
- package/lib/types/cloud-connectors/index.d.ts +0 -88
- /package/lib/components/{_v2/cards → _cards}/index.d.ts +0 -0
- /package/lib/components/{_v2/cards → _cards}/text-card/index.d.ts +0 -0
- /package/lib/components/{_v2/charts → charts}/gauge-chart/index.d.ts +0 -0
- /package/lib/components/{_v2/charts → charts}/index.d.ts +0 -0
- /package/lib/components/{_v2/cli-command → cli-command}/index.d.ts +0 -0
- /package/lib/components/{_v2/drawer → drawer}/footer/index.d.ts +0 -0
- /package/lib/components/{_v2/drawer → drawer}/index.d.ts +0 -0
- /package/lib/components/{_v2/drop-down → drop-down}/index.d.ts +0 -0
- /package/lib/components/{_v2/field-message → field-message}/index.d.ts +0 -0
- /package/lib/components/{_v2/field-title → field-title}/index.d.ts +0 -0
- /package/lib/components/{_v2/header → header}/index.d.ts +0 -0
- /package/lib/components/{_v2/hover-actions → hover-actions}/index.d.ts +0 -0
- /package/lib/components/{_v2/input-list → input-list}/index.d.ts +0 -0
- /package/lib/components/{_v2/input-table → input-table}/card-table.d.ts +0 -0
- /package/lib/components/{_v2/input-table → input-table}/dynamic-field/index.d.ts +0 -0
- /package/lib/components/{_v2/input-table → input-table}/index.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner/index.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner-old/helpers/animation.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner-old/helpers/unitConverter.d.ts +0 -0
- /package/lib/components/{_v2/loader → loader}/spinner-old/index.d.ts +0 -0
- /package/lib/components/{_v2/modal → modal}/index.d.ts +0 -0
- /package/lib/components/{_v2/search → search}/index.d.ts +0 -0
- /package/lib/components/{_v2/stepper → stepper}/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/styled.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/table-columns/filter/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/table-rows/index.d.ts +0 -0
- /package/lib/components/{_v2/table → table}/types.d.ts +0 -0
- /package/lib/components/{_v2/textarea → textarea}/index.d.ts +0 -0
- /package/lib/components/{_v2/time-input → time-input}/index.d.ts +0 -0
- /package/lib/components/{_v2/typography → typography}/index.d.ts +0 -0
- /package/lib/components/{_v2/typography-truncatable → typography-truncatable}/index.d.ts +0 -0
- /package/lib/components/{_v2/warning-modal → warning-modal}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/list/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/add-source-drawer/namespaces-column/list/list-item/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-action-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-destination-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-rule-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/common/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/overview/containers-card/popup-form.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/pods/pod-debug-commands.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/flame-graph-canvas.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/flamebearer.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/profiling/symbol-table/modify-rules-modal.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/edit-source-drawer/tabs.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/regex-tester-drawer/highlighter.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/regex-tester-drawer/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/describe/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/diagnose/index.d.ts +0 -0
- /package/lib/containers/{_v2/_drawers → _drawers}/system-drawer/tokens/token-expires-at.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/add-action-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/add-rule-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/data-stream-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/data-stream-form/merge-warning.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/edit-source-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_forms → _forms}/sampling-rule-form/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/add-data-stream-modal/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/edit-data-stream-modal/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/onboarding-done/background.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/chrome.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/footer.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/header.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/info-card.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/lists.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/primary-banner.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/section.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/common/sub-title.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/index.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-advanced.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-drop-list.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-keep-list.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-noisy.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-strategy.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-success.d.ts +0 -0
- /package/lib/containers/{_v2/_modals → _modals}/sampling-onboarding-modal/steps/step-welcome.d.ts +0 -0
- /package/lib/containers/{_v2/onboarding → onboarding}/background/index.d.ts +0 -0
- /package/lib/containers/{_v2/onboarding → onboarding}/get-started/index.d.ts +0 -0
- /package/lib/containers/{_v2/onboarding → onboarding}/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/columns/column/namespace-divider.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/columns/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/data-stream-select/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/drawers/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/filters/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/multi-source-control/index.d.ts +0 -0
- /package/lib/containers/{_v2/overview → overview}/search/index.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/enum.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/get-general-title.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/general-info/helpers/index.d.ts +0 -0
- /package/lib/containers/{_v2/pipeline-collectors → pipeline-collectors}/toolbar/index.d.ts +0 -0
- /package/lib/containers/{_v2/sampling-rules → sampling-rules}/index.d.ts +0 -0
- /package/lib/containers/{_v2/settings → settings}/side-menu/index.d.ts +0 -0
- /package/lib/containers/{_v2/settings → settings}/toolbar/index.d.ts +0 -0
- /package/lib/snippets/{_v2/colored-span → colored-span}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/instrumentation-rule-form-sections → instrumentation-rule-form-sections}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/odigos-logo-text-by-tier → odigos-logo-text-by-tier}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/sampling-rule-form-sections → sampling-rule-form-sections}/styled.d.ts +0 -0
- /package/lib/snippets/{_v2/upgrade-modal → upgrade-modal}/index.d.ts +0 -0
- /package/lib/snippets/{_v2/wide-drawer → wide-drawer}/column/index.d.ts +0 -0
- /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 '
|
|
3
|
-
import { type Action, type ActionFormData, type ActionOption } from '
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FC, type ReactNode } from 'react';
|
|
2
|
-
import type { DataStream } from '
|
|
3
|
-
import { type GenericFormResult } from '
|
|
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 '
|
|
3
|
-
import { DestinationCategoryTypes } from '
|
|
4
|
-
import { type Destination, type DestinationCategories, type DestinationDynamicField, type DestinationFormData, type DestinationOption, type TestConnectionResponse } from '
|
|
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;
|
package/lib/contexts/index.d.ts
CHANGED
|
@@ -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
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
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 '
|
|
30
|
-
import { type NamespaceSelectionFormData, type SourceSelectionFormData } from '
|
|
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;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Public entry point for the OdigosApiContext.
|
|
3
3
|
*
|
|
4
|
-
* This module is exported
|
|
5
|
-
*
|
|
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 '
|
|
11
|
-
import { StatusType, type EntityTypes, type WorkloadId } from '
|
|
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 '
|
|
20
|
-
import type { K8sResourceKind } from '
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 '
|
|
19
|
-
import type { InstrumentationRuleInputWire } from '
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
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
|
|
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
|
|
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,7 +266,6 @@ export interface PersistSourcesVars {
|
|
|
266
266
|
namespace: string;
|
|
267
267
|
name: string;
|
|
268
268
|
kind: K8sResourceKind | '';
|
|
269
|
-
region?: string;
|
|
270
269
|
selected: boolean;
|
|
271
270
|
currentStreamName: string;
|
|
272
271
|
}[];
|
|
@@ -810,11 +809,6 @@ export interface ApolloConfig {
|
|
|
810
809
|
makeClient: () => unknown;
|
|
811
810
|
children?: ReactNode;
|
|
812
811
|
}) => ReactNode;
|
|
813
|
-
/**
|
|
814
|
-
* Optional override for `InMemoryCache.addTypename`. Defaults to true.
|
|
815
|
-
* webapp historically uses `addTypename: false`; central-ui uses default.
|
|
816
|
-
*/
|
|
817
|
-
addTypename?: boolean;
|
|
818
812
|
/** Optional `InMemoryCache` type policies. */
|
|
819
813
|
cacheTypePolicies?: TypePolicies;
|
|
820
814
|
/** Optional override for default fetch policies. */
|
|
@@ -836,7 +830,6 @@ export interface OdigosApiProviderProps {
|
|
|
836
830
|
context: OperationContext;
|
|
837
831
|
children?: ReactNode;
|
|
838
832
|
}
|
|
839
|
-
export type ApolloCacheShape = NormalizedCacheObject;
|
|
840
833
|
/**
|
|
841
834
|
* The minimal value the inner provider exposes — used by per-domain hooks
|
|
842
835
|
* 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 {
|
|
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 `
|
|
60
|
-
onError?: (error:
|
|
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:
|
|
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?:
|
|
93
|
+
error?: ErrorLike;
|
|
93
94
|
}>;
|
|
94
95
|
data: TData | undefined;
|
|
95
96
|
loading: boolean;
|
|
96
|
-
error:
|
|
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?:
|
|
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:
|
|
115
|
+
onError?: (error: ErrorLike) => void;
|
|
115
116
|
}
|
|
116
117
|
export interface UseApiMutationResult<TData> {
|
|
117
118
|
data: TData | undefined;
|
|
118
119
|
loading: boolean;
|
|
119
|
-
error:
|
|
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?:
|
|
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,14 +1,16 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { PlatformType, Tier } from '
|
|
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
|
|
10
|
-
export declare const
|
|
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;
|
|
13
15
|
isEnterprise: boolean;
|
|
14
16
|
version: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC, type ReactNode } from 'react';
|
|
2
|
-
import type { AutocompleteOption } from '
|
|
3
|
-
import { type GenericFormResult } from '
|
|
4
|
-
import { type InstrumentationRule, type InstrumentationRuleFormData, type InstrumentationRuleOption, type SourcesScopes } from '
|
|
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 '
|
|
3
|
-
import type { SamplingRuleCategory, SamplingRuleFormState, DuplicateValidationResult, ViewRuleData, SamplingRulesSelectOption, PercentagePreset, PercentageMode } from '
|
|
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 '
|
|
3
|
-
import { type GenericFormResult } from '
|
|
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 '
|
|
3
|
-
import { type AllClusterSnapshots, type PersistSourceInput } from '
|
|
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
|
-
|
|
1
|
+
import{u as a,r as x,a as y}from"./chunks/source-instrument-form-context-CZQIaTUV.js";export{A as ActionFormContextProvider,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 useDataStreamFormContext,m as useDestinationFormContext,n as useOdigosApi,o as useRuleFormContext,q as useSamplingRulesFormContext,s as useSourceEditFormContext,t as useSourceInstrumentFormContext}from"./chunks/source-instrument-form-context-CZQIaTUV.js";export{O as OdigosProvider,c as checkVersionSupport,r as resolveMinSupportedVersion,u as useOdigos}from"./chunks/odigos-context-_YAZF63s.js";import{jsx as v}from"react/jsx-runtime";import{useMemo as C,useContext as F,createContext as P}from"react";import{P as T,t as E}from"./chunks/ui-components-CAPnizLR.js";import{useApolloClient as I}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 _=()=>{const o=I(),{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}}},M=(o,r)=>o.platformType===T.K8s?r.K8s:o.platformType===T.Vm?r.Vm:void 0,V=o=>r=>{const e=o[r.platformType];if(!e)return;const t=Object.keys(e);if(0===t.length)return;const s=E(r.schemaVersion??r.version),n=[...t].sort((o,r)=>E(r)-E(o)).find(o=>s>=E(o));return n?e[n]:void 0},N=(o,r)=>{const e={};for(const t of Object.keys(o))e[t]=r(o[t]);return e},U=P({formType:void 0}),w=({children:o,formType:r})=>{const e=C(()=>({formType:r}),[r]);return v(U.Provider,{value:e,children:o})},z=()=>F(U);export{w as StorybookProvider,M as pickByPlatform,_ as useApiForConnections,z as useStorybook,V as versionedDocument,N as vmDialectMap};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BadgeProps } from '
|
|
2
|
-
import { DesiredConditionStatus, type SVG } from '
|
|
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 '
|
|
1
|
+
import type { AnyObj } from '../../types';
|
|
2
2
|
export declare const cleanObjectEmptyStringsValues: (obj: AnyObj) => AnyObj;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Action } from '
|
|
2
|
-
import type { FiltersState } from '
|
|
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 '
|
|
2
|
-
import type { Destination } from '
|
|
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 '
|
|
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 '
|
|
2
|
-
import { type Workload } from '
|
|
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 '
|
|
1
|
+
import type { Workload } from '../../types';
|
|
2
2
|
export declare const filterSourcesByStream: (sources: Workload[], streamName: string) => Workload[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActionType, type SVG } from '
|
|
1
|
+
import { ActionType, type SVG } from '../../types';
|
|
2
2
|
export declare const getActionIcon: (type: ActionType) => SVG;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Workload } from '
|
|
1
|
+
import type { Workload } from '../../types';
|
|
2
2
|
export declare const getContainersInstrumentedCount: (containers: Workload["containers"]) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProgrammingLanguages, type Workload, type SVG } from '
|
|
1
|
+
import { ProgrammingLanguages, type Workload, type SVG } from '../../types';
|
|
2
2
|
export declare const getEffectiveLanguage: (container?: NonNullable<Workload["containers"]>[number]) => ProgrammingLanguages;
|
|
3
3
|
export declare const getEffectiveRuntimeVersion: (container?: NonNullable<Workload["containers"]>[number]) => string | null;
|
|
4
4
|
export declare const getContainersIcons: (containers: Workload["containers"]) => SVG[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EntityTypes, type SVG } from '
|
|
1
|
+
import { EntityTypes, type SVG } from '../../types';
|
|
2
2
|
export declare const getEntityIcon: (type: EntityTypes) => SVG;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Action, Destination, InstrumentationRule, Metric, Namespace, Workload, WorkloadId } from '
|
|
1
|
+
import type { Action, Destination, InstrumentationRule, Metric, Namespace, Workload, WorkloadId } from '../../types';
|
|
2
2
|
type Entity = Namespace | Workload | Destination | Action | InstrumentationRule | (Metric & WorkloadId) | (Metric & {
|
|
3
3
|
id: string;
|
|
4
4
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { StatusType } from '
|
|
1
|
+
import { StatusType } from '../../types';
|
|
2
2
|
export declare const getHealthBadgeLabel: (status: StatusType, reasonEnum?: string | null) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EntityTypes, type WorkloadId } from '
|
|
1
|
+
import { EntityTypes, type WorkloadId } from '../../types';
|
|
2
2
|
export declare const getIdFromSseTarget: (target: string, type: EntityTypes) => string | WorkloadId;
|