Initial commit
This commit is contained in:
@@ -23,6 +23,10 @@ export const createAlgorithm = (algorithm: Algorithm): Promise<BasicResponse> =>
|
||||
return req.postJson('/algo/algorithm', algorithm);
|
||||
};
|
||||
|
||||
export const runAlgorithm = (algorithm: Algorithm): Promise<BasicResponse> => {
|
||||
return req.postJson('/algo/algorithm/run', algorithm);
|
||||
};
|
||||
|
||||
export const updateAlgorithm = (algorithm: Algorithm): Promise<BasicResponse> => {
|
||||
return req.putJson('/algo/algorithm', algorithm);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user