(data: SessionData, commits: SessionCommit[], footer?: FooterOutput)
| 202 | } |
| 203 | |
| 204 | function out(data: SessionData, commits: SessionCommit[], footer?: FooterOutput): SessionDataOutput { |
| 205 | if (!footer) { |
| 206 | return { |
| 207 | data, |
| 208 | commits, |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | return { |
| 213 | data, |
| 214 | commits, |
| 215 | footer, |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | export function pickBlockerView(input: { permission?: PermissionRequest; question?: QuestionRequest }): FooterView { |
| 220 | if (input.permission) { |
no outgoing calls
no test coverage detected