import { atom } from "recoil";
import { UpdateState } from "@/ipc/services/updateService";

export const updateStateAtom = atom<UpdateState>({
  key: "updateState",
  default: {
    checking: false,
    available: false,
    downloading: false,
    downloadProgress: 0,
    downloaded: false,
    error: null,
    info: null,
  },
});
