MCPcopy Create free account
hub / github.com/codecombat/codecombat / createNewAIJuniorProject

Function createNewAIJuniorProject

app/core/api/ai-junior-projects.js:3–7  ·  view source on GitHub ↗
({ ...opts }, options = {})

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected