removed relayConnection.ts. added diff for ai snapshot. use search param
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
import type { RelayConnection } from './relayConnection'
|
||||
|
||||
export type ConnectionState = 'disconnected' | 'reconnecting' | 'connected' | 'error'
|
||||
export type TabState = 'connecting' | 'connected' | 'error'
|
||||
|
||||
export interface TabInfo {
|
||||
targetId: string
|
||||
sessionId?: string
|
||||
targetId?: string
|
||||
state: TabState
|
||||
errorText?: string
|
||||
}
|
||||
|
||||
export interface ExtensionState {
|
||||
connection: RelayConnection | undefined
|
||||
connectedTabs: Map<number, TabInfo>
|
||||
tabs: Map<number, TabInfo>
|
||||
connectionState: ConnectionState
|
||||
currentTabId: number | undefined
|
||||
errorText: string | undefined
|
||||
|
||||
Reference in New Issue
Block a user