(script: Script, envName?: string)
| 209 | }); |
| 210 | |
| 211 | const runScript = (script: Script, envName?: string): Promise<Response> => |
| 212 | fetch(BASE_PATH + `api/run-script`, { |
| 213 | method: 'POST', |
| 214 | headers: DEFAULT_HEADERS, |
| 215 | body: JSON.stringify({ script, envName }), |
| 216 | }); |
| 217 | |
| 218 | const takeScriptOwnership = (id: number): Promise<Response> => |
| 219 | fetch(BASE_PATH + `api/scripts/${id}/take-ownership`, { |
nothing calls this directly
no outgoing calls
no test coverage detected