@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.29 → 0.0.1-alpha.30

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.
@@ -8,6 +8,16 @@ export declare const getPathToNav: ({ clusterName, namespace, type, pathToNav, t
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;
13
+ namespace: string;
14
+ type: string;
15
+ pathToNav?: string | undefined;
16
+ typeName?: string | undefined;
17
+ apiGroup?: string | undefined;
18
+ apiVersion?: string | undefined;
19
+ baseprefix?: string | undefined;
20
+ }) => string;
11
21
  export declare const getListPath: ({ clusterName, namespace, type, typeName, apiGroup, apiVersion, }: {
12
22
  clusterName: string;
13
23
  namespace: string;
@@ -4,10 +4,12 @@ export type TProjectInfoCardProps = {
4
4
  namespace?: string;
5
5
  baseApiGroup: string;
6
6
  baseApiVersion: string;
7
+ baseProjectApiGroup: string;
7
8
  baseProjectVersion: string;
8
9
  projectResourceName: string;
9
10
  mpResourceName: string;
10
11
  baseprefix?: string;
12
+ accessGroups: string[];
11
13
  children?: any;
12
14
  };
13
15
  export declare const ProjectInfoCard: FC<TProjectInfoCardProps>;
@@ -1,2 +1,6 @@
1
1
  import { FC } from 'react';
2
- export declare const DropdownAccessGroups: FC;
2
+ type TDropdownAccessGroupsProps = {
3
+ accessGroups: string[];
4
+ };
5
+ export declare const DropdownAccessGroups: FC<TDropdownAccessGroupsProps>;
6
+ export {};
@@ -2,4 +2,5 @@ import { FC } from 'react';
2
2
  import { TDynamicComponentsAppTypeMap } from '../../types';
3
3
  export declare const AntdText: FC<{
4
4
  data: TDynamicComponentsAppTypeMap['antdText'];
5
+ children?: any;
5
6
  }>;
@@ -9,7 +9,7 @@ export type TDynamicComponentsAppTypeMap = {
9
9
  antdText: {
10
10
  id: number;
11
11
  text: string;
12
- } & Omit<TextProps, 'id'>;
12
+ } & Omit<TextProps, 'id' | 'children'>;
13
13
  antdCard: {
14
14
  id: number;
15
15
  } & Omit<CardProps, 'id'>;
@@ -47,9 +47,11 @@ export type TDynamicComponentsAppTypeMap = {
47
47
  namespacePartOfUrl: string;
48
48
  baseApiGroup: string;
49
49
  baseApiVersion: string;
50
+ baseProjectApiGroup: string;
50
51
  baseProjectVersion: string;
51
52
  projectResourceName: string;
52
53
  mpResourceName: string;
54
+ accessGroups: [];
53
55
  baseprefix?: string;
54
56
  };
55
57
  MarketplaceCard: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "0.0.1-alpha.29",
3
+ "version": "0.0.1-alpha.30",
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",