(content: string)
| 38 | } |
| 39 | |
| 40 | function markdownBody(content: string): RunEntryBody { |
| 41 | if (!content) { |
| 42 | return RUN_ENTRY_NONE |
| 43 | } |
| 44 | |
| 45 | return { |
| 46 | type: "markdown", |
| 47 | content, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | function userBody(raw: string): RunEntryBody { |
| 52 | if (!raw.trim()) { |