update bindings for API types, add ARCHITECTURE (#3124)

* update binding for API types, add ARCHITECTURE

* translations
This commit is contained in:
Matt Hill
2026-02-16 08:23:28 -07:00
committed by GitHub
parent 3518eccc87
commit d97ab59bab
184 changed files with 1846 additions and 1670 deletions

View File

@@ -1,7 +1,6 @@
import * as jose from 'node-jose'
import {
DiskInfo,
FollowLogsRes,
FullKeyboard,
SetLanguageParams,
StartOSDiskInfo,
@@ -49,7 +48,7 @@ export abstract class ApiService {
abstract shutdown(): Promise<void> // setup.shutdown
// Logs & Progress
abstract initFollowLogs(): Promise<FollowLogsRes> // setup.logs.follow
abstract initFollowLogs(): Promise<T.LogFollowResponse> // setup.logs.follow
abstract openWebsocket$<T>(guid: string): Observable<T>
// Restart (for error recovery)

View File

@@ -2,7 +2,6 @@ import { Inject, Injectable, DOCUMENT } from '@angular/core'
import {
DiskInfo,
encodeBase64,
FollowLogsRes,
FullKeyboard,
HttpService,
isRpcError,
@@ -124,7 +123,7 @@ export class LiveApiService extends ApiService {
}
async initFollowLogs() {
return this.rpcRequest<FollowLogsRes>({
return this.rpcRequest<T.LogFollowResponse>({
method: 'setup.logs.follow',
params: {},
})

View File

@@ -2,7 +2,6 @@ import { Injectable } from '@angular/core'
import {
DiskInfo,
encodeBase64,
FollowLogsRes,
FullKeyboard,
pauseFor,
SetLanguageParams,
@@ -166,7 +165,7 @@ export class MockApiService extends ApiService {
}
}
async initFollowLogs(): Promise<FollowLogsRes> {
async initFollowLogs(): Promise<T.LogFollowResponse> {
await pauseFor(500)
return {
startCursor: 'fakestartcursor',