| 161 | }; |
| 162 | |
| 163 | export interface BlockStructure { |
| 164 | hasEditableBoundaries?: boolean; |
| 165 | required?: string[]; |
| 166 | template?: string; |
| 167 | helpCategory?: string; |
| 168 | usesMultifileEditor?: boolean; |
| 169 | disableLoopProtectTests?: boolean; |
| 170 | disableLoopProtectPreview?: boolean; |
| 171 | blockLayout: string; |
| 172 | blockLabel?: BlockLabel; |
| 173 | challengeOrder: Challenge[]; |
| 174 | dashedName: string; |
| 175 | isUpcomingChange?: boolean; |
| 176 | chapter?: string; |
| 177 | module?: string; |
| 178 | } |
| 179 | |
| 180 | export async function createBlockFolder(block: string) { |
| 181 | const { blockContentDir } = getContentConfig('english') as { |
nothing calls this directly
no outgoing calls
no test coverage detected