mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 09:27:29 +00:00
The split named these -part-N, which says nothing. Renames each for the group of bridge methods it actually exposes and folds the single-method window-reveal module into the window-controls module it belongs with. Verified by walking the composed contextBridge surface before and after: 1060 keys, identical nesting and value types, zero delta. The bridge modules carry no satisfies annotation, so a dropped key here is a runtime error in the renderer rather than a typecheck failure.
13 lines
574 B
TypeScript
13 lines
574 B
TypeScript
import type { PreloadApi } from '../api-types'
|
|
import { uiStateAndMenuCommandsApi } from './ui-bridge-state-and-menu-commands'
|
|
import { uiTabAndBrowserCommandsApi } from './ui-bridge-tab-and-browser-commands'
|
|
import { uiTerminalAndSessionTabsApi } from './ui-bridge-terminal-and-session-tabs'
|
|
import { uiClipboardAndWindowControlsApi } from './ui-bridge-clipboard-and-window-controls'
|
|
|
|
export const uiApi = {
|
|
...uiStateAndMenuCommandsApi,
|
|
...uiTabAndBrowserCommandsApi,
|
|
...uiTerminalAndSessionTabsApi,
|
|
...uiClipboardAndWindowControlsApi
|
|
} satisfies PreloadApi['ui']
|