(content: string)
| 15 | } |
| 16 | |
| 17 | function textBody(content: string): RunEntryBody { |
| 18 | if (!content) { |
| 19 | return RUN_ENTRY_NONE |
| 20 | } |
| 21 | |
| 22 | return { |
| 23 | type: "text", |
| 24 | content, |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | function codeBody(content: string, filetype?: string): RunEntryBody { |
| 29 | if (!content) { |
no outgoing calls
no test coverage detected