(content: string)
| 1371 | } |
| 1372 | |
| 1373 | function textBody(content: string): RunEntryBody | undefined { |
| 1374 | if (!content) { |
| 1375 | return undefined |
| 1376 | } |
| 1377 | |
| 1378 | return { |
| 1379 | type: "text", |
| 1380 | content, |
| 1381 | } |
| 1382 | } |
| 1383 | |
| 1384 | function markdownBody(content: string): RunEntryBody | undefined { |
| 1385 | if (!content) { |