(stats: DebugStats)
| 121 | } |
| 122 | |
| 123 | function toBundleStats(stats: DebugStats): DebugBundleStatsSnapshot { |
| 124 | return { |
| 125 | totalRecords: stats.totalRecords.toString(), |
| 126 | totalDropped: stats.totalDropped.toString(), |
| 127 | errorCount: stats.errorCount, |
| 128 | warnCount: stats.warnCount, |
| 129 | currentRingUsage: stats.currentRingUsage, |
| 130 | ringCapacity: stats.ringCapacity, |
| 131 | }; |
| 132 | } |
| 133 | |
| 134 | function toBundleQueryWindow(query: DebugQueryResult): DebugBundleQueryWindow { |
| 135 | return { |