@skedulo/mex-types 1.45.0 → 1.46.0
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.
|
@@ -5,6 +5,7 @@ export type ValueExpressionType = string | ValueExpressionLogic[];
|
|
|
5
5
|
export type LocalizedKey = string;
|
|
6
6
|
export type OneLevelBindingObject = any;
|
|
7
7
|
export type FunctionExpressionType = string;
|
|
8
|
+
export type StaticResourceImage = string;
|
|
8
9
|
/**
|
|
9
10
|
* @version 1.24.0
|
|
10
11
|
* @description online mode only
|
|
@@ -294,4 +295,9 @@ export interface SkedRemoteImage {
|
|
|
294
295
|
* @description: Fetching image from a user id, this approach will fetch resource profile picture
|
|
295
296
|
*/
|
|
296
297
|
profilePicFromUserId?: DataExpressionType;
|
|
298
|
+
/**
|
|
299
|
+
* @version: 1.21.x
|
|
300
|
+
* @description: Loading image from form's static resources
|
|
301
|
+
*/
|
|
302
|
+
staticResource?: StaticResourceImage;
|
|
297
303
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseComponentModel } from '../common';
|
|
1
|
+
import { BaseComponentModel, StaticResourceImage } from '../common';
|
|
2
2
|
import { ButtonGroupItemComponentModel, DataExpressionType, DynamicContent, FunctionExpressionType, GroupByFeatureModel, IconName, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OnlineFetchListDataQuery, OrderByModel, RoutingType, SkedRemoteImage, TimezoneType, ValueExpressionType } from '../common';
|
|
3
3
|
import { SelectPageOnlineSource, SelectPageSearchBarConfig } from './SearchPage';
|
|
4
4
|
import { ValidatorDefinitionModel } from '../validator';
|
|
@@ -242,7 +242,7 @@ export interface AttachmentsEditorViewComponentModel extends CommonEditorViewCom
|
|
|
242
242
|
*/
|
|
243
243
|
export interface ImageAnnotationEditorViewComponentModel extends CommonEditorViewComponentModel, WithHasAttachments, WithTitle {
|
|
244
244
|
type: 'imageAnnotationEditor';
|
|
245
|
-
templateImages:
|
|
245
|
+
templateImages: StaticResourceImage[];
|
|
246
246
|
}
|
|
247
247
|
export interface WithHasAttachments {
|
|
248
248
|
sourceExpression: DataExpressionType;
|