clean code

This commit is contained in:
MathieuG-P
2022-07-17 19:47:07 +02:00
parent e203fb603d
commit 4fd3a1da2f
27 changed files with 137 additions and 158 deletions
-12
View File
@@ -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,
}
+2
View File
@@ -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 -1
View File
@@ -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,