bruce-models 2.8.2 → 2.8.3

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.
@@ -98,5 +98,5 @@ __exportStar(require("./internal/uploader"), exports);
98
98
  __exportStar(require("./plugin/plugin"), exports);
99
99
  __exportStar(require("./environment"), exports);
100
100
  __exportStar(require("./data-source/data-source"), exports);
101
- exports.VERSION = "2.8.2";
101
+ exports.VERSION = "2.8.3";
102
102
  //# sourceMappingURL=bruce-models.js.map
@@ -81,4 +81,4 @@ export * from "./internal/uploader";
81
81
  export * from "./plugin/plugin";
82
82
  export * from "./environment";
83
83
  export * from "./data-source/data-source";
84
- export declare const VERSION = "2.8.2";
84
+ export declare const VERSION = "2.8.3";
@@ -1,21 +1,20 @@
1
- import { IDictionary } from "../bruce-models";
2
1
  /**
3
2
  * Describes settings for entity selection for a project view record.
4
3
  */
5
4
  export declare namespace ProjectViewSelection {
6
5
  interface ISelection {
7
6
  defaultAction?: IItem;
8
- entityTypeMapping?: IDictionary<IItem>;
7
+ entityTypeMapping?: IItem[];
9
8
  }
10
9
  /**
11
10
  * This represents an action and related params to perform on user-click.
12
11
  */
13
12
  interface IItem {
14
13
  entityTypeId?: string;
15
- action: SelectionAction;
14
+ action: Action;
16
15
  actionParams?: undefined | IActionInfoView | IActionCustomForm | IActionPlugin;
17
16
  }
18
- type SelectionAction = "info-view" | "custom-form" | "plugin" | "none";
17
+ type Action = "INFO_VIEW" | "CUSTOM_FORM" | "PLUGIN" | "NONE";
19
18
  /**
20
19
  * These are the params related to the "info-view" action.
21
20
  * This is the Nextspace default entity details panel.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-models",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-models.umd.js",