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

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.
@@ -0,0 +1,10 @@
1
+ export declare const getDataByPath: ({ prefillValuesRaw, pathToData, }: {
2
+ prefillValuesRaw: unknown;
3
+ pathToData: string | string[];
4
+ }) => any;
5
+ export declare const getPrefillValuesWithForces: ({ prefillValues, forcedKind, apiGroup, apiVersion, }: {
6
+ prefillValues: any;
7
+ forcedKind?: string | undefined;
8
+ apiVersion?: string | undefined;
9
+ apiGroup?: string | undefined;
10
+ }) => any;
@@ -146,7 +146,9 @@ export type TDynamicComponentsAppTypeMap = {
146
146
  apiGroup?: string;
147
147
  apiVersion?: string;
148
148
  typeName: string;
149
+ forcedKind?: string;
149
150
  prefillValuesRequestIndex: number;
151
+ pathToData?: string | string[];
150
152
  substractHeight?: number;
151
153
  readOnly?: boolean;
152
154
  };
@@ -26,7 +26,11 @@ type TConsoleFrame = {
26
26
  level: 'info' | 'warn' | 'error';
27
27
  message: string;
28
28
  };
29
- export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame | TConsoleFrame;
29
+ type TInitialError = {
30
+ type: 'INITIAL_ERROR';
31
+ message: string;
32
+ };
33
+ export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame | TConsoleFrame | TInitialError;
30
34
  export type TScrollMsg = {
31
35
  type: 'SCROLL';
32
36
  continue: string;
@@ -52,6 +52,7 @@ export type TUseListWatchReturn = {
52
52
  continueToken?: string;
53
53
  status: TConnStatus;
54
54
  lastError?: string;
55
+ hasInitial: boolean;
55
56
  setPaused: (v: boolean) => void;
56
57
  setIgnoreRemove: (v: boolean) => void;
57
58
  /** Ask the server for the next page (if any) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "1.1.0-alpha.6",
3
+ "version": "1.1.0-alpha.7",
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",