refactor: replace getTunnelStatus with GOOSE_DISABLE_NOSTR_SHARING config flag (#10044)

This commit is contained in:
Abhijay Jain
2026-06-26 21:27:58 +05:30
committed by GitHub
parent d9cf383711
commit f0a3ed3a55
17 changed files with 11 additions and 849 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-25
View File
@@ -1647,15 +1647,6 @@ export type TranscribeResponse = {
text: string;
};
export type TunnelInfo = {
hostname: string;
secret: string;
state: TunnelState;
url: string;
};
export type TunnelState = 'idle' | 'starting' | 'running' | 'error' | 'disabled';
/**
* UI-specific metadata for MCP resources
*/
@@ -4308,19 +4299,3 @@ export type SendTelemetryEventResponses = {
*/
202: unknown;
};
export type GetTunnelStatusData = {
body?: never;
path?: never;
query?: never;
url: '/tunnel/status';
};
export type GetTunnelStatusResponses = {
/**
* Tunnel info
*/
200: TunnelInfo;
};
export type GetTunnelStatusResponse = GetTunnelStatusResponses[keyof GetTunnelStatusResponses];