File tree 2 files changed +21
-1
lines changed 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -724,6 +724,26 @@ export type StratigraphicColumn_api = {
724
724
type : string | null ;
725
725
} ;
726
726
727
+ /**
728
+ * Stratigraphic unit from SMDA
729
+ *
730
+ * Camel case attributes needed for esvIntersection component in front-end
731
+ */
732
+ export type StratigraphicUnit_api = {
733
+ identifier : string ;
734
+ top : string ;
735
+ base : string ;
736
+ stratUnitLevel : number ;
737
+ stratUnitType : string ;
738
+ topAge : number | number ;
739
+ baseAge : number | number ;
740
+ stratUnitParent : string | null ;
741
+ colorR : number ;
742
+ colorG : number ;
743
+ colorB : number ;
744
+ lithologyType ?: number | number | string ;
745
+ } ;
746
+
727
747
/**
728
748
* A single observation of a summary vector at a specific date.
729
749
*/
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ import type { DrawPreviewFunc } from "@framework/Preview";
3
3
import previewImg from "./preview.svg" ;
4
4
5
5
export const preview : DrawPreviewFunc = function ( width : number , height : number ) {
6
- return < img src = { previewImg } style = { { width, height } } className = "object-cover object-center" /> ;
6
+ return < image href = { previewImg } width = { width } height = { height } /> ;
7
7
} ;
You can’t perform that action at this time.
0 commit comments