(resource: JsonRecord)
| 467 | } |
| 468 | |
| 469 | export 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 | |
| 481 | export function normalizeVantaDocument(resource: JsonRecord): VantaDocument { |
| 482 | return { |
nothing calls this directly
no test coverage detected