import { PiElement , PiNamedElement } from "@projectit/core" ; import { setUserMessage } from "../webapp-ts-utils/UserMessageUtils" ; /**
 *  Takes care of the communication with the server at SERVER_URL from WebappConfiguration.
 */ export interface IServerCommunication { param modelInfo param piUnit putModelUnit ( modelName , unitName , piUnit ) ; param modelInfo deleteModelUnit ( modelName , unitName ) ; param modelName deleteModel ( modelName ) ; param modelListCallback loadModelList ( modelListCallback ) ; param modelName param modelListCallback loadUnitList ( modelName , modelListCallback ) ; param modelInfo param loadCallback loadModelUnit ( modelName , unitName , loadCallback ) ; param modelInfo param loadCallback loadModelUnitInterface ( modelName , unitName , loadCallback ) ; }