@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.46 → 0.0.1-alpha.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi-k8s-toolkit.es.js +6163 -6166
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +159 -159
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/{utils → api/bff}/scopes/checkScopes.d.ts +3 -8
- package/dist/types/{utils → api/bff}/scopes/filterScopes.d.ts +2 -2
- package/dist/types/api/bff/swagger/getSwagger.d.ts +5 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +2 -2
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +1 -9
- package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +5 -4
- package/dist/types/components/molecules/ManageableBreadcrumbs/types.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/utils.d.ts +3 -3
- package/dist/types/index.d.ts +11 -7
- package/dist/types/localTypes/bff/form.d.ts +52 -0
- package/dist/types/localTypes/bff/scopes.d.ts +33 -0
- package/dist/types/localTypes/bff/swagger.d.ts +2 -0
- package/dist/types/localTypes/form.d.ts +0 -20
- package/dist/types/localTypes/formExtensions.d.ts +2 -6
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +0 -1
- package/package.json +1 -1
- package/dist/types/api/getSwagger.d.ts +0 -5
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/guards.d.ts +0 -2
- package/dist/types/localTypes/scopes.d.ts +0 -11
- package/dist/types/utils/overwriteMatchingKeys/index.d.ts +0 -1
- package/dist/types/utils/overwriteMatchingKeys/overwriteMatchingKeys.d.ts +0 -3
- package/dist/types/utils/removeEmptyFormValues/index.d.ts +0 -1
- package/dist/types/utils/removeEmptyFormValues/removeEmptyFormValues.d.ts +0 -4
- package/dist/types/utils/scopes/index.d.ts +0 -2
|
@@ -1,16 +1,11 @@
|
|
|
1
|
+
import { TCheckIfApiInstanceNamespaceScopedRes, TCheckIfBuiltInInstanceNamespaceScopedRes } from '../../../localTypes/bff/scopes';
|
|
1
2
|
export declare const checkIfApiInstanceNamespaceScoped: ({ typeName, apiGroup, apiVersion, clusterName, }: {
|
|
2
3
|
typeName: string;
|
|
3
4
|
apiGroup: string;
|
|
4
5
|
apiVersion: string;
|
|
5
6
|
clusterName: string;
|
|
6
|
-
}) => Promise<
|
|
7
|
-
isClusterWide: boolean;
|
|
8
|
-
isNamespaceScoped: boolean;
|
|
9
|
-
}>;
|
|
7
|
+
}) => Promise<TCheckIfApiInstanceNamespaceScopedRes>;
|
|
10
8
|
export declare const checkIfBuiltInInstanceNamespaceScoped: ({ typeName, clusterName, }: {
|
|
11
9
|
typeName: string;
|
|
12
10
|
clusterName: string;
|
|
13
|
-
}) => Promise<
|
|
14
|
-
isClusterWide: boolean;
|
|
15
|
-
isNamespaceScoped: boolean;
|
|
16
|
-
}>;
|
|
11
|
+
}) => Promise<TCheckIfBuiltInInstanceNamespaceScopedRes>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TFilterIfApiInstanceNamespaceScopedRes, TFilterIfBuiltInInstanceNamespaceScopedRes } from '
|
|
2
|
-
import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from '
|
|
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?: {
|
package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { FC } from 'react';
|
|
|
2
2
|
import { OpenAPIV2 } from 'openapi-types';
|
|
3
3
|
import { TJSON } from '../../../../../localTypes/JSON';
|
|
4
4
|
import { TUrlParams } from '../../../../../localTypes/form';
|
|
5
|
-
import {
|
|
5
|
+
import { TFormPrefill } from '../../../../../localTypes/formExtensions';
|
|
6
6
|
type TBlackholeFormCreateProps = {
|
|
7
7
|
cluster: string;
|
|
8
8
|
theme: 'light' | 'dark';
|
|
@@ -11,7 +11,7 @@ type TBlackholeFormCreateProps = {
|
|
|
11
11
|
apiGroup?: string;
|
|
12
12
|
typeName?: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
formsPrefills?: TFormPrefill;
|
|
15
15
|
staticProperties: OpenAPIV2.SchemaObject['properties'];
|
|
16
16
|
required: string[];
|
|
17
17
|
hiddenPaths?: string[][];
|
package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AxiosError } from 'axios';
|
|
2
|
+
import { TFormName } from '../../../../../localTypes/form';
|
|
3
|
+
export declare const handleSubmitError: ({ error, expandedKeys, }: {
|
|
4
|
+
error: AxiosError<any, any>;
|
|
5
|
+
expandedKeys: TFormName[];
|
|
6
|
+
}) => any[];
|
|
7
|
+
export declare const handleValidationError: ({ error, expandedKeys, }: {
|
|
8
|
+
error: {
|
|
9
|
+
errorFields: {
|
|
10
|
+
name: TFormName;
|
|
11
|
+
errors: string[];
|
|
12
|
+
warnings: string[];
|
|
13
|
+
}[];
|
|
14
|
+
} & unknown;
|
|
15
|
+
expandedKeys: TFormName[];
|
|
16
|
+
}) => any[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { TJSON } from '../../../../../localTypes/JSON';
|
|
3
3
|
import { TUrlParams } from '../../../../../localTypes/form';
|
|
4
|
-
import { TFormsPrefillsData } from '../../../../../localTypes/formExtensions';
|
|
5
4
|
export type TBlackholeFormDataProviderProps = {
|
|
6
5
|
theme: 'light' | 'dark';
|
|
7
6
|
cluster: string;
|
|
@@ -10,14 +9,6 @@ export type TBlackholeFormDataProviderProps = {
|
|
|
10
9
|
apiGroup?: string;
|
|
11
10
|
typeName?: string;
|
|
12
11
|
};
|
|
13
|
-
namespacesData?: {
|
|
14
|
-
items: ({
|
|
15
|
-
metadata: {
|
|
16
|
-
name: string;
|
|
17
|
-
} & unknown;
|
|
18
|
-
} & unknown)[];
|
|
19
|
-
};
|
|
20
|
-
formsPrefillsData?: TFormsPrefillsData;
|
|
21
12
|
data: {
|
|
22
13
|
type: 'builtin';
|
|
23
14
|
typeName: string;
|
|
@@ -31,6 +22,7 @@ export type TBlackholeFormDataProviderProps = {
|
|
|
31
22
|
prefillValuesSchema?: TJSON;
|
|
32
23
|
prefillValueNamespaceOnly?: string;
|
|
33
24
|
};
|
|
25
|
+
customizationId?: string;
|
|
34
26
|
isCreate?: boolean;
|
|
35
27
|
backlink?: string | null;
|
|
36
28
|
modeData?: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BreadcrumbItemType } from 'antd/es/breadcrumb/Breadcrumb';
|
|
3
3
|
export type TManageableBreadcrumbsProps = {
|
|
4
|
-
data:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
data: {
|
|
5
|
+
breadcrumbItems: BreadcrumbItemType[];
|
|
6
|
+
};
|
|
7
7
|
};
|
|
8
8
|
export declare const ManageableBreadcrumbs: FC<TManageableBreadcrumbsProps>;
|
|
9
9
|
export type TManageableBreadcrumbsWithDataProviderProps = {
|
|
@@ -12,5 +12,6 @@ export type TManageableBreadcrumbsWithDataProviderProps = {
|
|
|
12
12
|
isEnabled?: boolean;
|
|
13
13
|
replaceValues: Record<string, string | undefined>;
|
|
14
14
|
pathname: string;
|
|
15
|
+
idToCompare: string;
|
|
15
16
|
};
|
|
16
17
|
export declare const ManageableBreadcrumbsWithDataProvider: FC<TManageableBreadcrumbsWithDataProviderProps>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BreadcrumbItemType } from 'antd/es/breadcrumb/Breadcrumb';
|
|
2
2
|
import { TLink } from './types';
|
|
3
|
-
export declare const prepareDataForManageableBreadcrumbs: ({ data, replaceValues,
|
|
3
|
+
export declare const prepareDataForManageableBreadcrumbs: ({ data, replaceValues, idToCompare, }: {
|
|
4
4
|
data: {
|
|
5
|
-
|
|
5
|
+
id: string;
|
|
6
6
|
breadcrumbItems: TLink[];
|
|
7
7
|
}[];
|
|
8
8
|
replaceValues: Record<string, string | undefined>;
|
|
9
9
|
pathname: string;
|
|
10
|
+
idToCompare: string;
|
|
10
11
|
}) => {
|
|
11
|
-
pathToMatch: string;
|
|
12
12
|
breadcrumbItems: BreadcrumbItemType[];
|
|
13
13
|
} | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './components';
|
|
2
2
|
export * from './utils';
|
|
3
|
-
export { getSwagger } from './api/getSwagger';
|
|
4
3
|
export { getClusterList } from './api/getClusterList';
|
|
5
4
|
export { createNewEntry, updateEntry, deleteEntry } from './api/forms';
|
|
6
5
|
export { getApiResources, getApiResourceSingle } from './api/getApiResource';
|
|
@@ -11,8 +10,10 @@ export { getBuiltinResourceTypes } from './api/getBuiltinResourceTypes';
|
|
|
11
10
|
export { getCrdData } from './api/getCrdData';
|
|
12
11
|
export { getDirectUnknownResource } from './api/getDirectUnknownResource';
|
|
13
12
|
export { checkPermission } from './api/permissions';
|
|
13
|
+
export { getSwagger } from './api/bff/swagger/getSwagger';
|
|
14
|
+
export { filterIfApiInstanceNamespaceScoped, filterIfBuiltInInstanceNamespaceScoped, } from './api/bff/scopes/filterScopes';
|
|
15
|
+
export { checkIfApiInstanceNamespaceScoped, checkIfBuiltInInstanceNamespaceScoped } from './api/bff/scopes/checkScopes';
|
|
14
16
|
export { useClusterList } from './hooks/useClusterList';
|
|
15
|
-
export { usePermissions } from './hooks/usePermissions';
|
|
16
17
|
export { useApiResources, useApiResourceSingle } from './hooks/useApiResource';
|
|
17
18
|
export { useBuiltinResources, useBuiltinResourceSingle } from './hooks/useBuiltinResource';
|
|
18
19
|
export { useCrdResources, useCrdResourceSingle } from './hooks/useCrdResource';
|
|
@@ -20,12 +21,15 @@ export { useApisResourceTypes, useApiResourceTypesByGroup } from './hooks/useApi
|
|
|
20
21
|
export { useBuiltinResourceTypes } from './hooks/useBuiltinResourceTypes';
|
|
21
22
|
export { useCrdData } from './hooks/useCrdData';
|
|
22
23
|
export { useDirectUnknownResource } from './hooks/useDirectUnknownResource';
|
|
23
|
-
export
|
|
24
|
-
export type {
|
|
24
|
+
export { usePermissions } from './hooks/usePermissions';
|
|
25
|
+
export type { TRequestError } from './localTypes/api';
|
|
25
26
|
export type { TClusterList } from './localTypes/clusterList';
|
|
27
|
+
export type { TItemTypeMap, TRenderableItem, TRendererComponents, TFactoryDataK8s, TFactoryResponse, TFactoryResource, } from './localTypes/dynamicRender';
|
|
28
|
+
export type { TNamespaceData, TFormName, TExpandedControls, TPersistedControls, TUrlParams } from './localTypes/form';
|
|
29
|
+
export type { TFormPrefill, TRangeInputCustomValue, TRangeInputCustomValuesBlock, TRangeInputCustomProps, TListInputCustomProps, } from './localTypes/formExtensions';
|
|
26
30
|
export type { TJSON } from './localTypes/JSON';
|
|
27
|
-
export type { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TTableMappingData, TTableMappingResource, TTableMappingResponse, } from './localTypes/richTable';
|
|
28
31
|
export type { TApiGroupList, TApiGroupResourceTypeList, TBuiltinResourceTypeList, TSingleResource, TBuiltinResources, TApiResources, TCrdResources, TCRD, } from './localTypes/k8s';
|
|
29
|
-
export type { TItemTypeMap, TRenderableItem, TRendererComponents, TFactoryResponse, TFactoryResource, TFactoryDataK8s, } from './localTypes/dynamicRender';
|
|
30
32
|
export type { TMarketPlacePanel, TMarketPlacePanelResource, TMarketPlacePanelResponse } from './localTypes/marketplace';
|
|
31
|
-
export type {
|
|
33
|
+
export type { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TTableMappingData, TTableMappingResource, TTableMappingResponse, } from './localTypes/richTable';
|
|
34
|
+
export type { TFilterIfApiInstanceNamespaceScopedReq, TFilterIfApiInstanceNamespaceScopedRes, TFilterIfBuiltInInstanceNamespaceScopedReq, TFilterIfBuiltInInstanceNamespaceScopedRes, } from './localTypes/bff/scopes';
|
|
35
|
+
export type { TGetDerefedSwaggerRes } from './localTypes/bff/swagger';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { OpenAPIV2 } from 'openapi-types';
|
|
2
|
+
import { TJSON } from '../JSON';
|
|
3
|
+
import { TFormName } from '../form';
|
|
4
|
+
import { TFormPrefill } from '../formExtensions';
|
|
5
|
+
export type TPrepareFormReq = {
|
|
6
|
+
data: {
|
|
7
|
+
type: 'builtin';
|
|
8
|
+
typeName: string;
|
|
9
|
+
prefillValuesSchema?: TJSON;
|
|
10
|
+
prefillValueNamespaceOnly?: string;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'apis';
|
|
13
|
+
apiGroup: string;
|
|
14
|
+
apiVersion: string;
|
|
15
|
+
typeName: string;
|
|
16
|
+
prefillValuesSchema?: TJSON;
|
|
17
|
+
prefillValueNamespaceOnly?: string;
|
|
18
|
+
};
|
|
19
|
+
clusterName: string;
|
|
20
|
+
customizationId?: string;
|
|
21
|
+
};
|
|
22
|
+
export type TPrepareFormRes = {
|
|
23
|
+
result: 'error';
|
|
24
|
+
error: string | undefined;
|
|
25
|
+
kindName: string | undefined;
|
|
26
|
+
fallbackToManualMode: true;
|
|
27
|
+
isNamespaced: boolean;
|
|
28
|
+
} | {
|
|
29
|
+
result: 'success';
|
|
30
|
+
properties: {
|
|
31
|
+
[name: string]: OpenAPIV2.SchemaObject;
|
|
32
|
+
};
|
|
33
|
+
required: string[] | undefined;
|
|
34
|
+
hiddenPaths: string[][] | undefined;
|
|
35
|
+
expandedPaths: string[][] | undefined;
|
|
36
|
+
persistedPaths: string[][] | undefined;
|
|
37
|
+
kindName: string | undefined;
|
|
38
|
+
isNamespaced: boolean;
|
|
39
|
+
formPrefills?: TFormPrefill;
|
|
40
|
+
namespacesData?: string[];
|
|
41
|
+
};
|
|
42
|
+
export type TYamlByValuesReq = {
|
|
43
|
+
values: any;
|
|
44
|
+
persistedKeys: TFormName[];
|
|
45
|
+
properties: OpenAPIV2.SchemaObject['properties'];
|
|
46
|
+
};
|
|
47
|
+
export type TYamlByValuesRes = any;
|
|
48
|
+
export type TValuesByYamlReq = {
|
|
49
|
+
values: Record<string, unknown>;
|
|
50
|
+
properties: OpenAPIV2.SchemaObject['properties'];
|
|
51
|
+
};
|
|
52
|
+
export type TValuesByYamlRes = any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from '../k8s';
|
|
2
|
+
export type TCheckIfApiInstanceNamespaceScopedReq = {
|
|
3
|
+
typeName: string;
|
|
4
|
+
apiGroup: string;
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
clusterName: string;
|
|
7
|
+
};
|
|
8
|
+
export type TCheckIfApiInstanceNamespaceScopedRes = {
|
|
9
|
+
isClusterWide: boolean;
|
|
10
|
+
isNamespaceScoped: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type TCheckIfBuiltInInstanceNamespaceScopedReq = {
|
|
13
|
+
typeName: string;
|
|
14
|
+
clusterName: string;
|
|
15
|
+
};
|
|
16
|
+
export type TCheckIfBuiltInInstanceNamespaceScopedRes = {
|
|
17
|
+
isClusterWide: boolean;
|
|
18
|
+
isNamespaceScoped: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type TFilterIfApiInstanceNamespaceScopedReq = {
|
|
21
|
+
namespace?: string;
|
|
22
|
+
data?: TApiGroupResourceTypeList;
|
|
23
|
+
apiGroup: string;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
clusterName: string;
|
|
26
|
+
};
|
|
27
|
+
export type TFilterIfApiInstanceNamespaceScopedRes = TApiGroupResourceTypeList['resources'] | undefined;
|
|
28
|
+
export type TFilterIfBuiltInInstanceNamespaceScopedReq = {
|
|
29
|
+
namespace?: string;
|
|
30
|
+
data?: TBuiltinResourceTypeList;
|
|
31
|
+
clusterName: string;
|
|
32
|
+
};
|
|
33
|
+
export type TFilterIfBuiltInInstanceNamespaceScopedRes = TBuiltinResourceTypeList['resources'] | undefined;
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
import { DefaultOptionType } from 'antd/es/select';
|
|
2
|
-
import { OpenAPIV2 } from 'openapi-types';
|
|
3
|
-
export type TPrepareFormRes = {
|
|
4
|
-
result: 'error';
|
|
5
|
-
error: string | undefined;
|
|
6
|
-
kindName: string | undefined;
|
|
7
|
-
fallbackToManualMode: true;
|
|
8
|
-
isNamespaced: boolean;
|
|
9
|
-
} | {
|
|
10
|
-
result: 'success';
|
|
11
|
-
properties: {
|
|
12
|
-
[name: string]: OpenAPIV2.SchemaObject;
|
|
13
|
-
};
|
|
14
|
-
required: string[] | undefined;
|
|
15
|
-
hiddenPaths: string[][] | undefined;
|
|
16
|
-
expandedPaths: string[][] | undefined;
|
|
17
|
-
persistedPaths: string[][] | undefined;
|
|
18
|
-
kindName: string | undefined;
|
|
19
|
-
isNamespaced: boolean;
|
|
20
|
-
};
|
|
21
2
|
export type TNamespaceData = {
|
|
22
3
|
filterSelectOptions: (input: string, option?: DefaultOptionType) => boolean;
|
|
23
4
|
selectValues: {
|
|
@@ -36,7 +17,6 @@ export type TPersistedControls = {
|
|
|
36
17
|
onPersistMark: (value: TFormName, type?: 'str' | 'number' | 'arr' | 'obj') => void;
|
|
37
18
|
onPersistUnmark: (value: TFormName) => void;
|
|
38
19
|
persistedKeys: TFormName[];
|
|
39
|
-
isPersistedKeysShown?: boolean;
|
|
40
20
|
};
|
|
41
21
|
export type TUrlParams = {
|
|
42
22
|
clusterName?: string;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
export type TFormPrefill = {
|
|
2
2
|
spec: {
|
|
3
|
-
|
|
3
|
+
customizationId: string;
|
|
4
4
|
values: {
|
|
5
5
|
path: (string | number)[];
|
|
6
6
|
value: unknown;
|
|
7
7
|
}[];
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
11
|
-
items: TFormPrefill[];
|
|
12
|
-
};
|
|
13
|
-
type TRangeInputCustomValue = {
|
|
10
|
+
export type TRangeInputCustomValue = {
|
|
14
11
|
type: 'number';
|
|
15
12
|
value: number;
|
|
16
13
|
} | {
|
|
@@ -52,4 +49,3 @@ export type TListInputCustomProps = {
|
|
|
52
49
|
keepPrefilled?: boolean;
|
|
53
50
|
};
|
|
54
51
|
};
|
|
55
|
-
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
export * from './prepareTemplate';
|
|
2
2
|
export * from './isFlatObject';
|
|
3
|
-
export * from './scopes';
|
|
4
|
-
export * from './overwriteMatchingKeys';
|
|
5
3
|
export * from './filterSelectOptions';
|
|
6
4
|
export * from './getStringByName';
|
|
7
5
|
export * from './parseForQuotaValues';
|
|
8
|
-
export * from './removeEmptyFormValues';
|
|
9
6
|
export * from './normalizeValuesForQuotas';
|
|
10
7
|
export * from './getAllPathsFromObj';
|
|
11
8
|
export * from './getPrefixSubArrays';
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { OpenAPIV2 } from 'openapi-types';
|
|
2
|
-
export declare const normalizeValuesForQuotas: (object: any, properties: OpenAPIV2.SchemaObject['properties']) => any;
|
|
3
2
|
export declare const normalizeValuesForQuotasToNumber: (object: any, properties: OpenAPIV2.SchemaObject['properties']) => any;
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from './k8s';
|
|
2
|
-
export type TCheckIfApiInstanceNamespaceScopedRes = {
|
|
3
|
-
isClusterWide: boolean;
|
|
4
|
-
isNamespaceScoped: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type TCheckIfBuiltInInstanceNamespaceScopedRes = {
|
|
7
|
-
isClusterWide: boolean;
|
|
8
|
-
isNamespaceScoped: boolean;
|
|
9
|
-
};
|
|
10
|
-
export type TFilterIfApiInstanceNamespaceScopedRes = TApiGroupResourceTypeList['resources'] | undefined;
|
|
11
|
-
export type TFilterIfBuiltInInstanceNamespaceScopedRes = TBuiltinResourceTypeList['resources'] | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './overwriteMatchingKeys';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './removeEmptyFormValues';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TFormName } from '../../localTypes/form';
|
|
2
|
-
export declare const removeEmptyFormValues: (object: any, persistedKeys: TFormName[], currentPath?: (string | number)[]) => any;
|
|
3
|
-
export declare const renameBrokenFieldBack: (object: any) => any;
|
|
4
|
-
export declare const renameBrokenFieldBackToFormAgain: (object: any) => any;
|