MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / BlockStructure

Interface BlockStructure

curriculum/src/file-handler.ts:163–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161};
162
163export 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
180export async function createBlockFolder(block: string) {
181 const { blockContentDir } = getContentConfig('english') as {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected