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

Method update

src/types/scriptcat.zh-CN.d.ts:1369–1369  ·  view source on GitHub ↗

更新任务。

(id: string, task: Partial<AgentTask>)

Source from the content-addressed store, hash-verified

1367
1368 /** 更新任务。 */
1369 update(id: string, task: Partial<AgentTask>): Promise<AgentTask>;
1370
1371 /** 根据 ID 删除任务。 */
1372 remove(id: string): Promise<boolean>;

Callers 15

updateSessionTimestampFunction · 0.65
confirmMethod · 0.65
updatePermissionMethod · 0.65
getResourceMethod · 0.65
updateResourceByTypesMethod · 0.65
importResourceMethod · 0.65
initMethod · 0.65
upsertScriptMethod · 0.65
checkUpdateMethod · 0.65
enableMethod · 0.65
notificationsUpdateFunction · 0.65
enableScriptMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected