mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
refactor: move restart field from ServerInfo to ServerStatus
The restart reason belongs with other server state (shutting_down, restarting, update_progress) rather than on the top-level ServerInfo. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -445,7 +445,7 @@ export class MockApiService extends ApiService {
|
||||
this.mockRevision([
|
||||
{
|
||||
op: PatchOp.REPLACE,
|
||||
path: '/serverInfo/restart',
|
||||
path: '/serverInfo/statusInfo/restart',
|
||||
value: 'kiosk',
|
||||
},
|
||||
])
|
||||
@@ -471,7 +471,7 @@ export class MockApiService extends ApiService {
|
||||
this.mockRevision([
|
||||
{
|
||||
op: PatchOp.REPLACE,
|
||||
path: '/serverInfo/restart',
|
||||
path: '/serverInfo/statusInfo/restart',
|
||||
value: 'mdns',
|
||||
},
|
||||
])
|
||||
@@ -507,7 +507,7 @@ export class MockApiService extends ApiService {
|
||||
this.mockRevision([
|
||||
{
|
||||
op: PatchOp.REPLACE,
|
||||
path: '/serverInfo/restart',
|
||||
path: '/serverInfo/statusInfo/restart',
|
||||
value: 'language',
|
||||
},
|
||||
])
|
||||
@@ -1852,7 +1852,7 @@ export class MockApiService extends ApiService {
|
||||
const patch3: Operation<string>[] = [
|
||||
{
|
||||
op: PatchOp.REPLACE,
|
||||
path: '/serverInfo/restart',
|
||||
path: '/serverInfo/statusInfo/restart',
|
||||
value: 'update',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user