Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haiqi96 committed Dec 2, 2024
1 parent bd090cf commit b599a08
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions components/log-viewer-webui/client/src/api/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,11 @@ import axios from "axios";


/**
* @typedef {object} ExtractIrResp
* @typedef {object} ExtractStreamResp
* @property {string} stream_id
* @property {number} begin_msg_ix
* @property {number} end_msg_ix
* @property {string} file_split_id
* @property {boolean} is_last_ir_chunk
* @property {string} orig_file_id
* @property {string} path
* @property {string} _id
*/

/**
* @typedef {object} ExtractJsonResp
* @property {number} begin_msg_ix
* @property {number} end_msg_ix
* @property {boolean} is_last_ir_chunk
* @property {string} orig_file_id
* @property {string} path
* @property {string} _id
*/
Expand All @@ -30,7 +19,7 @@ import axios from "axios";
* @param {string} streamId
* @param {number} logEventIdx
* @param {Function} onUploadProgress Callback to handle upload progress events.
* @return {Promise<axios.AxiosResponse<ExtractIrResp|ExtractJsonResp>>}
* @return {Promise<axios.AxiosResponse<ExtractStreamResp>>}
*/
const submitExtractStreamJob = async (extractJobType, streamId, logEventIdx, onUploadProgress) => {
return await axios.post(
Expand Down

0 comments on commit b599a08

Please sign in to comment.