Files
bs-manager/src/shared/models/ipc/ipc-response.interface.ts
T

12 lines
314 B
TypeScript

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