@emeryld/rrroutes-openapi 2.4.15 → 2.4.17
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/public/assets/docs.js +75 -75
- package/dist/web/v2/components/history/RequestDetailContent.d.ts +8 -1
- package/dist/web/v2/components/history/RequestTimeline.d.ts +6 -4
- package/dist/web/v2/sockets/SocketEventDetailModal.d.ts +9 -0
- package/dist/web/v2/sockets/SocketEventsTable.d.ts +3 -1
- package/package.json +3 -3
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { CacheLogType } from '../../types/types.cacheLog.js';
|
|
2
2
|
import type { LogType } from '../../types/types.log.js';
|
|
3
3
|
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
4
|
+
import type { SocketEventType } from '../../types/types.socket.js';
|
|
4
5
|
type RequestDetailContentProps = {
|
|
5
6
|
request: RequestLogType;
|
|
6
7
|
caches?: CacheLogType[];
|
|
7
8
|
logs?: LogType[];
|
|
9
|
+
sockets?: SocketEventType[];
|
|
8
10
|
onReplay?: (request: RequestLogType) => void;
|
|
9
11
|
};
|
|
10
12
|
export type RequestTimelineEvent = {
|
|
@@ -17,6 +19,11 @@ export type RequestTimelineEvent = {
|
|
|
17
19
|
id: string;
|
|
18
20
|
createdAt: number;
|
|
19
21
|
log: LogType;
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'socket';
|
|
24
|
+
id: string;
|
|
25
|
+
createdAt: number;
|
|
26
|
+
socket: SocketEventType;
|
|
20
27
|
};
|
|
21
|
-
export default function RequestDetailContent({ request, caches, logs, onReplay, }: RequestDetailContentProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export default function RequestDetailContent({ request, caches, logs, sockets, onReplay, }: RequestDetailContentProps): import("react/jsx-runtime").JSX.Element;
|
|
22
29
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { CacheLogType } from '../../types/types.cacheLog';
|
|
2
|
-
import { LogType } from '../../types/types.log';
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import type { CacheLogType } from '../../types/types.cacheLog.js';
|
|
2
|
+
import type { LogType } from '../../types/types.log.js';
|
|
3
|
+
import type { SocketEventType } from '../../types/types.socket.js';
|
|
4
|
+
import { RequestTimelineEvent } from './RequestDetailContent.js';
|
|
5
|
+
export declare function RequestTimeline({ events, onSelectCache, onSelectLog, onSelectSocket, }: {
|
|
5
6
|
events: RequestTimelineEvent[];
|
|
6
7
|
onSelectCache?: (cache: CacheLogType) => void;
|
|
7
8
|
onSelectLog?: (log: LogType) => void;
|
|
9
|
+
onSelectSocket?: (socket: SocketEventType) => void;
|
|
8
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SocketEventType } from '../types/types.socket.js';
|
|
2
|
+
type SocketEventDetailModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
event: SocketEventType | null;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onOpenGroup?: (groupId: string) => void;
|
|
7
|
+
};
|
|
8
|
+
export default function SocketEventDetailModal({ open, event, onClose, onOpenGroup, }: SocketEventDetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { SocketEventType } from '../types/types.socket.js';
|
|
2
2
|
type SocketEventsTableProps = {
|
|
3
3
|
events: SocketEventType[];
|
|
4
|
+
onSelect?: (event: SocketEventType, ordered: SocketEventType[]) => void;
|
|
5
|
+
onOpenGroup?: (groupId: string, event: SocketEventType) => void;
|
|
4
6
|
};
|
|
5
|
-
export default function SocketEventsTable({ events }: SocketEventsTableProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default function SocketEventsTable({ events, onSelect, onOpenGroup, }: SocketEventsTableProps): import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emeryld/rrroutes-openapi",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@emeryld/rrroutes-client": "^2.4.
|
|
21
|
-
"@emeryld/rrroutes-contract": "^2.4.
|
|
20
|
+
"@emeryld/rrroutes-client": "^2.4.9",
|
|
21
|
+
"@emeryld/rrroutes-contract": "^2.4.21",
|
|
22
22
|
"@emotion/cache": "^11.14.0",
|
|
23
23
|
"@emotion/react": "^11.14.0",
|
|
24
24
|
"@emotion/styled": "^11.14.1",
|