fix(docker): include apps/shared in dashboard image build
The shared websocket package is a web file: dependency but was excluded by .dockerignore and never copied into the Docker build context. Also fix tsc -b errors: expose buildWsUrl on api and drop the GatewayClient state getter that conflicted with the shared base class.
This commit is contained in:
@@ -315,6 +315,7 @@ function appendProfileParam(url: string, profile?: string): string {
|
||||
}
|
||||
|
||||
export const api = {
|
||||
buildWsUrl,
|
||||
getStatus: () => fetchJSON<StatusResponse>("/api/status"),
|
||||
/**
|
||||
* Identity probe for the dashboard auth gate (Phase 7).
|
||||
|
||||
@@ -35,10 +35,6 @@ export class GatewayClient extends JsonRpcGatewayClient {
|
||||
});
|
||||
}
|
||||
|
||||
get state(): ConnectionState {
|
||||
return this.connectionState;
|
||||
}
|
||||
|
||||
async connect(token?: string): Promise<void> {
|
||||
if (this.connectionState === "open" || this.connectionState === "connecting") {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user