( message: SystemMemorySavedMessage, )
| 8 | * when feature('TEAMMEM') is true. |
| 9 | */ |
| 10 | export function teamMemSavedPart( |
| 11 | message: SystemMemorySavedMessage, |
| 12 | ): { segment: string; count: number } | null { |
| 13 | const count = message.teamCount ?? 0 |
| 14 | if (count === 0) return null |
| 15 | return { |
| 16 | segment: `${count} team ${count === 1 ? 'memory' : 'memories'}`, |
| 17 | count, |
| 18 | } |
| 19 | } |
| 20 |
nothing calls this directly
no outgoing calls
no test coverage detected