File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 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 = {
724724 type : string | null ;
725725} ;
726726
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+
727747/**
728748 * A single observation of a summary vector at a specific date.
729749 */
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ import type { DrawPreviewFunc } from "@framework/Preview";
33import previewImg from "./preview.svg" ;
44
55export 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 } /> ;
77} ;
You can’t perform that action at this time.
0 commit comments