frontend support for setting and changing hostname

This commit is contained in:
Matt Hill
2026-02-24 10:27:22 -07:00
parent d1162272f0
commit 86ecc4cc99
26 changed files with 9381 additions and 188 deletions

View File

@@ -447,6 +447,21 @@ export class MockApiService extends ApiService {
return null
}
async setHostname(params: { hostname: string }): Promise<null> {
await pauseFor(1000)
const patch = [
{
op: PatchOp.REPLACE,
path: '/serverInfo/hostname',
value: params.hostname,
},
]
this.mockRevision(patch)
return null
}
async setKeyboard(params: FullKeyboard): Promise<null> {
await pauseFor(1000)