@evoke-platform/context 1.0.0-dev.115 → 1.0.0-dev.116

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.
@@ -4,33 +4,17 @@ export type BaseObjReference = {
4
4
  objectId: string;
5
5
  discriminatorValue: unknown;
6
6
  };
7
- export type DefaultViewLayout = {
8
- table?: DefaultTableViewLayout;
9
- dropdown?: DefaultDropdownViewLayout;
10
- };
11
- export type ViewLayoutReference = {
12
- id: string;
13
- objectId: string;
7
+ export type ViewLayout = {
8
+ table?: TableViewLayout;
9
+ dropdown?: DropdownViewLayout;
14
10
  };
15
- export type DefaultDropdownViewLayout = {
11
+ export type DropdownViewLayout = {
16
12
  secondaryTextExpression: string;
17
13
  };
18
- export type DefaultTableViewLayout = {
19
- properties: PropertyReference[];
20
- sort?: Sort;
21
- };
22
- export type ViewLayout = {
23
- id: string;
24
- name: string;
25
- objectId: string;
26
- };
27
- export type TableViewLayout = ViewLayout & {
14
+ export type TableViewLayout = {
28
15
  properties: PropertyReference[];
29
16
  sort?: Sort;
30
17
  };
31
- export type DropdownViewLayout = ViewLayout & {
32
- secondaryTextExpression: string;
33
- };
34
18
  export type PropertyReference = {
35
19
  id: string;
36
20
  format?: string;
@@ -43,7 +27,7 @@ export type Obj = {
43
27
  id: string;
44
28
  name: string;
45
29
  typeDiscriminatorProperty?: string;
46
- viewLayout?: DefaultViewLayout;
30
+ viewLayout?: ViewLayout;
47
31
  baseObject?: BaseObjReference;
48
32
  properties?: Property[];
49
33
  actions?: Action[];
@@ -165,7 +149,6 @@ export type DisplayConfiguration = {
165
149
  mode?: 'default' | 'existingOnly';
166
150
  relatedObjectDisplay?: 'dropdown' | 'dialogBox';
167
151
  visibility?: VisibilityConfiguration | string;
168
- viewLayout?: ViewLayoutReference;
169
152
  };
170
153
  export type InputParameterReference = {
171
154
  type: 'input';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.0.0-dev.115",
3
+ "version": "1.0.0-dev.116",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",