@prorobotech/openapi-k8s-toolkit 1.4.0-alpha.9 → 1.5.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/{index-BwCZPalv.mjs → index-BYGA57EJ.mjs} +4914 -1052
  2. package/dist/index-BYGA57EJ.mjs.map +1 -0
  3. package/dist/{index-85og70S2.mjs → index-DoND5hQh.mjs} +29 -3
  4. package/dist/index-DoND5hQh.mjs.map +1 -0
  5. package/dist/openapi-k8s-toolkit.es.js +1 -1
  6. package/dist/openapi-k8s-toolkit.umd.js +4943 -1048
  7. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  8. package/dist/types/api/bff/search/getKindsRaw.d.ts +4 -0
  9. package/dist/types/components/atoms/ErrorBoundary/ErrorBoundary.d.ts +38 -0
  10. package/dist/types/components/atoms/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
  11. package/dist/types/components/atoms/ErrorBoundary/ErrorBoundaryWithDataReset.d.ts +14 -0
  12. package/dist/types/components/atoms/ErrorBoundary/index.d.ts +2 -0
  13. package/dist/types/components/atoms/index.d.ts +1 -0
  14. package/dist/types/components/molecules/BlackholeForm/atoms/DefaultValueButton/DefaultValueButton.d.ts +10 -0
  15. package/dist/types/components/molecules/BlackholeForm/atoms/DefaultValueButton/DefaultValueButton.test.d.ts +1 -0
  16. package/dist/types/components/molecules/BlackholeForm/atoms/DefaultValueButton/index.d.ts +1 -0
  17. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/ExampleTooltipIcon.d.ts +6 -0
  18. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/ExampleTooltipIcon.test.d.ts +1 -0
  19. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/index.d.ts +1 -0
  20. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/styled.d.ts +380 -0
  21. package/dist/types/components/molecules/BlackholeForm/atoms/NullToggleButton/NullToggleButton.d.ts +9 -0
  22. package/dist/types/components/molecules/BlackholeForm/atoms/NullToggleButton/NullToggleButton.test.d.ts +1 -0
  23. package/dist/types/components/molecules/BlackholeForm/atoms/NullToggleButton/index.d.ts +1 -0
  24. package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +3 -0
  25. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +1 -0
  26. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.test.d.ts +1 -0
  27. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +3 -0
  28. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +1 -0
  29. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +5 -0
  30. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +3 -0
  31. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +6 -6
  32. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.test.d.ts +1 -0
  33. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +3 -0
  34. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/FormStringMultilineInput.d.ts +3 -0
  35. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/buildPlaceholder.d.ts +10 -0
  36. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/buildPlaceholder.test.d.ts +1 -0
  37. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useDefaultValueButton.d.ts +11 -0
  38. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useDefaultValueButton.test.d.ts +1 -0
  39. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useNullToggleButton.d.ts +16 -0
  40. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useNullToggleButton.test.d.ts +1 -0
  41. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/validation.d.ts +17 -4
  42. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +2 -2
  43. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.d.ts +4 -4
  44. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/extractDefaultValue.d.ts +4 -0
  45. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/extractDefaultValue.test.d.ts +1 -0
  46. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/getSortedPropertyKeys.d.ts +2 -4
  47. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/prefills.d.ts +6 -3
  48. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +37 -29
  49. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/BlackholeFormProvider.d.ts +1 -0
  50. package/dist/types/components/molecules/EnrichedTable/index.d.ts +2 -2
  51. package/dist/types/components/molecules/EnrichedTable/organisms/ClusterListTable/ClusterListTable.d.ts +27 -0
  52. package/dist/types/components/molecules/EnrichedTable/organisms/ClusterListTable/ClusterListTable.test.d.ts +1 -0
  53. package/dist/types/components/molecules/EnrichedTable/organisms/ClusterListTable/index.d.ts +2 -0
  54. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +11 -6
  55. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.test.d.ts +1 -0
  56. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TrimmedTags/styled.d.ts +851 -0
  57. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +10 -8
  58. package/dist/types/components/molecules/EnrichedTable/organisms/index.d.ts +2 -0
  59. package/dist/types/components/molecules/Events/Events.error.test.d.ts +2 -0
  60. package/dist/types/components/molecules/Events/types.d.ts +12 -1
  61. package/dist/types/components/molecules/YamlEditorSingleton/utils.d.ts +5 -1
  62. package/dist/types/components/molecules/index.d.ts +2 -2
  63. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/ActionsDropdown.test.d.ts +1 -0
  64. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/dropdownPlacement.d.ts +12 -0
  65. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/dropdownPlacement.test.d.ts +1 -0
  66. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/actionHandlers.d.ts +23 -0
  67. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/index.d.ts +6 -0
  68. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/useCreateFromFilesHandlers.d.ts +11 -0
  69. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/useDrainHandlers.d.ts +12 -0
  70. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/useEvictHandlers.d.ts +9 -0
  71. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/useRerunHandlers.d.ts +11 -0
  72. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/useRollbackHandlers.d.ts +11 -0
  73. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/handlers/useScaleHandlers.d.ts +11 -0
  74. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/helpers.d.ts +25 -0
  75. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/index.d.ts +3 -0
  76. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/types.d.ts +65 -0
  77. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers/useActionsDropdownHandlers.d.ts +38 -0
  78. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/modals/CreateFromFilesModal.d.ts +12 -0
  79. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/modals/CreateFromFilesModal.test.d.ts +1 -0
  80. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/modals/DownloadAsFilesModal.d.ts +11 -0
  81. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/modals/DownloadAsFilesModal.test.d.ts +1 -0
  82. package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/AntdResult.d.ts +6 -0
  83. package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/AntdResult.test.d.ts +1 -0
  84. package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/index.d.ts +1 -0
  85. package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/styled.d.ts +548 -0
  86. package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/utils.d.ts +33 -0
  87. package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/utils.test.d.ts +1 -0
  88. package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/EnrichedTable.error.test.d.ts +1 -0
  89. package/dist/types/components/organisms/DynamicComponents/molecules/Events/Events.permissions.test.d.ts +2 -0
  90. package/dist/types/components/organisms/DynamicComponents/molecules/MappedParsedText/MappedParsedText.d.ts +5 -0
  91. package/dist/types/components/organisms/DynamicComponents/molecules/MappedParsedText/index.d.ts +1 -0
  92. package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/ParsedText.test.d.ts +1 -0
  93. package/dist/types/components/organisms/DynamicComponents/molecules/PerRequestError/PerRequestError.d.ts +7 -0
  94. package/dist/types/components/organisms/DynamicComponents/molecules/PerRequestError/PerRequestError.test.d.ts +1 -0
  95. package/dist/types/components/organisms/DynamicComponents/molecules/PerRequestError/index.d.ts +1 -0
  96. package/dist/types/components/organisms/DynamicComponents/molecules/Volumes/Volumes.d.ts +6 -0
  97. package/dist/types/components/organisms/DynamicComponents/molecules/Volumes/Volumes.test.d.ts +1 -0
  98. package/dist/types/components/organisms/DynamicComponents/molecules/Volumes/index.d.ts +1 -0
  99. package/dist/types/components/organisms/DynamicComponents/molecules/Volumes/utils.d.ts +46 -0
  100. package/dist/types/components/organisms/DynamicComponents/molecules/hooks/index.d.ts +1 -0
  101. package/dist/types/components/organisms/DynamicComponents/molecules/hooks/mergePerRequestErrors.d.ts +10 -0
  102. package/dist/types/components/organisms/DynamicComponents/molecules/hooks/types.d.ts +5 -0
  103. package/dist/types/components/organisms/DynamicComponents/molecules/hooks/useAutoPerRequestError.d.ts +15 -0
  104. package/dist/types/components/organisms/DynamicComponents/molecules/hooks/useAutoPerRequestError.test.d.ts +1 -0
  105. package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +3 -0
  106. package/dist/types/components/organisms/DynamicComponents/molecules/utils.d.ts +19 -0
  107. package/dist/types/components/organisms/DynamicComponents/types/ActionsDropdown.d.ts +22 -2
  108. package/dist/types/components/organisms/DynamicComponents/types/MappedParsedText.d.ts +7 -0
  109. package/dist/types/components/organisms/DynamicComponents/types/Volumes.d.ts +19 -0
  110. package/dist/types/components/organisms/DynamicComponents/types/antdComponents.d.ts +22 -1
  111. package/dist/types/components/organisms/DynamicComponents/types/index.d.ts +6 -1
  112. package/dist/types/components/organisms/DynamicComponents/types/parsedText.d.ts +1 -0
  113. package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +2 -0
  114. package/dist/types/components/organisms/DynamicRendererWithProviders/EffectiveAntdResultWrapper/EffectiveAntdResultWrapper.d.ts +8 -0
  115. package/dist/types/components/organisms/DynamicRendererWithProviders/EffectiveAntdResultWrapper/EffectiveAntdResultWrapper.test.d.ts +1 -0
  116. package/dist/types/components/organisms/DynamicRendererWithProviders/EffectiveAntdResultWrapper/index.d.ts +1 -0
  117. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/hybridDataProvider/hybridDataProvider.d.ts +4 -0
  118. package/dist/types/hooks/useApiResource.d.ts +2 -1
  119. package/dist/types/hooks/useApisResourceTypes.d.ts +4 -2
  120. package/dist/types/hooks/useBuiltinResource.d.ts +2 -1
  121. package/dist/types/hooks/useBuiltinResourceTypes.d.ts +2 -1
  122. package/dist/types/hooks/useClusterList.d.ts +6 -3
  123. package/dist/types/hooks/useDirectUnknownResource.d.ts +2 -1
  124. package/dist/types/hooks/useK8sSmartResource/useSmartResourceParams.d.ts +3 -2
  125. package/dist/types/hooks/useKindsRaw.d.ts +8 -0
  126. package/dist/types/hooks/useListThenWatch/types.d.ts +2 -0
  127. package/dist/types/hooks/useResourceScope/useResourceScope.d.ts +2 -1
  128. package/dist/types/index.d.ts +2 -1
  129. package/dist/types/localTypes/bff/form.d.ts +6 -6
  130. package/dist/types/localTypes/bff/table.d.ts +2 -1
  131. package/dist/types/localTypes/clusterList.d.ts +3 -2
  132. package/dist/types/localTypes/dynamicRender.d.ts +5 -0
  133. package/dist/types/localTypes/formSchema.d.ts +27 -0
  134. package/dist/types/localTypes/richTable.d.ts +4 -0
  135. package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +2 -2
  136. package/package.json +1 -1
  137. package/dist/index-85og70S2.mjs.map +0 -1
  138. package/dist/index-BwCZPalv.mjs.map +0 -1
  139. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/hooks/useActionsDropdownHandlers.d.ts +0 -77
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ export declare const Volumes: FC<{
4
+ data: TDynamicComponentsAppTypeMap['Volumes'];
5
+ children?: any;
6
+ }>;
@@ -0,0 +1 @@
1
+ export { Volumes } from './Volumes';
@@ -0,0 +1,46 @@
1
+ import { TAdditionalPrinterColumnsKeyTypeProps } from '../../../../../localTypes/richTable';
2
+ export declare const ellipsisStyle: {
3
+ display: string;
4
+ overflow: string;
5
+ textOverflow: string;
6
+ whiteSpace: "nowrap";
7
+ verticalAlign: "bottom";
8
+ };
9
+ export type TVolumeTypeMeta = {
10
+ typeResource: string;
11
+ typeKey: string;
12
+ typeName: string;
13
+ };
14
+ export declare const getVolumeTypeMetas: (volumeName: string, volumesMap: Record<string, any>) => TVolumeTypeMeta[];
15
+ export declare const buildCustomColumns: (containerFactoryKey?: string) => TAdditionalPrinterColumnsKeyTypeProps;
16
+ export type TLinkableVolumeTypeKey = 'configMap' | 'secret' | 'persistentVolumeClaim';
17
+ export declare const isLinkableVolumeTypeKey: (typeKey: string) => typeKey is TLinkableVolumeTypeKey;
18
+ export declare const isPendingLinkSegment: (value?: string) => boolean;
19
+ export declare const getVolumeFactoryKey: ({ apiGroup, apiVersion, resource, namespace, baseFactoriesMapping, baseFactoryNamespacedAPIKey, baseFactoryClusterSceopedAPIKey, baseFactoryNamespacedBuiltinKey, baseFactoryClusterSceopedBuiltinKey, }: {
20
+ resource: string;
21
+ apiGroup?: string | undefined;
22
+ apiVersion: string;
23
+ namespace?: string | undefined;
24
+ baseFactoriesMapping?: Record<string, string> | undefined;
25
+ baseFactoryNamespacedAPIKey: string;
26
+ baseFactoryClusterSceopedAPIKey: string;
27
+ baseFactoryNamespacedBuiltinKey: string;
28
+ baseFactoryClusterSceopedBuiltinKey: string;
29
+ }) => string;
30
+ export declare const getVolumeResourceLinkPrefix: ({ baseprefix, cluster, namespace, apiGroupVersion, pluralName, baseFactoryNamespacedAPIKey, baseFactoryClusterSceopedAPIKey, baseFactoryNamespacedBuiltinKey, baseFactoryClusterSceopedBuiltinKey, baseFactoriesMapping, }: {
31
+ baseprefix?: string | undefined;
32
+ cluster: string;
33
+ namespace?: string | undefined;
34
+ apiGroupVersion: string;
35
+ pluralName: string;
36
+ baseFactoryNamespacedAPIKey: string;
37
+ baseFactoryClusterSceopedAPIKey: string;
38
+ baseFactoryNamespacedBuiltinKey: string;
39
+ baseFactoryClusterSceopedBuiltinKey: string;
40
+ baseFactoriesMapping?: Record<string, string> | undefined;
41
+ }) => string;
42
+ export declare const getVolumeTypeHref: ({ typeKey, typeName, resourceLinkPrefixes, }: {
43
+ typeKey: string;
44
+ typeName: string;
45
+ resourceLinkPrefixes?: Partial<Record<TLinkableVolumeTypeKey, string>> | undefined;
46
+ }) => string;
@@ -0,0 +1 @@
1
+ export { useAutoPerRequestError } from './useAutoPerRequestError';
@@ -0,0 +1,10 @@
1
+ import { TPerRequestErrorResult } from './types';
2
+ /**
3
+ * Merges the result of useAutoPerRequestError with additional
4
+ * nested req index checks (e.g. labelSelectorFull.reqIndex,
5
+ * additionalReqsDataToEachItem).
6
+ *
7
+ * Use this when a component accesses multiQueryData via nested reqIndex
8
+ * fields that useAutoPerRequestError cannot auto-detect.
9
+ */
10
+ export declare const mergePerRequestErrors: (autoResult: TPerRequestErrorResult, hasErrorForReq: (idx: number) => boolean, nestedReqIndices: (number | undefined)[]) => TPerRequestErrorResult;
@@ -0,0 +1,5 @@
1
+ import { AxiosError } from 'axios';
2
+ export type TPerRequestErrorResult = {
3
+ shouldShowError: boolean;
4
+ errorToShow: AxiosError | Error | string | null;
5
+ };
@@ -0,0 +1,15 @@
1
+ import { TPerRequestErrorResult } from './types';
2
+ /**
3
+ * Auto-detects which requests a component depends on
4
+ * by scanning template strings in its `data` props for
5
+ * {reqs[N]...} and {reqsJsonPath[N]...} patterns.
6
+ *
7
+ * Also picks up an explicit `data.reqIndex` prop (used by
8
+ * direct-access components like Labels, Annotations, etc.).
9
+ *
10
+ * If no req references are found (layout components like antdFlex,
11
+ * or programmatically rendered components like ConverterBytes inside
12
+ * UsageGraphCard), returns no error — the component does not consume
13
+ * multiQuery data, so multiQuery errors are irrelevant to it.
14
+ */
15
+ export declare const useAutoPerRequestError: (data: Record<string, unknown>) => TPerRequestErrorResult;
@@ -10,6 +10,7 @@ export { AntdIcons } from './AntdIcons';
10
10
  export { PartsOfUrl } from './PartsOfUrl';
