@evoke-platform/context 1.2.0-testing.7 → 1.2.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.
|
@@ -167,7 +167,7 @@ export type DisplayConfiguration = {
|
|
|
167
167
|
placeholder?: string;
|
|
168
168
|
required?: boolean;
|
|
169
169
|
description?: string;
|
|
170
|
-
defaultValue?: string | number | string[] | RelatedObjectDefaultValue | CriteriaDefaultValue;
|
|
170
|
+
defaultValue?: string | boolean | number | string[] | RelatedObjectDefaultValue | CriteriaDefaultValue;
|
|
171
171
|
readOnly?: boolean;
|
|
172
172
|
tooltip?: string;
|
|
173
173
|
prefix?: string;
|
|
@@ -180,9 +180,10 @@ export type DisplayConfiguration = {
|
|
|
180
180
|
visibility?: VisibilityConfiguration | JsonLogic;
|
|
181
181
|
viewLayout?: ViewLayoutEntityReference;
|
|
182
182
|
choicesDisplay?: {
|
|
183
|
-
type: 'dropdown' | 'radioButton'
|
|
183
|
+
type: 'dropdown' | 'radioButton';
|
|
184
184
|
sortBy?: 'ASC' | 'DESC' | 'NONE';
|
|
185
185
|
};
|
|
186
|
+
booleanDisplay?: 'checkbox' | 'switch';
|
|
186
187
|
};
|
|
187
188
|
export type InputParameterReference = {
|
|
188
189
|
type: 'input';
|
|
@@ -239,7 +240,7 @@ export type ActionInput = {
|
|
|
239
240
|
label?: string;
|
|
240
241
|
type?: ActionInputType;
|
|
241
242
|
key?: string;
|
|
242
|
-
initialValue?: string | string[] | number | RelatedObjectDefaultValue | SelectOption[] | SelectOption;
|
|
243
|
+
initialValue?: boolean | string | string[] | number | RelatedObjectDefaultValue | SelectOption[] | SelectOption;
|
|
243
244
|
defaultToCurrentDate?: boolean;
|
|
244
245
|
defaultToCurrentTime?: boolean;
|
|
245
246
|
defaultValueCriteria?: object;
|