MCPcopy Create free account
hub / github.com/EsperoTech/yaade / set

Function set

client/src/state/currentScript.tsx:37–45  ·  view source on GitHub ↗
(script: Script)

Source from the content-addressed store, hash-verified

35};
36
37function set(script: Script): CurrentScript {
38 return {
39 id: script.id,
40 collectionId: script.collectionId,
41 ownerId: script.ownerId,
42 data: script.data,
43 isChanged: false,
44 };
45}
46
47function unset(): undefined {
48 return undefined;

Callers 1

currentScriptReducerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected