@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.144 → 0.0.1-alpha.145

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 (52) hide show
  1. package/dist/types/api/bff/scopes/checkScopes.d.ts +1 -1
  2. package/dist/types/api/bff/scopes/filterScopes.d.ts +2 -2
  3. package/dist/types/api/bff/search/getKinds.d.ts +1 -1
  4. package/dist/types/api/bff/swagger/getSwagger.d.ts +1 -1
  5. package/dist/types/api/getClusterList.d.ts +1 -1
  6. package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/CustomCollapse.d.ts +1 -1
  7. package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/DebugNameViewer.d.ts +1 -1
  8. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +1 -1
  9. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/utils.d.ts +1 -1
  10. package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/PersistedCheckbox.d.ts +1 -1
  11. package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/FormArrayHeader.d.ts +1 -1
  12. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +1 -1
  13. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +1 -1
  14. package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/FormInlineYamlEditor.d.ts +1 -1
  15. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +2 -2
  16. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +1 -1
  17. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +1 -1
  18. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +1 -1
  19. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/FormRangeInput.d.ts +2 -2
  20. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +1 -1
  21. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.d.ts +1 -1
  22. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +1 -1
  23. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +1 -1
  24. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +3 -3
  25. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.d.ts +1 -1
  26. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/hiddenExpanded.d.ts +1 -1
  27. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +2 -2
  28. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts +1 -1
  29. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +2 -2
  30. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +1 -1
  31. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +2 -2
  32. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +2 -2
  33. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.d.ts +2 -2
  34. package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +1 -1
  35. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +1 -1
  36. package/dist/types/components/molecules/Search/Search.d.ts +1 -1
  37. package/dist/types/components/organisms/DynamicComponents/DynamicComponents.d.ts +1 -1
  38. package/dist/types/components/organisms/DynamicComponents/types.d.ts +2 -2
  39. package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.d.ts +1 -1
  40. package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +1 -1
  41. package/dist/types/hooks/useApiResource.d.ts +1 -1
  42. package/dist/types/hooks/useBuiltinResourceTypes.d.ts +1 -1
  43. package/dist/types/hooks/useCrdResource.d.ts +1 -1
  44. package/dist/types/localTypes/bff/table.d.ts +1 -1
  45. package/dist/types/localTypes/search.d.ts +1 -1
  46. package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +1 -1
  47. package/dist/types/utils/getSortedKinds/getSortedKinds.d.ts +2 -2
  48. package/dist/types/utils/getSortedKindsAll/getSortedKindsAll.d.ts +2 -2
  49. package/dist/types/utils/getStringByName/getStringByName.d.ts +1 -1
  50. package/dist/types/utils/kindByGvr/kindByGvr.d.ts +1 -1
  51. package/dist/types/utils/namespacedByGvr/namespacedByGvr.d.ts +1 -1
  52. package/package.json +1 -1
