@evoke-platform/context 1.2.0-testing.6 → 1.2.0-testing.8

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;
@@ -183,6 +183,7 @@ export type DisplayConfiguration = {
183
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;
@@ -262,7 +263,7 @@ export type ActionInput = {
262
263
  inputMaskPlaceholderChar?: string;
263
264
  tableView?: boolean;
264
265
  mode?: 'default' | 'existingOnly';
265
- displayOption?: 'dropdown' | 'dialogBox' | 'radioButton';
266
+ displayOption?: 'dropdown' | 'dialogBox' | 'radioButton' | 'checkbox' | 'switch';
266
267
  rows?: number;
267
268
  showCharCount?: boolean;
268
269
  readOnly?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.2.0-testing.6",
3
+ "version": "1.2.0-testing.8",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",