@prorobotech/openapi-k8s-toolkit 1.4.0-alpha.16 → 1.4.0-alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/{index-Cc-4YPOA.mjs → index-B50_esSW.mjs} +86 -15
  2. package/dist/index-B50_esSW.mjs.map +1 -0
  3. package/dist/{index-Drku3xGg.mjs → index-CTYM2Lu_.mjs} +2 -2
  4. package/dist/{index-Drku3xGg.mjs.map → index-CTYM2Lu_.mjs.map} +1 -1
  5. package/dist/openapi-k8s-toolkit.es.js +1 -1
  6. package/dist/openapi-k8s-toolkit.umd.js +84 -13
  7. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  8. package/dist/types/api/bff/plugins/getPlugins.d.ts +1 -1
  9. package/dist/types/api/bff/scopes/checkScopes.d.ts +1 -1
  10. package/dist/types/api/bff/scopes/filterScopes.d.ts +2 -2
  11. package/dist/types/api/bff/search/getKinds.d.ts +1 -1
  12. package/dist/types/api/bff/swagger/getSwagger.d.ts +1 -1
  13. package/dist/types/api/getClusterList.d.ts +1 -1
  14. package/dist/types/api/permissions.d.ts +1 -1
  15. package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/CustomCollapse.d.ts +1 -1
  16. package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/DebugNameViewer.d.ts +1 -1
  17. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +1 -1
  18. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/utils.d.ts +1 -1
  19. package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/PersistedCheckbox.d.ts +1 -1
  20. package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/FormArrayHeader.d.ts +1 -1
  21. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +1 -1
  22. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +1 -1
  23. package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/FormInlineYamlEditor.d.ts +1 -1
  24. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +2 -2
  25. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +1 -1
  26. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +1 -1
  27. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +1 -1
  28. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/FormRangeInput.d.ts +2 -2
  29. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +1 -1
  30. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.d.ts +1 -1
  31. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +1 -1
  32. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/FormStringMultilineInput.d.ts +1 -1
  33. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/validation.d.ts +1 -1
  34. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +3 -3
  35. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.d.ts +1 -1
  36. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/getSortedPropertyKeys.d.ts +1 -1
  37. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/hiddenExpanded.d.ts +1 -1
  38. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +2 -2
  39. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts +1 -1
  40. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/BlackholeFormProvider.d.ts +2 -2
  41. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +1 -1
  42. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +2 -2
  43. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +2 -2
  44. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.d.ts +2 -2
  45. package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +1 -1
  46. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +1 -1
  47. package/dist/types/components/molecules/Search/Search.d.ts +1 -1
  48. package/dist/types/components/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +1 -1
  49. package/dist/types/components/organisms/DynamicComponents/DynamicComponents.d.ts +1 -1
  50. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/permissionsMap.d.ts +1 -1
  51. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/helpers.d.ts +1 -1
  52. package/dist/types/components/organisms/DynamicComponents/molecules/UsageGraphCard/atoms/FormattedValue/utils.d.ts +2 -2
  53. package/dist/types/components/organisms/DynamicComponents/types/ContentCard.d.ts +1 -1
  54. package/dist/types/components/organisms/DynamicComponents/types/ConverterBytes.d.ts +1 -1
  55. package/dist/types/components/organisms/DynamicComponents/types/ConverterCores.d.ts +1 -1
  56. package/dist/types/components/organisms/DynamicComponents/types/EnrichedTable.d.ts +1 -1
  57. package/dist/types/components/organisms/DynamicComponents/types/PrometheusGraph.d.ts +1 -1
  58. package/dist/types/components/organisms/DynamicComponents/types/SidebarProvider.d.ts +1 -1
  59. package/dist/types/components/organisms/DynamicComponents/types/Spacer.d.ts +1 -1
  60. package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.d.ts +1 -1
  61. package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +2 -2
  62. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/hybridDataProvider/hybridDataProvider.d.ts +1 -1
  63. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiK8sProvider/multiK8sProvider.d.ts +1 -1
  64. package/dist/types/hooks/useApiResource.d.ts +1 -1
  65. package/dist/types/hooks/useBuiltinResourceTypes.d.ts +1 -1
  66. package/dist/types/hooks/useCrdResource.d.ts +1 -1
  67. package/dist/types/hooks/useK8sSmartResource/useK8sSmartResourceWithoutKinds.d.ts +1 -1
  68. package/dist/types/hooks/useListThenWatch/reducer.d.ts +1 -1
  69. package/dist/types/hooks/useListThenWatch/types.d.ts +1 -1
  70. package/dist/types/hooks/useListThenWatch/useListWatch.d.ts +1 -1
  71. package/dist/types/hooks/useListThenWatch/utils.d.ts +1 -1
  72. package/dist/types/hooks/usePermissions.d.ts +1 -1
  73. package/dist/types/localTypes/bff/table.d.ts +1 -1
  74. package/dist/types/localTypes/dynamicRender.d.ts +1 -1
  75. package/dist/types/localTypes/search.d.ts +1 -1
  76. package/dist/types/utils/converterBytes/converterBytes.d.ts +1 -1
  77. package/dist/types/utils/converterCores/converterCores.d.ts +1 -1
  78. package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +1 -1
  79. package/dist/types/utils/getSortedKinds/getSortedKinds.d.ts +2 -2
  80. package/dist/types/utils/getSortedKindsAll/getSortedKindsAll.d.ts +2 -2
  81. package/dist/types/utils/getStringByName/getStringByName.d.ts +1 -1
  82. package/dist/types/utils/kindByGvr/kindByGvr.d.ts +1 -1
  83. package/dist/types/utils/namespacedByGvr/namespacedByGvr.d.ts +1 -1
  84. package/dist/types/utils/pluralByKind/pluralByKind.d.ts +1 -1
  85. package/package.json +1 -1
  86. package/dist/index-Cc-4YPOA.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { TPluginManifest } from 'localTypes/bff/plugins';
