@evoke-platform/context 1.2.0-testing.1 → 1.2.0-testing.2
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/dist/objects/objects.d.ts +22 -1
- package/package.json +1 -1
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { ApiServices, Callback } from '../api/index.js';
|
|
2
2
|
import { Filter } from './filters.js';
|
|
3
|
+
export type EvokeForm = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
entries: FormEntry[];
|
|
7
|
+
objectId: string;
|
|
8
|
+
formObjectId?: string;
|
|
9
|
+
actionId?: string;
|
|
10
|
+
autosaveActionId?: string;
|
|
11
|
+
};
|
|
3
12
|
export type BaseObjReference = {
|
|
4
13
|
objectId: string;
|
|
5
14
|
discriminatorValue: unknown;
|
|
@@ -47,6 +56,7 @@ export type Obj = {
|
|
|
47
56
|
baseObject?: BaseObjReference;
|
|
48
57
|
properties?: Property[];
|
|
49
58
|
actions?: Action[];
|
|
59
|
+
formId?: string;
|
|
50
60
|
};
|
|
51
61
|
export type ObjWithRoot = Obj & {
|
|
52
62
|
rootObjectId: string;
|
|
@@ -203,7 +213,18 @@ export type Sections = {
|
|
|
203
213
|
sections: Section[];
|
|
204
214
|
visibility?: VisibilityConfiguration | JsonLogic;
|
|
205
215
|
};
|
|
206
|
-
export type
|
|
216
|
+
export type ReadonlyField = {
|
|
217
|
+
type: 'readonlyField';
|
|
218
|
+
propertyId: string;
|
|
219
|
+
display?: DisplayConfiguration;
|
|
220
|
+
};
|
|
221
|
+
export type InputField = {
|
|
222
|
+
type: 'inputField';
|
|
223
|
+
input: InputParameter;
|
|
224
|
+
display?: DisplayConfiguration;
|
|
225
|
+
documentMetadata?: Record<string, string>;
|
|
226
|
+
};
|
|
227
|
+
export type FormEntry = InputField | InputParameterReference | ReadonlyField | Sections | Columns | Content;
|
|
207
228
|
export type Form = {
|
|
208
229
|
entries?: FormEntry[];
|
|
209
230
|
};
|