types/readme.types.ts

types/readme.types.ts is a file in Bane's Lab Content. 42 lines of code and 8 definitions.

export interface ReadmeLesson {
    readonly principle: string;
    readonly problem: string;
}

export interface ReadmeSubsection {
    readonly content: string | null;
    readonly title: string;
}

export interface ChapterSummary {
    readonly summary: string;
    readonly tab: string;
}

export interface ReadmeStep {
    readonly steps: readonly string[];
    readonly title: string;
}

export interface ReadmeSection {
    readonly diagram: string | null;
    readonly id: string;
    readonly intro: string | null;
    readonly lessons: readonly ReadmeLesson[];
    readonly subsections: readonly ReadmeSubsection[];
    readonly title: string;
}

export interface ReadmeTab {
    readonly id: string;
    readonly label: string;
    readonly sections: readonly ReadmeSection[];
}

export interface ReadmePage {
    readonly description: string;
    readonly page: string;
    readonly tabs: readonly ReadmeTab[];
    readonly title: string;
}

export interface ReadmeInputs {
    readonly exhibits: readonly ReadmePage[];
    readonly faq: ReadmePage;
    readonly heading: string;
    readonly methodology: ReadmePage;
    readonly subtitle: string;
}