SingleDefect: HideableBaseEntity & {
    allLocations: boolean;
    categories: EmbeddedDefectCategory[];
    defectCost: number;
    locations: EmbeddedLocation[];
    modifiedDate: Date;
}

Type declaration

  • allLocations: boolean
  • categories: EmbeddedDefectCategory[]
  • defectCost: number
  • locations: EmbeddedLocation[]

    Defect's list of Locations. If null, then the data either wasn't fetched or this defect doesn't have any locations

  • modifiedDate: Date