(content: string, filetype?: string)
| 26 | } |
| 27 | |
| 28 | function codeBody(content: string, filetype?: string): RunEntryBody { |
| 29 | if (!content) { |
| 30 | return RUN_ENTRY_NONE |
| 31 | } |
| 32 | |
| 33 | return { |
| 34 | type: "code", |
| 35 | content, |
| 36 | filetype, |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | function markdownBody(content: string): RunEntryBody { |
| 41 | if (!content) { |