@prorobotech/openapi-k8s-toolkit 1.2.0-alpha.9 → 1.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mockServiceWorker.js +349 -0
- package/dist/openapi-k8s-toolkit.es.js +31401 -696
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +31725 -1001
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/api/bff/search/getKinds.d.ts +1 -1
- package/dist/types/components/atoms/ContentCard/ContentCard.styled.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/helpers.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/context.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/getSortedPropertyKeys.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/hiddenExpanded.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/prefills.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.test.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/BlackholeFormProvider.test.d.ts +2 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.test.d.ts +8 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.d.ts +2 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/Events/reducer.test.d.ts +1 -0
- package/dist/types/components/molecules/Events/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/utils.test.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/NodeTerminal.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/XTerminal.d.ts +5 -3
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/types.d.ts +15 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminalContainer/XTerminalContainer.d.ts +11 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminalContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/styled.d.ts +272 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/types.d.ts +12 -0
- package/dist/types/components/molecules/Terminals/VMVNC/VMVNC.d.ts +9 -0
- package/dist/types/components/molecules/Terminals/VMVNC/hooks/useVNCClient.d.ts +29 -0
- package/dist/types/components/molecules/Terminals/VMVNC/hooks/useVNCClient.test.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/VMVNC/index.d.ts +2 -0
- package/dist/types/components/molecules/Terminals/VMVNC/molecules/VMVNCToolbar/VMVNCToolbar.d.ts +17 -0
- package/dist/types/components/molecules/Terminals/VMVNC/molecules/VMVNCToolbar/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/VMVNC/molecules/VMVNCToolbar/styled.d.ts +1364 -0
- package/dist/types/components/molecules/Terminals/VMVNC/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/VMVNC/styled.d.ts +834 -0
- package/dist/types/components/molecules/Terminals/index.d.ts +2 -0
- package/dist/types/components/molecules/index.d.ts +2 -2
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/guard.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/PrometheusGraph.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/atoms/WidthHeightDiv/WidthHeightDiv.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/atoms/WidthHeightDiv/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/atoms/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/helpers.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/index.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/multi/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/multi/usePromMatrixToLineMulti.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/multi/usePromMatrixToLineMulti.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/single/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/single/usePromMatrixToLineSingle.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/single/usePromMatrixToLineSingle.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryScalar/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryScalar/usePromScalar.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryScalar/usePromScalar.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryVector/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryVector/usePromVector.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryVector/usePromVector.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/index.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaMulti/MatrixToAreaMulti.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaMulti/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaSingle/MatrixToAreaSingle.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaSingle/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaStacked/MatrixToAreaStacked.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaStacked/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineMulti/MatrixToLineMulti.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineMulti/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineSingle/MatrixToLineSingle.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineSingle/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToReducedBar/MatrixToReducedBar.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToReducedBar/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToTableRows/MatrixToTableRows.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToTableRows/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/index.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToGauge/ScalarToGauge.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToGauge/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToStat/ScalarToStat.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToStat/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarGauge/VectorToBarGauge.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarGauge/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarHorizontal/VectorToBarHorizontal.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarHorizontal/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarVertical/VectorToBarVertical.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarVertical/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToGaugeRadial/VectorToGaugeRadial.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToGaugeRadial/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToPie/VectorToPie.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToPie/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToTableRows/VectorToTableRows.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToTableRows/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/index.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/types/chartsProps.d.ts +48 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/types/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/types/responses.d.ts +27 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/{prometheus.d.ts → buildPrometheusRangeParams/buildPrometheusRangeParams.d.ts} +2 -2
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/buildPrometheusRangeParams/buildPrometheusRangeParams.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/buildPrometheusRangeParams/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/formatters/formatBytes.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/formatters/formatTimestamp.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/formatters/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/index.d.ts +9 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/index.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toAreaStacked/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toAreaStacked/matrixToAreaStackedAdapter.d.ts +14 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toAreaStacked/matrixToAreaStackedAdapter.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toLine/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toLine/matrixToLineAdapter.d.ts +12 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toLine/matrixToLineAdapter.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toReducedVector/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toReducedVector/matrixToReducedVectorAdapter.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toReducedVector/matrixToReducedVectorAdapter.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toTableRows/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toTableRows/matrixToTableRowsAdapter.d.ts +12 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toTableRows/matrixToTableRowsAdapter.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/index.d.ts +4 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toGauge/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toGauge/scalarToGaugeAdapter.d.ts +15 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toGauge/scalarToGaugeAdapter.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toStat/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toStat/scalarToStatAdapter.d.ts +11 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toStat/scalarToStatAdapter.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/helpers/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/helpers/pickSeriesId.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/helpers/pickSeriesId.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/index.d.ts +10 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/prometheusVectorUtils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBar/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBar/vectorToBarAdapter.d.ts +18 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBarGauge/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBarGauge/vectorToBarGaugeAdapter.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toGaugeRadial/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toGaugeRadial/vectorToGaugeRadialAdapter.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toPie/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toPie/vectorToPieAdapter.d.ts +7 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toTableRows/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toTableRows/vectorToTableRowsAdapter.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/VMVNC/VMVNC.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/VMVNC/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/utils.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +31 -0
- package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/factoryConfigProvider/factoryConfigProvider.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/factoryConfigProvider/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/{hybridDataProvider.d.ts → providers/hybridDataProvider/hybridDataProvider.d.ts} +1 -1
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/hybridDataProvider/hybridDataProvider.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/hybridDataProvider/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiK8sProvider/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/{multiK8sProvider.d.ts → providers/multiK8sProvider/multiK8sProvider.d.ts} +1 -1
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiK8sProvider/multiK8sProvider.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiQueryProvider/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiQueryProvider/multiQueryProvider.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/partsOfUrlContext/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/partsOfUrlContext/partsOfUrlContext.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/themeContext/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/providers/themeContext/themeContext.test.d.ts +1 -0
- package/dist/types/hooks/useApiResource.d.ts +1 -0
- package/dist/types/hooks/useBuiltinResource.d.ts +1 -0
- package/dist/types/hooks/useCrdResource.d.ts +1 -0
- package/dist/types/hooks/useK8sSmartResource/useK8sSmartResource.test.d.ts +2 -0
- package/dist/types/hooks/useK8sSmartResource/useK8sSmartResourceWithoutKinds.test.d.ts +2 -0
- package/dist/types/hooks/useK8sSmartResource/useManyK8sSmartResource.test.d.ts +2 -0
- package/dist/types/hooks/useK8sSmartResource/useSmartResourceParams.test.d.ts +2 -0
- package/dist/types/hooks/useKinds.d.ts +8 -0
- package/dist/types/hooks/useListThenWatch/reducer.test.d.ts +1 -0
- package/dist/types/hooks/useListThenWatch/useInfiniteSentinel.test.d.ts +2 -0
- package/dist/types/hooks/useListThenWatch/useListWatch.test.d.ts +2 -0
- package/dist/types/hooks/useListThenWatch/utils.test.d.ts +1 -0
- package/dist/types/hooks/useResourceScope/useResourceScope.test.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/localTypes/k8s.d.ts +1 -0
- package/dist/types/utils/converterBytes/converterBytes.d.ts +3 -0
- package/dist/types/utils/converterDates/converterDates.d.ts +33 -0
- package/dist/types/utils/converterDates/converterDates.test.d.ts +1 -0
- package/dist/types/utils/converterDates/index.d.ts +2 -0
- package/dist/types/utils/createContextFactory/createContextFactory.test.d.ts +2 -0
- package/dist/types/utils/deepMerge/deepMerge.test.d.ts +1 -0
- package/dist/types/utils/filterSelectOptions/filterSelectOptions.test.d.ts +1 -0
- package/dist/types/utils/getAllPathsFromObj/getAllPathsFromObj.test.d.ts +1 -0
- package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.test.d.ts +2 -0
- package/dist/types/utils/getPrefixSubArrays/getPrefixSubArrays.test.d.ts +1 -0
- package/dist/types/utils/getResourceLink/getResourceLink.test.d.ts +1 -0
- package/dist/types/utils/getSortedKinds/getSortedKinds.test.d.ts +1 -0
- package/dist/types/utils/getSortedKindsAll/getSortedKindsAll.test.d.ts +1 -0
- package/dist/types/utils/getStringByName/getStringByName.test.d.ts +1 -0
- package/dist/types/utils/getUppercase/getUppercase.test.d.ts +1 -0
- package/dist/types/utils/groupsToTreeData/groupsToTreeData.test.d.ts +1 -0
- package/dist/types/utils/hslFromString/hslFromString.test.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/isFlatObject/isFlatObject.test.d.ts +1 -0
- package/dist/types/utils/kindByGvr/kindByGvr.test.d.ts +1 -0
- package/dist/types/utils/namespacedByGvr/namespacedByGvr.test.d.ts +1 -0
- package/dist/types/utils/nestedStringsArrayInclude/nestedStringsArrayInclude.test.d.ts +1 -0
- package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.test.d.ts +1 -0
- package/dist/types/utils/parseForQuotaValues/parseForQuotaValues.test.d.ts +1 -0
- package/dist/types/utils/pluralByKind/pluralByKind.test.d.ts +1 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/prepareUrlsToFetchForDynamicRenderer.test.d.ts +1 -0
- package/dist/types/utils/tableLocations/tableLocations.test.d.ts +1 -0
- package/package.json +11 -2
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/MemoryChart.d.ts +0 -6
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/MemoryChartMulti.d.ts +0 -6
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/usePrometheusQueryRange.d.ts +0 -7
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/usePrometheusQueryRangeMulti.d.ts +0 -7
- package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/prometheusAdapter.d.ts +0 -21
- /package/dist/types/components/{organisms/DynamicComponents/molecules/PrometheusGraph/utils/prometheus.test.d.ts → molecules/BlackholeForm/atoms/HiddenContainer/utils.test.d.ts} +0 -0
- /package/dist/types/components/organisms/DynamicRendererWithProviders/{factoryConfigProvider.d.ts → providers/factoryConfigProvider/factoryConfigProvider.d.ts} +0 -0
- /package/dist/types/components/organisms/DynamicRendererWithProviders/{multiQueryProvider.d.ts → providers/multiQueryProvider/multiQueryProvider.d.ts} +0 -0
- /package/dist/types/components/organisms/DynamicRendererWithProviders/{partsOfUrlContext.d.ts → providers/partsOfUrlContext/partsOfUrlContext.d.ts} +0 -0
- /package/dist/types/components/organisms/DynamicRendererWithProviders/{themeContext.d.ts → providers/themeContext/themeContext.d.ts} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TPrometheusScalarResponse } from '../../../types';
|
|
2
|
+
export type TStatItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
value: number;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* scalar -> stat (single number)
|
|
8
|
+
*/
|
|
9
|
+
export declare const scalarToStat: (resp: TPrometheusScalarResponse, opts?: {
|
|
10
|
+
id?: string;
|
|
11
|
+
}) => TStatItem | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { pickSeriesId } from './pickSeriesId';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pickSeriesId: (metric: Record<string, string>, idx: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { vectorToBarVertical, vectorToBarHorizontal } from './toBar';
|
|
2
|
+
export type { TBarItem } from './toBar';
|
|
3
|
+
export { vectorToBarGauge } from './toBarGauge';
|
|
4
|
+
export type { TBarGaugeItem } from './toBarGauge';
|
|
5
|
+
export { vectorToGaugeRadial } from './toGaugeRadial';
|
|
6
|
+
export type { TRadialGaugeValue } from './toGaugeRadial';
|
|
7
|
+
export { vectorToPie } from './toPie';
|
|
8
|
+
export type { TPieSlice } from './toPie';
|
|
9
|
+
export { vectorToTableRows } from './toTableRows';
|
|
10
|
+
export type { TTableRow } from './toTableRows';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TPrometheusVectorResponse } from '../../../types';
|
|
2
|
+
export type TBarItem = {
|
|
3
|
+
id: string;
|
|
4
|
+
metric: Record<string, string>;
|
|
5
|
+
timestamp?: number;
|
|
6
|
+
value: number;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Vertical bar: typically X = id (category), Y = value.
|
|
10
|
+
* Return: [{ id, value, metric, timestamp? }, ...]
|
|
11
|
+
*/
|
|
12
|
+
export declare const vectorToBarVertical: (resp: TPrometheusVectorResponse) => TBarItem[];
|
|
13
|
+
/**
|
|
14
|
+
* Horizontal bar: often Y = id (category), X = value.
|
|
15
|
+
* Data shape can be identical; the chart config swaps axes.
|
|
16
|
+
* Return: [{ id, value, metric, timestamp? }, ...]
|
|
17
|
+
*/
|
|
18
|
+
export declare const vectorToBarHorizontal: (resp: TPrometheusVectorResponse) => TBarItem[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TPrometheusVectorResponse } from '../../../types';
|
|
2
|
+
export type TRadialGaugeValue = {
|
|
3
|
+
id: string;
|
|
4
|
+
value: number;
|
|
5
|
+
metric: Record<string, string>;
|
|
6
|
+
};
|
|
7
|
+
export declare const vectorToGaugeRadial: (resp: TPrometheusVectorResponse) => TRadialGaugeValue | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TPrometheusVectorResponse } from '../../../types';
|
|
2
|
+
export type TTableRow = {
|
|
3
|
+
id: string;
|
|
4
|
+
value: number;
|
|
5
|
+
timestamp: number;
|
|
6
|
+
metric: Record<string, string>;
|
|
7
|
+
};
|
|
8
|
+
export declare const vectorToTableRows: (resp: TPrometheusVectorResponse) => TTableRow[];
|
package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/utils.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/utils.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { VMVNC } from './VMVNC';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,6 +6,7 @@ import type { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
|
6
6
|
import type { TManageableSidebarProviderProps, TEnrichedTableProviderProps } from '../../molecules';
|
|
7
7
|
import type { TUnitInput } from '../../../localTypes/factories/converterBytes';
|
|
8
8
|
import type { TCoreUnitInput } from '../../../localTypes/factories/converterCores';
|
|
9
|
+
import type { TDateFormatOptions } from '../../../utils/converterDates';
|
|
9
10
|
export type TDynamicComponentsAppTypeMap = {
|
|
10
11
|
DefaultDiv: {
|
|
11
12
|
id: number | string;
|
|
@@ -119,6 +120,7 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
119
120
|
pathToLabels: string | string[];
|
|
120
121
|
};
|
|
121
122
|
fieldSelector?: Record<string, string>;
|
|
123
|
+
pathToKey?: string;
|
|
122
124
|
} & Omit<TEnrichedTableProviderProps, 'tableMappingsReplaceValues' | 'withoutControls' | 'cluster' | 'theme' | 'tableProps' | 'dataItems' | 'dataForControlsInternal'>;
|
|
123
125
|
PodTerminal: {
|
|
124
126
|
id: number | string;
|
|
@@ -132,6 +134,7 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
132
134
|
cluster: string;
|
|
133
135
|
nodeName: string;
|
|
134
136
|
substractHeight?: number;
|
|
137
|
+
listPodTemplatesNs: string;
|
|
135
138
|
};
|
|
136
139
|
PodLogs: {
|
|
137
140
|
id: number | string;
|
|
@@ -157,6 +160,8 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
157
160
|
VisibilityContainer: {
|
|
158
161
|
id: number | string;
|
|
159
162
|
value: string;
|
|
163
|
+
criteria?: 'equals' | 'notEquals' | 'exists' | 'notExists';
|
|
164
|
+
valueToCompare?: string | string[];
|
|
160
165
|
};
|
|
161
166
|
ArrayOfObjectsToKeyValues: {
|
|
162
167
|
id: number | string;
|
|
@@ -422,4 +427,30 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
422
427
|
renderedValue: string | number;
|
|
423
428
|
}[];
|
|
424
429
|
};
|
|
430
|
+
VMVNC: {
|
|
431
|
+
id: number | string;
|
|
432
|
+
cluster?: string;
|
|
433
|
+
namespace?: string;
|
|
434
|
+
vmName?: string;
|
|
435
|
+
forcedFullWsPath?: string;
|
|
436
|
+
substractHeight?: number;
|
|
437
|
+
};
|
|
438
|
+
PrometheusGraph: {
|
|
439
|
+
id: number | string;
|
|
440
|
+
type: 'MatrixToAreaMulti' | 'MatrixToAreaSingle' | 'MatrixToAreaStacked' | 'MatrixToLineMulti' | 'MatrixToLineSingle' | 'MatrixToReducedBar' | 'MatrixToTableRows' | 'VectorToBarGauge' | 'VectorToBarHorizontal' | 'VectorToBarVertical' | 'VectorToGaugeRadial' | 'VectorToPie' | 'VectorToTableRows' | 'ScalarToGauge' | 'ScalarToStat';
|
|
441
|
+
width?: CSSProperties['width'];
|
|
442
|
+
height?: CSSProperties['height'];
|
|
443
|
+
baseUrl?: string;
|
|
444
|
+
query?: string;
|
|
445
|
+
refetchInterval?: number | false;
|
|
446
|
+
range?: string;
|
|
447
|
+
title?: string;
|
|
448
|
+
min?: number;
|
|
449
|
+
max?: number;
|
|
450
|
+
mode?: 'last' | 'avg' | 'sum' | 'max' | 'min';
|
|
451
|
+
topN?: number;
|
|
452
|
+
formatter: 'bytes' | 'cores' | 'unit' | 'none';
|
|
453
|
+
unit?: string;
|
|
454
|
+
dateFormatter?: TDateFormatOptions;
|
|
455
|
+
};
|
|
425
456
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FactoryConfigContextProvider, useFactoryConfig } from './factoryConfigProvider';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
import { AxiosError } from 'axios';
|
|
3
|
-
import { TUseK8sSmartResourceParams } from '
|
|
3
|
+
import { TUseK8sSmartResourceParams } from '../../../../../hooks/useK8sSmartResource';
|
|
4
4
|
type DataMap = Record<string, unknown>;
|
|
5
5
|
type MultiQueryContextValue = {
|
|
6
6
|
data: DataMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MultiQueryProvider, useMultiQuery } from './hybridDataProvider';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
2
|
import type { AxiosError } from 'axios';
|
|
3
|
-
import { useK8sSmartResource } from '
|
|
3
|
+
import { useK8sSmartResource } from '../../../../../hooks/useK8sSmartResource';
|
|
4
4
|
/** Reuse your hook's param type */
|
|
5
5
|
export type UseK8sSmartResourceParams<T> = Parameters<typeof useK8sSmartResource<T>>[0];
|
|
6
6
|
type DataMap = Record<string, unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MultiQueryProvider, useMultiQuery } from './multiQueryProvider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PartsOfUrlProvider, usePartsOfUrl } from './partsOfUrlContext';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ThemeProvider, useTheme } from './themeContext';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -27,6 +27,7 @@ export declare const useApiResourceSingle: ({ cluster, namespace, apiGroup, apiV
|
|
|
27
27
|
uid?: string | undefined;
|
|
28
28
|
namespace?: string | undefined;
|
|
29
29
|
managedFields?: any;
|
|
30
|
+
resourceVersion?: number | undefined;
|
|
30
31
|
};
|
|
31
32
|
spec?: import("..").TJSON | undefined;
|
|
32
33
|
status?: any;
|
|
@@ -23,6 +23,7 @@ export declare const useBuiltinResourceSingle: ({ cluster, namespace, plural, na
|
|
|
23
23
|
uid?: string | undefined;
|
|
24
24
|
namespace?: string | undefined;
|
|
25
25
|
managedFields?: any;
|
|
26
|
+
resourceVersion?: number | undefined;
|
|
26
27
|
};
|
|
27
28
|
spec?: import("..").TJSON | undefined;
|
|
28
29
|
status?: any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const useKinds: ({ cluster, refetchInterval, isEnabled, }: {
|
|
2
|
+
cluster: string;
|
|
3
|
+
refetchInterval?: number | false | undefined;
|
|
4
|
+
isEnabled?: boolean | undefined;
|
|
5
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
6
|
+
kindIndex: import("..").TKindIndex;
|
|
7
|
+
kindsWithVersion: import("..").TKindWithVersion[];
|
|
8
|
+
}, Error>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export type { TConnStatus, TUseListWatchQuery, TUseListWatchOptions, TUseListWat
|
|
|
28
28
|
export { useK8sVerbs } from './hooks/useK8sVerbs';
|
|
29
29
|
export { useK8sSmartResource, useManyK8sSmartResource, useSmartResourceParams } from './hooks/useK8sSmartResource';
|
|
30
30
|
export { useResourceScope } from './hooks/useResourceScope';
|
|
31
|
+
export { useKinds } from './hooks/useKinds';
|
|
31
32
|
export type { TRequestError } from './localTypes/api';
|
|
32
33
|
export type { TClusterList } from './localTypes/clusterList';
|
|
33
34
|
export type { TItemTypeMap, TRenderableItem, TRendererComponents, TFactoryDataK8s, TFactoryResponse, TFactoryResource, } from './localTypes/dynamicRender';
|
|
@@ -24,6 +24,9 @@ export declare const convertStorage: (value: number, from: TUnitInput, to: TUnit
|
|
|
24
24
|
* Try to parse a string like:
|
|
25
25
|
* "12312312Ki"
|
|
26
26
|
* " 12.5 GiB"
|
|
27
|
+
* " 12,5 GiB"
|
|
28
|
+
* "1,234.56 MB"
|
|
29
|
+
* "1.234,56 MB"
|
|
27
30
|
* "1000" (no unit -> unit undefined)
|
|
28
31
|
*/
|
|
29
32
|
export declare const parseValueWithUnit: (input: string) => {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type TDateFormatStyle = 'date' | 'time' | 'datetime' | 'timestamp' | 'full' | 'relative' | 'iso' | 'custom';
|
|
2
|
+
export type TDateInput = string | number | Date;
|
|
3
|
+
export type TDateFormatOptions = {
|
|
4
|
+
style?: TDateFormatStyle;
|
|
5
|
+
locale?: string;
|
|
6
|
+
timeZone?: string;
|
|
7
|
+
hour12?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Precision / verbosity toggles used by presets
|
|
10
|
+
*/
|
|
11
|
+
seconds?: boolean;
|
|
12
|
+
timeZoneName?: 'short' | 'long' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric';
|
|
13
|
+
/**
|
|
14
|
+
* For relative formatting
|
|
15
|
+
*/
|
|
16
|
+
relative?: {
|
|
17
|
+
unit?: Intl.RelativeTimeFormatUnit;
|
|
18
|
+
numeric?: 'always' | 'auto';
|
|
19
|
+
now?: TDateInput;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Only used when style === 'custom'
|
|
23
|
+
* Anything you pass here overrides the preset options.
|
|
24
|
+
*/
|
|
25
|
+
intl?: Intl.DateTimeFormatOptions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* formatLocalDate upgraded:
|
|
29
|
+
* - supports styles: date/time/datetime/timestamp/full/relative/iso/custom
|
|
30
|
+
* - accepts ISO string | Date | epoch ms
|
|
31
|
+
* - configurable locale/timeZone/seconds/hour12
|
|
32
|
+
*/
|
|
33
|
+
export declare const formatDateAuto: (input: TDateInput, options?: TDateFormatOptions) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -25,3 +25,4 @@ export { includesArray } from './nestedStringsArrayInclude';
|
|
|
25
25
|
export { getResourceLink, getNamespaceLink } from './getResourceLink';
|
|
26
26
|
export { convertBytes, formatBytesAuto, toBytes, convertStorage, parseValueWithUnit } from './converterBytes';
|
|
27
27
|
export { convertCores, formatCoresAuto, toCores, convertCompute, parseCoresWithUnit } from './converterCores';
|
|
28
|
+
export { formatDateAuto } from './converterDates';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prorobotech/openapi-k8s-toolkit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1-alpha.0",
|
|
4
4
|
"description": "ProRobotech OpenAPI k8s tools",
|
|
5
5
|
"main": "dist/openapi-k8s-toolkit.cjs.js",
|
|
6
6
|
"module": "dist/openapi-k8s-toolkit.es.js",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"@tanstack/react-query": "5.62.2",
|
|
38
38
|
"@tanstack/react-query-devtools": "5.62.2",
|
|
39
39
|
"antd": "5.26.4",
|
|
40
|
+
"novnc-next": "1.0.0",
|
|
40
41
|
"react": "18.3.1",
|
|
41
42
|
"react-dom": "18.3.1",
|
|
42
43
|
"react-router-dom": "^6.25.1"
|
|
@@ -94,6 +95,9 @@
|
|
|
94
95
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
95
96
|
"jest": "29.7.0",
|
|
96
97
|
"jest-environment-jsdom": "29.7.0",
|
|
98
|
+
"jest-styled-components": "^7.2.0",
|
|
99
|
+
"msw": "2.12.4",
|
|
100
|
+
"msw-storybook-addon": "2.0.6",
|
|
97
101
|
"postcss": "8.5.2",
|
|
98
102
|
"postcss-styled-syntax": "0.7.1",
|
|
99
103
|
"prettier": "3.0.2",
|
|
@@ -125,5 +129,10 @@
|
|
|
125
129
|
},
|
|
126
130
|
"keywords": [],
|
|
127
131
|
"author": "",
|
|
128
|
-
"license": "MIT"
|
|
132
|
+
"license": "MIT",
|
|
133
|
+
"msw": {
|
|
134
|
+
"workerDirectory": [
|
|
135
|
+
"public"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
129
138
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ChartPoint } from '../utils/prometheusAdapter';
|
|
2
|
-
export declare const usePrometheusQueryRange: ({ query, range, refetchInterval, enabled, }: {
|
|
3
|
-
query: string;
|
|
4
|
-
range?: string | undefined;
|
|
5
|
-
refetchInterval?: number | false | undefined;
|
|
6
|
-
enabled?: boolean | undefined;
|
|
7
|
-
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<ChartPoint[], Error>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RechartsSeries } from '../utils/prometheusAdapter';
|
|
2
|
-
export declare const usePrometheusQueryRangeMulti: ({ query, range, refetchInterval, enabled, }: {
|
|
3
|
-
query: string;
|
|
4
|
-
range?: string | undefined;
|
|
5
|
-
refetchInterval?: number | false | undefined;
|
|
6
|
-
enabled?: boolean | undefined;
|
|
7
|
-
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<RechartsSeries[], Error>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type PrometheusRangeResponse = {
|
|
2
|
-
status: 'success' | 'error';
|
|
3
|
-
data: {
|
|
4
|
-
resultType: 'matrix';
|
|
5
|
-
result: {
|
|
6
|
-
metric: Record<string, string>;
|
|
7
|
-
values: [number, string][];
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export type ChartPoint = {
|
|
12
|
-
timestamp: number;
|
|
13
|
-
value: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const prometheusToRechartsSingle: (resp: PrometheusRangeResponse) => ChartPoint[];
|
|
16
|
-
export type RechartsSeries = {
|
|
17
|
-
id: string;
|
|
18
|
-
metric: Record<string, string>;
|
|
19
|
-
data: ChartPoint[];
|
|
20
|
-
};
|
|
21
|
-
export declare const prometheusToRechartsMulti: (resp: PrometheusRangeResponse) => RechartsSeries[];
|
|
File without changes
|
|
File without changes
|