убрал датасорсы и переработаны паблишеры
This commit is contained in:
parent
5335ac8c96
commit
34fc85333c
19 changed files with 319 additions and 127 deletions
|
@ -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 () {
|
||||
|
||||
}
|
||||
};
|
|
@ -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 () {}
|
||||
|
||||
|
||||
|
||||
};
|
32
docfiles/providers/managers/publishers/base/items/item.js
Normal file
32
docfiles/providers/managers/publishers/base/items/item.js
Normal 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) {
|
||||
|
||||
};
|
||||
};
|
34
docfiles/providers/managers/publishers/base/items/manager.js
Normal file
34
docfiles/providers/managers/publishers/base/items/manager.js
Normal 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) {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue