const { contextBridge, ipcRenderer } = require("electron");

contextBridge.exposeInMainWorld("easyPenpot", {
  getWorkspace: () => ipcRenderer.invoke("teamWorkspace:get"),
  saveWorkspace: (workspaceUrl) => ipcRenderer.invoke("teamWorkspace:save", workspaceUrl),
  clearWorkspace: () => ipcRenderer.invoke("teamWorkspace:clear")
});
