|
@@ -4,20 +4,23 @@ return {
|
|
|
description = 'Get the current major, minor, and patch version of LÖVR.',
|
|
|
arguments = {},
|
|
|
returns = {
|
|
|
- {
|
|
|
- name = 'major',
|
|
|
+ major = {
|
|
|
type = 'number',
|
|
|
description = 'The major version.'
|
|
|
},
|
|
|
- {
|
|
|
- name = 'minor',
|
|
|
+ minor = {
|
|
|
type = 'number',
|
|
|
description = 'The minor version.'
|
|
|
},
|
|
|
- {
|
|
|
- name = 'patch',
|
|
|
+ patch = {
|
|
|
type = 'number',
|
|
|
description = 'The patch number.'
|
|
|
}
|
|
|
+ },
|
|
|
+ variants = {
|
|
|
+ {
|
|
|
+ arguments = {},
|
|
|
+ returns = { 'major', 'minor', 'patch' }
|
|
|
+ }
|
|
|
}
|
|
|
}
|