@skedulo/mex-types 1.4.2 → 1.5.1

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.
@@ -56,6 +56,7 @@ type MexBaseMetadata = {
56
56
  * @label Attachment destination
57
57
  * @placeholder Enter object name
58
58
  * @tooltip Provide the name of the object where you intend to store attachments when using the Attachments component in this form
59
+ * @hidden true
59
60
  */
60
61
  hasAttachments?: string[];
61
62
  /**
@@ -201,6 +202,7 @@ export interface MexDef {
201
202
  * ]
202
203
  * @label Status
203
204
  * @dataType singleselect
205
+ * @hidden true
204
206
  */
205
207
  status: DefStatus;
206
208
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"MexDefs.js","sourceRoot":"","sources":["../../src/common/MexDefs.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAIjD;;;;;GAKG;AACH,IAAY,SA6BX;AA7BD,WAAY,SAAS;IACnB;;OAEG;IACH,4BAAe,CAAA;IACf;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,wCAA2B,CAAA;IAC3B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,8BAAiB,CAAA;AACnB,CAAC,EA7BW,SAAS,yBAAT,SAAS,QA6BpB;AAqOD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
1
+ {"version":3,"file":"MexDefs.js","sourceRoot":"","sources":["../../src/common/MexDefs.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAIjD;;;;;GAKG;AACH,IAAY,SA6BX;AA7BD,WAAY,SAAS;IACnB;;OAEG;IACH,4BAAe,CAAA;IACf;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,wCAA2B,CAAA;IAC3B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,8BAAiB,CAAA;AACnB,CAAC,EA7BW,SAAS,yBAAT,SAAS,QA6BpB;AAuOD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
@@ -53,6 +53,7 @@ export interface CommonEditorWithPlaceholder {
53
53
  * @value textEditor
54
54
  * @description Enable users to input data from mobile app
55
55
  * @label Text input
56
+ * @fieldOrders ['title', 'keyboardType', 'placeholder', 'mandatory', 'readonly', 'multiline']
56
57
  */
57
58
  export interface TextEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder {
58
59
  /**
@@ -412,7 +413,8 @@ export interface SelectEditorViewComponentModel extends CommonEditorViewComponen
412
413
  */
413
414
  export interface MultiSelectEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder, BaseSelectEditor {
414
415
  displayDataInSearchPageExpression: DataExpressionType;
415
- constructResultObject: ConstructResultObject;
416
+ constructResultObject?: ConstructResultObject;
417
+ valueExpression?: DataExpressionType;
416
418
  /**
417
419
  * TODO: Remove typeAdhoc for union type, and dynamic form need to support Array of object
418
420
  * @label Validator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.4.2",
3
+ "version": "1.5.1",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },