@prorobotech/openapi-k8s-toolkit 1.1.0-alpha.4 → 1.1.0-alpha.6

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.
@@ -102,7 +102,13 @@ export type TDynamicComponentsAppTypeMap = {
102
102
  } & Omit<TManageableSidebarWithDataProviderProps, 'replaceValues'>;
103
103
  EnrichedTable: {
104
104
  id: number | string;
105
- fetchUrl: string;
105
+ fetchUrl?: string;
106
+ k8sResourceToFetch?: {
107
+ group?: string;
108
+ version: string;
109
+ plural: string;
110
+ namespace?: string;
111
+ };
106
112
  pathToItems: string | string[];
107
113
  clusterNamePartOfUrl: string;
108
114
  labelSelector?: Record<string, string>;
@@ -24,6 +24,7 @@ export declare const useApiResourceSingle: ({ clusterName, namespace, apiGroup,
24
24
  metadata: {
25
25
  name: string;
26
26
  creationTimestamp: string;
27
+ uid?: string | undefined;
27
28
  namespace?: string | undefined;
28
29
  managedFields?: any;
29
30
  };
@@ -20,6 +20,7 @@ export declare const useBuiltinResourceSingle: ({ clusterName, namespace, typeNa
20
20
  metadata: {
21
21
  name: string;
22
22
  creationTimestamp: string;
23
+ uid?: string | undefined;
23
24
  namespace?: string | undefined;
24
25
  managedFields?: any;
25
26
  };
@@ -31,6 +31,7 @@ export declare const useCrdResourceSingle: ({ clusterName, namespace, apiGroup,
31
31
  metadata: {
32
32
  name: string;
33
33
  creationTimestamp: string;
34
+ uid?: string | undefined;
34
35
  namespace?: string | undefined;
35
36
  managedFields?: any;
36
37
  };
@@ -21,7 +21,12 @@ type TDeltaFrame = {
21
21
  type: TWatchPhase;
22
22
  item: TSingleResource;
23
23
  };
24
- export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame;
24
+ type TConsoleFrame = {
25
+ type: 'SERVER_LOG';
26
+ level: 'info' | 'warn' | 'error';
27
+ message: string;
28
+ };
29
+ export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame | TConsoleFrame;
25
30
  export type TScrollMsg = {
26
31
  type: 'SCROLL';
27
32
  continue: string;
@@ -39,6 +39,7 @@ export type TSingleResource = unknown & {
39
39
  metadata: {
40
40
  name: string;
41
41
  creationTimestamp: string;
42
+ uid?: string;
42
43
  namespace?: string;
43
44
  managedFields?: any;
44
45
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "1.1.0-alpha.4",
3
+ "version": "1.1.0-alpha.6",
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",