@skedulo/mex-types 1.19.2 → 1.20.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.
package/dist/common/MexDefs.d.ts
CHANGED
|
@@ -99,11 +99,6 @@ interface MexMetadataForJob extends MexBaseMetadata {
|
|
|
99
99
|
* @area Metadata
|
|
100
100
|
*/
|
|
101
101
|
interface MexMetadataForResource extends MexBaseMetadata {
|
|
102
|
-
/**
|
|
103
|
-
* @label Visible for resource category
|
|
104
|
-
* @tooltip Resource types where this form will be visible
|
|
105
|
-
*/
|
|
106
|
-
showIf?: string;
|
|
107
102
|
/**
|
|
108
103
|
* @label Form type
|
|
109
104
|
* @options [{label: 'Jobs', value: 'Jobs'}, {label: 'Global', value: 'Resources'}]
|
|
@@ -112,6 +107,11 @@ interface MexMetadataForResource extends MexBaseMetadata {
|
|
|
112
107
|
* @readonly true
|
|
113
108
|
*/
|
|
114
109
|
contextObject: 'Resources';
|
|
110
|
+
/**
|
|
111
|
+
* @label Visible for resource category
|
|
112
|
+
* @tooltip Resource types where this form will be visible
|
|
113
|
+
*/
|
|
114
|
+
showIf?: string;
|
|
115
115
|
}
|
|
116
116
|
export interface MexMetadataFormBuilder extends MexBaseMetadata {
|
|
117
117
|
/**
|
|
@@ -167,6 +167,7 @@ export interface MexDef {
|
|
|
167
167
|
* The definition id, will be generated for the first time.
|
|
168
168
|
* It is used for definition update action
|
|
169
169
|
* @label Form ID
|
|
170
|
+
* @required false
|
|
170
171
|
* @readonly true
|
|
171
172
|
*/
|
|
172
173
|
defId: string;
|
|
@@ -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;AA8OD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
|
@@ -197,6 +197,16 @@ export interface AttachmentsEditorViewComponentModel extends CommonEditorViewCom
|
|
|
197
197
|
* @label Attachment category name
|
|
198
198
|
*/
|
|
199
199
|
attachmentCategoryName: string;
|
|
200
|
+
/**
|
|
201
|
+
* @version 1.10.0
|
|
202
|
+
*/
|
|
203
|
+
addFilesOptions?: AttachmentsEditorViewAddFilesOptionsModel;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @version 1.10.0
|
|
207
|
+
*/
|
|
208
|
+
export interface AttachmentsEditorViewAddFilesOptionsModel {
|
|
209
|
+
allowedFileExtensions?: string[];
|
|
200
210
|
}
|
|
201
211
|
/**
|
|
202
212
|
* @area Components
|