@skedulo/mex-types 1.5.0 → 1.5.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.
@@ -37,25 +37,25 @@ export declare enum DefStatus {
37
37
  }
38
38
  type MexBaseMetadata = {
39
39
  /**
40
- * @label Summary
40
+ * @label Description
41
41
  */
42
42
  summary?: string;
43
43
  /**
44
44
  * @label Email
45
- * @hidden true
46
45
  */
47
46
  email?: string;
48
47
  /**
49
48
  * @label Mobile display order
50
49
  * @min 0
51
50
  * @max 999
52
- * @tooltip Please choose a number to determine the display priority of the form within the mobile app. A higher number will result in a lower display position for the form in the mobile app
51
+ * @tooltip Enter a lower number to set a higher priority and position on the screen
53
52
  */
54
53
  displayOrder: number;
55
54
  /**
56
55
  * @label Attachment destination
57
56
  * @placeholder Enter object name
58
- * @tooltip Provide the name of the object where you intend to store attachments when using the Attachments component in this form
57
+ * @tooltip Specify the object where attachments will be stored
58
+ * @hidden true
59
59
  */
60
60
  hasAttachments?: string[];
61
61
  /**
@@ -72,23 +72,24 @@ interface MexMetadataForJob extends MexBaseMetadata {
72
72
  /**
73
73
  * @label Form type
74
74
  * @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
75
- * @tooltip A global form will display in the user profile page
75
+ * @tooltip Job forms display only on jobs whereas global forms will display in the “More” menu of the mobile app
76
76
  * @dataType singleselect
77
77
  * @readonly true
78
78
  */
79
79
  contextObject: 'Jobs';
80
80
  /**
81
- * @label Show for Job Types
82
- * @tooltip The form will be visible on all jobs of the selected types
81
+ * @label Visible for job Types
82
+ * @tooltip Job types where this form will be visible
83
83
  */
84
84
  showIf?: string;
85
85
  /**
86
- * @label Mandatory for Job Types
87
- * @tooltip Filling out the form is required to complete jobs of the selected types
86
+ * @label Mandatory for job Types
87
+ * @tooltip Job types where this form will be mandatory
88
88
  */
89
89
  mandatoryIf?: string;
90
90
  /**
91
91
  * @label Mandatory expression
92
+ * @tooltip Job types where this form will be mandatory
92
93
  * @hidden true
93
94
  */
94
95
  mandatoryExpression?: string;
@@ -100,7 +101,7 @@ interface MexMetadataForResource extends MexBaseMetadata {
100
101
  /**
101
102
  * @label Form type
102
103
  * @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
103
- * @tooltip A global form will display in the user profile page
104
+ * @tooltip Job forms display only on jobs whereas global forms will display in the “More” menu of the mobile app
104
105
  * @dataType singleselect
105
106
  * @readonly true
106
107
  */
@@ -110,7 +111,7 @@ export interface MexMetadataFormBuilder extends MexBaseMetadata {
110
111
  /**
111
112
  * @label Form type
112
113
  * @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
113
- * @tooltip A global form will display in the user profile page
114
+ * @tooltip Job forms display only on jobs whereas global forms will display in the “More” menu of the mobile app
114
115
  * @dataType singleselect
115
116
  * @readonly true
116
117
  */
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },