moving webserverUrl property to IegwGlobal interface from global egw object

This commit is contained in:
Ralf Becker 2020-02-04 18:30:20 +01:00 committed by Hadi Nategh
parent b45a74ac36
commit 025b2cc431

View File

@ -21,7 +21,7 @@ declare var egw : Iegw;
/** /**
* Interface for global egw with window global or local methods or as function returning an object allowing also application local methods * Interface for global egw with window global or local methods or as function returning an object allowing also application local methods
*/ */
declare interface Iegw extends IegwWndLocal { (_app? : string, _wnd? : Window) : IegwAppLocal, webserverUrl : string } declare interface Iegw extends IegwWndLocal { (_app? : string, _wnd? : Window) : IegwAppLocal }
/** /**
* Return type for egw.app() call * Return type for egw.app() call
@ -54,6 +54,11 @@ declare interface IegwData
*/ */
declare interface IegwGlobal declare interface IegwGlobal
{ {
/**
* Base URL of EGroupware install "/egroupware" or full URL incl. schema and domain
*/
webserverUrl : string;
/** /**
* implemented in egw_config.js * implemented in egw_config.js
*/ */