убрал датасорсы и переработаны паблишеры

This commit is contained in:
Aleksey Chichenkov 2019-06-19 15:21:58 +03:00
parent 5335ac8c96
commit 34fc85333c
19 changed files with 319 additions and 127 deletions

View file

@ -0,0 +1,51 @@
/** @typedef {Publishers.PublisherManager.Publisher.Items.Item.Attributes.Attribute} PublisherItemAttribute */
/**
*
* @group manager
* @class Attribute
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes
*/
var Attribute = function () {
/**
*
* @name s_size_change
* @public
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes.Attribute
* @type {number}
*/
this.s_size_change = -1;
/**
*
* @public
* @function name
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes.Attribute
* @returns {v2.string}
*/
this.name = function () {
};
/**
*
* @public
* @function value
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes.Attribute
* @returns {v2}
*/
this.value = function () {
};
/**
*
* @public
* @function type
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes.Attribute
* @returns {v2.type}
*/
this.type = function () {
}
};

View file

@ -0,0 +1,32 @@
/**
*
* @group manager
* @class Attributes
* @memberof Publishers.PublisherManager.Publisher.Items.Item
*/
var Attributes = function () {
/**
*
* @public
* @function get
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes
* @param _id {v2.integer}
* @returns {tools.promise(PublisherItemAttribute)}
*/
this.get = function (_id) {
};
/**
*
* @public
* @function attributes
* @memberof Publishers.PublisherManager.Publisher.Items.Item.Attributes
* @returns {v2.list(v2.string)}
*/
this.attributes = function () {}
};

View file

@ -0,0 +1,32 @@
/** @typedef {Publishers.PublisherManager.Publisher.Items.Item} PublisherItem */
/**
*
* @group manager
* @class Item
* @memberof Publishers.PublisherManager.Publisher.Items
*/
var Item = function () {
/**
*
* @function id
* @public
* @memberof Publishers.PublisherManager.Publisher.Items.Item
* @type {v2.integer}
*/
this.id = function () {
};
/**
*
* @public
* @function get
* @memberof Publishers.PublisherManager.Publisher.Items.Item
* @param _index {v2.integer}
* @returns {tools.promise(PublisherItemAttribute)}
*/
this.get = function (_index) {
};
};

View file

@ -0,0 +1,34 @@
/**
*
* @group manager
* @class Items
* @memberof Publishers.PublisherManager.Publisher
*/
var Items = function () {
/**
*
* @public
* @function get
* @memberof Publishers.PublisherManager.Publisher.Items
* @param _id {v2.integer}
* @returns {tools.promise(PublisherItem)}
*/
this.get = function (_id) {
};
/**
*
* @public
* @function is_exist
* @memberof Publishers.PublisherManager.Publisher.Items
* @param _id {v2.integer}
* @returns {boolean}
*/
this.is_exist = function (_id) {
};
};