( viewer: Viewer, response: EntryInconsistencyClientResponse, )
| 206 | } |
| 207 | |
| 208 | async function recordEntryInconsistency( |
| 209 | viewer: Viewer, |
| 210 | response: EntryInconsistencyClientResponse, |
| 211 | ): Promise<void> { |
| 212 | const { type, ...rest } = response; |
| 213 | const reportCreationRequest = ({ |
| 214 | ...rest, |
| 215 | type: reportTypes.ENTRY_INCONSISTENCY, |
| 216 | }: EntryInconsistencyReportCreationRequest); |
| 217 | await createReport(viewer, reportCreationRequest); |
| 218 | } |
| 219 | |
| 220 | type SessionInitializationResult = |
| 221 | | { sessionContinued: false } |
no test coverage detected