Source: version.js

  1. /*
  2. * (c) Miva Inc <https://www.miva.com/>
  3. *
  4. * For the full copyright and license information, please view the LICENSE
  5. * file that was distributed with this source code.
  6. *
  7. * $Id: version.js 77287 2019-08-07 21:12:42Z gidriss $
  8. */
  9. /** @module Version */
  10. /** @ignore */
  11. const VERSION_MAJOR = 1;
  12. /** @ignore */
  13. const VERSION_MINOR = 3;
  14. /** @ignore */
  15. const VERSION_PATCH = 0;
  16. /** Holds version information */
  17. class Version {
  18. /**
  19. * @returns {number}
  20. * @static
  21. * @const
  22. */
  23. static get VERSION_MAJOR() {
  24. return VERSION_MAJOR;
  25. }
  26. /**
  27. * @returns {number}
  28. * @static
  29. * @const
  30. */
  31. static get VERSION_MINOR() {
  32. return VERSION_MINOR;
  33. }
  34. /**
  35. * @returns {number}
  36. * @static
  37. * @const
  38. */
  39. static get VERSION_PATCH() {
  40. return VERSION_PATCH;
  41. }
  42. /**
  43. * @returns {string}
  44. * @static
  45. * @const
  46. */
  47. static get VERSION_STRING() {
  48. return '1.3.0';
  49. }
  50. }
  51. module.exports = Version;