@odigos/ui-kit 0.0.2
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/.prettierrc +13 -0
- package/CHANGELOG.md +26 -0
- package/README.md +62 -0
- package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +9 -0
- package/lib/components/auto-complete-input/index.d.ts +19 -0
- package/lib/components/badge/badge.stories.d.ts +13 -0
- package/lib/components/badge/index.d.ts +11 -0
- package/lib/components/button/button.stories.d.ts +9 -0
- package/lib/components/button/index.d.ts +6 -0
- package/lib/components/cancel-warning/cancel-warning.stories.d.ts +9 -0
- package/lib/components/cancel-warning/index.d.ts +10 -0
- package/lib/components/checkbox/checkbox.stories.d.ts +9 -0
- package/lib/components/checkbox/index.d.ts +15 -0
- package/lib/components/code/code.stories.d.ts +9 -0
- package/lib/components/code/index.d.ts +10 -0
- package/lib/components/code/toggle-code-component/index.d.ts +7 -0
- package/lib/components/condition-details/condition-details.stories.d.ts +14 -0
- package/lib/components/condition-details/index.d.ts +10 -0
- package/lib/components/data-card/data-card-fields/index.d.ts +24 -0
- package/lib/components/data-card/data-card.stories.d.ts +10 -0
- package/lib/components/data-card/index.d.ts +12 -0
- package/lib/components/data-tab/data-tab.stories.d.ts +9 -0
- package/lib/components/data-tab/index.d.ts +28 -0
- package/lib/components/delete-warning/delete-warning.stories.d.ts +9 -0
- package/lib/components/delete-warning/index.d.ts +13 -0
- package/lib/components/describe-row/describe-row.stories.d.ts +9 -0
- package/lib/components/describe-row/index.d.ts +13 -0
- package/lib/components/divider/divider.stories.d.ts +9 -0
- package/lib/components/divider/index.d.ts +11 -0
- package/lib/components/docs-button/docs-button.stories.d.ts +9 -0
- package/lib/components/docs-button/index.d.ts +8 -0
- package/lib/components/drawer/drawer-footer/index.d.ts +13 -0
- package/lib/components/drawer/drawer-header/index.d.ts +22 -0
- package/lib/components/drawer/drawer.stories.d.ts +10 -0
- package/lib/components/drawer/index.d.ts +15 -0
- package/lib/components/dropdown/dropdown.stories.d.ts +9 -0
- package/lib/components/dropdown/index.d.ts +21 -0
- package/lib/components/extend-arrow/extend-arrow.stories.d.ts +9 -0
- package/lib/components/extend-arrow/index.d.ts +8 -0
- package/lib/components/fade-loader/fade-loader.stories.d.ts +9 -0
- package/lib/components/fade-loader/helpers/animation.d.ts +1 -0
- package/lib/components/fade-loader/helpers/unitConverter.d.ts +22 -0
- package/lib/components/fade-loader/index.d.ts +10 -0
- package/lib/components/field-error/field-error.stories.d.ts +9 -0
- package/lib/components/field-error/index.d.ts +5 -0
- package/lib/components/field-label/field-label.stories.d.ts +9 -0
- package/lib/components/field-label/index.d.ts +9 -0
- package/lib/components/header/header.stories.d.ts +9 -0
- package/lib/components/header/index.d.ts +8 -0
- package/lib/components/icon-button/icon-button.stories.d.ts +9 -0
- package/lib/components/icon-button/index.d.ts +10 -0
- package/lib/components/icon-group/icon-group.stories.d.ts +14 -0
- package/lib/components/icon-group/index.d.ts +11 -0
- package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +9 -0
- package/lib/components/icon-title-badge/index.d.ts +10 -0
- package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +10 -0
- package/lib/components/icon-wrapped/index.d.ts +11 -0
- package/lib/components/icons-nav/icons-nav.stories.d.ts +9 -0
- package/lib/components/icons-nav/index.d.ts +17 -0
- package/lib/components/image-controlled/image-controlled.stories.d.ts +9 -0
- package/lib/components/image-controlled/index.d.ts +8 -0
- package/lib/components/index.d.ts +48 -0
- package/lib/components/input/index.d.ts +14 -0
- package/lib/components/input/input.stories.d.ts +9 -0
- package/lib/components/input-list/index.d.ts +13 -0
- package/lib/components/input-list/input-list.stories.d.ts +9 -0
- package/lib/components/input-table/index.d.ts +20 -0
- package/lib/components/input-table/input-table.stories.d.ts +9 -0
- package/lib/components/interactive-table/index.d.ts +26 -0
- package/lib/components/interactive-table/interactive-table.stories.d.ts +12 -0
- package/lib/components/interactive-table/row.d.ts +13 -0
- package/lib/components/key-value-input-list/index.d.ts +16 -0
- package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +9 -0
- package/lib/components/modal/index.d.ts +14 -0
- package/lib/components/modal/modal.stories.d.ts +9 -0
- package/lib/components/monitors-checkboxes/index.d.ts +13 -0
- package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +9 -0
- package/lib/components/monitors-icons/index.d.ts +11 -0
- package/lib/components/monitors-icons/monitors-icons.stories.d.ts +9 -0
- package/lib/components/navigation-buttons/index.d.ts +16 -0
- package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +9 -0
- package/lib/components/no-data-found/index.d.ts +7 -0
- package/lib/components/no-data-found/no-data-found.stories.d.ts +9 -0
- package/lib/components/notification-note/index.d.ts +21 -0
- package/lib/components/notification-note/notification-note.stories.d.ts +10 -0
- package/lib/components/section-title/index.d.ts +12 -0
- package/lib/components/section-title/section-title.stories.d.ts +9 -0
- package/lib/components/segment/index.d.ts +15 -0
- package/lib/components/segment/segment.stories.d.ts +9 -0
- package/lib/components/skeleton-loader/index.d.ts +7 -0
- package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +9 -0
- package/lib/components/status/index.d.ts +14 -0
- package/lib/components/status/status.stories.d.ts +9 -0
- package/lib/components/stepper/index.d.ts +10 -0
- package/lib/components/stepper/stepper.stories.d.ts +9 -0
- package/lib/components/styled.d.ts +13 -0
- package/lib/components/text/index.d.ts +13 -0
- package/lib/components/text/text.stories.d.ts +9 -0
- package/lib/components/textarea/index.d.ts +8 -0
- package/lib/components/textarea/textarea.stories.d.ts +9 -0
- package/lib/components/toggle/index.d.ts +11 -0
- package/lib/components/toggle/toggle.stories.d.ts +9 -0
- package/lib/components/tooltip/index.d.ts +11 -0
- package/lib/components/tooltip/tooltip.stories.d.ts +9 -0
- package/lib/components/trace-loader/index.d.ts +6 -0
- package/lib/components/trace-loader/trace-loader.stories.d.ts +9 -0
- package/lib/components/warning-modal/index.d.ts +24 -0
- package/lib/components/warning-modal/warning-modal.stories.d.ts +9 -0
- package/lib/constants/actions/index.d.ts +2 -0
- package/lib/constants/index.d.ts +5 -0
- package/lib/constants/instrumentation-rules/index.d.ts +2 -0
- package/lib/constants/signals/index.d.ts +2 -0
- package/lib/constants/strings/index.d.ts +42 -0
- package/lib/constants/tokens/index.d.ts +1 -0
- package/lib/containers/action-drawer/action-drawer.stories.d.ts +9 -0
- package/lib/containers/action-drawer/build-card.d.ts +9 -0
- package/lib/containers/action-drawer/index.d.ts +8 -0
- package/lib/containers/action-form/action-form.stories.d.ts +9 -0
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/index.d.ts +7 -0
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +5 -0
- package/lib/containers/action-form/index.d.ts +11 -0
- package/lib/containers/action-modal/action-modal.stories.d.ts +9 -0
- package/lib/containers/action-modal/index.d.ts +7 -0
- package/lib/containers/action-table/action-table.stories.d.ts +9 -0
- package/lib/containers/action-table/build-spec-cell.d.ts +3 -0
- package/lib/containers/action-table/index.d.ts +7 -0
- package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +9 -0
- package/lib/containers/await-pipeline/index.d.ts +5 -0
- package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +9 -0
- package/lib/containers/compute-platform-select/index.d.ts +10 -0
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +9 -0
- package/lib/containers/compute-platforms/index.d.ts +8 -0
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +9 -0
- package/lib/containers/compute-platforms-actions-menu/index.d.ts +7 -0
- package/lib/containers/data-flow/data-flow.stories.d.ts +9 -0
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +10 -0
- package/lib/containers/data-flow/flow.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-edges.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-source-nodes.d.ts +17 -0
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +2 -0
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +10 -0
- package/lib/containers/data-flow/helpers/node-config.d.ts +6 -0
- package/lib/containers/data-flow/index.d.ts +8 -0
- package/lib/containers/data-flow/nodes/add-node.d.ts +11 -0
- package/lib/containers/data-flow/nodes/base-node.d.ts +21 -0
- package/lib/containers/data-flow/nodes/edged-node.d.ts +9 -0
- package/lib/containers/data-flow/nodes/frame-node.d.ts +9 -0
- package/lib/containers/data-flow/nodes/header-node.d.ts +13 -0
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +26 -0
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +8 -0
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +5 -0
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +11 -0
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +10 -0
- package/lib/containers/data-flow-actions-menu/index.d.ts +10 -0
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +5 -0
- package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +2 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +25 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +7 -0
- package/lib/containers/data-flow-actions-menu/selection-button/index.d.ts +17 -0
- package/lib/containers/data-flow-actions-menu/styled.d.ts +2 -0
- package/lib/containers/destination-drawer/build-card.d.ts +9 -0
- package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +9 -0
- package/lib/containers/destination-drawer/index.d.ts +13 -0
- package/lib/containers/destination-form/destination-form.stories.d.ts +9 -0
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +9 -0
- package/lib/containers/destination-form/index.d.ts +18 -0
- package/lib/containers/destination-form/test-connection/index.d.ts +17 -0
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +8 -0
- package/lib/containers/destination-modal/choose-destination/index.d.ts +11 -0
- package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +8 -0
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +9 -0
- package/lib/containers/destination-modal/index.d.ts +14 -0
- package/lib/containers/destination-selection-form/configured-list/index.d.ts +5 -0
- package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +9 -0
- package/lib/containers/destination-selection-form/index.d.ts +16 -0
- package/lib/containers/destination-table/destination-table.stories.d.ts +9 -0
- package/lib/containers/destination-table/index.d.ts +9 -0
- package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +14 -0
- package/lib/containers/dropdowns/index.d.ts +7 -0
- package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/monitor-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +16 -0
- package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/platform-types-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/platform-types-dropdown/platform-types-dropdown.stories.d.ts +9 -0
- package/lib/containers/index.d.ts +33 -0
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +9 -0
- package/lib/containers/instrumentation-rule-drawer/index.d.ts +8 -0
- package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/code-attributes.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +7 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/payload-collection.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/index.d.ts +11 -0
- package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-modal/index.d.ts +8 -0
- package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-table/build-spec-cell.d.ts +3 -0
- package/lib/containers/instrumentation-rule-table/index.d.ts +7 -0
- package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +9 -0
- package/lib/containers/multi-source-control/index.d.ts +8 -0
- package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +9 -0
- package/lib/containers/notification-manager/index.d.ts +5 -0
- package/lib/containers/notification-manager/notification-manager.stories.d.ts +9 -0
- package/lib/containers/overview-drawer/index.d.ts +20 -0
- package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +9 -0
- package/lib/containers/side-nav/index.d.ts +16 -0
- package/lib/containers/side-nav/side-nav.stories.d.ts +9 -0
- package/lib/containers/slack-invite/index.d.ts +5 -0
- package/lib/containers/slack-invite/slack-invite.stories.d.ts +9 -0
- package/lib/containers/source-drawer/build-card.d.ts +8 -0
- package/lib/containers/source-drawer/describe/index.d.ts +14 -0
- package/lib/containers/source-drawer/index.d.ts +15 -0
- package/lib/containers/source-drawer/source-drawer.stories.d.ts +9 -0
- package/lib/containers/source-form/index.d.ts +8 -0
- package/lib/containers/source-form/source-form.stories.d.ts +9 -0
- package/lib/containers/source-modal/index.d.ts +14 -0
- package/lib/containers/source-modal/source-modal.stories.d.ts +9 -0
- package/lib/containers/source-selection-form/fast/controls/index.d.ts +7 -0
- package/lib/containers/source-selection-form/fast/index.d.ts +7 -0
- package/lib/containers/source-selection-form/fast/list/index.d.ts +10 -0
- package/lib/containers/source-selection-form/index.d.ts +21 -0
- package/lib/containers/source-selection-form/simple/controls/index.d.ts +11 -0
- package/lib/containers/source-selection-form/simple/index.d.ts +7 -0
- package/lib/containers/source-selection-form/simple/list/index.d.ts +9 -0
- package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +9 -0
- package/lib/containers/source-table/index.d.ts +9 -0
- package/lib/containers/source-table/source-table.stories.d.ts +9 -0
- package/lib/containers/system-overview/describe/index.d.ts +11 -0
- package/lib/containers/system-overview/index.d.ts +7 -0
- package/lib/containers/system-overview/system-overview.stories.d.ts +9 -0
- package/lib/containers/system-overview/tokens/expires-at.d.ts +6 -0
- package/lib/containers/system-overview/tokens/index.d.ts +8 -0
- package/lib/containers/system-overview/tokens/token-actions.d.ts +7 -0
- package/lib/containers/table-cell-conditions/index.d.ts +7 -0
- package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +9 -0
- package/lib/containers/toast-list/index.d.ts +5 -0
- package/lib/containers/toast-list/toast-list.stories.d.ts +9 -0
- package/lib/containers/toggle-dark-mode/index.d.ts +5 -0
- package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +9 -0
- package/lib/data/actions/index.d.ts +2 -0
- package/lib/data/describe/index.d.ts +3 -0
- package/lib/data/destinations/index.d.ts +4 -0
- package/lib/data/index.d.ts +7 -0
- package/lib/data/instrumentation-rules/index.d.ts +2 -0
- package/lib/data/namespaces/index.d.ts +2 -0
- package/lib/data/sources/index.d.ts +18 -0
- package/lib/data/tokens/index.d.ts +2 -0
- package/lib/functions/capitalize-first-letter/index.d.ts +1 -0
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +1 -0
- package/lib/functions/compare-condition/index.d.ts +5 -0
- package/lib/functions/deep-clone/index.d.ts +1 -0
- package/lib/functions/derive-type-from-rule/index.d.ts +2 -0
- package/lib/functions/filter-actions/index.d.ts +3 -0
- package/lib/functions/filter-destinations/index.d.ts +3 -0
- package/lib/functions/filter-sources/index.d.ts +3 -0
- package/lib/functions/flatten-object-keys/index.d.ts +32 -0
- package/lib/functions/format-bytes/index.d.ts +1 -0
- package/lib/functions/get-action-icon/index.d.ts +2 -0
- package/lib/functions/get-conditions-booleans/index.d.ts +8 -0
- package/lib/functions/get-containers-counts/index.d.ts +2 -0
- package/lib/functions/get-containers-icons/index.d.ts +2 -0
- package/lib/functions/get-destination-icon/index.d.ts +1 -0
- package/lib/functions/get-entity-icon/index.d.ts +2 -0
- package/lib/functions/get-entity-id/index.d.ts +2 -0
- package/lib/functions/get-entity-label/index.d.ts +5 -0
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -0
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -0
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -0
- package/lib/functions/get-monitor-icon/index.d.ts +2 -0
- package/lib/functions/get-platform-icon/index.d.ts +2 -0
- package/lib/functions/get-platform-label/index.d.ts +2 -0
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -0
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -0
- package/lib/functions/get-status-icon/index.d.ts +2 -0
- package/lib/functions/get-value-for-range/index.d.ts +1 -0
- package/lib/functions/get-workload-id/index.d.ts +2 -0
- package/lib/functions/index.d.ts +40 -0
- package/lib/functions/is-emtpy/index.d.ts +1 -0
- package/lib/functions/is-over-time/index.d.ts +1 -0
- package/lib/functions/is-time-elapsed/index.d.ts +1 -0
- package/lib/functions/map-conditions/index.d.ts +2 -0
- package/lib/functions/parse-json-string-to-pretty-string/index.d.ts +1 -0
- package/lib/functions/remove-empty-values-from-object/index.d.ts +1 -0
- package/lib/functions/safe-json-parse/index.d.ts +1 -0
- package/lib/functions/safe-json-stringify/index.d.ts +1 -0
- package/lib/functions/sleep/index.d.ts +1 -0
- package/lib/functions/split-camel-string/index.d.ts +1 -0
- package/lib/functions/stringify-non-string-values/index.d.ts +1 -0
- package/lib/hooks/index.d.ts +14 -0
- package/lib/hooks/useActionFormData.d.ts +12 -0
- package/lib/hooks/useClickNode.d.ts +6 -0
- package/lib/hooks/useClickNotification.d.ts +7 -0
- package/lib/hooks/useContainerSize.d.ts +6 -0
- package/lib/hooks/useCopy.d.ts +6 -0
- package/lib/hooks/useDestinationFormData.d.ts +21 -0
- package/lib/hooks/useGenericForm.d.ts +7 -0
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +12 -0
- package/lib/hooks/useKeyDown.d.ts +11 -0
- package/lib/hooks/useOnClickOutside.d.ts +3 -0
- package/lib/hooks/useSourceFormData.d.ts +12 -0
- package/lib/hooks/useSourceSelectionFormData.d.ts +34 -0
- package/lib/hooks/useTimeAgo.d.ts +3 -0
- package/lib/hooks/useTransition.d.ts +14 -0
- package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +8 -0
- package/lib/icons/actions/add-cluster-info-icon/index.d.ts +2 -0
- package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +8 -0
- package/lib/icons/actions/delete-attribute-icon/index.d.ts +2 -0
- package/lib/icons/actions/index.d.ts +5 -0
- package/lib/icons/actions/pii-masking-icon/index.d.ts +2 -0
- package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +8 -0
- package/lib/icons/actions/rename-attribute-icon/index.d.ts +2 -0
- package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +8 -0
- package/lib/icons/actions/sampler-icon/index.d.ts +2 -0
- package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +8 -0
- package/lib/icons/brand/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +8 -0
- package/lib/icons/brand/odigos-logo-text/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +8 -0
- package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +8 -0
- package/lib/icons/common/arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +8 -0
- package/lib/icons/common/code-brackets-icon/index.d.ts +2 -0
- package/lib/icons/common/code-icon/code-icon.stories.d.ts +8 -0
- package/lib/icons/common/code-icon/index.d.ts +2 -0
- package/lib/icons/common/command-icon/command-icon.stories.d.ts +8 -0
- package/lib/icons/common/command-icon/index.d.ts +2 -0
- package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +8 -0
- package/lib/icons/common/copy-icon/index.d.ts +2 -0
- package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +8 -0
- package/lib/icons/common/edit-icon/index.d.ts +2 -0
- package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +8 -0
- package/lib/icons/common/extend-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +8 -0
- package/lib/icons/common/filter-icon/index.d.ts +2 -0
- package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +8 -0
- package/lib/icons/common/folder-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +19 -0
- package/lib/icons/common/key-icon/index.d.ts +2 -0
- package/lib/icons/common/key-icon/key-icon.stories.d.ts +8 -0
- package/lib/icons/common/list-icon/index.d.ts +2 -0
- package/lib/icons/common/list-icon/list-icon.stories.d.ts +8 -0
- package/lib/icons/common/no-data-icon/index.d.ts +2 -0
- package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +8 -0
- package/lib/icons/common/notebook-icon/index.d.ts +2 -0
- package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +8 -0
- package/lib/icons/common/notification-icon/index.d.ts +2 -0
- package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +8 -0
- package/lib/icons/common/search-icon/index.d.ts +2 -0
- package/lib/icons/common/search-icon/search-icon.stories.d.ts +8 -0
- package/lib/icons/common/sort-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +8 -0
- package/lib/icons/common/terminal-icon/index.d.ts +2 -0
- package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +8 -0
- package/lib/icons/common/trash-icon/index.d.ts +2 -0
- package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +8 -0
- package/lib/icons/common/x-icon/index.d.ts +2 -0
- package/lib/icons/common/x-icon/x-icon.stories.d.ts +8 -0
- package/lib/icons/compute-platform/index.d.ts +2 -0
- package/lib/icons/compute-platform/k8s-logo/index.d.ts +2 -0
- package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +8 -0
- package/lib/icons/compute-platform/vm-logo/index.d.ts +2 -0
- package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +8 -0
- package/lib/icons/index.d.ts +11 -0
- package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +8 -0
- package/lib/icons/instrumentation-rules/code-attributes-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/payload-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +8 -0
- package/lib/icons/math/index.d.ts +2 -0
- package/lib/icons/math/minus-icon/index.d.ts +2 -0
- package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +8 -0
- package/lib/icons/math/plus-icon/index.d.ts +2 -0
- package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/index.d.ts +3 -0
- package/lib/icons/monitors/logs-icon/index.d.ts +2 -0
- package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/metrics-icon/index.d.ts +2 -0
- package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/traces-icon/index.d.ts +2 -0
- package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-closed-icon/index.d.ts +2 -0
- package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-open-icon/index.d.ts +2 -0
- package/lib/icons/on-off/index.d.ts +6 -0
- package/lib/icons/on-off/light-off-icon/index.d.ts +2 -0
- package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/light-on-icon/index.d.ts +2 -0
- package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/moon-icon/index.d.ts +2 -0
- package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/sun-icon/index.d.ts +2 -0
- package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +8 -0
- package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +8 -0
- package/lib/icons/overview/actions-icon/index.d.ts +2 -0
- package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +8 -0
- package/lib/icons/overview/destinations-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +7 -0
- package/lib/icons/overview/overview-icon/index.d.ts +2 -0
- package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +8 -0
- package/lib/icons/overview/rules-icon/index.d.ts +2 -0
- package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +8 -0
- package/lib/icons/overview/service-map-icon/index.d.ts +2 -0
- package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +8 -0
- package/lib/icons/overview/sources-icon/index.d.ts +2 -0
- package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +8 -0
- package/lib/icons/overview/trace-view-icon/index.d.ts +2 -0
- package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +8 -0
- package/lib/icons/social/index.d.ts +1 -0
- package/lib/icons/social/slack-logo/index.d.ts +2 -0
- package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +8 -0
- package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +8 -0
- package/lib/icons/status/check-circled-icon/index.d.ts +2 -0
- package/lib/icons/status/check-icon/check-icon.stories.d.ts +8 -0
- package/lib/icons/status/check-icon/index.d.ts +2 -0
- package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +8 -0
- package/lib/icons/status/cross-circled-icon/index.d.ts +2 -0
- package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +8 -0
- package/lib/icons/status/cross-icon/index.d.ts +2 -0
- package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +8 -0
- package/lib/icons/status/error-round-icon/index.d.ts +2 -0
- package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +8 -0
- package/lib/icons/status/error-triangle-icon/index.d.ts +2 -0
- package/lib/icons/status/index.d.ts +8 -0
- package/lib/icons/status/info-icon/index.d.ts +2 -0
- package/lib/icons/status/info-icon/info-icon.stories.d.ts +8 -0
- package/lib/icons/status/warning-triangle-icon/index.d.ts +2 -0
- package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +8 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.esm.js +53989 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +54212 -0
- package/lib/index.js.map +1 -0
- package/lib/store/index.d.ts +10 -0
- package/lib/store/useDarkMode.d.ts +17 -0
- package/lib/store/useDrawerStore.d.ts +11 -0
- package/lib/store/useEntityStore.d.ts +21 -0
- package/lib/store/useFilterStore.d.ts +37 -0
- package/lib/store/useInstrumentStore.d.ts +13 -0
- package/lib/store/useModalStore.d.ts +6 -0
- package/lib/store/useNotificationStore.d.ts +12 -0
- package/lib/store/usePendingStore.d.ts +14 -0
- package/lib/store/useSelectedStore.d.ts +12 -0
- package/lib/store/useSetupStore.d.ts +46 -0
- package/lib/theme/animations/index.d.ts +22 -0
- package/lib/theme/index.d.ts +13 -0
- package/lib/theme/opacity/index.d.ts +103 -0
- package/lib/theme/palletes/index.d.ts +105 -0
- package/lib/theme/provider/index.d.ts +3 -0
- package/lib/types/actions/index.d.ts +80 -0
- package/lib/types/common/index.d.ts +126 -0
- package/lib/types/compute-platform/index.d.ts +7 -0
- package/lib/types/data-flow/index.d.ts +18 -0
- package/lib/types/describe/index.d.ts +98 -0
- package/lib/types/destinations/index.d.ts +80 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/instrumentation-rules/index.d.ts +74 -0
- package/lib/types/metrics/index.d.ts +10 -0
- package/lib/types/namespaces/index.d.ts +6 -0
- package/lib/types/signals/index.d.ts +9 -0
- package/lib/types/sources/index.d.ts +33 -0
- package/lib/types/tokens/index.d.ts +6 -0
- package/package.json +127 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum NODE_TYPES {
|
|
2
|
+
HEADER = "header",
|
|
3
|
+
ADD = "add",
|
|
4
|
+
BASE = "base",
|
|
5
|
+
EDGED = "edged",
|
|
6
|
+
FRAME = "frame",
|
|
7
|
+
SCROLL = "scroll",
|
|
8
|
+
SKELETON = "skeleton"
|
|
9
|
+
}
|
|
10
|
+
export declare enum EDGE_TYPES {
|
|
11
|
+
LABELED = "labeled"
|
|
12
|
+
}
|
|
13
|
+
export declare enum ADD_NODE_TYPES {
|
|
14
|
+
ADD_RULE = "addRule",
|
|
15
|
+
ADD_SOURCE = "addSource",
|
|
16
|
+
ADD_ACTION = "addAction",
|
|
17
|
+
ADD_DESTINATION = "addDestination"
|
|
18
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
interface EntityProperty {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
status?: string | null;
|
|
5
|
+
explain?: string | null;
|
|
6
|
+
}
|
|
7
|
+
interface ClusterCollectorAnalyze {
|
|
8
|
+
enabled: EntityProperty;
|
|
9
|
+
collectorGroup: EntityProperty;
|
|
10
|
+
deployed?: EntityProperty | null;
|
|
11
|
+
deployedError?: EntityProperty | null;
|
|
12
|
+
collectorReady?: EntityProperty | null;
|
|
13
|
+
deploymentCreated: EntityProperty;
|
|
14
|
+
expectedReplicas?: EntityProperty | null;
|
|
15
|
+
healthyReplicas?: EntityProperty | null;
|
|
16
|
+
failedReplicas?: EntityProperty | null;
|
|
17
|
+
failedReplicasReason?: EntityProperty | null;
|
|
18
|
+
}
|
|
19
|
+
interface NodeCollectorAnalyze {
|
|
20
|
+
enabled: EntityProperty;
|
|
21
|
+
collectorGroup: EntityProperty;
|
|
22
|
+
deployed?: EntityProperty | null;
|
|
23
|
+
deployedError?: EntityProperty | null;
|
|
24
|
+
collectorReady?: EntityProperty | null;
|
|
25
|
+
daemonSet: EntityProperty;
|
|
26
|
+
desiredNodes?: EntityProperty | null;
|
|
27
|
+
currentNodes?: EntityProperty | null;
|
|
28
|
+
updatedNodes?: EntityProperty | null;
|
|
29
|
+
availableNodes?: EntityProperty | null;
|
|
30
|
+
}
|
|
31
|
+
export interface DescribeOdigos {
|
|
32
|
+
odigosVersion: EntityProperty;
|
|
33
|
+
kubernetesVersion: EntityProperty;
|
|
34
|
+
tier: EntityProperty;
|
|
35
|
+
installationMethod: EntityProperty;
|
|
36
|
+
numberOfDestinations: number;
|
|
37
|
+
numberOfSources: number;
|
|
38
|
+
clusterCollector: ClusterCollectorAnalyze;
|
|
39
|
+
nodeCollector: NodeCollectorAnalyze;
|
|
40
|
+
isSettled: boolean;
|
|
41
|
+
hasErrors: boolean;
|
|
42
|
+
}
|
|
43
|
+
interface InstrumentationSourcesAnalyze {
|
|
44
|
+
instrumented: EntityProperty;
|
|
45
|
+
workload?: EntityProperty | null;
|
|
46
|
+
namespace?: EntityProperty | null;
|
|
47
|
+
instrumentedText?: EntityProperty | null;
|
|
48
|
+
}
|
|
49
|
+
interface ContainerRuntimeInfoAnalyze {
|
|
50
|
+
containerName: EntityProperty;
|
|
51
|
+
language: EntityProperty;
|
|
52
|
+
runtimeVersion: EntityProperty;
|
|
53
|
+
envVars: EntityProperty[];
|
|
54
|
+
}
|
|
55
|
+
interface RuntimeInfoAnalyze {
|
|
56
|
+
generation?: EntityProperty;
|
|
57
|
+
containers: ContainerRuntimeInfoAnalyze[];
|
|
58
|
+
}
|
|
59
|
+
interface ContainerAgentConfigAnalyze {
|
|
60
|
+
containerName: EntityProperty;
|
|
61
|
+
agentEnabled: EntityProperty;
|
|
62
|
+
reason?: EntityProperty | null;
|
|
63
|
+
message?: EntityProperty | null;
|
|
64
|
+
otelDistroName?: EntityProperty | null;
|
|
65
|
+
}
|
|
66
|
+
interface OtelAgentsAnalyze {
|
|
67
|
+
created: EntityProperty;
|
|
68
|
+
createTime?: EntityProperty | null;
|
|
69
|
+
containers: ContainerAgentConfigAnalyze[];
|
|
70
|
+
}
|
|
71
|
+
interface InstrumentationInstanceAnalyze {
|
|
72
|
+
healthy: EntityProperty;
|
|
73
|
+
message?: EntityProperty | null;
|
|
74
|
+
identifyingAttributes?: EntityProperty[];
|
|
75
|
+
}
|
|
76
|
+
interface PodContainerAnalyze {
|
|
77
|
+
containerName: EntityProperty;
|
|
78
|
+
actualDevices: EntityProperty;
|
|
79
|
+
instrumentationInstances: InstrumentationInstanceAnalyze[];
|
|
80
|
+
}
|
|
81
|
+
interface PodAnalyze {
|
|
82
|
+
podName: EntityProperty;
|
|
83
|
+
nodeName: EntityProperty;
|
|
84
|
+
phase: EntityProperty;
|
|
85
|
+
containers: PodContainerAnalyze[];
|
|
86
|
+
}
|
|
87
|
+
export interface DescribeSource {
|
|
88
|
+
name: EntityProperty;
|
|
89
|
+
kind: EntityProperty;
|
|
90
|
+
namespace: EntityProperty;
|
|
91
|
+
sourceObjects?: InstrumentationSourcesAnalyze | null;
|
|
92
|
+
runtimeInfo?: RuntimeInfoAnalyze | null;
|
|
93
|
+
otelAgents?: OtelAgentsAnalyze | null;
|
|
94
|
+
totalPods: number;
|
|
95
|
+
podsPhasesCount: string;
|
|
96
|
+
pods: PodAnalyze[];
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Comparison } from '@/functions';
|
|
2
|
+
import type { DropdownProps } from '@/components';
|
|
3
|
+
import { type Condition, FIELD_TYPES } from '../common';
|
|
4
|
+
export interface Destination {
|
|
5
|
+
id: string;
|
|
6
|
+
name: string;
|
|
7
|
+
exportedSignals: {
|
|
8
|
+
traces: boolean;
|
|
9
|
+
metrics: boolean;
|
|
10
|
+
logs: boolean;
|
|
11
|
+
};
|
|
12
|
+
fields: string;
|
|
13
|
+
conditions: Condition[] | null;
|
|
14
|
+
destinationType: {
|
|
15
|
+
type: string;
|
|
16
|
+
displayName: string;
|
|
17
|
+
imageUrl: string;
|
|
18
|
+
supportedSignals: {
|
|
19
|
+
logs: {
|
|
20
|
+
supported: boolean;
|
|
21
|
+
};
|
|
22
|
+
metrics: {
|
|
23
|
+
supported: boolean;
|
|
24
|
+
};
|
|
25
|
+
traces: {
|
|
26
|
+
supported: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
type YamlCompareArr = [string, Comparison, string] | ['true' | 'false'];
|
|
32
|
+
export interface DestinationYamlProperties {
|
|
33
|
+
name: string;
|
|
34
|
+
componentType: FIELD_TYPES;
|
|
35
|
+
componentProperties?: string;
|
|
36
|
+
displayName?: string;
|
|
37
|
+
secret?: boolean;
|
|
38
|
+
initialValue?: string;
|
|
39
|
+
renderCondition?: YamlCompareArr;
|
|
40
|
+
hideFromReadData?: YamlCompareArr;
|
|
41
|
+
customReadDataLabels?: {
|
|
42
|
+
condition: string;
|
|
43
|
+
title: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}[];
|
|
46
|
+
}
|
|
47
|
+
export interface DestinationOption {
|
|
48
|
+
type: Destination['destinationType']['type'];
|
|
49
|
+
displayName: Destination['destinationType']['displayName'];
|
|
50
|
+
imageUrl: Destination['destinationType']['imageUrl'];
|
|
51
|
+
supportedSignals: Destination['destinationType']['supportedSignals'];
|
|
52
|
+
testConnectionSupported: boolean;
|
|
53
|
+
fields: DestinationYamlProperties[];
|
|
54
|
+
}
|
|
55
|
+
export type DestinationCategories = {
|
|
56
|
+
name: 'managed' | 'self hosted';
|
|
57
|
+
description: string;
|
|
58
|
+
items: DestinationOption[];
|
|
59
|
+
}[];
|
|
60
|
+
export interface DestinationFormData {
|
|
61
|
+
type: Destination['destinationType']['type'];
|
|
62
|
+
name: Destination['destinationType']['displayName'];
|
|
63
|
+
exportedSignals: Destination['exportedSignals'];
|
|
64
|
+
fields: {
|
|
65
|
+
key: string;
|
|
66
|
+
value: string;
|
|
67
|
+
}[];
|
|
68
|
+
}
|
|
69
|
+
export interface DestinationDynamicField {
|
|
70
|
+
name: DestinationYamlProperties['name'];
|
|
71
|
+
componentType: DestinationYamlProperties['componentType'];
|
|
72
|
+
title: DestinationYamlProperties['displayName'];
|
|
73
|
+
value: DestinationYamlProperties['initialValue'];
|
|
74
|
+
renderCondition?: DestinationYamlProperties['renderCondition'];
|
|
75
|
+
type?: string;
|
|
76
|
+
required?: boolean;
|
|
77
|
+
placeholder?: string;
|
|
78
|
+
options?: DropdownProps['options'];
|
|
79
|
+
}
|
|
80
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './actions';
|
|
2
|
+
export * from './common';
|
|
3
|
+
export * from './compute-platform';
|
|
4
|
+
export * from './data-flow';
|
|
5
|
+
export * from './describe';
|
|
6
|
+
export * from './destinations';
|
|
7
|
+
export * from './instrumentation-rules';
|
|
8
|
+
export * from './metrics';
|
|
9
|
+
export * from './namespaces';
|
|
10
|
+
export * from './signals';
|
|
11
|
+
export * from './sources';
|
|
12
|
+
export * from './tokens';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { SVG } from '../common';
|
|
2
|
+
import type { WorkloadId } from '../sources';
|
|
3
|
+
export declare enum INSTRUMENTATION_RULE_TYPE {
|
|
4
|
+
PAYLOAD_COLLECTION = "PayloadCollection",
|
|
5
|
+
CODE_ATTRIBUTES = "CodeAttributes",
|
|
6
|
+
UNKNOWN_TYPE = "UnknownType"
|
|
7
|
+
}
|
|
8
|
+
export interface InstrumentationRule {
|
|
9
|
+
ruleId: string;
|
|
10
|
+
ruleName: string;
|
|
11
|
+
type: INSTRUMENTATION_RULE_TYPE;
|
|
12
|
+
notes: string;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
mutable: boolean;
|
|
15
|
+
profileName: string;
|
|
16
|
+
workloads?: WorkloadId[] | null;
|
|
17
|
+
instrumentationLibraries?: {
|
|
18
|
+
language: string;
|
|
19
|
+
library: string;
|
|
20
|
+
}[] | null;
|
|
21
|
+
payloadCollection?: PayloadCollection | null;
|
|
22
|
+
codeAttributes?: CodeAttributes | null;
|
|
23
|
+
}
|
|
24
|
+
interface HttpPayloadCollection {
|
|
25
|
+
mimeTypes?: string[] | null;
|
|
26
|
+
maxPayloadLength?: number | null;
|
|
27
|
+
dropPartialPayloads?: boolean | null;
|
|
28
|
+
}
|
|
29
|
+
interface DbQueryPayloadCollection {
|
|
30
|
+
maxPayloadLength?: number | null;
|
|
31
|
+
dropPartialPayloads?: boolean | null;
|
|
32
|
+
}
|
|
33
|
+
interface MessagingPayloadCollection {
|
|
34
|
+
maxPayloadLength?: number | null;
|
|
35
|
+
dropPartialPayloads?: boolean | null;
|
|
36
|
+
}
|
|
37
|
+
export declare enum PAYLOAD_COLLECTION_KEY_TYPES {
|
|
38
|
+
HTTP_REQUEST = "httpRequest",
|
|
39
|
+
HTTP_RESPONSE = "httpResponse",
|
|
40
|
+
DB_QUERY = "dbQuery",
|
|
41
|
+
MESSAGING = "messaging"
|
|
42
|
+
}
|
|
43
|
+
export interface PayloadCollection {
|
|
44
|
+
[PAYLOAD_COLLECTION_KEY_TYPES.HTTP_REQUEST]?: HttpPayloadCollection | null;
|
|
45
|
+
[PAYLOAD_COLLECTION_KEY_TYPES.HTTP_RESPONSE]?: HttpPayloadCollection | null;
|
|
46
|
+
[PAYLOAD_COLLECTION_KEY_TYPES.DB_QUERY]?: DbQueryPayloadCollection | null;
|
|
47
|
+
[PAYLOAD_COLLECTION_KEY_TYPES.MESSAGING]?: MessagingPayloadCollection | null;
|
|
48
|
+
}
|
|
49
|
+
export declare enum CODE_ATTRIBUTES_KEY_TYPES {
|
|
50
|
+
COLUMN = "column",
|
|
51
|
+
FILE_PATH = "filePath",
|
|
52
|
+
FUNCTION = "function",
|
|
53
|
+
LINE_NUMBER = "lineNumber",
|
|
54
|
+
NAMESPACE = "namespace",
|
|
55
|
+
STACKTRACE = "stacktrace"
|
|
56
|
+
}
|
|
57
|
+
export interface CodeAttributes {
|
|
58
|
+
[CODE_ATTRIBUTES_KEY_TYPES.COLUMN]?: boolean | null;
|
|
59
|
+
[CODE_ATTRIBUTES_KEY_TYPES.FILE_PATH]?: boolean | null;
|
|
60
|
+
[CODE_ATTRIBUTES_KEY_TYPES.FUNCTION]?: boolean | null;
|
|
61
|
+
[CODE_ATTRIBUTES_KEY_TYPES.LINE_NUMBER]?: boolean | null;
|
|
62
|
+
[CODE_ATTRIBUTES_KEY_TYPES.NAMESPACE]?: boolean | null;
|
|
63
|
+
[CODE_ATTRIBUTES_KEY_TYPES.STACKTRACE]?: boolean | null;
|
|
64
|
+
}
|
|
65
|
+
export interface InstrumentationRuleOption {
|
|
66
|
+
type: INSTRUMENTATION_RULE_TYPE;
|
|
67
|
+
icon: SVG;
|
|
68
|
+
label: string;
|
|
69
|
+
description?: string;
|
|
70
|
+
docsEndpoint?: string;
|
|
71
|
+
docsDescription?: string;
|
|
72
|
+
}
|
|
73
|
+
export type InstrumentationRuleFormData = Omit<InstrumentationRule, 'ruleId' | 'type' | 'mutable' | 'profileName'>;
|
|
74
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type Condition, PROGRAMMING_LANGUAGES } from '../common';
|
|
2
|
+
export declare enum K8S_RESOURCE_KIND {
|
|
3
|
+
DEPLOYMENT = "Deployment",
|
|
4
|
+
DAEMON_SET = "DaemonSet",
|
|
5
|
+
STATEFUL_SET = "StatefulSet"
|
|
6
|
+
}
|
|
7
|
+
export interface WorkloadId {
|
|
8
|
+
namespace: string;
|
|
9
|
+
name: string;
|
|
10
|
+
kind: K8S_RESOURCE_KIND | '';
|
|
11
|
+
}
|
|
12
|
+
export interface Source extends WorkloadId {
|
|
13
|
+
selected: boolean;
|
|
14
|
+
otelServiceName: string;
|
|
15
|
+
numberOfInstances?: number;
|
|
16
|
+
containers: {
|
|
17
|
+
containerName: string;
|
|
18
|
+
language: PROGRAMMING_LANGUAGES;
|
|
19
|
+
runtimeVersion: string;
|
|
20
|
+
instrumented: boolean;
|
|
21
|
+
instrumentationMessage: string;
|
|
22
|
+
otelDistroName: string | null;
|
|
23
|
+
}[] | null;
|
|
24
|
+
conditions: Condition[] | null;
|
|
25
|
+
}
|
|
26
|
+
export interface SourceFormData {
|
|
27
|
+
otelServiceName: string;
|
|
28
|
+
}
|
|
29
|
+
export type PersistSources = (selectAppsList: {
|
|
30
|
+
[namespace: string]: Pick<Source, 'name' | 'kind' | 'selected'>[];
|
|
31
|
+
}, futureSelectAppsList: {
|
|
32
|
+
[namespace: string]: boolean;
|
|
33
|
+
}) => void;
|
package/package.json
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@odigos/ui-kit",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"author": "Odigos",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/odigos-io/ui-kit.git"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"dev": "storybook dev -p 6006",
|
|
11
|
+
"build": "rollup -c --bundleConfigAsCjs"
|
|
12
|
+
},
|
|
13
|
+
"release": {
|
|
14
|
+
"branches": [
|
|
15
|
+
"main"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"main": "lib/index.js",
|
|
22
|
+
"module": "lib/index.esm.js",
|
|
23
|
+
"types": "lib/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./lib/index.d.ts",
|
|
27
|
+
"import": "./lib/index.js",
|
|
28
|
+
"require": "./lib/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./theme": {
|
|
31
|
+
"types": "./lib/theme/index.d.ts",
|
|
32
|
+
"import": "./lib/theme/index.js",
|
|
33
|
+
"require": "./lib/theme/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./types": {
|
|
36
|
+
"types": "./lib/types/index.d.ts",
|
|
37
|
+
"import": "./lib/types/index.js",
|
|
38
|
+
"require": "./lib/types/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./icons": {
|
|
41
|
+
"types": "./lib/icons/index.d.ts",
|
|
42
|
+
"import": "./lib/icons/index.js",
|
|
43
|
+
"require": "./lib/icons/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./components": {
|
|
46
|
+
"types": "./lib/components/index.d.ts",
|
|
47
|
+
"import": "./lib/components/index.js",
|
|
48
|
+
"require": "./lib/components/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./containers": {
|
|
51
|
+
"types": "./lib/containers/index.d.ts",
|
|
52
|
+
"import": "./lib/containers/index.js",
|
|
53
|
+
"require": "./lib/containers/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./store": {
|
|
56
|
+
"types": "./lib/store/index.d.ts",
|
|
57
|
+
"import": "./lib/store/index.js",
|
|
58
|
+
"require": "./lib/store/index.js"
|
|
59
|
+
},
|
|
60
|
+
"./hooks": {
|
|
61
|
+
"types": "./lib/hooks/index.d.ts",
|
|
62
|
+
"import": "./lib/hooks/index.js",
|
|
63
|
+
"require": "./lib/hooks/index.js"
|
|
64
|
+
},
|
|
65
|
+
"./functions": {
|
|
66
|
+
"types": "./lib/functions/index.d.ts",
|
|
67
|
+
"import": "./lib/functions/index.js",
|
|
68
|
+
"require": "./lib/functions/index.js"
|
|
69
|
+
},
|
|
70
|
+
"./constants": {
|
|
71
|
+
"types": "./lib/constants/index.d.ts",
|
|
72
|
+
"import": "./lib/constants/index.js",
|
|
73
|
+
"require": "./lib/constants/index.js"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@xyflow/react": "^12.4.4",
|
|
78
|
+
"javascript-time-ago": "^2.5.11",
|
|
79
|
+
"prism-react-renderer": "^2.4.1",
|
|
80
|
+
"react": "^19.0.0",
|
|
81
|
+
"react-dom": "^19.0.0",
|
|
82
|
+
"react-lottie": "^1.2.10",
|
|
83
|
+
"styled-components": "^6.1.15",
|
|
84
|
+
"zustand": "^5.0.3"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@xyflow/react": "^12.4.4",
|
|
88
|
+
"javascript-time-ago": "^2.5.11",
|
|
89
|
+
"prism-react-renderer": "^2.4.1",
|
|
90
|
+
"react": "^19.0.0",
|
|
91
|
+
"react-dom": "^19.0.0",
|
|
92
|
+
"react-lottie": "^1.2.10",
|
|
93
|
+
"styled-components": "^6.1.15",
|
|
94
|
+
"zustand": "^5.0.3"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@babel/core": "^7.26.10",
|
|
98
|
+
"@babel/preset-env": "^7.26.9",
|
|
99
|
+
"@babel/preset-react": "^7.26.3",
|
|
100
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
101
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
102
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
103
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
104
|
+
"@storybook/addon-essentials": "^8.6.4",
|
|
105
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
106
|
+
"@storybook/react": "^8.6.4",
|
|
107
|
+
"@storybook/react-webpack5": "^8.6.4",
|
|
108
|
+
"@types/node": "^22.13.10",
|
|
109
|
+
"@types/react": "^19.0.10",
|
|
110
|
+
"@types/react-dom": "^19.0.4",
|
|
111
|
+
"@types/react-lottie": "^1.2.10",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
113
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
114
|
+
"babel-loader": "^10.0.0",
|
|
115
|
+
"babel-plugin-styled-components": "^2.1.4",
|
|
116
|
+
"eslint": "^9.22.0",
|
|
117
|
+
"eslint-plugin-react": "^7.37.4",
|
|
118
|
+
"eslint-plugin-storybook": "^0.11.4",
|
|
119
|
+
"html-webpack-plugin": "^5.6.3",
|
|
120
|
+
"postcss": "^8.5.3",
|
|
121
|
+
"rollup": "^4.35.0",
|
|
122
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
123
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
124
|
+
"storybook": "^8.6.4",
|
|
125
|
+
"typescript": "^5.8.2"
|
|
126
|
+
}
|
|
127
|
+
}
|