MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / requestEnableScript

Function requestEnableScript

src/pages/store/features/script.ts:35–37  ·  view source on GitHub ↗
(param: { uuid: string; enable: boolean })

Source from the content-addressed store, hash-verified

33};
34
35export const requestEnableScript = async (param: { uuid: string; enable: boolean }) => {
36 return await scriptClient.enable(param.uuid, param.enable);
37};
38
39export const requestRunScript = async (uuid: string) => {
40 return await runtimeClient.runScript(uuid);

Callers 2

ScriptTable.tsxFile · 0.90
ScriptCard.tsxFile · 0.90

Calls 1

enableMethod · 0.45

Tested by

no test coverage detected