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

Function normalizeVantaFrameworkRequirementCategory

apps/sim/tools/vanta/utils.ts:384–393  ·  view source on GitHub ↗
(
  resource: JsonRecord
)

Source from the content-addressed store, hash-verified

382}
383
384function normalizeVantaFrameworkRequirementCategory(
385 resource: JsonRecord
386): VantaFrameworkRequirementCategory {
387 return {
388 id: getString(resource.id),
389 name: getString(resource.name),
390 shorthand: getString(resource.shorthand),
391 requirements: getRecordArray(resource.requirements).map(normalizeVantaFrameworkRequirement),
392 }
393}
394
395export function normalizeVantaFrameworkDetail(resource: JsonRecord): VantaFrameworkDetail {
396 return {

Callers

nothing calls this directly

Calls 2

getStringFunction · 0.70
getRecordArrayFunction · 0.70

Tested by

no test coverage detected