(row: Record<string, unknown>)
| 1453 | }) |
| 1454 | |
| 1455 | const toStageRow = (row: Record<string, unknown>) => ({ |
| 1456 | id: String(row.id), |
| 1457 | scope: String(row.scope), |
| 1458 | state: String(row.state) as StageState, |
| 1459 | pinned: String(row.pinned), |
| 1460 | through: Number(row.through_sequence), |
| 1461 | expiresAt: Number(row.expires_at) |
| 1462 | }) |
| 1463 | |
| 1464 | type ActivationRow = ReturnType<typeof toActivationRow> |
| 1465 |
no test coverage detected