MCPcopy Index your code
hub / github.com/cloudgraphdev/cli / generateUpdateVarsObject

Function generateUpdateVarsObject

src/utils/mutation.ts:53–63  ·  view source on GitHub ↗
(
  service: any,
  connections: Record<string, unknown>
)

Source from the content-addressed store, hash-verified

51}
52
53export const generateUpdateVarsObject = (
54 service: any,
55 connections: Record<string, unknown>
56): { filter: { id: { eq: string } }; set: Record<string, unknown> } => ({
57 filter: {
58 id: { eq: service.id },
59 },
60 set: {
61 ...connections,
62 },
63})

Calls

no outgoing calls

Tested by

no test coverage detected