pollination-react-io 1.72.0 → 1.73.0

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.
package/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Pollination React IO
2
2
 
3
3
  Plan is to create a set of hooks and higher order components (HOCs) that abstract logic originally implemented in pollination-streamlit-io to facilitate using react as a native client for the CAD plugins.
4
-
5
4
  ### Testing
6
5
 
7
6
  ```
@@ -4,7 +4,8 @@ export declare enum Action {
4
4
  delete = "delete",
5
5
  preview = "preview",
6
6
  clear = "clear",
7
- subscribePreview = "subscribe-preview"
7
+ subscribePreview = "subscribe-preview",
8
+ replace = "replace"
8
9
  }
9
10
  export interface SendModelProps {
10
11
  hbjson?: object;
@@ -1,5 +1,5 @@
1
1
  export declare type GeometryAction = 'AddGeometry' | 'PreviewGeometry' | 'DeleteGeometry' | 'ClearGeometry' | 'SubscribePreviewGeometry';
2
- export declare type ModelAction = 'AddHBJSON' | 'PreviewHBJSON' | 'DeleteHBJSON' | 'ClearHBJSON' | 'SubscribePreviewHBJSON';
2
+ export declare type ModelAction = 'AddHBJSON' | 'PreviewHBJSON' | 'DeleteHBJSON' | 'ClearHBJSON' | 'SubscribePreviewHBJSON' | 'ReplaceHBJSON';
3
3
  export declare type SettingsAction = 'AddSettings';
4
4
  export declare type CommandAction = 'AddCommand';
5
5
  export declare type ResultsAction = 'AddResults' | 'PreviewResults' | 'DeleteResults' | 'ClearResults' | 'SubscribePreviewResults';