(blockType: BlockType)
| 86 | } |
| 87 | |
| 88 | function getFileExtension(blockType: BlockType): string { |
| 89 | if (blockType === "rules" || blockType === "prompts") { |
| 90 | return "md"; |
| 91 | } |
| 92 | return "yaml"; |
| 93 | } |
| 94 | |
| 95 | export function getFileContent(blockType: BlockType): string { |
| 96 | if (blockType === "rules") { |
no outgoing calls
no test coverage detected