( resource: JsonRecord )
| 382 | } |
| 383 | |
| 384 | function 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 | |
| 395 | export function normalizeVantaFrameworkDetail(resource: JsonRecord): VantaFrameworkDetail { |
| 396 | return { |
nothing calls this directly
no test coverage detected