@skedulo/mex-types 1.37.0 → 1.38.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.
@@ -9,7 +9,7 @@ export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
9
9
  */
10
10
  showIfExpression?: DataExpressionType;
11
11
  }
12
- export type FlatPageViewComponentTypes = TextViewComponentModel | TextEditorViewComponentModel | ReadonlyTextViewComponentModel | ButtonGroupViewComponentModel | AttachmentsEditorViewComponentModel | SignatureEditorViewComponentModel | ToggleEditorViewComponentModel | DateTimePickerViewComponentModel | SectionViewComponentModel | MenuListViewComponentModel | SelectEditorViewComponentModel | MultiSelectEditorViewComponentModel | ChartViewComponentTypes | AddressSelectEditorViewComponentModel;
12
+ export type FlatPageViewComponentTypes = TextViewComponentModel | TextEditorViewComponentModel | TextAreaEditorViewComponentModel | ReadonlyTextViewComponentModel | ButtonGroupViewComponentModel | AttachmentsEditorViewComponentModel | SignatureEditorViewComponentModel | ToggleEditorViewComponentModel | DateTimePickerViewComponentModel | SectionViewComponentModel | MenuListViewComponentModel | SelectEditorViewComponentModel | MultiSelectEditorViewComponentModel | ChartViewComponentTypes | AddressSelectEditorViewComponentModel;
13
13
  /**
14
14
  * @area Components
15
15
  * @value textView
@@ -85,9 +85,9 @@ export interface WithTitle {
85
85
  /**
86
86
  * @area Components
87
87
  * @value textEditor
88
- * @description Enable users to input data from mobile app
88
+ * @description Standard single line text entry field
89
89
  * @label Text input
90
- * @fieldOrders ['title', 'caption', 'keyboardType', 'placeholder', 'mandatory', 'multiline', 'showIfExpression']
90
+ * @fieldOrders ['title', 'caption', 'keyboardType', 'placeholder', 'mandatory', 'showIfExpression']
91
91
  */
92
92
  export interface TextEditorViewComponentModel extends CommonEditorViewComponentModel, WithPlaceholder, WithTitle {
93
93
  /**
@@ -131,6 +131,15 @@ export interface TextEditorViewComponentModel extends CommonEditorViewComponentM
131
131
  */
132
132
  leftSymbol: LocalizedKey;
133
133
  }
134
+ /**
135
+ * @area Components
136
+ * @value textAreaEditor
137
+ * @description Multiline text entry field
138
+ * @label Text area
139
+ * @fieldOrders ['title', 'caption', 'keyboardType', 'placeholder', 'mandatory', 'multiline', 'showIfExpression']
140
+ */
141
+ export interface TextAreaEditorViewComponentModel extends TextEditorViewComponentModel {
142
+ }
134
143
  export interface TextEditorFeaturesModel {
135
144
  /**
136
145
  * @label: Use Barcode and QR Scanner
@@ -33,9 +33,9 @@ export interface SkedRemoteAttachment {
33
33
  imageUrl?: DataExpressionType;
34
34
  /**
35
35
  * @version: 1.14.x
36
- * @description: Fetching image from a resource id, this approach will fetch resource profile picture
36
+ * @description: Fetching image from a user id, this approach will fetch resource profile picture
37
37
  */
38
- profilePicFromResourceId?: DataExpressionType;
38
+ profilePicFromUserId?: DataExpressionType;
39
39
  }
40
40
  export interface UseAttachments {
41
41
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.37.0",
3
+ "version": "1.38.0",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },