@evoke-platform/context 1.3.0-testing.0 → 1.3.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.
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ApiServices, Callback } from '../api/index.js';
|
|
2
2
|
import { Filter } from './filters.js';
|
|
3
|
+
export type EvokeFormDisplayConfiguration = {
|
|
4
|
+
submitLabel?: string;
|
|
5
|
+
};
|
|
3
6
|
export type EvokeForm = {
|
|
4
7
|
id: string;
|
|
5
8
|
name: string;
|
|
@@ -8,6 +11,7 @@ export type EvokeForm = {
|
|
|
8
11
|
formObjectId?: string;
|
|
9
12
|
actionId?: string;
|
|
10
13
|
autosaveActionId?: string;
|
|
14
|
+
display?: EvokeFormDisplayConfiguration;
|
|
11
15
|
};
|
|
12
16
|
export type BaseObjReference = {
|
|
13
17
|
objectId: string;
|
|
@@ -109,6 +113,7 @@ export type InputStringValidation = StringValidation & {
|
|
|
109
113
|
maxLength?: number;
|
|
110
114
|
mask?: string;
|
|
111
115
|
};
|
|
116
|
+
export type BasicInputParameter = Omit<InputParameter, 'name' | 'required'>;
|
|
112
117
|
export type InputParameter = {
|
|
113
118
|
id: string;
|
|
114
119
|
name?: string;
|
|
@@ -225,7 +230,7 @@ export type ReadonlyField = {
|
|
|
225
230
|
};
|
|
226
231
|
export type InputField = {
|
|
227
232
|
type: 'inputField';
|
|
228
|
-
input:
|
|
233
|
+
input: BasicInputParameter;
|
|
229
234
|
display?: DisplayConfiguration;
|
|
230
235
|
documentMetadata?: Record<string, string>;
|
|
231
236
|
};
|