@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.37 → 0.0.1-alpha.39

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.
@@ -5,6 +5,7 @@ export type TManageableSidebarProps = {
5
5
  replaceValues: Record<string, string | undefined>;
6
6
  pathname: string;
7
7
  idToCompare: string;
8
+ currentTags?: string[];
8
9
  noMarginTop?: boolean;
9
10
  };
10
11
  export declare const ManageableSidebar: FC<TManageableSidebarProps>;
@@ -15,6 +16,7 @@ export type TManageableSidebarWithDataProviderProps = {
15
16
  replaceValues: Record<string, string | undefined>;
16
17
  pathname: string;
17
18
  idToCompare: string;
19
+ currentTags?: string[];
18
20
  hidden?: boolean;
19
21
  noMarginTop?: boolean;
20
22
  };
@@ -10,6 +10,7 @@ export type TCrdResource = {
10
10
  spec: {
11
11
  id: string;
12
12
  menuItems: TLink[];
13
+ keysAndTags?: Record<string, string[]>;
13
14
  };
14
15
  } & unknown;
15
16
  export type TSidebarResponse = {
@@ -1,13 +1,15 @@
1
1
  import { ItemType } from 'antd/es/menu/interface';
2
2
  import { TLink } from './types';
3
- export declare const prepareDataForManageableSidebar: ({ data, replaceValues, pathname, idToCompare, }: {
3
+ export declare const prepareDataForManageableSidebar: ({ data, replaceValues, pathname, idToCompare, currentTags, }: {
4
4
  data: {
5
5
  id: string;
6
6
  menuItems: TLink[];
7
+ keysAndTags?: Record<string, string[]>;
7
8
  }[];
8
9
  replaceValues: Record<string, string | undefined>;
9
10
  pathname: string;
10
11
  idToCompare: string;
12
+ currentTags?: string[] | undefined;
11
13
  }) => {
12
14
  menuItems: ItemType[];
13
15
  selectedKeys: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "0.0.1-alpha.37",
3
+ "version": "0.0.1-alpha.39",
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",