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

@ -109,6 +109,59 @@ function Model() {
};
/**
*
* @public
* @function get_base_components
* @memberof Models.Model
* @param groupType {v2.model_type}
* @returns {tools.promise()}
*/
this.get_base_components = function () {
};
/**
*
* @public
* @function get_components
* @memberof Models.Model
* @param {v2.string} _c_tag
* @param {v2.list<v2.string>} _parent_c_tags
* @returns {tools.promise()}
*/
this.get_components = function (_c_tag, _parent_c_tags) {
};
/**
*
* @public
* @function get_components_with_id
* @memberof Models.Model
* @param {v2.string} _c_tag
* @param {v2.list<v2.string>} _parent_c_tags
* @param {v2.string} _id
* @returns {tools.promise()}
*/
this.get_components_with_id = function (_c_tag, _parent_c_tags, _id) {
};
/**
*
* @public
* @function get_components_with_parent_id
* @memberof Models.Model
* @param {v2.string} _c_tag
* @param {v2.list<v2.string>} _parent_c_tags
* @param {v2.string} _parent_id
* @returns {tools.promise()}
*/
this.get_components_with_parent_id = function (_c_tag, _parent_c_tags, _parent_id) {
};
/**
*
* @public