ipc/channels.ts

Rocket.Chat.Electron · src/ipc/channels.ts · typescript · MIT
infra

TypeScript definitions for IPC channel argument types and responses.

// Source: https://github.com/RocketChat/Rocket.Chat.Electron | License: MIT | Copyright 2015-2026 Rocket.Chat Technologies Corp
// Provided via justclaw.it.com; keep this notice with the code.
import type { AnyAction } from 'redux';

import type { Download } from '../downloads/common';
import type { OutlookEventsResponse } from '../outlookCalendar/type';
import type { MediaCaptureState, Server } from '../servers/common';
import type { TelephonyDiagnostics } from '../telephony/diagnostics';
import type {
  UiPreviewHistoryResult,
  UiPreviewResult,
} from '../ui/main/serverView/uiPreview';
import type { SystemIdleState } from '../userPresence/common';

type ChannelToArgsMap = {
  'redux/get-initial-state': () => unknown;
  'redux/action-dispatched': (action: AnyAction) => void;
  'servers/

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key