31 lines
539 B
TypeScript
31 lines
539 B
TypeScript
import chaptersJson from './chapters.json';
|
|
|
|
export interface InputItem {
|
|
label: string;
|
|
type: string;
|
|
required: boolean;
|
|
desc: string;
|
|
}
|
|
|
|
export interface ScreenItem {
|
|
id: string;
|
|
name: string;
|
|
menuPath: string;
|
|
imageIndex: number;
|
|
overview: string;
|
|
description?: string;
|
|
procedure?: string[];
|
|
inputs?: InputItem[];
|
|
notes?: string[];
|
|
}
|
|
|
|
export interface Chapter {
|
|
id: string;
|
|
number: string;
|
|
title: string;
|
|
subtitle: string;
|
|
screens: ScreenItem[];
|
|
}
|
|
|
|
export const CHAPTERS = chaptersJson as Chapter[];
|