(status: string, freshness: string)
| 154 | * hiesse, eine gruene Ampel zu bauen, die immer leuchtet. |
| 155 | */ |
| 156 | export function freshnessNoteNeeded(status: string, freshness: string): boolean { |
| 157 | return !(freshness === 'metadata_match' && status === 'no_recorded_issue'); |
| 158 | } |
| 159 | |
| 160 | /** Was in der Statusleiste steht, wenn eine Frische-Notiz noetig ist. */ |
| 161 | export function freshnessNote(status: string, freshness: string, action: string): string { |
no outgoing calls
no test coverage detected