blob: f43683c1ff3f6da325f5981ca07c2e483dc1766e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// At some point, I'd like to replace some of the Atuin calls
// with separate state handling here
import { invoke } from "@tauri-apps/api/core";
import { Settings } from "@/state/models";
export async function sessionToken(): Promise<String> {
return await invoke("session");
}
export async function settings(): Promise<Settings> {
return await invoke("config");
}
|