@prorobotech/openapi-k8s-toolkit 1.4.0-alpha.18 → 1.4.0-alpha.19
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/{index-BW_pcmSW.mjs → index-BLeZv2uT.mjs} +112 -23
- package/dist/{index-BW_pcmSW.mjs.map → index-BLeZv2uT.mjs.map} +1 -1
- package/dist/{index-DVkzeOTz.mjs → index-Cs_5F1Gd.mjs} +2 -2
- package/dist/{index-DVkzeOTz.mjs.map → index-Cs_5F1Gd.mjs.map} +1 -1
- package/dist/openapi-k8s-toolkit.es.js +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +110 -21
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/molecules/Events/Events.error.test.d.ts +2 -0
- package/dist/types/components/molecules/Events/types.d.ts +12 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/EnrichedTable.error.test.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/Events.permissions.test.d.ts +2 -0
- package/dist/types/hooks/useDirectUnknownResource.d.ts +2 -1
- package/dist/types/hooks/useListThenWatch/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -44,11 +44,22 @@ type TPageErrorFrame = {
|
|
|
44
44
|
type: 'PAGE_ERROR';
|
|
45
45
|
error: string;
|
|
46
46
|
};
|
|
47
|
+
type TInitialErrorFrame = {
|
|
48
|
+
type: 'INITIAL_ERROR';
|
|
49
|
+
message: string;
|
|
50
|
+
statusCode?: number;
|
|
51
|
+
reason?: string;
|
|
52
|
+
};
|
|
53
|
+
type TServerLogFrame = {
|
|
54
|
+
type: 'SERVER_LOG';
|
|
55
|
+
level: 'info' | 'warn' | 'error';
|
|
56
|
+
message: string;
|
|
57
|
+
};
|
|
47
58
|
type TDeltaFrame = {
|
|
48
59
|
type: TWatchPhase;
|
|
49
60
|
item: TEventsV1Event;
|
|
50
61
|
};
|
|
51
|
-
export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame;
|
|
62
|
+
export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TInitialErrorFrame | TServerLogFrame | TDeltaFrame;
|
|
52
63
|
export type TScrollMsg = {
|
|
53
64
|
type: 'SCROLL';
|
|
54
65
|
continue: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
-
export declare const useDirectUnknownResource: <T>({ uri, queryKey, refetchInterval, isEnabled, }: {
|
|
2
|
+
export declare const useDirectUnknownResource: <T>({ uri, queryKey, refetchInterval, staleTime, isEnabled, }: {
|
|
3
3
|
uri: string;
|
|
4
4
|
queryKey: string[];
|
|
5
5
|
refetchInterval?: number | false | undefined;
|
|
6
|
+
staleTime?: number | undefined;
|
|
6
7
|
isEnabled?: boolean | undefined;
|
|
7
8
|
}) => UseQueryResult<T, Error>;
|
|
@@ -29,6 +29,8 @@ type TConsoleFrame = {
|
|
|
29
29
|
type TInitialError = {
|
|
30
30
|
type: 'INITIAL_ERROR';
|
|
31
31
|
message: string;
|
|
32
|
+
statusCode?: number;
|
|
33
|
+
reason?: string;
|
|
32
34
|
};
|
|
33
35
|
export type TServerFrame = TInitialFrame | TPageFrame | TPageErrorFrame | TDeltaFrame | TConsoleFrame | TInitialError;
|
|
34
36
|
export type TScrollMsg = {
|
package/package.json
CHANGED