mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
clean code
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
import { BsmException } from "./bsm-exception.model";
|
||||
|
||||
export interface IpcRequest<T>{
|
||||
args?: T,
|
||||
responceChannel?: string
|
||||
}
|
||||
|
||||
export interface IpcResponse<T>{
|
||||
data?: T,
|
||||
error?: BsmException,
|
||||
success: boolean,
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export { IpcRequest } from "./ipc-request.interface"
|
||||
export { IpcResponse } from "./ipc-response.interface"
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface IpcRequest<T>{
|
||||
args?: T,
|
||||
responceChannel?: string
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { BsmException } from "../bsm-exception.model";
|
||||
|
||||
export interface IpcResponse<T>{
|
||||
data?: T,
|
||||
error?: BsmException,
|
||||
success: boolean,
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BSVersion } from "main/services/bs-version-manager.service";
|
||||
import { BSVersion } from "main/services/bs-version-lib.service";
|
||||
|
||||
export interface LauchOption {
|
||||
version: BSVersion,
|
||||
|
||||
Reference in New Issue
Block a user