import { IAppModel } from "../components/helper_interfaces" ; import { NonSerializable , AppUtils } from "../components/appUtils" ; import { SelectItem } from "../components/helper_classes" ; import { FieldItem } from "./fieldItem" ; /**
* Parsed FieldMapping object of the script.
* Represents field mapping
*/ export class ScriptMappingItem implements IAppModel { targetObject : string ; sourceField : string ; targetField : string ; @ NonSerializable ( ) errorMessage : string ; initialize : ( init : Partial < any > ) => void ; isValid ( ) { return ! this . errorMessage ; } }