export interface IPartsOrQuestionsResponse {
    partsOrQuestions: IPartOrQuestion[]
}

export interface IPartOrQuestion {
    glassPiece: IGlassPiece,
    parts: IPart[],
    partQuestions: IPartQuestion[] | null;
}

export interface IGlassPiece {
    name: string,
    location: string
}

export interface IPart {
    childPartQuestions: IPartQuestion[],
    basePartNumber: string,
    safelitePartNumber: string,
    color: string,
    requiresRecalibration: boolean,
    recalibrationType: null,    // TODO: Add types
    canSafeliteRecalibrate: boolean,
    requiresCapabilityQuestions: boolean,
    childParts: IChildPart[],
    partNumber: string,
    description: string,
    partType: string
}

export interface IPartQuestion {
    // TODO: Define
}

export interface IChildPart {
    partNumber: string,
    safelitePartNumber: string
}