()
| 233 | } |
| 234 | |
| 235 | getTypeCounts(): Map<string, number> { |
| 236 | const counts = new Map<string, number>(); |
| 237 | for (const item of this.items.values()) { |
| 238 | counts.set(item.type, (counts.get(item.type) || 0) + 1); |
| 239 | } |
| 240 | return counts; |
| 241 | } |
| 242 | |
| 243 | getProjectCounts(): Map<string, number> { |
| 244 | const counts = new Map<string, number>(); |