import { setConfigAtKey , toggleConfigAtKey } from "@nteract/mythic-configuration" ; import { DesktopCommand } from "../types" ; export const SetPreference = { name : "SetPreference" , props : { key : "required" , value : "required" , } , makeAction : setConfigAtKey . create , } ; export const TogglePreference = { name : "TogglePreference" , props : { key : "required" , } , makeAction : toggleConfigAtKey . create , } ;