fix(ui): reflect update availability and config changes; expand mobile player metadata
ci / api / api (push) Successful in 50s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m0s
ci / db / db (push) Successful in 58s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m27s
ci / docker / docker (образы собираются — их сервер собирает сам при обновлении) (push) Successful in 1m39s
ci / ts / ts (packages + web) (push) Successful in 2m40s
ci / api / api (push) Successful in 50s
ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 1m0s
ci / db / db (push) Successful in 58s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m27s
ci / docker / docker (образы собираются — их сервер собирает сам при обновлении) (push) Successful in 1m39s
ci / ts / ts (packages + web) (push) Successful in 2m40s
This commit is contained in:
1 parent
bc55528afd
commit
a6c9fd8a00
30 files changed
+833
-395
No files matched your search
+15
-1
@@ -30,6 +30,15 @@ paths:
|
||||
- in: query
|
||||
name: source_id
|
||||
schema: {type: string}
|
||||
- in: query
|
||||
name: channel
|
||||
schema: {type: string, enum: [latest, version, main], default: latest}
|
||||
- in: query
|
||||
name: version
|
||||
schema: {type: string}
|
||||
- in: query
|
||||
name: fresh
|
||||
schema: {type: boolean, default: false}
|
||||
responses:
|
||||
"200":
|
||||
description: Server management result
|
||||
@@ -1958,7 +1967,7 @@ components:
|
||||
log: {type: string}
|
||||
ServerUpdates:
|
||||
type: object
|
||||
required: [sources, versions, current_version, job, source_error]
|
||||
required: [sources, versions, current_version, job, source_error, current_commit, target_version, target_commit, update_state]
|
||||
properties:
|
||||
sources:
|
||||
type: array
|
||||
@@ -1967,6 +1976,10 @@ components:
|
||||
type: array
|
||||
items: {type: string}
|
||||
current_version: {type: string}
|
||||
current_commit: {type: string}
|
||||
target_version: {type: string}
|
||||
target_commit: {type: string}
|
||||
update_state: {type: string, enum: [available, current, ahead, unknown, unavailable, select_version]}
|
||||
source_error: {type: string}
|
||||
job:
|
||||
allOf: [{$ref: "#/components/schemas/ServerJob"}]
|
||||
@@ -1978,6 +1991,7 @@ components:
|
||||
source_id: {type: string}
|
||||
channel: {type: string, enum: [latest, version, main]}
|
||||
version: {type: string}
|
||||
expected_commit: {type: string, pattern: '^[a-f0-9]{40,64}$'}
|
||||
ServerConfigEntry:
|
||||
type: object
|
||||
required: [key, group, type, secret, readonly, effective, env, local, default_value, source]
|
||||
|
||||
Reference in new issue
Block a user