Theo Brownesettings pagef8883d08 months agoHistory
19 lines · 570 B · TypeScript
RawDownload
/// <reference types="vite/client" /> import type { NativeApi } from "@t3tools/contracts"; interface DesktopBridge {  getWsUrl: () => string | null;  pickFolder: () => Promise<string | null>;  confirm: (message: string) => Promise<boolean>;  showContextMenu: (items: readonly { id: string; label: string }[]) => Promise<string | null>;  openExternal: (url: string) => Promise<boolean>;  onMenuAction: (listener: (action: string) => void) => () => void;} declare global {  interface Window {    nativeApi?: NativeApi;    desktopBridge?: DesktopBridge;  }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t