freeCodeCamp/tools/challenge-editor/client/interfaces/block.ts

16 lines
259 B
TypeScript

export interface Block {
name: string;
path: string;
}
export interface BlocksWithSuperBlock {
blocks: Block[];
currentSuperBlock: string;
}
export interface BlocksWithModule {
blocks: Block[];
currentModule: string;
currentChapter: string;
}