add errors interface and update api

This commit is contained in:
Aleksey Chichenkov 2019-03-19 14:36:08 +03:00
parent 0142743bb1
commit b242cef027
7 changed files with 117 additions and 17 deletions

View file

@ -13,9 +13,10 @@
* - {@link Models} - Менеджер, для доступа к устройствам, определен как **mm**
* - {@link Trees} - Менеджер, для доступа к деревьям, определен как **tm**
* - {@link CoreConfig} - Менеджер, для доступа к конфигу платформы, определен как **core_config**
* - {@link CoreTranslations} - Менеджер, для доступа к переводам, определен как **core_translations**
* - {@link Datasource} - Менеджер, для к каталогу датасорсов, определен как **datasource_manager**
* - {@link UserManager} - Менеджер, для доступа к данным пользоваталей, определен как **user_manager**
* - {@link CoreErrors} - Менеджер, для доступа к списку ошибок, определен как **core_errors**
* - {@link CoreTranslations} - Менеджер, для доступа к переводам, определен как **translations**
* - {@link Datasource} - Менеджер, для к каталогу датасорсов, определен как **datasources**
* - {@link UserManager} - Менеджер, для доступа к данным пользоваталей, определен как **users**
*
* @group providers_interface
* @namespace Platform
@ -59,11 +60,11 @@ function Platform() {
/**
*
* @public
* @name core_translations
* @name translations
* @type {CoreTranslations}
* @memberof Platform
*/
this.core_translations = new CoreTranslations();
this.translations = new CoreTranslations();
/**
*
@ -77,20 +78,29 @@ function Platform() {
/**
*
* @public
* @name datasource_manager
* @type {Datasource}
* @name core_errors
* @type {CoreErrors}
* @memberof Platform
*/
this.datasource_manager = new Datasource();
this.core_errors = new CoreErrors();
/**
*
* @public
* @name user_manager
* @name datasources
* @type {Datasource}
* @memberof Platform
*/
this.datasources = new Datasource();
/**
*
* @public
* @name users
* @type {UserManager}
* @memberof Platform
*/
this.user_manager = new UserManager();
this.users = new UserManager();
/**
*