@prorobotech/openapi-k8s-toolkit 1.1.0-alpha.9 → 1.2.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 (66) hide show
  1. package/dist/openapi-k8s-toolkit.es.js +1884 -1416
  2. package/dist/openapi-k8s-toolkit.es.js.map +1 -1
  3. package/dist/openapi-k8s-toolkit.umd.js +1942 -1472
  4. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  5. package/dist/types/api/bff/scopes/checkScopes.d.ts +6 -6
  6. package/dist/types/api/bff/scopes/filterScopes.d.ts +4 -4
  7. package/dist/types/api/bff/search/getKinds.d.ts +2 -2
  8. package/dist/types/api/bff/swagger/getSwagger.d.ts +2 -2
  9. package/dist/types/api/forms.d.ts +4 -0
  10. package/dist/types/api/getApiResource.d.ts +8 -8
  11. package/dist/types/api/getApiResourceTypes.d.ts +4 -4
  12. package/dist/types/api/getBuiltinResource.d.ts +8 -8
  13. package/dist/types/api/getBuiltinResourceTypes.d.ts +2 -2
  14. package/dist/types/api/getCrdData.d.ts +2 -2
  15. package/dist/types/api/getCrdResource.d.ts +5 -5
  16. package/dist/types/api/permissions.d.ts +4 -4
  17. package/dist/types/components/molecules/BlackholeForm/index.d.ts +0 -1
  18. package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +0 -1
  19. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +3 -3
  20. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/BlackholeFormProvider.d.ts +3 -3
  21. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/types.d.ts +2 -2
  22. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +2 -2
  23. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.d.ts +1 -1
  24. package/dist/types/components/molecules/Events/Events.d.ts +2 -2
  25. package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/ManageableSidebarProvider.d.ts +1 -0
  26. package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/utils.d.ts +2 -1
  27. package/dist/types/components/molecules/MarketPlace/MarketPlace.d.ts +3 -3
  28. package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +3 -3
  29. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +1 -1
  30. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/utils.d.ts +9 -9
  31. package/dist/types/components/molecules/ProjectInfoCard/ProjectInfoCard.d.ts +3 -3
  32. package/dist/types/components/molecules/{BlackholeForm/molecules/YamlEditorSingleton → YamlEditorSingleton}/YamlEditorSingleton.d.ts +2 -2
  33. package/dist/types/components/molecules/index.d.ts +2 -1
  34. package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/RefsList.d.ts +3 -2
  35. package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/RefElement.d.ts +1 -0
  36. package/dist/types/components/organisms/DynamicComponents/molecules/Toggler/Toggler.d.ts +6 -0
  37. package/dist/types/components/organisms/DynamicComponents/molecules/Toggler/index.d.ts +1 -0
  38. package/dist/types/components/organisms/DynamicComponents/molecules/TogglerSegmented/TogglerSegmented.d.ts +6 -0
  39. package/dist/types/components/organisms/DynamicComponents/molecules/TogglerSegmented/index.d.ts +1 -0
  40. package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +2 -0
  41. package/dist/types/components/organisms/DynamicComponents/molecules/utils.d.ts +2 -1
  42. package/dist/types/components/organisms/DynamicComponents/molecules/utils.test.d.ts +1 -0
  43. package/dist/types/components/organisms/DynamicComponents/types.d.ts +63 -18
  44. package/dist/types/hooks/useApiResource.d.ts +8 -8
  45. package/dist/types/hooks/useApisResourceTypes.d.ts +4 -4
  46. package/dist/types/hooks/useBuiltinResource.d.ts +8 -8
  47. package/dist/types/hooks/useBuiltinResourceTypes.d.ts +2 -2
  48. package/dist/types/hooks/useCrdData.d.ts +2 -2
  49. package/dist/types/hooks/useCrdResource.d.ts +5 -5
  50. package/dist/types/hooks/useK8sSmartResource/index.d.ts +4 -0
  51. package/dist/types/hooks/useK8sSmartResource/useK8sSmartResource.d.ts +28 -0
  52. package/dist/types/hooks/{useK8sSmartResource.d.ts → useK8sSmartResource/useK8sSmartResourceWithoutKinds.d.ts} +4 -4
  53. package/dist/types/hooks/useK8sSmartResource/useManyK8sSmartResource.d.ts +17 -0
  54. package/dist/types/hooks/useK8sSmartResource/useSmartResourceParams.d.ts +9 -0
  55. package/dist/types/hooks/usePermissions.d.ts +4 -4
  56. package/dist/types/index.d.ts +1 -1
  57. package/dist/types/localTypes/bff/form.d.ts +5 -5
  58. package/dist/types/localTypes/bff/scopes.d.ts +6 -6
  59. package/dist/types/localTypes/bff/table.d.ts +2 -2
  60. package/dist/types/localTypes/form.d.ts +2 -2
  61. package/dist/types/localTypes/marketplace.d.ts +1 -1
  62. package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +2 -2
  63. package/dist/types/utils/tableLocations/tableLocations.d.ts +5 -5
  64. package/package.json +1 -1
  65. /package/dist/types/components/molecules/{BlackholeForm/molecules/YamlEditorSingleton → YamlEditorSingleton}/index.d.ts +0 -0
  66. /package/dist/types/components/molecules/{BlackholeForm/molecules/YamlEditorSingleton → YamlEditorSingleton}/styled.d.ts +0 -0
