@equinor/esv-intersection 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { Selection } from 'd3-selection';
2
2
  import { ScaleLinear } from 'd3-scale';
3
3
  import { OnResizeEvent, OnRescaleEvent } from '../interfaces';
4
- export declare type Options = {
4
+ export type Options = {
5
5
  offsetX: number;
6
6
  offsetY: number;
7
7
  visible: boolean;
@@ -2,7 +2,7 @@ import { Selection } from 'd3-selection';
2
2
  import { ScaleLinear } from 'd3-scale';
3
3
  import { ZoomBehavior, ZoomTransform } from 'd3-zoom';
4
4
  import { ZoomAndPanOptions, OnRescaleEvent } from '../interfaces';
5
- export declare type RescaleFunction = (event: OnRescaleEvent) => void;
5
+ export type RescaleFunction = (event: OnRescaleEvent) => void;
6
6
  /**
7
7
  * Handle zoom and pan for intersection layers
8
8
  */
@@ -1,5 +1,5 @@
1
1
  import { Annotation } from '../interfaces';
2
- declare type Pick = {
2
+ type Pick = {
3
3
  pickIdentifier?: string;
4
4
  confidence: string | null;
5
5
  depthReferencePoint: string;
@@ -7,10 +7,10 @@ declare type Pick = {
7
7
  mdUnit: string;
8
8
  tvd: number;
9
9
  };
10
- declare type PickWithId = {
10
+ type PickWithId = {
11
11
  identifier: string;
12
12
  } & Pick;
13
- declare type Unit = {
13
+ type Unit = {
14
14
  identifier: string;
15
15
  top: string;
16
16
  base: string;
@@ -23,7 +23,7 @@ declare type Unit = {
23
23
  lithologyType: number;
24
24
  stratUnitParent: number;
25
25
  };
26
- declare type UnitDto = {
26
+ type UnitDto = {
27
27
  unitName: string;
28
28
  topSurface: string;
29
29
  baseSurface: string;
@@ -38,8 +38,8 @@ declare type UnitDto = {
38
38
  lithType: number;
39
39
  parent: number;
40
40
  };
41
- declare type PickAndUnit = PickWithId & UnitDto;
42
- declare type PairedPickAndUnit = {
41
+ type PickAndUnit = PickWithId & UnitDto;
42
+ type PairedPickAndUnit = {
43
43
  name: string;
44
44
  mdEntry: number;
45
45
  tvdEntry: number;
@@ -1,7 +1,7 @@
1
1
  import { IPoint, Point, Texture } from 'pixi.js';
2
2
  import { Casing, Cement, CementOptions, CementPlug, CementPlugOptions, CementSqueeze, CementSqueezeOptions, Completion, HoleOptions, HoleSize, ScreenOptions, TubingOptions, Perforation, PerforationOptions, PerforationSubKind } from '../layers/schematicInterfaces';
3
3
  import { ComplexRopeSegment } from '../layers/CustomDisplayObjects/ComplexRope';
4
- export declare type PerforationShape = ComplexRopeSegment;
4
+ export type PerforationShape = ComplexRopeSegment;
5
5
  export interface TubularRenderingObject {
6
6
  leftPath: Point[];
7
7
  rightPath: Point[];
@@ -46,7 +46,7 @@ export declare const createCementTexture: ({ firstColor, secondColor, scalingFac
46
46
  export declare const createCementPlugTexture: ({ firstColor, secondColor, scalingFactor }: CementPlugOptions) => Texture;
47
47
  export declare const createCementSqueezeTexture: ({ firstColor, secondColor, scalingFactor }: CementSqueezeOptions) => Texture;
48
48
  export declare const createTubularRenderingObject: (radius: number, pathPoints: IPoint[]) => TubularRenderingObject;
49
- export declare type CasingInterval = {
49
+ export type CasingInterval = {
50
50
  kind: 'casing' | 'casing-window';
51
51
  start: number;
52
52
  end: number;
@@ -1,5 +1,5 @@
1
1
  import { SeismicCanvasDataOptions } from '../layers/SeismicCanvasLayer';
2
- export declare type SeismicInfo = {
2
+ export type SeismicInfo = {
3
3
  minX: number;
4
4
  maxX: number;
5
5
  minTvdMsl: number;