Skip to content

Commit b599a08

Browse files
committed
fix
1 parent bd090cf commit b599a08

File tree

1 file changed

+3
-14
lines changed
  • components/log-viewer-webui/client/src/api

1 file changed

+3
-14
lines changed

components/log-viewer-webui/client/src/api/query.js

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,11 @@ import axios from "axios";
22

33

44
/**
5-
* @typedef {object} ExtractIrResp
5+
* @typedef {object} ExtractStreamResp
6+
* @property {string} stream_id
67
* @property {number} begin_msg_ix
78
* @property {number} end_msg_ix
8-
* @property {string} file_split_id
99
* @property {boolean} is_last_ir_chunk
10-
* @property {string} orig_file_id
11-
* @property {string} path
12-
* @property {string} _id
13-
*/
14-
15-
/**
16-
* @typedef {object} ExtractJsonResp
17-
* @property {number} begin_msg_ix
18-
* @property {number} end_msg_ix
19-
* @property {boolean} is_last_ir_chunk
20-
* @property {string} orig_file_id
2110
* @property {string} path
2211
* @property {string} _id
2312
*/
@@ -30,7 +19,7 @@ import axios from "axios";
3019
* @param {string} streamId
3120
* @param {number} logEventIdx
3221
* @param {Function} onUploadProgress Callback to handle upload progress events.
33-
* @return {Promise<axios.AxiosResponse<ExtractIrResp|ExtractJsonResp>>}
22+
* @return {Promise<axios.AxiosResponse<ExtractStreamResp>>}
3423
*/
3524
const submitExtractStreamJob = async (extractJobType, streamId, logEventIdx, onUploadProgress) => {
3625
return await axios.post(

0 commit comments

Comments
 (0)