phecda-server
Version:
server framework that provide IOC/type-reuse/http&rpc-adaptor
14 lines (11 loc) • 520 B
TypeScript
import Electron from 'electron';
import { F as Factory } from '../../core-BTSHIAyB.js';
import { R as RpcCtx, a as RpcServerOptions } from '../../types-YJ55P7A_.js';
import 'phecda-core';
import '../../meta-DNF6Fl27.js';
interface ElectronCtx extends RpcCtx {
type: 'electron';
event: Electron.IpcMainEvent | Electron.IpcMainInvokeEvent;
}
declare function bind(IPC: Electron.IpcMain, { moduleMap, meta }: Awaited<ReturnType<typeof Factory>>, opts?: RpcServerOptions): void;
export { type ElectronCtx, bind };