forked from Jibo-Revival-Group/JiboOs
68 lines
1.6 KiB
JavaScript
68 lines
1.6 KiB
JavaScript
/**
|
|
* Versions for ssm, platform, jibo.
|
|
* @namespace jibo.versions
|
|
*/
|
|
|
|
/**
|
|
* The current version of the jibo API.
|
|
* @name jibo.versions#jibo
|
|
* @type {String}
|
|
*/
|
|
|
|
/**
|
|
* The current version of skills-service-manager.
|
|
* @name jibo.versions#ssm
|
|
* @type {String}
|
|
*/
|
|
|
|
/**
|
|
* The content of the current jibo's package.json.
|
|
* @name jibo.versions#platform
|
|
* @type {String}
|
|
*/
|
|
|
|
/**
|
|
* The full-stack release number of this Jibo's software
|
|
* @name jibo.versions#release
|
|
* @type {String}
|
|
*/
|
|
|
|
/**
|
|
* The current version of platform.
|
|
* @name jibo.versions#_packageInfo
|
|
* @type {Object}
|
|
* @private
|
|
*/
|
|
|
|
/**
|
|
* Initializes the versions API.
|
|
* @private
|
|
* @param {Function} done Callback when completed.
|
|
*/
|
|
|
|
/**
|
|
* Check to see if the current version is supported on this platform.
|
|
* @method jibo.versions#supported
|
|
* @param {String} currentPlatformVersion The current platform version.
|
|
* @return {Boolean} `true` if this `jibo` supports the current platform version.
|
|
*/
|
|
|
|
/**
|
|
* The Semver on the platform needed to run this `jibo`.
|
|
* @name jibo.versions#requiresPlatform
|
|
* @type {String}
|
|
*/
|
|
|
|
/**
|
|
* The content of the current jibo's `package.json`.
|
|
* @name jibo.versions#packageInfo
|
|
* @type {Object}
|
|
*/
|
|
|
|
/**
|
|
* Internally get the SSM version.
|
|
* @method jibo.versions#_getSSMVersion
|
|
* @private
|
|
* @param {Object} service Current service object for skils.
|
|
* @param {Function} done Callback when complete.
|
|
*/ |