@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.
- package/dist/openapi-k8s-toolkit.es.js +77 -11
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +77 -11
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/utils.d.ts +10 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +2 -0
- package/dist/types/hooks/useListThenWatch/types.d.ts +5 -1
- package/dist/types/hooks/useListThenWatch/useListWatch.d.ts +1 -0
- package/package.json +1 -1
package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/utils.d.ts
ADDED
|
@@ -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
|
-
|
|
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