@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.
- package/dist/common/MexDefs.d.ts +13 -11
- package/dist/common/MexDefs.js.map +1 -1
- package/package.json +1 -1
package/dist/common/MexDefs.d.ts
CHANGED
|
@@ -37,25 +37,25 @@ export declare enum DefStatus {
|
|
|
37
37
|
}
|
|
38
38
|
type MexBaseMetadata = {
|
|
39
39
|
/**
|
|
40
|
-
* @label
|
|
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
|
|
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
|
|
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
|
|
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
|
|
82
|
-
* @tooltip
|
|
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
|
|
87
|
-
* @tooltip
|
|
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
|
|
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
|
|
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;
|
|
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"}
|