({ ...opts }, options = {})
| 1 | import fetchJson from 'app/core/api/fetch-json' |
| 2 | |
| 3 | export const createNewAIJuniorProject = ({ ...opts }, options = {}) => |
| 4 | fetchJson('/db/ai_junior_project', _.assign({}, options, { |
| 5 | method: 'POST', |
| 6 | json: { ...opts } |
| 7 | })) |
| 8 | |
| 9 | export const processAIJuniorProject = ({ projectHandle, ...opts }, options = {}) => |
| 10 | fetchJson(`/db/ai_junior_project/${projectHandle}/process`, _.assign({}, options, { |
nothing calls this directly
no outgoing calls
no test coverage detected