diff src/app/analysis-item/analysis-item.component.ts @ 396:3eab26a629e1

Revert changes relating to bodging unit onto the shaped features. Now return from the extraction service and add to the analysis item, and send into the cross-hair component with a prop.
author Lucas Thompson <dev@lucas.im>
date Thu, 01 Jun 2017 23:04:39 +0100
parents b220ed78a250
children 6fe8ef9687de
line wrap: on
line diff
--- a/src/app/analysis-item/analysis-item.component.ts	Thu Jun 01 18:56:06 2017 +0100
+++ b/src/app/analysis-item/analysis-item.component.ts	Thu Jun 01 23:04:39 2017 +0100
@@ -35,7 +35,9 @@
   extractorKey: string;
 }
 
-export type AnalysisItem = PendingAnalysisItem & KnownShapedFeature;
+export type AnalysisItem = PendingAnalysisItem & KnownShapedFeature & {
+  unit?: string
+};
 
 export function isItem(item: Item): item is Item {
   return item.id != null && item.hasSharedTimeline != null;