bruce-models 2.8.9 → 2.9.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.
@@ -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.9";
101
+ exports.VERSION = "2.9.0";
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.9";
84
+ export declare const VERSION = "2.9.0";
@@ -2,24 +2,24 @@
2
2
  * Describes content of a COMPONENT_STACK type custom form.
3
3
  */
4
4
  export declare namespace CustomFormContent {
5
- export interface IContent {
5
+ interface IContent {
6
6
  size?: {
7
7
  width: number;
8
8
  };
9
9
  stack: IStackItem[];
10
10
  }
11
- export interface IStackItem {
11
+ interface IStackItem {
12
12
  component: Component;
13
13
  params: StackItemParams;
14
14
  }
15
- export type Component = "STATIC_TEXT" | "ENTITY_TEXT" | "IFRAME" | "ENTITY_GALLERY" | "ENTITY_ATTRIBUTES" | "ENTITY_ATTRIBUTE_GROUP" | "ENTITY_COMMENTS" | "BUTTON";
16
- export interface IStaticTextParams {
15
+ type Component = "STATIC_TEXT" | "ENTITY_TEXT" | "IFRAME" | "ENTITY_GALLERY" | "ENTITY_ATTRIBUTES" | "ENTITY_ATTRIBUTE_GROUP" | "ENTITY_COMMENTS" | "BUTTON";
16
+ interface IStaticTextParams {
17
17
  text: string;
18
18
  }
19
- export interface IEntityTextParams {
19
+ interface IEntityTextParams {
20
20
  attrPath: string;
21
21
  }
22
- export interface IIFrameParams {
22
+ interface IIFrameParams {
23
23
  url: string;
24
24
  height: number;
25
25
  }
@@ -28,7 +28,7 @@ export declare namespace CustomFormContent {
28
28
  * Navigation is between other forms or the default info-view dialog.
29
29
  * We also allow toggling visible relationship parabolas to accommodate for older versions of these custom forms as they used to have an action like that.
30
30
  */
31
- export interface IButtonParams {
31
+ interface IButtonParams {
32
32
  action: "OPEN_FORM" | "OPEN_INFO_VIEW" | "TOGGLE_VISIBLE_RELATIONS";
33
33
  formId?: number;
34
34
  buttonText?: string;
@@ -36,16 +36,14 @@ export declare namespace CustomFormContent {
36
36
  buttonIconSide?: "LEFT" | "RIGHT";
37
37
  }
38
38
  interface IAttrRow {
39
- name: string;
40
39
  attrPath: string;
41
40
  }
42
41
  /**
43
42
  * This is an alternative to the entity attributes section.
44
43
  * The other one will use the entity type's schema to display all attributes whereas this one will display specific ones.
45
44
  */
46
- export interface IEntityAttrGroupParams {
45
+ interface IEntityAttrGroupParams {
47
46
  items: IAttrRow[];
48
47
  }
49
- export type StackItemParams = IStaticTextParams | IEntityTextParams | IIFrameParams | IButtonParams | IEntityAttrGroupParams | any;
50
- export {};
48
+ type StackItemParams = IStaticTextParams | IEntityTextParams | IIFrameParams | IButtonParams | IEntityAttrGroupParams | any;
51
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-models",
3
- "version": "2.8.9",
3
+ "version": "2.9.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-models.umd.js",