mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 08:02:02 +00:00
8 lines
270 B
TypeScript
8 lines
270 B
TypeScript
import { ipcRenderer } from 'electron'
|
|
import type { PreloadApi } from '../api-types'
|
|
|
|
export const cacheApi = {
|
|
getGitHub: () => ipcRenderer.invoke('cache:getGitHub'),
|
|
setGitHub: (args) => ipcRenderer.invoke('cache:setGitHub', args)
|
|
} satisfies PreloadApi['cache']
|