@@ -1,11 +1,11 @@
1
1
  import { TCheckIfApiInstanceNamespaceScopedRes, TCheckIfBuiltInInstanceNamespaceScopedRes } from '../../../localTypes/bff/scopes';
2
- export declare const checkIfApiInstanceNamespaceScoped: ({ typeName, apiGroup, apiVersion, clusterName, }: {
3
- typeName: string;
2
+ export declare const checkIfApiInstanceNamespaceScoped: ({ plural, apiGroup, apiVersion, cluster, }: {
3
+ plural: string;
4
4
  apiGroup: string;
5
5
  apiVersion: string;
6
- clusterName: string;
6
+ cluster: string;
7
7
  }) => Promise<TCheckIfApiInstanceNamespaceScopedRes>;
8
- export declare const checkIfBuiltInInstanceNamespaceScoped: ({ typeName, clusterName, }: {
9
- typeName: string;
10
- clusterName: string;
8
+ export declare const checkIfBuiltInInstanceNamespaceScoped: ({ plural, cluster, }: {
9
+ plural: string;
10
+ cluster: string;
11
11
  }) => Promise<TCheckIfBuiltInInstanceNamespaceScopedRes>;
@@ -1,6 +1,6 @@
1
1
  import { TFilterIfApiInstanceNamespaceScopedRes, TFilterIfBuiltInInstanceNamespaceScopedRes } from '../../../localTypes/bff/scopes';
2
2
  import { TApiGroupResourceTypeList, TBuiltinResourceTypeList } from '../../../localTypes/k8s';
3
- export declare const filterIfApiInstanceNamespaceScoped: ({ namespace, data, apiGroup, apiVersion, clusterName, }: {
3
+ export declare const filterIfApiInstanceNamespaceScoped: ({ cluster, namespace, apiGroup, apiVersion, data, }: {
4
4
  namespace?: string | undefined;
5
5
  data?: {
6
6
  apiVersion: string;
@@ -13,10 +13,10 @@ export declare const filterIfApiInstanceNamespaceScoped: ({ namespace, data, api
13
13
  } | undefined;
14
14
  apiGroup: string;
15
15
  apiVersion: string;
16
- clusterName: string;
16
+ cluster: string;
17
17
  }) => Promise<TFilterIfApiInstanceNamespaceScopedRes>;
18
- export declare const filterIfBuiltInInstanceNamespaceScoped: ({ namespace, data, clusterName, }: {
18
+ export declare const filterIfBuiltInInstanceNamespaceScoped: ({ cluster, namespace, data, }: {
19
+ cluster: string;
19
20
  namespace?: string | undefined;
20
21
  data?: TBuiltinResourceTypeList | undefined;
21
- clusterName: string;
22
22
  }) => Promise<TFilterIfBuiltInInstanceNamespaceScopedRes>;
@@ -1,4 +1,4 @@
1
1
  import { TKindIndex } from '../../../localTypes/bff/search';
2
- export declare const getKinds: ({ clusterName }: {
3
- clusterName: string;
2
+ export declare const getKinds: ({ cluster }: {
3
+ cluster: string;
4
4
  }) => Promise<TKindIndex>;
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse } from 'axios';
2
2
  import { TGetDerefedSwaggerRes } from '../../../localTypes/bff/swagger';
3
- export declare const getSwagger: ({ clusterName, }: {
4
- clusterName: string;
3
+ export declare const getSwagger: ({ cluster }: {
4
+ cluster: string;
5
5
  }) => Promise<AxiosResponse<TGetDerefedSwaggerRes>>;
@@ -15,3 +15,7 @@ export declare const patchEntryWithReplaceOp: <T>({ endpoint, pathToValue, body,
15
15
  pathToValue: string;
16
16
  body: unknown;
17
17
  }) => Promise<AxiosResponse<T, any, {}>>;
18
+ export declare const patchEntryWithDeleteOp: <T>({ endpoint, pathToValue, }: {
19
+ endpoint: string;
20
+ pathToValue: string;
21
+ }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,20 +1,20 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const getApiResources: <T>({ clusterName, namespace, apiGroup, apiVersion, typeName, specificName, labels, fields, limit, }: {
3
- clusterName: string;
2
+ export declare const getApiResources: <T>({ cluster, namespace, apiGroup, apiVersion, plural, name, labels, fields, limit, }: {
3
+ cluster: string;
4
4
  namespace?: string | undefined;
5
5
  apiGroup: string;
6
6
  apiVersion: string;
7
- typeName: string;
8
- specificName?: string | undefined;
7
+ plural: string;
8
+ name?: string | undefined;
9
9
  labels?: string[] | undefined;
10
10
  fields?: string[] | undefined;
11
11
  limit: string | null;
12
12
  }) => Promise<AxiosResponse<T, any, {}>>;
13
- export declare const getApiResourceSingle: <T>({ clusterName, namespace, apiGroup, apiVersion, typeName, entryName, }: {
14
- clusterName: string;
13
+ export declare const getApiResourceSingle: <T>({ cluster, namespace, apiGroup, apiVersion, plural, name, }: {
14
+ cluster: string;
15
15
  namespace?: string | undefined;
16
16
  apiGroup: string;
17
17
  apiVersion: string;
18
- typeName: string;
19
- entryName: string;
18
+ plural: string;
19
+ name: string;
20
20
  }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,9 +1,9 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const getApiResourceTypes: <T>({ clusterName }: {
3
- clusterName: string;
2
+ export declare const getApiResourceTypes: <T>({ cluster }: {
3
+ cluster: string;
4
4
  }) => Promise<AxiosResponse<T, any, {}>>;
5
- export declare const getApiResourceTypesByApiGroup: <T>({ clusterName, apiGroup, apiVersion, }: {
6
- clusterName: string;
5
+ export declare const getApiResourceTypesByApiGroup: <T>({ cluster, apiGroup, apiVersion, }: {
6
+ cluster: string;
7
7
  apiGroup: string;
8
8
  apiVersion: string;
9
9
  }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,16 +1,16 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const getBuiltinResources: <T>({ clusterName, namespace, typeName, specificName, labels, fields, limit, }: {
3
- clusterName: string;
2
+ export declare const getBuiltinResources: <T>({ cluster, namespace, plural, name, labels, fields, limit, }: {
3
+ cluster: string;
4
4
  namespace?: string | undefined;
5
- typeName: string;
6
- specificName?: string | undefined;
5
+ plural: string;
6
+ name?: string | undefined;
7
7
  labels?: string[] | undefined;
8
8
  fields?: string[] | undefined;
9
9
  limit: string | null;
10
10
  }) => Promise<AxiosResponse<T, any, {}>>;
11
- export declare const getBuiltinResourceSingle: <T>({ clusterName, namespace, typeName, entryName, }: {
12
- clusterName: string;
11
+ export declare const getBuiltinResourceSingle: <T>({ cluster, namespace, plural, name, }: {
12
+ cluster: string;
13
13
  namespace?: string | undefined;
14
- typeName: string;
15
- entryName: string;
14
+ plural: string;
15
+ name: string;
16
16
  }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,4 +1,4 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const getBuiltinResourceTypes: <T>({ clusterName, }: {
3
- clusterName: string;
2
+ export declare const getBuiltinResourceTypes: <T>({ cluster }: {
3
+ cluster: string;
4
4
  }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,6 +1,6 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const getCrdData: <T>({ clusterName, apiExtensionVersion, crdName, }: {
3
- clusterName: string;
2
+ export declare const getCrdData: <T>({ cluster, apiExtensionVersion, crdName, }: {
3
+ cluster: string;
4
4
  apiExtensionVersion: string;
5
5
  crdName: string;
6
6
  }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,16 +1,16 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const getCrdResources: <T>({ clusterName, namespace, apiGroup, apiVersion, crdName, }: {
3
- clusterName: string;
2
+ export declare const getCrdResources: <T>({ cluster, namespace, apiGroup, apiVersion, crdName, }: {
3
+ cluster: string;
4
4
  namespace?: string | undefined;
5
5
  apiGroup: string;
6
6
  apiVersion: string;
7
7
  crdName: string;
8
8
  }) => Promise<AxiosResponse<T, any, {}>>;
9
- export declare const getCrdResourceSingle: <T>({ clusterName, namespace, apiGroup, apiVersion, crdName, entryName, }: {
10
- clusterName: string;
9
+ export declare const getCrdResourceSingle: <T>({ cluster, namespace, apiGroup, apiVersion, crdName, name, }: {
10
+ cluster: string;
11
11
  namespace?: string | undefined;
12
12
  apiGroup: string;
13
13
  apiVersion: string;
14
14
  crdName: string;
15
- entryName: string;
15
+ name: string;
16
16
  }) => Promise<AxiosResponse<T, any, {}>>;
@@ -1,9 +1,9 @@
1
1
  import { AxiosResponse } from 'axios';
2
- export declare const checkPermission: ({ clusterName, body, }: {
3
- clusterName: string;
2
+ export declare const checkPermission: ({ cluster, body, }: {
3
+ cluster: string;
4
4
  body: {
5
- group?: string;
6
- resource: string;
5
+ apiGroup?: string;
6
+ plural: string;
7
7
  verb: 'get' | 'list' | 'watch' | 'create' | 'delete' | 'patch' | 'update';
8
8
  namespace?: string;
9
9
  name?: string;
@@ -1,3 +1,2 @@
1
1
  export { BlackholeFormProvider, BlackholeForm, getObjectFormItemsDraft } from './organisms';
2
2
  export type { TBlackholeFormProviderProps, TBlackholeFormProps } from './organisms';
3
- export { YamlEditorSingleton } from './molecules';
@@ -1,5 +1,4 @@
1
1
  export { YamlEditor } from './YamlEditor';
2
- export { YamlEditorSingleton } from './YamlEditorSingleton';
3
2
  export { FormListInput } from './FormListInput';
4
3
  export { FormRangeInput } from './FormRangeInput';
5
4
  export { FormNamespaceInput } from './FormNamespaceInput';
@@ -9,7 +9,7 @@ export type TBlackholeFormProps = {
9
9
  urlParams: TUrlParams;
10
10
  urlParamsForPermissions: {
11
11
  apiGroup?: string;
12
- typeName?: string;
12
+ plural?: string;
13
13
  };
14
14
  formsPrefills?: TFormPrefill;
15
15
  staticProperties: OpenAPIV2.SchemaObject['properties'];
@@ -24,8 +24,8 @@ export type TBlackholeFormProps = {
24
24
  isCreate?: boolean;
25
25
  type: 'builtin' | 'apis';
26
26
  apiGroupApiVersion: string;
27
- kindName: string;
28
- typeName: string;
27
+ kind: string;
28
+ plural: string;
29
29
  backlink?: string | null;
30
30
  designNewLayout?: boolean;
31
31
  designNewLayoutHeight?: number;
@@ -7,18 +7,18 @@ export type TBlackholeFormProviderProps = {
7
7
  urlParams: TUrlParams;
8
8
  urlParamsForPermissions: {
9
9
  apiGroup?: string;
10
- typeName?: string;
10
+ plural?: string;
11
11
  };
12
12
  data: {
13
13
  type: 'builtin';
14
- typeName: string;
14
+ plural: string;
15
15
  prefillValuesSchema?: TJSON;
16
16
  prefillValueNamespaceOnly?: string;
17
17
  } | {
18
18
  type: 'apis';
19
19
  apiGroup: string;
20
20
  apiVersion: string;
21
- typeName: string;
21
+ plural: string;
22
22
  prefillValuesSchema?: TJSON;
23
23
  prefillValueNamespaceOnly?: string;
24
24
  };
@@ -2,8 +2,8 @@ export type TInternalDataForControls = {
2
2
  cluster: string;
3
3
  pathPrefix: string;
4
4
  apiGroupAndVersion: string;
5
- typeName: string;
6
- entryName: string;
5
+ plural: string;
6
+ name: string;
7
7
  backlink: string;
8
8
  namespace?: string;
9
9
  syntheticProject?: string;
@@ -10,14 +10,14 @@ export type TEnrichedTableProviderProps = {
10
10
  dataItems: TJSON[];
11
11
  resourceSchema?: TJSON;
12
12
  k8sResource?: {
13
- resource: string;
13
+ plural: string;
14
14
  apiGroup?: string;
15
15
  apiVersion: string;
16
16
  };
17
17
  dataForControls?: {
18
18
  cluster: string;
19
19
  syntheticProject?: string;
20
- resource: string;
20
+ plural: string;
21
21
  apiGroup?: string;
22
22
  apiVersion: string;
23
23
  };
@@ -9,7 +9,7 @@ export declare const prepare: ({ dataItems, resourceSchema, dataForControls, add
9
9
  syntheticProject?: string | undefined;
10
10
  pathPrefix: string;
11
11
  apiVersion: string;
12
- typeName: string;
12
+ plural: string;
13
13
  backlink: string;
14
14
  deletePathPrefix: string;
15
15
  onDeleteHandle: (name: string, endpoint: string) => void;
@@ -11,7 +11,7 @@ export type TEventsProps = {
11
11
  baseFactoryNamespacedBuiltinKey: string;
12
12
  baseFactoryClusterSceopedBuiltinKey: string;
13
13
  baseNamespaceFactoryKey: string;
14
- baseNavigationPluralName: string;
15
- baseNavigationSpecificName: string;
14
+ baseNavigationPlural: string;
15
+ baseNavigationName: string;
16
16
  };
17
17
  export declare const Events: FC<TEventsProps>;
@@ -8,6 +8,7 @@ export type TManageableSidebarProviderProps = {
8
8
  replaceValues: Record<string, string | undefined>;
9
9
  pathname: string;
10
10
  idToCompare: string;
11
+ fallbackIdToCompare?: string;
11
12
  currentTags?: string[];
12
13
  hidden?: boolean;
13
14
  noMarginTop?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ItemType } from 'antd/es/menu/interface';
2
2
  import { TLink } from './types';
3
- export declare const prepareDataForManageableSidebar: ({ data, replaceValues, pathname, idToCompare, currentTags, }: {
3
+ export declare const prepareDataForManageableSidebar: ({ data, replaceValues, pathname, idToCompare, fallbackIdToCompare, currentTags, }: {
4
4
  data: {
5
5
  id: string;
6
6
  menuItems: TLink[];
@@ -10,6 +10,7 @@ export declare const prepareDataForManageableSidebar: ({ data, replaceValues, pa
10
10
  replaceValues: Record<string, string | undefined>;
11
11
  pathname: string;
12
12
  idToCompare: string;
13
+ fallbackIdToCompare?: string | undefined;
13
14
  currentTags?: string[] | undefined;
14
15
  }) => {
15
16
  menuItems: ItemType[];
@@ -1,11 +1,11 @@
1
1
  import { FC } from 'react';
2
2
  export type TMarketPlaceProps = {
3
- clusterName?: string;
3
+ cluster: string;
4
4
  namespace?: string;
5
5
  baseApiGroup: string;
6
6
  baseApiVersion: string;
7
- mpResourceName: string;
8
- mpResourceKind: string;
7
+ marketplacePlural: string;
8
+ marketplaceKind: string;
9
9
  baseprefix?: string;
10
10
  standalone?: boolean;
11
11
  forceAddedMode?: boolean;
@@ -2,11 +2,11 @@ import { FC, Dispatch, SetStateAction } from 'react';
2
2
  import { AxiosError } from 'axios';
3
3
  import { TMarketPlacePanelResource } from '../../../../../localTypes/marketplace';
4
4
  type TAddEditFormModalProps = {
5
- clusterName?: string;
5
+ cluster: string;
6
6
  baseApiGroup: string;
7
7
  baseApiVersion: string;
8
- mpResourceName: string;
9
- mpResourceKind: string;
8
+ marketplacePlural: string;
9
+ marketplaceKind: string;
10
10
  isOpen: boolean | TMarketPlacePanelResource;
11
11
  setIsOpen: Dispatch<SetStateAction<boolean | TMarketPlacePanelResource>>;
12
12
  setError: Dispatch<SetStateAction<AxiosError | Error | undefined>>;
@@ -2,7 +2,7 @@ import { FC } from 'react';
2
2
  import { TMarketPlacePanel } from '../../../../../localTypes/marketplace';
3
3
  export type TMarketplaceCardProps = {
4
4
  baseprefix?: string;
5
- clusterName: string;
5
+ cluster: string;
6
6
  namespace: string;
7
7
  isEditMode?: boolean;
8
8
  onDeleteClick?: () => void;
@@ -1,28 +1,28 @@
1
- export declare const getPathToNav: ({ clusterName, namespace, type, pathToNav, typeName, apiGroup, apiVersion, baseprefix, }: {
2
- clusterName: string;
1
+ export declare const getPathToNav: ({ cluster, namespace, type, pathToNav, plural, apiGroup, apiVersion, baseprefix, }: {
2
+ cluster: string;
3
3
  namespace: string;
4
4
  type: string;
5
5
  pathToNav?: string | undefined;
6
- typeName?: string | undefined;
6
+ plural?: string | undefined;
7
7
  apiGroup?: string | undefined;
8
8
  apiVersion?: string | undefined;
9
9
  baseprefix?: string | undefined;
10
10
  }) => string;
11
- export declare const getCreatePathToNav: ({ clusterName, namespace, type, pathToNav, typeName, apiGroup, apiVersion, baseprefix, }: {
12
- clusterName: string;
11
+ export declare const getCreatePathToNav: ({ cluster, namespace, type, pathToNav, plural, apiGroup, apiVersion, baseprefix, }: {
12
+ cluster: string;
13
13
  namespace: string;
14
14
  type: string;
15
15
  pathToNav?: string | undefined;
16
- typeName?: string | undefined;
16
+ plural?: string | undefined;
17
17
  apiGroup?: string | undefined;
18
18
  apiVersion?: string | undefined;
19
19
  baseprefix?: string | undefined;
20
20
  }) => string;
21
- export declare const getListPath: ({ clusterName, namespace, type, typeName, apiGroup, apiVersion, }: {
22
- clusterName: string;
21
+ export declare const getListPath: ({ cluster, namespace, type, plural, apiGroup, apiVersion, }: {
22
+ cluster: string;
23
23
  namespace: string;
24
24
  type: string;
25
- typeName?: string | undefined;
25
+ plural?: string | undefined;
26
26
  apiGroup?: string | undefined;
27
27
  apiVersion?: string | undefined;
28
28
  }) => string | undefined;
@@ -1,13 +1,13 @@
1
1
  import { FC } from 'react';
2
2
  export type TProjectInfoCardProps = {
3
- clusterName?: string;
3
+ cluster: string;
4
4
  namespace?: string;
5
5
  baseApiGroup: string;
6
6
  baseApiVersion: string;
7
7
  baseProjectApiGroup: string;
8
8
  baseProjectVersion: string;
9
- projectResourceName: string;
10
- mpResourceName: string;
9
+ projectPlural: string;
10
+ marketplacePlural: string;
11
11
  baseprefix?: string;
12
12
  accessGroups: string[];
13
13
  showZeroResources?: boolean;
@@ -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;
@@ -8,7 +8,7 @@ type TYamlEditorSingletonProps = {
8
8
  isCreate?: boolean;
9
9
  type: 'builtin' | 'apis';
10
10
  apiGroupApiVersion: string;
11
- typeName: string;
11
+ plural: string;
12
12
  backlink?: string | null;
13
13
  designNewLayout?: boolean;
14
14
  designNewLayoutHeight?: number;
@@ -4,7 +4,8 @@ export { ManageableSidebarProvider, prepareDataForManageableSidebar, ManageableS
4
4
  export type { TManageableSidebarProviderProps, TManageableSidebarProps } from './ManageableSidebar';
5
5
  export { EnrichedTableProvider, EnrichedTable, getEnrichedColumns, getEnrichedColumnsWithControls, } from './EnrichedTable';
6
6
  export type { TEnrichedTableProviderProps, TEnrichedTableProps } from './EnrichedTable';
7
- export { BlackholeFormProvider, BlackholeForm, getObjectFormItemsDraft, YamlEditorSingleton } from './BlackholeForm';
7
+ export { YamlEditorSingleton } from './YamlEditorSingleton';
8
+ export { BlackholeFormProvider, BlackholeForm, getObjectFormItemsDraft } from './BlackholeForm';
8
9
  export type { TBlackholeFormProviderProps, TBlackholeFormProps } from './BlackholeForm';
9
10
  export { MarketPlace, MarketplaceCard } from './MarketPlace';
10
11
  export type { TMarketPlaceProps, TMarketplaceCardProps } from './MarketPlace';
@@ -10,12 +10,13 @@ export type TRefsListProps = {
10
10
  forcedRelatedValuePath?: string;
11
11
  rawObjectToFindLabel?: any;
12
12
  jsonPathToArrayOfRefs: string;
13
+ forcedNamespace?: string;
13
14
  baseFactoryNamespacedAPIKey: string;
14
15
  baseFactoryClusterSceopedAPIKey: string;
15
16
  baseFactoryNamespacedBuiltinKey: string;
16
17
  baseFactoryClusterSceopedBuiltinKey: string;
17
- baseNavigationPluralName: string;
18
- baseNavigationSpecificName: string;
18
+ baseNavigationPlural: string;
19
+ baseNavigationName: string;
19
20
  listFlexProps?: FlexProps;
20
21
  };
21
22
  export declare const RefsList: FC<TRefsListProps>;
@@ -6,6 +6,7 @@ type TRefElementProps = {
6
6
  forcedRelatedValuePath?: string;
7
7
  rawObjectToFindLabel?: any;
8
8
  jsonPathToArrayOfRefs: string;
9
+ forcedNamespace?: string;
9
10
  theme: 'dark' | 'light';
10
11
  baseprefix?: string;
11
12
  cluster: string;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ export declare const Toggler: FC<{
4
+ data: TDynamicComponentsAppTypeMap['Toggler'];
5
+ children?: any;
6
+ }>;
@@ -0,0 +1 @@
1
+ export { Toggler } from './Toggler';
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ export declare const TogglerSegmented: FC<{
4
+ data: TDynamicComponentsAppTypeMap['TogglerSegmented'];
5
+ children?: any;
6
+ }>;
@@ -0,0 +1 @@
1
+ export { TogglerSegmented } from './TogglerSegmented';
@@ -35,3 +35,5 @@ export { SecretBase64Plain } from './SecretBase64Plain';
35
35
  export { ResourceBadge } from './ResourceBadge';
36
36
  export { Events } from './Events';
37
37
  export { OwnerRefs } from './OwnerRefs';
38
+ export { Toggler } from './Toggler';
39
+ export { TogglerSegmented } from './TogglerSegmented';
@@ -10,10 +10,11 @@ export declare const parseMutliqueryText: ({ text, multiQueryData, customFallbac
10
10
  multiQueryData: TDataMap;
11
11
  customFallback?: string | undefined;
12
12
  }) => string;
13
- export declare const parseJsonPathTemplate: ({ text, multiQueryData, customFallback, }: {
13
+ export declare const parseJsonPathTemplate: ({ text, multiQueryData, customFallback, replaceValues, }: {
14
14
  text?: string | undefined;
15
15
  multiQueryData: TDataMap;
16
16
  customFallback?: string | undefined;
17
+ replaceValues?: Record<string, string | undefined> | undefined;
17
18
  }) => string;
18
19
  export declare const parseWithoutPartsOfUrl: ({ text, multiQueryData, customFallback, }: {
19
20
  text: string;