Files
bs-manager/src/shared/models/ipc/ipc-response.interface.ts
T
2023-07-01 16:48:30 +02:00

10 lines
272 B
TypeScript

import { BsmException } from "../bsm-exception.model";
export interface IpcResponse<T>{
data?: T,
error?: BsmException,
success: boolean,
}
export type IpcErrorChannel = string & `${string}_error`;
export type IpcCompleteChannel = string & `${string}_complete`;