update group type

This commit is contained in:
Aleksey Chichenkov 2019-03-18 15:33:09 +03:00
parent b558da6aa5
commit 223d49bfe6
1 changed files with 58 additions and 5 deletions

View File

@ -1,17 +1,19 @@
/**
* Описание типа компонента
*
* @class GroupType
* @memberof GroupTypes
*/
function GroupType() {
/**
*
*
* @public
* @function self
* @memberof GroupTypes.GroupType
* @returns {v2.vc}
*/
this.self = function() {
this.self = function () {
};
@ -22,7 +24,7 @@ function GroupType() {
* @memberof GroupTypes.GroupType
* @returns {v2.vc}
*/
this.parent = function() {
this.parent = function () {
};
@ -33,18 +35,69 @@ function GroupType() {
* @memberof GroupTypes.GroupType
* @returns {v2.vc}
*/
this.consist = function() {
this.consist = function () {
};
/**
* Позволяет получить все атрибуты компонента.
*
* @public
* @function attributes
* @memberof GroupTypes.GroupType
* @returns {v2.map(v2.string, v2.vc)}
*/
this.attributes = function() {
this.attributes = function () {
};
}
/**
* Иконка, которой обладает тип компонента
*
* @public
* @function icon
* @memberof GroupTypes.GroupType
* @returns {v2.vc}
*/
this.icon = function () {
};
/**
* Имя компонента (уже в нужной локали)
*
* @public
* @function name
* @memberof GroupTypes.GroupType
* @returns {v2.string}
*/
this.name = function () {
};
/**
* Описание компонента (уже в нужной локали)
*
* @public
* @function description
* @memberof GroupTypes.GroupType
* @returns {v2.string}
*/
this.description = function () {
};
/**
* Тип паблишера, который будет создаваться для данного компонента.
*
* Этот метод предназначен для гридов в поисках по компонентам.
*
* @public
* @function publisher_type
* @memberof GroupTypes.GroupType
* @returns {v2.model_type}
*/
this.publisher_type = function () {
};
}