1
+ import { TPluginManifest } from '../../../localTypes/bff/plugins';
2
2
  export declare const getPlugins: ({ cluster }: {
3
3
  cluster: string;
4
4
  }) => Promise<import("axios").AxiosResponse<TPluginManifest, any, {}>>;
@@ -1,4 +1,4 @@
1
- import { TCheckIfApiInstanceNamespaceScopedRes, TCheckIfBuiltInInstanceNamespaceScopedRes } from 'localTypes/bff/scopes';
1
+ import { TCheckIfApiInstanceNamespaceScopedRes, TCheckIfBuiltInInstanceNamespaceScopedRes } from '../../../localTypes/bff/scopes';
2
2
  export declare const checkIfApiInstanceNamespaceScoped: ({ plural, apiGroup, apiVersion, cluster, }: {
3
3
  plural: string;
4
4
  apiGroup: string;
@@ -1,5 +1,5 @@
1
- import { TFilterIfApiInstanceNamespaceScopedRes, TFilterIfBuiltInInstanceNamespaceScopedRes } from 'localTypes/bff/scopes';
2
- import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from 'localTypes/k8s';
1
+ import { TFilterIfApiInstanceNamespaceScopedRes, TFilterIfBuiltInInstanceNamespaceScopedRes } from '../../../localTypes/bff/scopes';
2
+ import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from '../../../localTypes/k8s';
3
3
  export declare const filterIfApiInstanceNamespaceScoped: ({ cluster, namespace, apiGroup, apiVersion, data, }: {
4
4
  namespace?: string | undefined;
5
5
  data?: {
@@ -1,4 +1,4 @@
1
- import { TKindIndex } from 'localTypes/bff/search';
1
+ import { TKindIndex } from '../../../localTypes/bff/search';
2
2
  export declare const getKinds: ({ cluster }: {
3
3
  cluster: string;
4
4
  }) => Promise<import("axios").AxiosResponse<TKindIndex, any, {}>>;
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { TGetDerefedSwaggerRes } from 'localTypes/bff/swagger';
2
+ import { TGetDerefedSwaggerRes } from '../../../localTypes/bff/swagger';
3
3
  export declare const getSwagger: ({ cluster }: {
4
4
  cluster: string;
5
5
  }) => Promise<AxiosResponse<TGetDerefedSwaggerRes>>;
@@ -1,3 +1,3 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { TClusterList } from 'localTypes/clusterList';
2
+ import { TClusterList } from '../localTypes/clusterList';
3
3
  export declare const getClusterList: () => Promise<AxiosResponse<TClusterList>>;
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import type { TPermissionVerb } from 'localTypes/permissions';
2
+ import type { TPermissionVerb } from '../localTypes/permissions';
3
3
  export declare const checkPermission: ({ cluster, body, }: {
4
4
  cluster: string;
5
5
  body: {
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode, PropsWithChildren } from 'react';
2
- import { TFormName, TExpandedControls } from 'localTypes/form';
2
+ import { TFormName, TExpandedControls } from '../../../../../localTypes/form';
3
3
  type TCustomCollapseProps = PropsWithChildren<{
4
4
  title: string | ReactNode;
5
5
  formName: TFormName;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName } from 'localTypes/form';
2
+ import { TFormName } from '../../../../../localTypes/form';
3
3
  type TDebugNameViewerProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -1,5 +1,5 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
- import { TFormName } from 'localTypes/form';
2
+ import { TFormName } from '../../../../../localTypes/form';
3
3
  type THiddenContainerProps = PropsWithChildren<{
4
4
  name?: TFormName;
5
5
  secondName?: TFormName;
@@ -1,3 +1,3 @@
1
- import { TFormName } from 'localTypes/form';
1
+ import { TFormName } from '../../../../../localTypes/form';
2
2
  export declare const includesPath: (haystack: string[][], needle: (string | number)[]) => boolean;
3
3
  export declare const toArray: (p?: TFormName) => (string | number)[] | undefined;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TPersistedCheckboxProps = {
4
4
  formName: TFormName;
5
5
  persistedControls: TPersistedControls;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TFormArrayHeaderProps = {
4
4
  name: TFormName;
5
5
  persistName?: TFormName;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName } from 'localTypes/form';
2
+ import { TFormName } from '../../../../../localTypes/form';
3
3
  type TFormBooleanInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TFormEnumStringInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TFormInlineYamlEditorProps = {
4
4
  path: TFormName;
5
5
  persistedControls: TPersistedControls;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls, TUrlParams } from 'localTypes/form';
3
- import { TListInputCustomProps } from 'localTypes/formExtensions';
2
+ import { TFormName, TPersistedControls, TUrlParams } from '../../../../../localTypes/form';
3
+ import { TListInputCustomProps } from '../../../../../localTypes/formExtensions';
4
4
  type TFormListInputProps = {
5
5
  name: TFormName;
6
6
  arrKey?: number;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TNamespaceData } from 'localTypes/form';
2
+ import { TFormName, TNamespaceData } from '../../../../../localTypes/form';
3
3
  type TFormNamespaceInputProps = {
4
4
  name: TFormName;
5
5
  namespaceData: TNamespaceData;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TFormNumberItemProps = {
4
4
  isNumber?: boolean;
5
5
  name: TFormName;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { OpenAPIV2, IJsonSchema } from 'openapi-types';
3
- import { TFormName, TExpandedControls, TPersistedControls } from 'localTypes/form';
3
+ import { TFormName, TExpandedControls, TPersistedControls } from '../../../../../localTypes/form';
4
4
  type TFormObjectFromSwaggerProps = {
5
5
  name: TFormName;
6
6
  persistName?: TFormName;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls, TUrlParams } from 'localTypes/form';
3
- import { TRangeInputCustomProps } from 'localTypes/formExtensions';
2
+ import { TFormName, TPersistedControls, TUrlParams } from '../../../../../localTypes/form';
3
+ import { TRangeInputCustomProps } from '../../../../../localTypes/formExtensions';
4
4
  type TFormRangeInputProps = {
5
5
  name: TFormName;
6
6
  arrKey?: number;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { SliderBaseProps } from 'antd/es/slider';
3
- import { TFormName, TPersistedControls } from 'localTypes/form';
3
+ import { TFormName, TPersistedControls } from '../../../../../../../localTypes/form';
4
4
  export type TRangeInputProps = {
5
5
  name: TFormName;
6
6
  arrKey?: number;
@@ -1,4 +1,4 @@
1
- import { TRangeInputCustomValuesBlock } from 'localTypes/formExtensions';
1
+ import { TRangeInputCustomValuesBlock } from '../../../../../localTypes/formExtensions';
2
2
  export declare const prepareMinAndMaxValues: ({ minMaxAndStep, minValueObj, minSubstractFirstValueObj, minSubstractSecondValueObj, minAddFirstValueObj, minAddSecondValueObj, maxValueObj, maxSubstractFirstValueObj, maxSubstractSecondValueObj, maxAddFirstValueObj, maxAddSecondValueObj, logic, }: {
3
3
  minMaxAndStep: TRangeInputCustomValuesBlock;
4
4
  minValueObj: unknown;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TFormStringInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from 'localTypes/form';
2
+ import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
3
3
  type TFormStringMultilineInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -1,4 +1,4 @@
1
- import { TFormName } from 'localTypes/form';
1
+ import { TFormName } from '../../../../../localTypes/form';
2
2
  export declare const prettyFieldPath: (name: TFormName) => string;
3
3
  export declare const getRequiredRule: (isRequired: boolean, name: TFormName) => {
4
4
  required: boolean;
@@ -1,8 +1,8 @@
1
1
  import { FC } from 'react';
2
2
  import { OpenAPIV2 } from 'openapi-types';
3
- import { TJSON } from 'localTypes/JSON';
4
- import { TUrlParams } from 'localTypes/form';
5
- import { TFormPrefill } from 'localTypes/formExtensions';
3
+ import { TJSON } from '../../../../../localTypes/JSON';
4
+ import { TUrlParams } from '../../../../../localTypes/form';
5
+ import { TFormPrefill } from '../../../../../localTypes/formExtensions';
6
6
  export type TBlackholeFormProps = {
7
7
  cluster: string;
8
8
  theme: 'light' | 'dark';
@@ -1,6 +1,6 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { OpenAPIV2 } from 'openapi-types';
3
- import { TFormName } from 'localTypes/form';
3
+ import { TFormName } from '../../../../../../localTypes/form';
4
4
  export declare const pathKey: (p: (string | number)[]) => string;
5
5
  /**
6
6
  * Recursively prunes schema properties that are marked as "additional"
@@ -1,5 +1,5 @@
1
1
  import { OpenAPIV2 } from 'openapi-types';
2
- import { TFormName } from 'localTypes/form';
2
+ import { TFormName } from '../../../../../../localTypes/form';
3
3
  export declare const getSortedPropertyKeys: ({ name, sortPaths, properties, }: {
4
4
  name: TFormName;
5
5
  sortPaths?: string[][] | undefined;
@@ -1,4 +1,4 @@
1
- import { TFormName } from 'localTypes/form';
1
+ import { TFormName } from '../../../../../../localTypes/form';
2
2
  export declare const sanitizeWildcardPath: (p: (string | number | unknown)[]) => string[];
3
3
  export declare const expandWildcardTemplates: (templates: (string | number)[][], values: Record<string, unknown>, opts?: {
4
4
  includeMissingExact?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { OpenAPIV2 } from 'openapi-types';
2
- import { TListInputCustomProps, TRangeInputCustomProps } from 'localTypes/formExtensions';
3
- import { TFormName, TExpandedControls, TNamespaceData, TPersistedControls, TUrlParams } from 'localTypes/form';
2
+ import { TListInputCustomProps, TRangeInputCustomProps } from '../../../../../localTypes/formExtensions';
3
+ import { TFormName, TExpandedControls, TNamespaceData, TPersistedControls, TUrlParams } from '../../../../../localTypes/form';
4
4
  export declare const getStringFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, description, namespaceData, isAdditionalProperties, removeField, persistedControls, onRemoveByMinus, }: {
5
5
  name: TFormName;
6
6
  arrKey?: number | undefined;
@@ -1,5 +1,5 @@
1
1
  import { AxiosError } from 'axios';
2
- import { TFormName } from 'localTypes/form';
2
+ import { TFormName } from '../../../../../localTypes/form';
3
3
  export declare const handleSubmitError: ({ error, expandedKeys, }: {
4
4
  error: AxiosError<any, any>;
5
5
  expandedKeys: TFormName[];
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { TJSON } from 'localTypes/JSON';
3
- import { TUrlParams } from 'localTypes/form';
2
+ import { TJSON } from '../../../../../localTypes/JSON';
3
+ import { TUrlParams } from '../../../../../localTypes/form';
4
4
  export type TBlackholeFormProviderProps = {
5
5
  theme: 'light' | 'dark';
6
6
  cluster: string;
@@ -1,6 +1,6 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
  import { TableProps, TablePaginationConfig } from 'antd';
3
- import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsCustomSortersAndFilters, TAdditionalPrinterColumnsTooltips } from 'localTypes/richTable';
3
+ import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsCustomSortersAndFilters, TAdditionalPrinterColumnsTooltips } from '../../../../../localTypes/richTable';
4
4
  export type TEnrichedTableProps = {
5
5
  theme: 'light' | 'dark';
6
6
  baseprefix?: string;
@@ -1,8 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { NavigateFunction } from 'react-router-dom';
3
3
  import { TableProps } from 'antd';
4
- import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTooltips, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from 'localTypes/richTable';
5
- import { TJSON } from 'localTypes/JSON';
4
+ import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTooltips, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from '../../../../../localTypes/richTable';
5
+ import { TJSON } from '../../../../../localTypes/JSON';
6
6
  export declare const getCellRender: ({ value, record, possibleTrimLength, possibleUndefinedValue, possibleCustomTypeWithProps, theme, }: {
7
7
  value: TJSON;
8
8
  record: unknown;
@@ -1,7 +1,7 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
  import { TablePaginationConfig } from 'antd';
3
- import { TJSON } from 'localTypes/JSON';
4
- import { TAdditionalPrinterColumns } from 'localTypes/richTable';
3
+ import { TJSON } from '../../../../../localTypes/JSON';
4
+ import { TAdditionalPrinterColumns } from '../../../../../localTypes/richTable';
5
5
  export type TEnrichedTableProviderProps = {
6
6
  cluster: string;
7
7
  namespace?: string;
@@ -1,6 +1,6 @@
1
1
  import { TableProps } from 'antd';
2
- import { TJSON } from 'localTypes/JSON';
3
- import { TAdditionalPrinterColumns } from 'localTypes/richTable';
2
+ import { TJSON } from '../../../../../localTypes/JSON';
3
+ import { TAdditionalPrinterColumns } from '../../../../../localTypes/richTable';
4
4
  export declare const prepare: ({ dataItems, pathToKey, resourceSchema, dataForControls, additionalPrinterColumns, }: {
5
5
  dataItems: TJSON[];
6
6
  pathToKey?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { FC, Dispatch, SetStateAction } from 'react';
2
2
  import { AxiosError } from 'axios';
3
- import { TMarketPlacePanelResource } from 'localTypes/marketplace';
3
+ import { TMarketPlacePanelResource } from '../../../../../localTypes/marketplace';
4
4
  type TAddEditFormModalProps = {
5
5
  cluster: string;
6
6
  baseApiGroup: string;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TMarketPlacePanel } from 'localTypes/marketplace';
2
+ import { TMarketPlacePanel } from '../../../../../localTypes/marketplace';
3
3
  export type TMarketplaceCardProps = {
4
4
  baseprefix?: string;
5
5
  cluster: string;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { FormInstance } from 'antd';
3
- import { TKindWithVersion } from 'localTypes/search';
3
+ import { TKindWithVersion } from '../../../localTypes/search';
4
4
  export type TSearchProps = {
5
5
  cluster: string;
6
6
  theme: 'light' | 'dark';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TJSON } from 'localTypes/JSON';
2
+ import { TJSON } from '../../../localTypes/JSON';
3
3
  type TYamlEditorSingletonProps = {
4
4
  theme: 'light' | 'dark';
5
5
  cluster: string;
@@ -1,3 +1,3 @@
1
- import { TRendererComponents } from 'localTypes/dynamicRender';
1
+ import { TRendererComponents } from '../../../localTypes/dynamicRender';
2
2
  import { TDynamicComponentsAppTypeMap } from './types';
3
3
  export declare const DynamicComponents: TRendererComponents<TDynamicComponentsAppTypeMap>;
@@ -1,4 +1,4 @@
1
- import type { TPermissionVerb } from 'localTypes/permissions';
1
+ import type { TPermissionVerb } from '../../../../../localTypes/permissions';
2
2
  import type { TActionUnion } from '../../types/ActionsDropdown';
3
3
  export type TRequiredPermission = {
4
4
  verb: TPermissionVerb;
@@ -1,4 +1,4 @@
1
- import { type TDateFormatOptions } from 'utils/converterDates';
1
+ import { type TDateFormatOptions } from '../../../../../utils/converterDates';
2
2
  export declare const createValueFormatter: ({ formatter, unit, }: {
3
3
  formatter: 'bytes' | 'cores' | 'unit' | 'none';
4
4
  unit?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { TUnitInput } from 'localTypes/factories/converterBytes';
2
- import { TCoreUnitInput } from 'localTypes/factories/converterCores';
1
+ import { TUnitInput } from '../../../../../../../localTypes/factories/converterBytes';
2
+ import { TCoreUnitInput } from '../../../../../../../localTypes/factories/converterCores';
3
3
  export declare const getNormalizedCoreUnit: (maxValue: number) => TCoreUnitInput;
4
4
  export declare const getNormalizedByteUnit: (maxValue: number, standard: 'si' | 'iec') => TUnitInput;
@@ -1,4 +1,4 @@
1
- import type { TContentCardProps as TInternal } from 'components/atoms';
1
+ import type { TContentCardProps as TInternal } from '../../../atoms';
2
2
  export type TContentCardProps = {
3
3
  id: number | string;
4
4
  } & TInternal;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import type { TUnitInput } from 'localTypes/factories/converterBytes';
2
+ import type { TUnitInput } from '../../../../localTypes/factories/converterBytes';
3
3
  export type TConverterBytesProps = {
4
4
  id: number | string;
5
5
  bytesValue: string | string[];
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import type { TCoreUnitInput } from 'localTypes/factories/converterCores';
2
+ import type { TCoreUnitInput } from '../../../../localTypes/factories/converterCores';
3
3
  export type TConverterCoresProps = {
4
4
  id: number | string;
5
5
  /** Raw text that may contain a number or number+unit like "0.5", "500m", "2 vcpu" */
@@ -1,4 +1,4 @@
1
- import type { TEnrichedTableProviderProps } from 'components/molecules';
1
+ import type { TEnrichedTableProviderProps } from '../../../molecules';
2
2
  export type TEnrichedTableProps = {
3
3
  id: number | string;
4
4
  fetchUrl?: string;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import type { TDateFormatOptions } from 'utils/converterDates';
2
+ import type { TDateFormatOptions } from '../../../../utils/converterDates';
3
3
  export type TPrometheusGraphProps = {
4
4
  id: number | string;
5
5
  type: 'MatrixToAreaMulti' | 'MatrixToAreaSingle' | 'MatrixToAreaStacked' | 'MatrixToLineMulti' | 'MatrixToLineSingle' | 'MatrixToReducedBar' | 'MatrixToTableRows' | 'VectorToBarGauge' | 'VectorToBarHorizontal' | 'VectorToBarVertical' | 'VectorToGaugeRadial' | 'VectorToPie' | 'VectorToTableRows' | 'ScalarToGauge' | 'ScalarToStat';
@@ -1,4 +1,4 @@
1
- import type { TManageableSidebarProviderProps } from 'components/molecules';
1
+ import type { TManageableSidebarProviderProps } from '../../../molecules';
2
2
  export type TSidebarProviderProps = {
3
3
  id: number | string;
4
4
  } & Omit<TManageableSidebarProviderProps, 'replaceValues'>;
@@ -1,4 +1,4 @@
1
- import type { TSpacerProps as TInner } from 'components/atoms';
1
+ import type { TSpacerProps as TInner } from '../../../atoms';
2
2
  export type TSpacerProps = {
3
3
  id: number | string;
4
4
  } & TInner;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { TItemTypeMap, TRenderableItem, TRendererComponents } from 'localTypes/dynamicRender';
2
+ import { TItemTypeMap, TRenderableItem, TRendererComponents } from '../../../localTypes/dynamicRender';
3
3
  export type TDynamicRendererProps<T extends TItemTypeMap> = {
4
4
  items: readonly TRenderableItem<T>[];
5
5
  components: TRendererComponents<T>;
@@ -1,6 +1,6 @@
1
1
  import { ReactElement } from 'react';
2
- import { TItemTypeMap } from 'localTypes/dynamicRender';
3
- import { TUseK8sSmartResourceParams } from 'hooks/useK8sSmartResource';
2
+ import { TItemTypeMap } from '../../../localTypes/dynamicRender';
3
+ import { TUseK8sSmartResourceParams } from '../../../hooks/useK8sSmartResource';
4
4
  import { TDynamicRendererProps } from '../DynamicRenderer';
5
5
  export declare const DynamicRendererWithProviders: <T extends TItemTypeMap>(props: TDynamicRendererProps<T> & {
6
6
  urlsToFetch: (string | TUseK8sSmartResourceParams<any>)[];
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { AxiosError } from 'axios';
3
- import { TUseK8sSmartResourceParams } from 'hooks/useK8sSmartResource';
3
+ import { TUseK8sSmartResourceParams } from '../../../../../hooks/useK8sSmartResource';
4
4
  type DataMap = Record<string, unknown>;
5
5
  type MultiQueryContextValue = {
6
6
  data: DataMap;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import type { AxiosError } from 'axios';
3
- import { useK8sSmartResource } from 'hooks/useK8sSmartResource';
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>;
@@ -1,4 +1,4 @@
1
- import { TApiResources } from 'localTypes/k8s';
1
+ import { TApiResources } from '../localTypes/k8s';
2
2
  export declare const useApiResources: ({ cluster, namespace, apiGroup, apiVersion, plural, name, labels, fields, limit, refetchInterval, isEnabled, }: {
3
3
  cluster: string;
4
4
  namespace?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { TBuiltinResourceTypeList } from 'localTypes/k8s';
1
+ import { TBuiltinResourceTypeList } from '../localTypes/k8s';
2
2
  export declare const useBuiltinResourceTypes: ({ cluster }: {
3
3
  cluster: string;
4
4
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResourceTypeList, Error>;
@@ -1,4 +1,4 @@
1
- import { TJSON } from 'localTypes/JSON';
1
+ import { TJSON } from '../localTypes/JSON';
2
2
  export declare const useCrdResources: <T = TJSON[]>({ cluster, namespace, apiGroup, apiVersion, crdName, refetchInterval, isEnabled, }: {
3
3
  cluster: string;
4
4
  namespace?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { AxiosError } from 'axios';
2
- import { TSingleResource } from 'localTypes/k8s';
2
+ import { TSingleResource } from '../../localTypes/k8s';
3
3
  export type TUseK8sSmartResourceParams<T> = {
4
4
  cluster: string;
5
5
  apiGroup?: string;
@@ -1,4 +1,4 @@
1
- import { TSingleResource } from 'localTypes/k8s';
1
+ import { TSingleResource } from '../../localTypes/k8s';
2
2
  type TState = {
3
3
  order: string[];
4
4
  byKey: Record<string, TSingleResource>;
@@ -1,4 +1,4 @@
1
- import { TSingleResource } from 'localTypes/k8s';
1
+ import { TSingleResource } from '../../localTypes/k8s';
2
2
  type TWatchPhase = 'ADDED' | 'MODIFIED' | 'DELETED' | 'BOOKMARK';
3
3
  type TInitialFrame = {
4
4
  type: 'INITIAL';
@@ -1,4 +1,4 @@
1
- import { TSingleResource } from 'localTypes/k8s';
1
+ import { TSingleResource } from '../../localTypes/k8s';
2
2
  export type TConnStatus = 'connecting' | 'open' | 'closed';
3
3
  /**
4
4
  * Parameters that define which resource collection we are listing/watching.
@@ -1,4 +1,4 @@
1
- import { TSingleResource } from 'localTypes/k8s';
1
+ import { TSingleResource } from '../../localTypes/k8s';
2
2
  export declare const eventKey: (e: TSingleResource) => string;
3
3
  export declare const compareRV: (a: string, b: string) => number;
4
4
  type WithRV = {
@@ -1,4 +1,4 @@
1
- import type { TPermissionVerb } from 'localTypes/permissions';
1
+ import type { TPermissionVerb } from '../localTypes/permissions';
2
2
  export declare const usePermissions: ({ cluster, namespace, apiGroup, plural, subresource, verb, name, refetchInterval, enabler, }: {
3
3
  cluster: string;
4
4
  apiGroup?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTooltips, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from 'localTypes/richTable';
1
+ import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTooltips, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from '../richTable';
2
2
  export type TPrepareTableReq = {
3
3
  customizationId?: string;
4
4
  tableMappingsReplaceValues?: Record<string, string | undefined>;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { TUseK8sSmartResourceParams } from 'hooks/useK8sSmartResource';
2
+ import { TUseK8sSmartResourceParams } from '../hooks/useK8sSmartResource';
3
3
  export type TItemTypeMap = Record<string, unknown>;
4
4
  export type TRenderableItem<T extends TItemTypeMap> = {
5
5
  [K in keyof T]: {
@@ -1,4 +1,4 @@
1
- import { TVersionEntry } from 'localTypes/bff/search';
1
+ import { TVersionEntry } from './bff/search';
2
2
  export type TKindWithVersion = {
3
3
  group: string;
4
4
  kind: string;
@@ -1,4 +1,4 @@
1
- import { TUnitInput, TConvertOptions } from 'localTypes/factories/converterBytes';
1
+ import { TUnitInput, TConvertOptions } from '../../localTypes/factories/converterBytes';
2
2
  /**
3
3
  * Convert bytes -> target unit.
4
4
  * @returns number by default (e.g., 1.5), or "1.50 GiB" if format=true
@@ -1,4 +1,4 @@
1
- import type { TCoreUnitInput, TCoreConvertOptions } from 'localTypes/factories/converterCores';
1
+ import type { TCoreUnitInput, TCoreConvertOptions } from '../../localTypes/factories/converterCores';
2
2
  /**
3
3
  * Convert cores -> target unit (core/mcore/ucore/ncore).
4
4
  * The input `cores` is ALWAYS in **cores** (base unit).
@@ -1,4 +1,4 @@
1
- import { TApiGroupList, TBuiltinResourceTypeList } from 'localTypes/k8s';
1
+ import { TApiGroupList, TBuiltinResourceTypeList } from '../../localTypes/k8s';
2
2
  export declare const getGroupsByCategory: ({ cluster, apiGroupListData, builtinResourceTypesData, namespace, noncrds, }: {
3
3
  cluster: string;
4
4
  namespace?: string | undefined;