@@ -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: ({ typeName, apiGroup, apiVersion, clusterName, }: {
3
3
  typeName: 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: ({ namespace, data, apiGroup, apiVersion, clusterName, }: {
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: ({ clusterName }: {
3
3
  clusterName: string;
4
4
  }) => Promise<TKindIndex>;
@@ -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: ({ clusterName, }: {
4
4
  clusterName: 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 { 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
  export declare const HiddenContainer: FC<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
  export declare const FormInlineYamlEditor: FC<{
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 { TJSON } from 'localTypes/JSON';
2
+ import { TJSON } from '../../../../../localTypes/JSON';
3
3
  type TYamlEditorSingletonProps = {
4
4
  theme: 'light' | 'dark';
5
5
  cluster: string;
@@ -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
  type TBlackholeFormCreateProps = {
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,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 TBlackholeFormDataProviderProps = {
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 } from 'localTypes/richTable';
3
+ import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } 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, TAdditionalPrinterColumnsKeyTypeProps } from 'localTypes/richTable';
5
- import { TJSON } from 'localTypes/JSON';
4
+ import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsKeyTypeProps } 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, resourceSchema, dataForControls, additionalPrinterColumns, }: {
5
5
  dataItems: TJSON[];
6
6
  resourceSchema?: TJSON | 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
  clusterName?: 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
  clusterName: 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
  type TSearchProps = {
5
5
  cluster: string;
6
6
  theme: 'light' | 'dark';
@@ -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>;
@@ -2,8 +2,8 @@ import { CSSProperties } from 'react';
2
2
  import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps, SelectProps } from 'antd';
3
3
  import type { TextProps } from 'antd/es/typography/Text';
4
4
  import type { LinkProps } from 'antd/es/typography/Link';
5
- import { TContentCardProps, TSpacerProps } from 'components/atoms';
6
- import { TManageableSidebarWithDataProviderProps, TEnrichedTableProviderProps } from 'components/molecules';
5
+ import { TContentCardProps, TSpacerProps } from '../../atoms';
6
+ import { TManageableSidebarWithDataProviderProps, TEnrichedTableProviderProps } from '../../molecules';
7
7
  import { TUnitInput } from './molecules/ConverterBytes/types';
8
8
  export type TDynamicComponentsAppTypeMap = {
9
9
  DefaultDiv: {
@@ -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,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { TItemTypeMap } from 'localTypes/dynamicRender';
2
+ import { TItemTypeMap } from '../../../localTypes/dynamicRender';
3
3
  import { TDynamicRendererProps } from '../DynamicRenderer';
4
4
  export declare const DynamicRendererWithProviders: <T extends TItemTypeMap>(props: TDynamicRendererProps<T> & {
5
5
  urlsToFetch: string[];
@@ -1,4 +1,4 @@
1
- import { TApiResources } from 'localTypes/k8s';
1
+ import { TApiResources } from '../localTypes/k8s';
2
2
  export declare const useApiResources: ({ clusterName, namespace, apiGroup, apiVersion, typeName, specificName, labels, fields, limit, refetchInterval, isEnabled, }: {
3
3
  clusterName: 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: ({ clusterName }: {
3
3
  clusterName: 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[]>({ clusterName, namespace, apiGroup, apiVersion, crdName, refetchInterval, isEnabled, }: {
3
3
  clusterName: string;
4
4
  namespace?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps } from 'localTypes/richTable';
1
+ import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps } from '../richTable';
2
2
  export type TPrepareTableReq = {
3
3
  customizationId?: string;
4
4
  tableMappingsReplaceValues?: Record<string, string | undefined>;
@@ -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 { TApiGroupList, TBuiltinResourceTypeList } from 'localTypes/k8s';
1
+ import { TApiGroupList, TBuiltinResourceTypeList } from '../../localTypes/k8s';
2
2
  export declare const getGroupsByCategory: ({ clusterName, apiGroupListData, builtinResourceTypesData, namespace, noncrds, }: {
3
3
  clusterName: string;
4
4
  namespace?: string | undefined;
@@ -1,3 +1,3 @@
1
- import { TKindIndex } from 'localTypes/bff/search';
2
- import { TKindWithVersion } from 'localTypes/search';
1
+ import { TKindIndex } from '../../localTypes/bff/search';
2
+ import { TKindWithVersion } from '../../localTypes/search';
3
3
  export declare const getSortedKinds: (index: TKindIndex) => TKindWithVersion[];
@@ -1,5 +1,5 @@
1
- import { TKindIndex } from 'localTypes/bff/search';
2
- import { TKindWithVersion } from 'localTypes/search';
1
+ import { TKindIndex } from '../../localTypes/bff/search';
2
+ import { TKindWithVersion } from '../../localTypes/search';
3
3
  /**
4
4
  * RETURNS ALL VERSIONS (one row per version).
5
5
  * The first row for each {group, kind} will be the preferred (if any),
@@ -1,2 +1,2 @@
1
- import { TFormName } from 'localTypes/form';
1
+ import { TFormName } from '../../localTypes/form';
2
2
  export declare const getStringByName: (name: TFormName) => string;
@@ -1,4 +1,4 @@
1
- import { TKindWithVersion } from 'localTypes/search';
1
+ import { TKindWithVersion } from '../../localTypes/search';
2
2
  /**
3
3
  * Build a lookup function: given "group~version~resource" return the unique kind.
4
4
  * Functional, side-effect free, and tolerant of empty group (e.g. "~v1~bindings").
@@ -1,4 +1,4 @@
1
- import { TKindWithVersion } from 'localTypes/search';
1
+ import { TKindWithVersion } from '../../localTypes/search';
2
2
  /**
3
3
  * Build a lookup function: given "group~version~resource" return the unique namespaced value.
4
4
  * Functional, side-effect free, and tolerant of empty group (e.g. "~v1~bindings").
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "0.0.1-alpha.144",
3
+ "version": "0.0.1-alpha.145",
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",