@evoke-platform/context 1.5.0-testing.3 → 1.5.0-testing.5

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.
@@ -15,7 +15,10 @@ export type EvokeForm = {
15
15
  };
16
16
  export type BaseObjReference = {
17
17
  objectId: string;
18
- discriminatorValue?: unknown;
18
+ discriminatorValue: unknown;
19
+ };
20
+ export type SystemObjReference = {
21
+ objectId: string;
19
22
  };
20
23
  export type ViewLayoutEntityReference = {
21
24
  id: string;
@@ -58,7 +61,7 @@ export type Obj = {
58
61
  description?: string;
59
62
  typeDiscriminatorProperty?: string;
60
63
  viewLayout?: ViewLayout;
61
- baseObject?: BaseObjReference;
64
+ baseObject?: BaseObjReference | SystemObjReference;
62
65
  properties?: Property[];
63
66
  actions?: Action[];
64
67
  formId?: string;
@@ -193,6 +196,12 @@ export type DisplayConfiguration = {
193
196
  charCount?: boolean;
194
197
  mode?: 'default' | 'existingOnly';
195
198
  relatedObjectDisplay?: 'dropdown' | 'dialogBox';
199
+ /**
200
+ * The ID of the related object for parameters of type 'object'.
201
+ * When a parameter is of type 'object' whose objectId is not configured,
202
+ * this specifies which object it relates to when the field entry is rendered.
203
+ */
204
+ relatedObjectId?: string;
196
205
  visibility?: VisibilityConfiguration | JsonLogic;
197
206
  viewLayout?: ViewLayoutEntityReference;
198
207
  choicesDisplay?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.5.0-testing.3",
3
+ "version": "1.5.0-testing.5",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",