11
11
  export { MultiQuery } from './MultiQuery';
12
12
  export { ParsedText } from './ParsedText';
13
+ export { MappedParsedText } from './MappedParsedText';
13
14
  export { ProjectInfoCard } from './ProjectInfoCard';
14
15
  export { MarketplaceCard } from './MarketplaceCard';
15
16
  export { ContentCard } from './ContentCard';
@@ -48,3 +49,5 @@ export { AggregatedCounterCard } from './AggregatedCounterCard';
48
49
  export { Base64Icon } from './Base64Icon';
49
50
  export { UsageGraphCard } from './UsageGraphCard';
50
51
  export { ActionsDropdown } from './ActionsDropdown';
52
+ export { Volumes } from './Volumes';
53
+ export { AntdResult } from './AntdResult';
@@ -1,3 +1,22 @@
1
+ /** Parse a string reqIndex (from YAML config) to a number, or return undefined if absent/invalid */
2
+ export declare const parseReqIndex: (reqIndex: string | number | undefined) => number | undefined;
3
+ /**
4
+ * Scans a template string for {reqs[N]...} and {reqsJsonPath[N]...} patterns
5
+ * and returns the deduplicated set of req indices referenced.
6
+ *
7
+ * Handles nested/recursive cases like:
8
+ * {reqsJsonPath[0]['.items.{reqsJsonPath[1][".index"]}.name']}
9
+ * → returns [0, 1]
10
+ */
11
+ export declare const extractReqIndices: (text: string) => number[];
12
+ /**
13
+ * Recursively scans all string values in a component's `data` object
14
+ * and collects req indices from template expressions.
15
+ *
16
+ * Traverses nested objects and arrays to find template strings
17
+ * at any depth (e.g. data.actions[].props.endpoint, data.values[]).
18
+ */
19
+ export declare const extractReqIndicesFromData: (data: Record<string, unknown>) => number[];
1
20
  export declare const parsePartsOfUrl: ({ template, replaceValues, }: {
2
21
  template: string;
3
22
  replaceValues: Record<string, string | undefined>;
@@ -81,7 +81,8 @@ export type TScaleActionProps = TActionBaseProps & {
81
81
  export type TTriggerRunActionProps = TActionBaseProps & {
82
82
  createEndpoint: string;
83
83
  cronJobName: string;
84
- jobTemplate: string;
84
+ reqIndex: string;
85
+ jsonPathToObj: string;
85
86
  };
86
87
  export type TDeleteChildrenActionProps = TActionBaseProps & {
87
88
  children: string;
@@ -89,8 +90,9 @@ export type TDeleteChildrenActionProps = TActionBaseProps & {
89
90
  };
90
91
  export type TRerunLastActionProps = TActionBaseProps & {
91
92
  createEndpoint: string;
92
- sourceJobSpec: string;
93
93
  sourceJobName: string;
94
+ reqIndex: string;
95
+ jsonPathToObj: string;
94
96
  };
95
97
  export type TDrainActionProps = TActionBaseProps & {
96
98
  bffEndpoint: string;
@@ -101,6 +103,18 @@ export type TRollbackActionProps = TActionBaseProps & {
101
103
  resourceName: string;
102
104
  resourceEndpoint: string;
103
105
  };
106
+ export type TResourceKind = 'ConfigMap' | 'Secret';
107
+ export type TDownloadAsFilesActionProps = TActionBaseProps & {
108
+ endpoint: string;
109
+ resourceKind: TResourceKind;
110
+ name: string;
111
+ };
112
+ export type TCreateFromFilesActionProps = TActionBaseProps & {
113
+ createEndpoint: string;
114
+ namespace: string;
115
+ resourceKind: TResourceKind;
116
+ apiVersion?: string;
117
+ };
104
118
  export type TActionUnion = {
105
119
  type: 'edit';
106
120
  props: TEditActionProps;
@@ -158,6 +172,12 @@ export type TActionUnion = {
158
172
  } | {
159
173
  type: 'rollback';
160
174
  props: TRollbackActionProps;
175
+ } | {
176
+ type: 'downloadAsFiles';
177
+ props: TDownloadAsFilesActionProps;
178
+ } | {
179
+ type: 'createFromFiles';
180
+ props: TCreateFromFilesActionProps;
161
181
  };
162
182
  /** Per-action permission map. Key = "${actionType}-${index}", value = whether action is allowed. */
163
183
  export type TActionsPermissions = Record<string, boolean | undefined>;
@@ -0,0 +1,7 @@
1
+ import { CSSProperties } from 'react';
2
+ export type TMappedParsedTextProps = {
3
+ id: number | string;
4
+ value: string;
5
+ valueMap: Record<string, string>;
6
+ style?: CSSProperties;
7
+ };
@@ -0,0 +1,19 @@
1
+ import { CSSProperties } from 'react';
2
+ export type TVolumesProps = {
3
+ id: number | string;
4
+ baseprefix?: string;
5
+ cluster: string;
6
+ reqIndex: string;
7
+ jsonPathToSpec: string;
8
+ jsonPathToPodName?: string;
9
+ forcedNamespace?: string;
10
+ errorText?: string;
11
+ containerStyle?: CSSProperties;
12
+ baseFactoryNamespacedAPIKey: string;
13
+ baseFactoryClusterSceopedAPIKey: string;
14
+ baseFactoryNamespacedBuiltinKey: string;
15
+ baseFactoryClusterSceopedBuiltinKey: string;
16
+ baseNavigationPluralName: string;
17
+ baseNavigationSpecificName: string;
18
+ containerFactoryKey?: string;
19
+ };
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { CSSProperties } from 'react';
2
2
  import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps } from 'antd';
3
3
  import type { TextProps } from 'antd/es/typography/Text';
4
4
  import type { LinkProps } from 'antd/es/typography/Link';
@@ -27,6 +27,9 @@ export type TAntdColProps = {
27
27
  } & Omit<ColProps, 'id' | 'children'>;
28
28
  export type TAntdTabsProps = {
29
29
  id: number | string;
30
+ syncActiveKeyWithHash?: boolean;
31
+ allowOpenInNewBrowserTab?: boolean;
32
+ unmountOnTabChange?: boolean;
30
33
  } & Omit<TabsProps, 'id' | 'children'>;
31
34
  export type TAntdButtonProps = {
32
35
  id: number | string;
@@ -38,3 +41,21 @@ export type TAntdIconsProps = {
38
41
  iconProps?: AntdIconProps;
39
42
  containerStyle?: React.CSSProperties;
40
43
  };
44
+ export type TAntdResultProps = {
45
+ id: number | string;
46
+ reqIndex?: number | number[];
47
+ /** Dot-separated path to the array in the response to check for emptiness.
48
+ * Default: ".items" (K8s list response format). Can be changed for non-K8s
49
+ * APIs, e.g. ".data.results".
50
+ * When reqIndex is an array, itemsPath can also be an array — each position
51
+ * maps to the corresponding reqIndex (e.g. reqIndex: [0,1], itemsPath: [".items", ".data.results"]). */
52
+ itemsPath?: string | string[];
53
+ /** Whether to check if the array at `itemsPath` is empty and show 404 when
54
+ * it is. Default: true — antdResult reacts to empty responses by default.
55
+ * Set to false to explicitly disable this check. */
56
+ checkEmpty?: boolean;
57
+ status?: 'success' | 'error' | 'info' | 'warning' | '403' | '404' | '500' | 403 | 404 | 500;
58
+ title?: string;
59
+ subTitle?: string;
60
+ style?: CSSProperties;
61
+ };
@@ -1,8 +1,9 @@
1
- import { TAntdTextProps, TAntdLinkProps, TAntdCardProps, TAntdFlexProps, TAntdRowProps, TAntdColProps, TAntdTabsProps, TAntdButtonProps, TAntdIconsProps } from './antdComponents';
1
+ import { TAntdTextProps, TAntdLinkProps, TAntdCardProps, TAntdFlexProps, TAntdRowProps, TAntdColProps, TAntdTabsProps, TAntdButtonProps, TAntdIconsProps, TAntdResultProps } from './antdComponents';
2
2
  import { TDefaultDivProps } from './DefaultDiv';
3
3
  import { TPartsOfUrlProps } from './partsOfUrl';
4
4
  import { TMultiQueryProps } from './multiQuery';
5
5
  import { TParsedTextProps } from './parsedText';
6
+ import { TMappedParsedTextProps } from './MappedParsedText';
6
7
  import { TProjectInfoCardProps } from './ProjectInfoCard';
7
8
  import { TMarketplaceCardProps } from './MarketplaceCard';
8
9
  import { TContentCardProps } from './ContentCard';
@@ -38,6 +39,7 @@ import { TAggregatedCounterCardProps } from './AggregatedCounterCard';
38
39
  import { TBase64IconProps } from './Base64Icon';
39
40
  import { TUsageGraphCardProps } from './UsageGraphCard';
40
41
  import { TActionsDropdownProps } from './ActionsDropdown';
42
+ import { TVolumesProps } from './Volumes';
41
43
  export type TDynamicComponentsAppTypeMap = {
42
44
  antdText: TAntdTextProps;
43
45
  antdLink: TAntdLinkProps;
@@ -52,6 +54,7 @@ export type TDynamicComponentsAppTypeMap = {
52
54
  partsOfUrl: TPartsOfUrlProps;
53
55
  multiQuery: TMultiQueryProps;
54
56
  parsedText: TParsedTextProps;
57
+ MappedParsedText: TMappedParsedTextProps;
55
58
  ProjectInfoCard: TProjectInfoCardProps;
56
59
  MarketplaceCard: TMarketplaceCardProps;
57
60
  ContentCard: TContentCardProps;
@@ -89,4 +92,6 @@ export type TDynamicComponentsAppTypeMap = {
89
92
  Base64Icon: TBase64IconProps;
90
93
  UsageGraphCard: TUsageGraphCardProps;
91
94
  ActionsDropdown: TActionsDropdownProps;
95
+ Volumes: TVolumesProps;
96
+ antdResult: TAntdResultProps;
92
97
  };
@@ -2,6 +2,7 @@ import { CSSProperties } from 'react';
2
2
  export type TParsedTextProps = {
3
3
  id: number | string;
4
4
  text: string;
5
+ tooltip?: string;
5
6
  formatter?: 'timestamp';
6
7
  style?: CSSProperties;
7
8
  };
@@ -8,4 +8,6 @@ export declare const DynamicRendererWithProviders: <T extends TItemTypeMap>(prop
8
8
  theme: 'dark' | 'light';
9
9
  nodeTerminalDefaultProfile?: string | undefined;
10
10
  disableEventBubbling?: boolean | undefined;
11
+ effectiveReqIndexes?: number[] | undefined;
12
+ effectiveItemsPath?: string | string[] | undefined;
11
13
  }) => ReactElement;
@@ -0,0 +1,8 @@
1
+ import { FC, ReactNode } from 'react';
2
+ type TEffectiveAntdResultWrapperProps = {
3
+ effectiveReqIndexes: number[];
4
+ itemsPath?: string | string[];
5
+ children: ReactNode;
6
+ };
7
+ export declare const EffectiveAntdResultWrapper: FC<TEffectiveAntdResultWrapperProps>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export { EffectiveAntdResultWrapper } from './EffectiveAntdResultWrapper';
@@ -7,6 +7,10 @@ type MultiQueryContextValue = {
7
7
  isLoading: boolean;
8
8
  isError: boolean;
9
9
  errors: ReadonlyArray<AxiosError | Error | string | null>;
10
+ /** Check whether a specific request (by index) has an error */
11
+ hasErrorForReq: (reqIndex: number) => boolean;
12
+ /** Get the error object for a specific request (by index), or null if it succeeded */
13
+ getErrorForReq: (reqIndex: number) => AxiosError | Error | string | null;
10
14
  };
11
15
  type MultiQueryProviderProps = {
12
16
  /** Mixed array: first (any number of) K8s resources, then (any number of) URL strings */
@@ -12,7 +12,7 @@ export declare const useApiResources: ({ cluster, namespace, apiGroup, apiVersio
12
12
  refetchInterval?: number | false | undefined;
13
13
  isEnabled?: boolean | undefined;
14
14
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TApiResources, Error>;
15
- export declare const useApiResourceSingle: ({ cluster, namespace, apiGroup, apiVersion, plural, name, refetchInterval, }: {
15
+ export declare const useApiResourceSingle: ({ cluster, namespace, apiGroup, apiVersion, plural, name, refetchInterval, enabler, }: {
16
16
  cluster: string;
17
17
  namespace?: string | undefined;
18
18
  apiGroup: string;
@@ -20,6 +20,7 @@ export declare const useApiResourceSingle: ({ cluster, namespace, apiGroup, apiV
20
20
  plural: string;
21
21
  name: string;
22
22
  refetchInterval?: number | false | undefined;
23
+ enabler?: boolean | undefined;
23
24
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
24
25
  metadata: {
25
26
  name: string;
@@ -1,5 +1,6 @@
1
- export declare const useApisResourceTypes: ({ cluster }: {
1
+ export declare const useApisResourceTypes: ({ cluster, enabler }: {
2
2
  cluster: string;
3
+ enabler?: boolean | undefined;
3
4
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
4
5
  apiVersion: string;
5
6
  kind: string;
@@ -15,10 +16,11 @@ export declare const useApisResourceTypes: ({ cluster }: {
15
16
  };
16
17
  }[];
17
18
  }, Error>;
18
- export declare const useApiResourceTypesByGroup: ({ cluster, apiGroup, apiVersion, }: {
19
+ export declare const useApiResourceTypesByGroup: ({ cluster, apiGroup, apiVersion, enabler, }: {
19
20
  cluster: string;
20
21
  apiGroup: string;
21
22
  apiVersion: string;
23
+ enabler?: boolean | undefined;
22
24
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
23
25
  apiVersion: string;
24
26
  kind: string;
@@ -10,12 +10,13 @@ export declare const useBuiltinResources: ({ cluster, namespace, plural, name, l
10
10
  refetchInterval?: number | false | undefined;
11
11
  isEnabled?: boolean | undefined;
12
12
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResources, Error>;
13
- export declare const useBuiltinResourceSingle: ({ cluster, namespace, plural, name, refetchInterval, }: {
13
+ export declare const useBuiltinResourceSingle: ({ cluster, namespace, plural, name, refetchInterval, enabler, }: {
14
14
  cluster: string;
15
15
  namespace?: string | undefined;
16
16
  plural: string;
17
17
  name: string;
18
18
  refetchInterval?: number | false | undefined;
19
+ enabler?: boolean | undefined;
19
20
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
20
21
  metadata: {
21
22
  name: string;
@@ -1,4 +1,5 @@
1
1
  import { TBuiltinResourceTypeList } from '../localTypes/k8s';
2
- export declare const useBuiltinResourceTypes: ({ cluster }: {
2
+ export declare const useBuiltinResourceTypes: ({ cluster, enabler }: {
3
3
  cluster: string;
4
+ enabler?: boolean | undefined;
4
5
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResourceTypeList, Error>;
@@ -1,3 +1,6 @@
1
- export declare const useClusterList: ({ refetchInterval }: {
2
- refetchInterval?: number | false | undefined;
3
- }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("..").TClusterList, Error>;
1
+ type TUseClusterListParams = {
2
+ enabled?: boolean;
3
+ refetchInterval?: number | false;
4
+ };
5
+ export declare const useClusterList: ({ enabled, refetchInterval }?: TUseClusterListParams) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("..").TClusterList, Error>;
6
+ export {};
@@ -1,7 +1,8 @@
1
1
  import { UseQueryResult } from '@tanstack/react-query';
2
- export declare const useDirectUnknownResource: <T>({ uri, queryKey, refetchInterval, isEnabled, }: {
2
+ export declare const useDirectUnknownResource: <T>({ uri, queryKey, refetchInterval, staleTime, isEnabled, }: {
3
3
  uri: string;
4
4
  queryKey: string[];
5
5
  refetchInterval?: number | false | undefined;
6
+ staleTime?: number | undefined;
6
7
  isEnabled?: boolean | undefined;
7
8
  }) => UseQueryResult<T, Error>;
@@ -1,7 +1,8 @@
1
1
  import type { TUseK8sSmartResourceParams } from './useK8sSmartResourceWithoutKinds';
2
- export declare const useSmartResourceParams: ({ cluster, namespace }: {
3
- cluster: string;
2
+ export declare const useSmartResourceParams: ({ cluster, namespace, enabler, }: {
3
+ cluster?: string | undefined;
4
4
  namespace?: string | undefined;
5
+ enabler?: boolean | undefined;
5
6
  }) => {
6
7
  paramsList: TUseK8sSmartResourceParams<unknown>[];
7
8
  scopesLoading: boolean;
@@ -0,0 +1,8 @@
1
+ export declare const useKindsRaw: ({ 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>;
@@ -29,6 +29,8 @@ type TConsoleFrame = {
29
29
  type TInitialError = {
30
30
  type: 'INITIAL_ERROR';
31
31
  message: string;
32
+ statusCode?: number;
33
+ reason?: string;
32
34
  };
33
35
  export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame | TConsoleFrame | TInitialError;
34
36
  export type TScrollMsg = {
@@ -3,10 +3,11 @@ type TUseResourceScopeArgs = {
3
3
  apiGroup?: string;
4
4
  apiVersion?: string;
5
5
  plural: string;
6
+ enabler?: boolean;
6
7
  };
7
8
  type TUseResourceScopeRes = {
8
9
  isClusterWide: boolean;
9
10
  isNamespaceScoped: boolean;
10
11
  };
11
- export declare const useResourceScope: ({ plural, cluster, apiGroup, apiVersion }: TUseResourceScopeArgs) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TUseResourceScopeRes, Error>;
12
+ export declare const useResourceScope: ({ plural, cluster, apiGroup, apiVersion, enabler }: TUseResourceScopeArgs) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TUseResourceScopeRes, Error>;
12
13
  export {};
@@ -1,7 +1,7 @@
1
1
  export * from './components';
2
2
  export * from './utils';
3
3
  export { getClusterList } from './api/getClusterList';
4
- export { createNewEntry, updateEntry, deleteEntry } from './api/forms';
4
+ export { createNewEntry, updateEntry, deleteEntry, patchEntryWithReplaceOp, patchEntryWithMergePatch, patchEntryWithDeleteOp, } from './api/forms';
5
5
  export { getApiResources, getApiResourceSingle } from './api/getApiResource';
6
6
  export { getBuiltinResources, getBuiltinResourceSingle } from './api/getBuiltinResource';
7
7
  export { getCrdResources, getCrdResourceSingle } from './api/getCrdResource';
@@ -29,6 +29,7 @@ export { useK8sVerbs } from './hooks/useK8sVerbs';
29
29
  export { useK8sSmartResource, useManyK8sSmartResource, useSmartResourceParams } from './hooks/useK8sSmartResource';
30
30
  export { useResourceScope } from './hooks/useResourceScope';
31
31
  export { useKinds } from './hooks/useKinds';
32
+ export { useKindsRaw } from './hooks/useKindsRaw';
32
33
  export { usePluginManifest } from './hooks/usePlugins';
33
34
  export type { TRequestError } from './localTypes/api';
34
35
  export type { TClusterList } from './localTypes/clusterList';
@@ -1,7 +1,7 @@
1
- import { OpenAPIV2 } from 'openapi-types';
2
1
  import { TJSON } from '../JSON';
3
2
  import { TFormName } from '../form';
4
3
  import { TFormPrefill } from '../formExtensions';
4
+ import { TFormSchemaProperties } from '../formSchema';
5
5
  export type TPrepareFormReq = {
6
6
  data: {
7
7
  type: 'builtin';
@@ -17,7 +17,9 @@ export type TPrepareFormReq = {
17
17
  prefillValueNamespaceOnly?: string;
18
18
  };
19
19
  cluster: string;
20
+ partsOfUrl: string[];
20
21
  customizationId?: string;
22
+ customizationIdPrefill?: string;
21
23
  };
22
24
  export type TPrepareFormRes = {
23
25
  result: 'error';
@@ -28,9 +30,7 @@ export type TPrepareFormRes = {
28
30
  isNamespaced: boolean;
29
31
  } | {
30
32
  result: 'success';
31
- properties: {
32
- [name: string]: OpenAPIV2.SchemaObject;
33
- };
33
+ properties: TFormSchemaProperties;
34
34
  required: string[] | undefined;
35
35
  hiddenPaths: string[][] | undefined;
36
36
  expandedPaths: string[][] | undefined;
@@ -45,11 +45,11 @@ export type TPrepareFormRes = {
45
45
  export type TYamlByValuesReq = {
46
46
  values: any;
47
47
  persistedKeys: TFormName[];
48
- properties: OpenAPIV2.SchemaObject['properties'];
48
+ properties: TFormSchemaProperties;
49
49
  };
50
50
  export type TYamlByValuesRes = any;
51
51
  export type TValuesByYamlReq = {
52
52
  values: Record<string, unknown>;
53
- properties: OpenAPIV2.SchemaObject['properties'];
53
+ properties: TFormSchemaProperties;
54
54
  };
55
55
  export type TValuesByYamlRes = any;
@@ -1,4 +1,4 @@
1
- import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from '../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>;
@@ -16,6 +16,7 @@ export type TPrepareTableRes = {
16
16
  additionalPrinterColumnsUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues;
17
17
  additionalPrinterColumnsTrimLengths?: TAdditionalPrinterColumnsTrimLengths;
18
18
  additionalPrinterColumnsColWidths?: TAdditionalPrinterColumnsColWidths;
19
+ additionalPrinterColumnsTooltips?: TAdditionalPrinterColumnsTooltips;
19
20
  additionalPrinterColumnsKeyTypeProps?: TAdditionalPrinterColumnsKeyTypeProps;
20
21
  additionalPrinterColumnsCustomSortersAndFilters?: TAdditionalPrinterColumnsCustomSortersAndFilters;
21
22
  withoutControls?: boolean;
@@ -1,7 +1,8 @@
1
1
  export type TCluster = {
2
- api: string;
3
- description: string;
4
2
  name: string;
3
+ displayName?: string;
5
4
  tenant: string;
5
+ api: string;
6
+ description: string;
6
7
  };
7
8
  export type TClusterList = TCluster[];
@@ -18,7 +18,12 @@ export type TFactoryDataK8s<T extends TItemTypeMap> = {
18
18
  key: string;
19
19
  urlsToFetch: (string | TUseK8sSmartResourceParams<any>)[];
20
20
  withScrollableMainContentCard?: boolean;
21
+ effectiveReqIndexes?: number[];
22
+ /** Per-request itemsPath for effectiveReqIndexes empty-check.
23
+ * String → same path for all; string[] → positional mapping per reqIndex. */
24
+ effectiveItemsPath?: string | string[];
21
25
  data: TRenderableItem<T>[];
26
+ forcedSidebarId?: string;
22
27
  sidebarTags?: string[];
23
28
  };
24
29
  export type TFactoryResource<T extends TItemTypeMap> = {
@@ -0,0 +1,27 @@
1
+ export type TFormSchemaKnownType = 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object' | 'listInput' | 'multilineString' | 'multilineStringBase64' | 'rangeInputCpu' | 'rangeInputMemory';
2
+ type TFormSchemaLooseType = TFormSchemaKnownType | (string & {});
3
+ /**
4
+ * Mirror of the normalized form-schema contract returned by the BFF.
5
+ * Toolkit components should consume this type instead of raw OpenAPI v2 types.
6
+ */
7
+ export interface TFormSchemaNode {
8
+ type?: TFormSchemaLooseType | TFormSchemaLooseType[];
9
+ properties?: TFormSchemaProperties;
10
+ items?: TFormSchemaNode;
11
+ additionalProperties?: boolean | TFormSchemaNode;
12
+ required?: string[];
13
+ enum?: string[];
14
+ oneOfRequiredGroups?: string[][];
15
+ default?: unknown;
16
+ example?: unknown;
17
+ nullable?: boolean;
18
+ description?: string;
19
+ customProps?: unknown;
20
+ isAdditionalProperties?: boolean;
21
+ 'x-kubernetes-preserve-unknown-fields'?: boolean;
22
+ 'x-kubernetes-int-or-string'?: boolean;
23
+ }
24
+ export interface TFormSchemaProperties {
25
+ [name: string]: TFormSchemaNode;
26
+ }
27
+ export {};
@@ -16,6 +16,10 @@ export type TAdditionalPrinterColumnsColWidths = {
16
16
  key: string;
17
17
  value: string;
18
18
  }[];
19
+ export type TAdditionalPrinterColumnsTooltips = {
20
+ key: string;
21
+ value: string;
22
+ }[];
19
23
  export type TAdditionalPrinterColumnsKeyTypeProps = Record<string, {
20
24
  type: string;
21
25
  customProps?: unknown;
@@ -1,2 +1,2 @@
1
- import { OpenAPIV2 } from 'openapi-types';
2
- export declare const normalizeValuesForQuotasToNumber: (object: any, properties: OpenAPIV2.SchemaObject['properties']) => any;
1
+ import { TFormSchemaProperties } from '../../localTypes/formSchema';
2
+ export declare const normalizeValuesForQuotasToNumber: (object: any, properties: TFormSchemaProperties) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "1.4.0-alpha.9",
3
+ "version": "1.5.0-alpha.2",
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",