MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / patchAdd

Function patchAdd

packages/sdk/src/engine/patches.ts:196–198  ·  view source on GitHub ↗
(path: string, value: unknown)

Source from the content-addressed store, hash-verified

194}
195
196export function patchAdd(path: string, value: unknown): JsonPatchOp {
197 return { op: "add", path, value };
198}
199
200export function patchRemove(path: string): JsonPatchOp {
201 return { op: "remove", path };

Callers 5

scalarChangeFunction · 0.85
valueChangeFunction · 0.85
scalarDeleteFunction · 0.85
handleRemoveElementFunction · 0.85
handleAddElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected