File tree 2 files changed +15
-11
lines changed
components/log-viewer-webui/client/src
2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,10 @@ import axios, {
3
3
AxiosResponse ,
4
4
} from "axios" ;
5
5
6
- import { QUERY_JOB_TYPE } from "../typings/query" ;
7
-
8
-
9
- interface ExtractStreamResp {
10
- _id : string ;
11
- begin_msg_ix : number ;
12
- end_msg_ix : number ;
13
- is_last_chunk : boolean ;
14
- path : string ;
15
- stream_id : string ;
16
- }
6
+ import {
7
+ ExtractStreamResp ,
8
+ QUERY_JOB_TYPE ,
9
+ } from "../typings/query" ;
17
10
18
11
19
12
/**
Original file line number Diff line number Diff line change @@ -43,6 +43,15 @@ const ExtractJobSearchParams = Type.Object({
43
43
logEventIdx : Type . Number ( ) ,
44
44
} ) ;
45
45
46
+ interface ExtractStreamResp {
47
+ _id : string ;
48
+ begin_msg_ix : number ;
49
+ end_msg_ix : number ;
50
+ is_last_chunk : boolean ;
51
+ path : string ;
52
+ stream_id : string ;
53
+ }
54
+
46
55
interface QueryLoadingStateDescription {
47
56
label : string ;
48
57
description : string ;
@@ -68,6 +77,8 @@ const QUERY_LOADING_STATE_DESCRIPTIONS
68
77
} ,
69
78
} ) ;
70
79
80
+
81
+ export type { ExtractStreamResp } ;
71
82
export {
72
83
EXTRACT_JOB_TYPE ,
73
84
ExtractJobSearchParams ,
You can’t perform that action at this time.
0 commit comments