@skedulo/mex-types 1.5.1 → 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 +11 -11
- package/package.json +1 -1
package/dist/common/MexDefs.d.ts
CHANGED
|
@@ -37,25 +37,24 @@ 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
|
|
59
58
|
* @hidden true
|
|
60
59
|
*/
|
|
61
60
|
hasAttachments?: string[];
|
|
@@ -73,23 +72,24 @@ interface MexMetadataForJob extends MexBaseMetadata {
|
|
|
73
72
|
/**
|
|
74
73
|
* @label Form type
|
|
75
74
|
* @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
|
|
76
|
-
* @tooltip
|
|
75
|
+
* @tooltip Job forms display only on jobs whereas global forms will display in the “More” menu of the mobile app
|
|
77
76
|
* @dataType singleselect
|
|
78
77
|
* @readonly true
|
|
79
78
|
*/
|
|
80
79
|
contextObject: 'Jobs';
|
|
81
80
|
/**
|
|
82
|
-
* @label
|
|
83
|
-
* @tooltip
|
|
81
|
+
* @label Visible for job Types
|
|
82
|
+
* @tooltip Job types where this form will be visible
|
|
84
83
|
*/
|
|
85
84
|
showIf?: string;
|
|
86
85
|
/**
|
|
87
|
-
* @label Mandatory for
|
|
88
|
-
* @tooltip
|
|
86
|
+
* @label Mandatory for job Types
|
|
87
|
+
* @tooltip Job types where this form will be mandatory
|
|
89
88
|
*/
|
|
90
89
|
mandatoryIf?: string;
|
|
91
90
|
/**
|
|
92
91
|
* @label Mandatory expression
|
|
92
|
+
* @tooltip Job types where this form will be mandatory
|
|
93
93
|
* @hidden true
|
|
94
94
|
*/
|
|
95
95
|
mandatoryExpression?: string;
|
|
@@ -101,7 +101,7 @@ interface MexMetadataForResource extends MexBaseMetadata {
|
|
|
101
101
|
/**
|
|
102
102
|
* @label Form type
|
|
103
103
|
* @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
|
|
104
|
-
* @tooltip
|
|
104
|
+
* @tooltip Job forms display only on jobs whereas global forms will display in the “More” menu of the mobile app
|
|
105
105
|
* @dataType singleselect
|
|
106
106
|
* @readonly true
|
|
107
107
|
*/
|
|
@@ -111,7 +111,7 @@ export interface MexMetadataFormBuilder extends MexBaseMetadata {
|
|
|
111
111
|
/**
|
|
112
112
|
* @label Form type
|
|
113
113
|
* @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
|
|
114
|
-
* @tooltip
|
|
114
|
+
* @tooltip Job forms display only on jobs whereas global forms will display in the “More” menu of the mobile app
|
|
115
115
|
* @dataType singleselect
|
|
116
116
|
* @readonly true
|
|
117
117
|
*/
|