pollination-react-io 0.0.18 → 0.0.21

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,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { PreviewBakeGeometryProps } from "./PreviewBakeGeometry.types";
3
- declare const PreviewBakeGeometry: React.FC<PreviewBakeGeometryProps>;
3
+ export declare const PreviewBakeGeometry: React.FC<PreviewBakeGeometryProps>;
4
4
  export default PreviewBakeGeometry;
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { PreviewBakeModelProps } from "./PreviewBakeModel.types";
3
- declare const PreviewBakeModel: React.FC<PreviewBakeModelProps>;
3
+ export declare const PreviewBakeModel: React.FC<PreviewBakeModelProps>;
4
4
  export default PreviewBakeModel;
@@ -1,4 +1,5 @@
1
1
  export interface SendGeometryProps {
2
2
  geometry?: string[];
3
3
  defaultAction?: 'add' | 'delete' | 'preview' | 'clear' | 'subscribe-preview';
4
+ key?: string;
4
5
  }
@@ -1,4 +1,5 @@
1
1
  export interface SendModelProps {
2
2
  hbjson?: object;
3
3
  defaultAction?: 'add' | 'preview' | 'clear' | 'subscribe-preview';
4
+ key?: string;
4
5
  }
@@ -4,7 +4,8 @@ export interface Options {
4
4
  }
5
5
  export declare type GeometryAction = 'BakeGeometry' | 'ClearGeometry' | 'DrawGeometry' | 'DisableDraw' | 'CombinedRendering';
6
6
  export declare type ModelAction = 'BakePollinationModel' | 'DisableDrawPollinationModel' | 'DrawPollinationModel' | 'CombinedRenderingPollinationModel';
7
- export declare type Action = GeometryAction | ModelAction | 'RunCommand' | 'SetModelSettings';
7
+ export declare type ResultsAction = 'AddResults' | 'ClearResults';
8
+ export declare type Action = GeometryAction | ModelAction | ResultsAction | 'RunCommand' | 'SetModelSettings';
8
9
  export interface Message {
9
10
  action?: Action;
10
11
  data?: any;