feat: server feature level (#32178)
* feat: server feature level * fix: correctly compute feature level (cherry picked from commit cc1e2363651eaff63848baad2c7932923ca66554)
This commit is contained in:
@@ -27819,6 +27819,16 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ServerFeatureLevel": {
|
||||
"description": "Server feature level",
|
||||
"enum": [
|
||||
1
|
||||
],
|
||||
"type": "integer",
|
||||
"x-enum-varnames": [
|
||||
"FeatureLevel"
|
||||
]
|
||||
},
|
||||
"ServerFeaturesDto": {
|
||||
"properties": {
|
||||
"configFile": {
|
||||
@@ -28077,6 +28087,18 @@
|
||||
},
|
||||
"ServerVersionResponseDto": {
|
||||
"properties": {
|
||||
"featureLevel": {
|
||||
"description": "Highest feature level supported by the server, which increments independently of the release version",
|
||||
"maximum": 9007199254740991,
|
||||
"minimum": 0,
|
||||
"type": "integer",
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v4.0.0",
|
||||
"state": "Added"
|
||||
}
|
||||
]
|
||||
},
|
||||
"major": {
|
||||
"description": "Major version number",
|
||||
"maximum": 9007199254740991,
|
||||
@@ -28110,6 +28132,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"featureLevel",
|
||||
"major",
|
||||
"minor",
|
||||
"patch",
|
||||
|
||||
Reference in New Issue
Block a user