import { Script } from "./script" ; import { DATA_MEDIA_TYPE } from "../components/statics" ; import { NonSerializable , AppUtils } from "../components/appUtils" ; import { IAppModel } from "../components/helper_interfaces" ; import { Org } from "./org" ; /**
 * Parsed org object
 * from the script file
 */ export class ScriptOrg implements IAppModel { name : string = "" ; instanceUrl : string = "" ; accessToken : string = "" ; @ NonSerializable ( ) errorMessage : string ; initialize : ( init : Partial < any > ) => void ; isValid ( ) { return true ; } fromOrg ( org ) { this . name = org . name ; this . instanceUrl = org . instanceUrl ; this . accessToken = org . accessToken ; return this ; } }