MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / install

Method install

src/app/service/service_worker/client.ts:51–54  ·  view source on GitHub ↗
(params: TScriptInstallParam)

Source from the content-addressed store, hash-verified

49 }
50
51 install(params: TScriptInstallParam): Promise<TScriptInstallReturn> {
52 if (!params.upsertBy) params.upsertBy = "user";
53 return this.doThrow("install", { ...params } satisfies TScriptInstallParam);
54 }
55
56 // delete(uuid: string) {
57 // return this.do("delete", uuid);

Callers

nothing calls this directly

Calls 1

doThrowMethod · 0.80

Tested by

no test coverage detected