feature/IO-3205-Paint-Scale-Integrations: Checkpoint
This commit is contained in:
@@ -10,12 +10,8 @@ import {
|
||||
StartWatcher,
|
||||
StopWatcher,
|
||||
} from "../watcher/watcher";
|
||||
import { PaintScaleConfig } from "./paintScale";
|
||||
|
||||
interface PaintScaleConfig {
|
||||
id: string;
|
||||
path: string | null;
|
||||
type: string;
|
||||
}
|
||||
|
||||
// Initialize paint scale input configs in store if not set
|
||||
if (!Store.get("settings.paintScaleInputConfigs")) {
|
||||
@@ -136,7 +132,7 @@ const SettingEmsOutFilePathSet = async (): Promise<string> => {
|
||||
};
|
||||
|
||||
const SettingsPaintScaleInputConfigsGet = async (
|
||||
_event: IpcMainInvokeEvent,
|
||||
_event?: IpcMainInvokeEvent,
|
||||
): Promise<PaintScaleConfig[]> => {
|
||||
try {
|
||||
const configs = Store.get("settings.paintScaleInputConfigs") as PaintScaleConfig[];
|
||||
@@ -188,7 +184,7 @@ const SettingsPaintScaleInputPathSet = async (
|
||||
};
|
||||
|
||||
const SettingsPaintScaleOutputConfigsGet = async (
|
||||
_event: IpcMainInvokeEvent,
|
||||
_event?: IpcMainInvokeEvent,
|
||||
): Promise<PaintScaleConfig[]> => {
|
||||
try {
|
||||
const configs = Store.get("settings.paintScaleOutputConfigs") as PaintScaleConfig[];
|
||||
|
||||
Reference in New Issue
Block a user