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

Function normalizeVantaTestEntity

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

Source from the content-addressed store, hash-verified

467}
468
469export function normalizeVantaTestEntity(resource: JsonRecord): VantaTestEntity {
470 return {
471 id: getString(resource.id),
472 entityStatus: getString(resource.entityStatus),
473 displayName: getString(resource.displayName),
474 responseType: getString(resource.responseType),
475 deactivatedReason: getString(resource.deactivatedReason),
476 createdDate: getString(resource.createdDate),
477 lastUpdatedDate: getString(resource.lastUpdatedDate),
478 }
479}
480
481export function normalizeVantaDocument(resource: JsonRecord): VantaDocument {
482 return {

Callers

nothing calls this directly

Calls 1

getStringFunction · 0.70

Tested by

no test coverage detected