MCPcopy Index your code
hub / github.com/simstudioai/sim / normalizeResponse

Function normalizeResponse

apps/sim/tools/google_forms/get_responses.ts:137–142  ·  view source on GitHub ↗
(r: GoogleFormsResponse)

Source from the content-addressed store, hash-verified

135 }
136
137 const normalizeResponse = (r: GoogleFormsResponse): Record<string, unknown> => ({
138 responseId: r.responseId,
139 createTime: r.createTime,
140 lastSubmittedTime: r.lastSubmittedTime,
141 answers: normalizeAnswers(r.answers as unknown),
142 })
143
144 // Distinguish single vs list response shapes
145 const isList = (obj: unknown): obj is GoogleFormsResponseList =>

Callers 1

get_responses.tsFile · 0.85

Calls 1

normalizeAnswersFunction · 0.70

Tested by

no test coverage detected